From 854949eaeb752656bd7e5411355b5bae34ca5fdb Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 16 Aug 2023 23:02:03 +0000 Subject: [PATCH 1/2] feat: add UNAVAILABLE and QUEUED to state enum feat: add LOG_NONE to call_log_level feat: add status, labels, duration and state_error fields to Execution feat: add filter and order_by fields to ListExecutionsRequest PiperOrigin-RevId: 557594531 Source-Link: https://github.com/googleapis/googleapis/commit/6ba6f91298976f366f1b3eb2bfa4c5abe73f372c Source-Link: https://github.com/googleapis/googleapis-gen/commit/6c079c0825df88bccc6bc11135ca9ef719d717e6 Copy-Tag: eyJwIjoiamF2YS13b3JrZmxvdy1leGVjdXRpb25zLy5Pd2xCb3QueWFtbCIsImgiOiI2YzA3OWMwODI1ZGY4OGJjY2M2YmMxMTEzNWNhOWVmNzE5ZDcxN2U2In0= --- .../executions/v1/ExecutionsGrpc.java | 754 -- .../executions/v1beta/ExecutionsGrpc.java | 758 -- .../v1/CancelExecutionRequestOrBuilder.java | 58 - .../v1/CreateExecutionRequestOrBuilder.java | 99 - .../workflows/executions/v1/Execution.java | 7013 ------------ .../executions/v1/ExecutionOrBuilder.java | 318 - .../executions/v1/ExecutionsProto.java | 293 - .../v1/GetExecutionRequestOrBuilder.java | 89 - .../executions/v1/ListExecutionsRequest.java | 1152 -- .../v1/ListExecutionsRequestOrBuilder.java | 137 - .../CancelExecutionRequestOrBuilder.java | 58 - .../CreateExecutionRequestOrBuilder.java | 99 - .../executions/v1beta/ExecutionsProto.java | 238 - .../executions/v1/ExecutionsClient.java | 6 + .../executions/v1/ExecutionsSettings.java | 1 + .../executions/v1/gapic_metadata.json | 0 .../workflows/executions/v1/package-info.java | 0 .../executions/v1/stub/ExecutionsStub.java | 0 .../v1/stub/ExecutionsStubSettings.java | 0 .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1/stub/GrpcExecutionsStub.java | 1 + .../HttpJsonExecutionsCallableFactory.java | 0 .../v1/stub/HttpJsonExecutionsStub.java | 2 + .../reflect-config.json | 63 + .../v1/ExecutionsClientHttpJsonTest.java | 26 + .../executions/v1/ExecutionsClientTest.java | 26 + .../executions/v1/MockExecutions.java | 0 .../executions/v1/MockExecutionsImpl.java | 0 .../executions/v1/ExecutionsGrpc.java | 599 + .../executions/v1/CancelExecutionRequest.java | 373 +- .../v1/CancelExecutionRequestOrBuilder.java | 33 + .../executions/v1/CreateExecutionRequest.java | 516 +- .../v1/CreateExecutionRequestOrBuilder.java | 60 + .../workflows/executions/v1/Execution.java | 9962 +++++++++++++++++ .../executions/v1/ExecutionName.java | 0 .../executions/v1/ExecutionOrBuilder.java | 404 + .../executions/v1/ExecutionView.java | 94 +- .../executions/v1/ExecutionsProto.java | 318 + .../executions/v1/GetExecutionRequest.java | 482 +- .../v1/GetExecutionRequestOrBuilder.java | 54 + .../executions/v1/ListExecutionsRequest.java | 1398 +++ .../v1/ListExecutionsRequestOrBuilder.java | 152 + .../executions/v1/ListExecutionsResponse.java | 491 +- .../v1/ListExecutionsResponseOrBuilder.java | 45 +- .../workflows/executions/v1/WorkflowName.java | 0 .../workflows/executions/v1/executions.proto | 151 +- .../cancelexecution/AsyncCancelExecution.java | 0 .../cancelexecution/SyncCancelExecution.java | 0 .../SyncCancelExecutionExecutionname.java | 0 .../SyncCancelExecutionString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createexecution/AsyncCreateExecution.java | 0 .../createexecution/SyncCreateExecution.java | 0 .../SyncCreateExecutionStringExecution.java | 0 ...cCreateExecutionWorkflownameExecution.java | 0 .../getexecution/AsyncGetExecution.java | 0 .../getexecution/SyncGetExecution.java | 0 .../SyncGetExecutionExecutionname.java | 0 .../getexecution/SyncGetExecutionString.java | 0 .../listexecutions/AsyncListExecutions.java | 2 + .../AsyncListExecutionsPaged.java | 2 + .../listexecutions/SyncListExecutions.java | 2 + .../SyncListExecutionsString.java | 0 .../SyncListExecutionsWorkflowname.java | 0 .../createexecution/SyncCreateExecution.java | 0 .../createexecution/SyncCreateExecution.java | 0 .../executions/v1beta/ExecutionsClient.java | 0 .../executions/v1beta/ExecutionsSettings.java | 1 + .../executions/v1beta/gapic_metadata.json | 0 .../executions/v1beta/package-info.java | 0 .../v1beta/stub/ExecutionsStub.java | 0 .../v1beta/stub/ExecutionsStubSettings.java | 0 .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1beta/stub/GrpcExecutionsStub.java | 1 + .../HttpJsonExecutionsCallableFactory.java | 0 .../v1beta/stub/HttpJsonExecutionsStub.java | 0 .../reflect-config.json | 0 .../v1beta/ExecutionsClientHttpJsonTest.java | 0 .../v1beta/ExecutionsClientTest.java | 0 .../executions/v1beta/MockExecutions.java | 0 .../executions/v1beta/MockExecutionsImpl.java | 0 .../executions/v1beta/ExecutionsGrpc.java | 599 + .../v1beta/CancelExecutionRequest.java | 385 +- .../CancelExecutionRequestOrBuilder.java | 33 + .../v1beta/CreateExecutionRequest.java | 528 +- .../CreateExecutionRequestOrBuilder.java | 60 + .../executions/v1beta/Execution.java | 1520 +-- .../executions/v1beta/ExecutionName.java | 0 .../executions/v1beta/ExecutionOrBuilder.java | 122 +- .../executions/v1beta/ExecutionView.java | 86 +- .../executions/v1beta/ExecutionsProto.java | 208 + .../v1beta/GetExecutionRequest.java | 467 +- .../v1beta/GetExecutionRequestOrBuilder.java | 49 +- .../v1beta/ListExecutionsRequest.java | 582 +- .../ListExecutionsRequestOrBuilder.java | 61 +- .../v1beta/ListExecutionsResponse.java | 512 +- .../ListExecutionsResponseOrBuilder.java | 45 +- .../executions/v1beta/WorkflowName.java | 0 .../executions/v1beta/executions.proto | 0 .../cancelexecution/AsyncCancelExecution.java | 0 .../cancelexecution/SyncCancelExecution.java | 0 .../SyncCancelExecutionExecutionname.java | 0 .../SyncCancelExecutionString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createexecution/AsyncCreateExecution.java | 0 .../createexecution/SyncCreateExecution.java | 0 .../SyncCreateExecutionStringExecution.java | 0 ...cCreateExecutionWorkflownameExecution.java | 0 .../getexecution/AsyncGetExecution.java | 0 .../getexecution/SyncGetExecution.java | 0 .../SyncGetExecutionExecutionname.java | 0 .../getexecution/SyncGetExecutionString.java | 0 .../listexecutions/AsyncListExecutions.java | 0 .../AsyncListExecutionsPaged.java | 0 .../listexecutions/SyncListExecutions.java | 0 .../SyncListExecutionsString.java | 0 .../SyncListExecutionsWorkflowname.java | 0 .../createexecution/SyncCreateExecution.java | 0 .../createexecution/SyncCreateExecution.java | 0 123 files changed, 16470 insertions(+), 15118 deletions(-) delete mode 100644 java-workflow-executions/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java delete mode 100644 java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java delete mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java delete mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java delete mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java delete mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java delete mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java delete mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java delete mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java delete mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java delete mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java delete mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java delete mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java (99%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java (99%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java (99%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java (98%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1/reflect-config.json (94%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java (92%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java (91%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java (100%) create mode 100644 owl-bot-staging/java-workflow-executions/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java (61%) create mode 100644 owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java (60%) create mode 100644 owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java create mode 100644 owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java (100%) create mode 100644 owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java (63%) create mode 100644 owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequest.java (60%) create mode 100644 owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java create mode 100644 owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java create mode 100644 owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java (71%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java (70%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto (72%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/AsyncCancelExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionExecutionname.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionString.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetEndpoint.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/AsyncCreateExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionStringExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/AsyncGetExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionExecutionname.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionString.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutions.java (96%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutionsPaged.java (96%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutions.java (96%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsString.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsWorkflowname.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executionssettings/createexecution/SyncCreateExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/stub/executionsstubsettings/createexecution/SyncCreateExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java (99%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java (99%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1beta/reflect-config.json (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java (100%) create mode 100644 owl-bot-staging/java-workflow-executions/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java (60%) create mode 100644 owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java (59%) create mode 100644 owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java (70%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java (71%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java (67%) create mode 100644 owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequest.java (61%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java (50%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java (65%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java (64%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java (70%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java (70%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/AsyncCancelExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionExecutionname.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionString.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider1.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetEndpoint.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/AsyncCreateExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionStringExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/AsyncGetExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionExecutionname.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionString.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutions.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutionsPaged.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutions.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsString.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsWorkflowname.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executionssettings/createexecution/SyncCreateExecution.java (100%) rename {java-workflow-executions => owl-bot-staging/java-workflow-executions/v1beta}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/stub/executionsstubsettings/createexecution/SyncCreateExecution.java (100%) diff --git a/java-workflow-executions/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/java-workflow-executions/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java deleted file mode 100644 index 74d2edbb6b23..000000000000 --- a/java-workflow-executions/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java +++ /dev/null @@ -1,754 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.workflows.executions.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Executions is used to start and manage running instances of
- * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/workflows/executions/v1/executions.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ExecutionsGrpc { - - private ExecutionsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.workflows.executions.v1.Executions"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1.ListExecutionsRequest, - com.google.cloud.workflows.executions.v1.ListExecutionsResponse> - getListExecutionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListExecutions", - requestType = com.google.cloud.workflows.executions.v1.ListExecutionsRequest.class, - responseType = com.google.cloud.workflows.executions.v1.ListExecutionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1.ListExecutionsRequest, - com.google.cloud.workflows.executions.v1.ListExecutionsResponse> - getListExecutionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1.ListExecutionsRequest, - com.google.cloud.workflows.executions.v1.ListExecutionsResponse> - getListExecutionsMethod; - if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { - ExecutionsGrpc.getListExecutionsMethod = - getListExecutionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListExecutions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.ListExecutionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.ListExecutionsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("ListExecutions")) - .build(); - } - } - } - return getListExecutionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1.CreateExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution> - getCreateExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateExecution", - requestType = com.google.cloud.workflows.executions.v1.CreateExecutionRequest.class, - responseType = com.google.cloud.workflows.executions.v1.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1.CreateExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution> - getCreateExecutionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1.CreateExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution> - getCreateExecutionMethod; - if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { - ExecutionsGrpc.getCreateExecutionMethod = - getCreateExecutionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.CreateExecutionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.Execution - .getDefaultInstance())) - .setSchemaDescriptor( - new ExecutionsMethodDescriptorSupplier("CreateExecution")) - .build(); - } - } - } - return getCreateExecutionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1.GetExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution> - getGetExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetExecution", - requestType = com.google.cloud.workflows.executions.v1.GetExecutionRequest.class, - responseType = com.google.cloud.workflows.executions.v1.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1.GetExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution> - getGetExecutionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1.GetExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution> - getGetExecutionMethod; - if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { - ExecutionsGrpc.getGetExecutionMethod = - getGetExecutionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.GetExecutionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.Execution - .getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("GetExecution")) - .build(); - } - } - } - return getGetExecutionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1.CancelExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution> - getCancelExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelExecution", - requestType = com.google.cloud.workflows.executions.v1.CancelExecutionRequest.class, - responseType = com.google.cloud.workflows.executions.v1.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1.CancelExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution> - getCancelExecutionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1.CancelExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution> - getCancelExecutionMethod; - if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { - ExecutionsGrpc.getCancelExecutionMethod = - getCancelExecutionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.CancelExecutionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.Execution - .getDefaultInstance())) - .setSchemaDescriptor( - new ExecutionsMethodDescriptorSupplier("CancelExecution")) - .build(); - } - } - } - return getCancelExecutionMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ExecutionsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsStub(channel, callOptions); - } - }; - return ExecutionsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ExecutionsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsBlockingStub(channel, callOptions); - } - }; - return ExecutionsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ExecutionsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsFutureStub(channel, callOptions); - } - }; - return ExecutionsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - default void listExecutions( - com.google.cloud.workflows.executions.v1.ListExecutionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListExecutionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - default void createExecution( - com.google.cloud.workflows.executions.v1.CreateExecutionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateExecutionMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns an execution of the given name.
-     * 
- */ - default void getExecution( - com.google.cloud.workflows.executions.v1.GetExecutionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetExecutionMethod(), responseObserver); - } - - /** - * - * - *
-     * Cancels an execution of the given name.
-     * 
- */ - default void cancelExecution( - com.google.cloud.workflows.executions.v1.CancelExecutionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelExecutionMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service Executions. - * - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
-   * 
- */ - public abstract static class ExecutionsImplBase implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return ExecutionsGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service Executions. - * - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
-   * 
- */ - public static final class ExecutionsStub extends io.grpc.stub.AbstractAsyncStub { - private ExecutionsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - public void listExecutions( - com.google.cloud.workflows.executions.v1.ListExecutionsRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListExecutionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - public void createExecution( - com.google.cloud.workflows.executions.v1.CreateExecutionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns an execution of the given name.
-     * 
- */ - public void getExecution( - com.google.cloud.workflows.executions.v1.GetExecutionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetExecutionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Cancels an execution of the given name.
-     * 
- */ - public void cancelExecution( - com.google.cloud.workflows.executions.v1.CancelExecutionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service Executions. - * - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
-   * 
- */ - public static final class ExecutionsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ExecutionsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - public com.google.cloud.workflows.executions.v1.ListExecutionsResponse listExecutions( - com.google.cloud.workflows.executions.v1.ListExecutionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListExecutionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - public com.google.cloud.workflows.executions.v1.Execution createExecution( - com.google.cloud.workflows.executions.v1.CreateExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateExecutionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns an execution of the given name.
-     * 
- */ - public com.google.cloud.workflows.executions.v1.Execution getExecution( - com.google.cloud.workflows.executions.v1.GetExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetExecutionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Cancels an execution of the given name.
-     * 
- */ - public com.google.cloud.workflows.executions.v1.Execution cancelExecution( - com.google.cloud.workflows.executions.v1.CancelExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelExecutionMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service Executions. - * - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
-   * 
- */ - public static final class ExecutionsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ExecutionsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.workflows.executions.v1.ListExecutionsResponse> - listExecutions(com.google.cloud.workflows.executions.v1.ListExecutionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.workflows.executions.v1.Execution> - createExecution(com.google.cloud.workflows.executions.v1.CreateExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns an execution of the given name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.workflows.executions.v1.Execution> - getExecution(com.google.cloud.workflows.executions.v1.GetExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Cancels an execution of the given name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.workflows.executions.v1.Execution> - cancelExecution(com.google.cloud.workflows.executions.v1.CancelExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_EXECUTIONS = 0; - private static final int METHODID_CREATE_EXECUTION = 1; - private static final int METHODID_GET_EXECUTION = 2; - private static final int METHODID_CANCEL_EXECUTION = 3; - - 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_EXECUTIONS: - serviceImpl.listExecutions( - (com.google.cloud.workflows.executions.v1.ListExecutionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.workflows.executions.v1.ListExecutionsResponse>) - responseObserver); - break; - case METHODID_CREATE_EXECUTION: - serviceImpl.createExecution( - (com.google.cloud.workflows.executions.v1.CreateExecutionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_EXECUTION: - serviceImpl.getExecution( - (com.google.cloud.workflows.executions.v1.GetExecutionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CANCEL_EXECUTION: - serviceImpl.cancelExecution( - (com.google.cloud.workflows.executions.v1.CancelExecutionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListExecutionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1.ListExecutionsRequest, - com.google.cloud.workflows.executions.v1.ListExecutionsResponse>( - service, METHODID_LIST_EXECUTIONS))) - .addMethod( - getCreateExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1.CreateExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution>( - service, METHODID_CREATE_EXECUTION))) - .addMethod( - getGetExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1.GetExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution>( - service, METHODID_GET_EXECUTION))) - .addMethod( - getCancelExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1.CancelExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution>( - service, METHODID_CANCEL_EXECUTION))) - .build(); - } - - private abstract static class ExecutionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ExecutionsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Executions"); - } - } - - private static final class ExecutionsFileDescriptorSupplier - extends ExecutionsBaseDescriptorSupplier { - ExecutionsFileDescriptorSupplier() {} - } - - private static final class ExecutionsMethodDescriptorSupplier - extends ExecutionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ExecutionsMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ExecutionsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ExecutionsFileDescriptorSupplier()) - .addMethod(getListExecutionsMethod()) - .addMethod(getCreateExecutionMethod()) - .addMethod(getGetExecutionMethod()) - .addMethod(getCancelExecutionMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java b/java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java deleted file mode 100644 index 8a560ab286d7..000000000000 --- a/java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java +++ /dev/null @@ -1,758 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT 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.workflows.executions.v1beta; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - * - * - *
- * Executions is used to start and manage running instances of
- * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/workflows/executions/v1beta/executions.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ExecutionsGrpc { - - private ExecutionsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.workflows.executions.v1beta.Executions"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest, - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse> - getListExecutionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListExecutions", - requestType = com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.class, - responseType = com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest, - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse> - getListExecutionsMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest, - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse> - getListExecutionsMethod; - if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { - ExecutionsGrpc.getListExecutionsMethod = - getListExecutionsMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListExecutions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse - .getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("ListExecutions")) - .build(); - } - } - } - return getListExecutionsMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution> - getCreateExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateExecution", - requestType = com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.class, - responseType = com.google.cloud.workflows.executions.v1beta.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution> - getCreateExecutionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution> - getCreateExecutionMethod; - if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { - ExecutionsGrpc.getCreateExecutionMethod = - getCreateExecutionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.Execution - .getDefaultInstance())) - .setSchemaDescriptor( - new ExecutionsMethodDescriptorSupplier("CreateExecution")) - .build(); - } - } - } - return getCreateExecutionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution> - getGetExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetExecution", - requestType = com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.class, - responseType = com.google.cloud.workflows.executions.v1beta.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution> - getGetExecutionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution> - getGetExecutionMethod; - if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { - ExecutionsGrpc.getGetExecutionMethod = - getGetExecutionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.Execution - .getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("GetExecution")) - .build(); - } - } - } - return getGetExecutionMethod; - } - - private static volatile io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution> - getCancelExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelExecution", - requestType = com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.class, - responseType = com.google.cloud.workflows.executions.v1beta.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution> - getCancelExecutionMethod() { - io.grpc.MethodDescriptor< - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution> - getCancelExecutionMethod; - if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { - ExecutionsGrpc.getCancelExecutionMethod = - getCancelExecutionMethod = - io.grpc.MethodDescriptor - . - newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest - .getDefaultInstance())) - .setResponseMarshaller( - io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.Execution - .getDefaultInstance())) - .setSchemaDescriptor( - new ExecutionsMethodDescriptorSupplier("CancelExecution")) - .build(); - } - } - } - return getCancelExecutionMethod; - } - - /** Creates a new async stub that supports all call types for the service */ - public static ExecutionsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsStub(channel, callOptions); - } - }; - return ExecutionsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ExecutionsBlockingStub newBlockingStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsBlockingStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsBlockingStub(channel, callOptions); - } - }; - return ExecutionsBlockingStub.newStub(factory, channel); - } - - /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ - public static ExecutionsFutureStub newFutureStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsFutureStub newStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsFutureStub(channel, callOptions); - } - }; - return ExecutionsFutureStub.newStub(factory, channel); - } - - /** - * - * - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
-   * 
- */ - public interface AsyncService { - - /** - * - * - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - default void listExecutions( - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse> - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getListExecutionsMethod(), responseObserver); - } - - /** - * - * - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - default void createExecution( - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCreateExecutionMethod(), responseObserver); - } - - /** - * - * - *
-     * Returns an execution of the given name.
-     * 
- */ - default void getExecution( - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getGetExecutionMethod(), responseObserver); - } - - /** - * - * - *
-     * Cancels an execution of the given name.
-     * 
- */ - default void cancelExecution( - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( - getCancelExecutionMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service Executions. - * - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
-   * 
- */ - public abstract static class ExecutionsImplBase implements io.grpc.BindableService, AsyncService { - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - return ExecutionsGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service Executions. - * - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
-   * 
- */ - public static final class ExecutionsStub extends io.grpc.stub.AbstractAsyncStub { - private ExecutionsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - public void listExecutions( - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request, - io.grpc.stub.StreamObserver< - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse> - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListExecutionsMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - public void createExecution( - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Returns an execution of the given name.
-     * 
- */ - public void getExecution( - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetExecutionMethod(), getCallOptions()), - request, - responseObserver); - } - - /** - * - * - *
-     * Cancels an execution of the given name.
-     * 
- */ - public void cancelExecution( - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request, - io.grpc.stub.StreamObserver - responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), - request, - responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service Executions. - * - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
-   * 
- */ - public static final class ExecutionsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ExecutionsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsBlockingStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse listExecutions( - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListExecutionsMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - public com.google.cloud.workflows.executions.v1beta.Execution createExecution( - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateExecutionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Returns an execution of the given name.
-     * 
- */ - public com.google.cloud.workflows.executions.v1beta.Execution getExecution( - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetExecutionMethod(), getCallOptions(), request); - } - - /** - * - * - *
-     * Cancels an execution of the given name.
-     * 
- */ - public com.google.cloud.workflows.executions.v1beta.Execution cancelExecution( - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelExecutionMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service Executions. - * - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
-   * 
- */ - public static final class ExecutionsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ExecutionsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsFutureStub(channel, callOptions); - } - - /** - * - * - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse> - listExecutions(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.workflows.executions.v1beta.Execution> - createExecution( - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Returns an execution of the given name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.workflows.executions.v1beta.Execution> - getExecution(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request); - } - - /** - * - * - *
-     * Cancels an execution of the given name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture< - com.google.cloud.workflows.executions.v1beta.Execution> - cancelExecution( - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_EXECUTIONS = 0; - private static final int METHODID_CREATE_EXECUTION = 1; - private static final int METHODID_GET_EXECUTION = 2; - private static final int METHODID_CANCEL_EXECUTION = 3; - - 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_EXECUTIONS: - serviceImpl.listExecutions( - (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) request, - (io.grpc.stub.StreamObserver< - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse>) - responseObserver); - break; - case METHODID_CREATE_EXECUTION: - serviceImpl.createExecution( - (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_GET_EXECUTION: - serviceImpl.getExecution( - (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - case METHODID_CANCEL_EXECUTION: - serviceImpl.cancelExecution( - (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) request, - (io.grpc.stub.StreamObserver) - responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListExecutionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest, - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse>( - service, METHODID_LIST_EXECUTIONS))) - .addMethod( - getCreateExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution>( - service, METHODID_CREATE_EXECUTION))) - .addMethod( - getGetExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution>( - service, METHODID_GET_EXECUTION))) - .addMethod( - getCancelExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution>( - service, METHODID_CANCEL_EXECUTION))) - .build(); - } - - private abstract static class ExecutionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, - io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ExecutionsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Executions"); - } - } - - private static final class ExecutionsFileDescriptorSupplier - extends ExecutionsBaseDescriptorSupplier { - ExecutionsFileDescriptorSupplier() {} - } - - private static final class ExecutionsMethodDescriptorSupplier - extends ExecutionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ExecutionsMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ExecutionsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = - result = - io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ExecutionsFileDescriptorSupplier()) - .addMethod(getListExecutionsMethod()) - .addMethod(getCreateExecutionMethod()) - .addMethod(getGetExecutionMethod()) - .addMethod(getCancelExecutionMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index d0b57be0ece8..000000000000 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1/executions.proto - -package com.google.cloud.workflows.executions.v1; - -public interface CancelExecutionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.CancelExecutionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the execution to be cancelled.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the execution to be cancelled.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index 2a4255718aa4..000000000000 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1/executions.proto - -package com.google.cloud.workflows.executions.v1; - -public interface CreateExecutionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.CreateExecutionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the workflow for which an execution should be created.
-   * Format: projects/{project}/locations/{location}/workflows/{workflow}
-   * The latest revision of the workflow will be used.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Name of the workflow for which an execution should be created.
-   * Format: projects/{project}/locations/{location}/workflows/{workflow}
-   * The latest revision of the workflow will be used.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. Execution to be created.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the execution field is set. - */ - boolean hasExecution(); - /** - * - * - *
-   * Required. Execution to be created.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The execution. - */ - com.google.cloud.workflows.executions.v1.Execution getExecution(); - /** - * - * - *
-   * Required. Execution to be created.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionOrBuilder(); -} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java deleted file mode 100644 index c57a584a85d2..000000000000 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java +++ /dev/null @@ -1,7013 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1/executions.proto - -package com.google.cloud.workflows.executions.v1; - -/** - * - * - *
- * A running instance of a
- * [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
- * 
- * - * Protobuf type {@code google.cloud.workflows.executions.v1.Execution} - */ -public final class Execution extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution) - ExecutionOrBuilder { - private static final long serialVersionUID = 0L; - // Use Execution.newBuilder() to construct. - private Execution(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Execution() { - name_ = ""; - state_ = 0; - argument_ = ""; - result_ = ""; - workflowRevisionId_ = ""; - callLogLevel_ = 0; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Execution(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.class, - com.google.cloud.workflows.executions.v1.Execution.Builder.class); - } - - /** - * - * - *
-   * Describes the current state of the execution. More states might be added
-   * in the future.
-   * 
- * - * Protobuf enum {@code google.cloud.workflows.executions.v1.Execution.State} - */ - public enum State implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-     * Invalid state.
-     * 
- * - * STATE_UNSPECIFIED = 0; - */ - STATE_UNSPECIFIED(0), - /** - * - * - *
-     * The execution is in progress.
-     * 
- * - * ACTIVE = 1; - */ - ACTIVE(1), - /** - * - * - *
-     * The execution finished successfully.
-     * 
- * - * SUCCEEDED = 2; - */ - SUCCEEDED(2), - /** - * - * - *
-     * The execution failed with an error.
-     * 
- * - * FAILED = 3; - */ - FAILED(3), - /** - * - * - *
-     * The execution was stopped intentionally.
-     * 
- * - * CANCELLED = 4; - */ - CANCELLED(4), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-     * Invalid state.
-     * 
- * - * STATE_UNSPECIFIED = 0; - */ - public static final int STATE_UNSPECIFIED_VALUE = 0; - /** - * - * - *
-     * The execution is in progress.
-     * 
- * - * ACTIVE = 1; - */ - public static final int ACTIVE_VALUE = 1; - /** - * - * - *
-     * The execution finished successfully.
-     * 
- * - * SUCCEEDED = 2; - */ - public static final int SUCCEEDED_VALUE = 2; - /** - * - * - *
-     * The execution failed with an error.
-     * 
- * - * FAILED = 3; - */ - public static final int FAILED_VALUE = 3; - /** - * - * - *
-     * The execution was stopped intentionally.
-     * 
- * - * CANCELLED = 4; - */ - public static final int CANCELLED_VALUE = 4; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static State valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static State forNumber(int value) { - switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return ACTIVE; - case 2: - return SUCCEEDED; - case 3: - return FAILED; - case 4: - return CANCELLED; - default: - return null; - } - } - - 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 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() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.Execution.getDescriptor() - .getEnumTypes() - .get(0); - } - - private static final State[] VALUES = values(); - - 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."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private State(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1.Execution.State) - } - - /** - * - * - *
-   * Describes the level of platform logging to apply to calls and call
-   * responses during workflow executions.
-   * 
- * - * Protobuf enum {@code google.cloud.workflows.executions.v1.Execution.CallLogLevel} - */ - public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { - /** - * - * - *
-     * No call logging specified.
-     * 
- * - * CALL_LOG_LEVEL_UNSPECIFIED = 0; - */ - CALL_LOG_LEVEL_UNSPECIFIED(0), - /** - * - * - *
-     * Log all call steps within workflows, all call returns, and all exceptions
-     * raised.
-     * 
- * - * LOG_ALL_CALLS = 1; - */ - LOG_ALL_CALLS(1), - /** - * - * - *
-     * Log only exceptions that are raised from call steps within workflows.
-     * 
- * - * LOG_ERRORS_ONLY = 2; - */ - LOG_ERRORS_ONLY(2), - UNRECOGNIZED(-1), - ; - - /** - * - * - *
-     * No call logging specified.
-     * 
- * - * CALL_LOG_LEVEL_UNSPECIFIED = 0; - */ - public static final int CALL_LOG_LEVEL_UNSPECIFIED_VALUE = 0; - /** - * - * - *
-     * Log all call steps within workflows, all call returns, and all exceptions
-     * raised.
-     * 
- * - * LOG_ALL_CALLS = 1; - */ - public static final int LOG_ALL_CALLS_VALUE = 1; - /** - * - * - *
-     * Log only exceptions that are raised from call steps within workflows.
-     * 
- * - * LOG_ERRORS_ONLY = 2; - */ - public static final int LOG_ERRORS_ONLY_VALUE = 2; - - public final int getNumber() { - if (this == UNRECOGNIZED) { - throw new java.lang.IllegalArgumentException( - "Can't get the number of an unknown enum value."); - } - return value; - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - * @deprecated Use {@link #forNumber(int)} instead. - */ - @java.lang.Deprecated - public static CallLogLevel valueOf(int value) { - return forNumber(value); - } - - /** - * @param value The numeric wire value of the corresponding enum entry. - * @return The enum associated with the given numeric wire value. - */ - public static CallLogLevel forNumber(int value) { - switch (value) { - case 0: - return CALL_LOG_LEVEL_UNSPECIFIED; - case 1: - return LOG_ALL_CALLS; - case 2: - return LOG_ERRORS_ONLY; - default: - return null; - } - } - - 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 CallLogLevel findValueByNumber(int number) { - return CallLogLevel.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() { - return getDescriptor(); - } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.Execution.getDescriptor() - .getEnumTypes() - .get(1); - } - - private static final CallLogLevel[] VALUES = values(); - - public static CallLogLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { - if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); - } - if (desc.getIndex() == -1) { - return UNRECOGNIZED; - } - return VALUES[desc.getIndex()]; - } - - private final int value; - - private CallLogLevel(int value) { - this.value = value; - } - - // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1.Execution.CallLogLevel) - } - - public interface StackTraceElementOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.StackTraceElement) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * The step the error occurred at.
-     * 
- * - * string step = 1; - * - * @return The step. - */ - java.lang.String getStep(); - /** - * - * - *
-     * The step the error occurred at.
-     * 
- * - * string step = 1; - * - * @return The bytes for step. - */ - com.google.protobuf.ByteString getStepBytes(); - - /** - * - * - *
-     * The routine where the error occurred.
-     * 
- * - * string routine = 2; - * - * @return The routine. - */ - java.lang.String getRoutine(); - /** - * - * - *
-     * The routine where the error occurred.
-     * 
- * - * string routine = 2; - * - * @return The bytes for routine. - */ - com.google.protobuf.ByteString getRoutineBytes(); - - /** - * - * - *
-     * The source position information of the stack trace element.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - * - * @return Whether the position field is set. - */ - boolean hasPosition(); - /** - * - * - *
-     * The source position information of the stack trace element.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - * - * @return The position. - */ - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getPosition(); - /** - * - * - *
-     * The source position information of the stack trace element.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - */ - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder - getPositionOrBuilder(); - } - /** - * - * - *
-   * A single stack element (frame) where an error occurred.
-   * 
- * - * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTraceElement} - */ - public static final class StackTraceElement extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.StackTraceElement) - StackTraceElementOrBuilder { - private static final long serialVersionUID = 0L; - // Use StackTraceElement.newBuilder() to construct. - private StackTraceElement(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private StackTraceElement() { - step_ = ""; - routine_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new StackTraceElement(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.class, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder.class); - } - - public interface PositionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-       * The source code line number the current instruction was generated from.
-       * 
- * - * int64 line = 1; - * - * @return The line. - */ - long getLine(); - - /** - * - * - *
-       * The source code column position (of the line) the current instruction
-       * was generated from.
-       * 
- * - * int64 column = 2; - * - * @return The column. - */ - long getColumn(); - - /** - * - * - *
-       * The number of bytes of source code making up this stack trace element.
-       * 
- * - * int64 length = 3; - * - * @return The length. - */ - long getLength(); - } - /** - * - * - *
-     * Position contains source position information about the stack trace
-     * element such as line number, column number and length of the code block
-     * in bytes.
-     * 
- * - * Protobuf type {@code - * google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position} - */ - public static final class Position extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) - PositionOrBuilder { - private static final long serialVersionUID = 0L; - // Use Position.newBuilder() to construct. - private Position(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Position() {} - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Position(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.class, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .Builder.class); - } - - public static final int LINE_FIELD_NUMBER = 1; - private long line_ = 0L; - /** - * - * - *
-       * The source code line number the current instruction was generated from.
-       * 
- * - * int64 line = 1; - * - * @return The line. - */ - @java.lang.Override - public long getLine() { - return line_; - } - - public static final int COLUMN_FIELD_NUMBER = 2; - private long column_ = 0L; - /** - * - * - *
-       * The source code column position (of the line) the current instruction
-       * was generated from.
-       * 
- * - * int64 column = 2; - * - * @return The column. - */ - @java.lang.Override - public long getColumn() { - return column_; - } - - public static final int LENGTH_FIELD_NUMBER = 3; - private long length_ = 0L; - /** - * - * - *
-       * The number of bytes of source code making up this stack trace element.
-       * 
- * - * int64 length = 3; - * - * @return The length. - */ - @java.lang.Override - public long getLength() { - return length_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (line_ != 0L) { - output.writeInt64(1, line_); - } - if (column_ != 0L) { - output.writeInt64(2, column_); - } - if (length_ != 0L) { - output.writeInt64(3, length_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (line_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, line_); - } - if (column_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, column_); - } - if (length_ != 0L) { - size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, length_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj - instanceof - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position)) { - return super.equals(obj); - } - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position other = - (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) obj; - - if (getLine() != other.getLine()) return false; - if (getColumn() != other.getColumn()) return false; - if (getLength() != other.getLength()) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + LINE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLine()); - hash = (37 * hash) + COLUMN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getColumn()); - hash = (37 * hash) + LENGTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLength()); - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parseFrom(java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parseFrom(com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parseFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-       * Position contains source position information about the stack trace
-       * element such as line number, column number and length of the code block
-       * in bytes.
-       * 
- * - * Protobuf type {@code - * google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .class, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .Builder.class); - } - - // Construct using - // com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - line_ = 0L; - column_ = 0L; - length_ = 0L; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - getDefaultInstanceForType() { - return com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - build() { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - buildPartial() { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position result = - new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position( - this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.line_ = line_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.column_ = column_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.length_ = length_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other - instanceof - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) { - return mergeFrom( - (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) - other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position other) { - if (other - == com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .getDefaultInstance()) return this; - if (other.getLine() != 0L) { - setLine(other.getLine()); - } - if (other.getColumn() != 0L) { - setColumn(other.getColumn()); - } - if (other.getLength() != 0L) { - setLength(other.getLength()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 8: - { - line_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: - { - column_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: - { - length_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private long line_; - /** - * - * - *
-         * The source code line number the current instruction was generated from.
-         * 
- * - * int64 line = 1; - * - * @return The line. - */ - @java.lang.Override - public long getLine() { - return line_; - } - /** - * - * - *
-         * The source code line number the current instruction was generated from.
-         * 
- * - * int64 line = 1; - * - * @param value The line to set. - * @return This builder for chaining. - */ - public Builder setLine(long value) { - - line_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-         * The source code line number the current instruction was generated from.
-         * 
- * - * int64 line = 1; - * - * @return This builder for chaining. - */ - public Builder clearLine() { - bitField0_ = (bitField0_ & ~0x00000001); - line_ = 0L; - onChanged(); - return this; - } - - private long column_; - /** - * - * - *
-         * The source code column position (of the line) the current instruction
-         * was generated from.
-         * 
- * - * int64 column = 2; - * - * @return The column. - */ - @java.lang.Override - public long getColumn() { - return column_; - } - /** - * - * - *
-         * The source code column position (of the line) the current instruction
-         * was generated from.
-         * 
- * - * int64 column = 2; - * - * @param value The column to set. - * @return This builder for chaining. - */ - public Builder setColumn(long value) { - - column_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-         * The source code column position (of the line) the current instruction
-         * was generated from.
-         * 
- * - * int64 column = 2; - * - * @return This builder for chaining. - */ - public Builder clearColumn() { - bitField0_ = (bitField0_ & ~0x00000002); - column_ = 0L; - onChanged(); - return this; - } - - private long length_; - /** - * - * - *
-         * The number of bytes of source code making up this stack trace element.
-         * 
- * - * int64 length = 3; - * - * @return The length. - */ - @java.lang.Override - public long getLength() { - return length_; - } - /** - * - * - *
-         * The number of bytes of source code making up this stack trace element.
-         * 
- * - * int64 length = 3; - * - * @param value The length to set. - * @return This builder for chaining. - */ - public Builder setLength(long value) { - - length_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-         * The number of bytes of source code making up this stack trace element.
-         * 
- * - * int64 length = 3; - * - * @return This builder for chaining. - */ - public Builder clearLength() { - bitField0_ = (bitField0_ & ~0x00000004); - length_ = 0L; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) - } - - // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) - private static final com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .Position - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = - new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position(); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Position parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public static final int STEP_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object step_ = ""; - /** - * - * - *
-     * The step the error occurred at.
-     * 
- * - * string step = 1; - * - * @return The step. - */ - @java.lang.Override - public java.lang.String getStep() { - java.lang.Object ref = step_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - step_ = s; - return s; - } - } - /** - * - * - *
-     * The step the error occurred at.
-     * 
- * - * string step = 1; - * - * @return The bytes for step. - */ - @java.lang.Override - public com.google.protobuf.ByteString getStepBytes() { - java.lang.Object ref = step_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - step_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ROUTINE_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object routine_ = ""; - /** - * - * - *
-     * The routine where the error occurred.
-     * 
- * - * string routine = 2; - * - * @return The routine. - */ - @java.lang.Override - public java.lang.String getRoutine() { - java.lang.Object ref = routine_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - routine_ = s; - return s; - } - } - /** - * - * - *
-     * The routine where the error occurred.
-     * 
- * - * string routine = 2; - * - * @return The bytes for routine. - */ - @java.lang.Override - public com.google.protobuf.ByteString getRoutineBytes() { - java.lang.Object ref = routine_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - routine_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int POSITION_FIELD_NUMBER = 3; - private com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position_; - /** - * - * - *
-     * The source position information of the stack trace element.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - * - * @return Whether the position field is set. - */ - @java.lang.Override - public boolean hasPosition() { - return position_ != null; - } - /** - * - * - *
-     * The source position information of the stack trace element.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - * - * @return The position. - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - getPosition() { - return position_ == null - ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .getDefaultInstance() - : position_; - } - /** - * - * - *
-     * The source position information of the stack trace element.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder - getPositionOrBuilder() { - return position_ == null - ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .getDefaultInstance() - : position_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(step_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, step_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routine_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, routine_); - } - if (position_ != null) { - output.writeMessage(3, getPosition()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(step_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, step_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routine_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, routine_); - } - if (position_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPosition()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.workflows.executions.v1.Execution.StackTraceElement)) { - return super.equals(obj); - } - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement other = - (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) obj; - - if (!getStep().equals(other.getStep())) return false; - if (!getRoutine().equals(other.getRoutine())) return false; - if (hasPosition() != other.hasPosition()) return false; - if (hasPosition()) { - if (!getPosition().equals(other.getPosition())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + STEP_FIELD_NUMBER; - hash = (53 * hash) + getStep().hashCode(); - hash = (37 * hash) + ROUTINE_FIELD_NUMBER; - hash = (53 * hash) + getRoutine().hashCode(); - if (hasPosition()) { - hash = (37 * hash) + POSITION_FIELD_NUMBER; - hash = (53 * hash) + getPosition().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * A single stack element (frame) where an error occurred.
-     * 
- * - * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTraceElement} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.StackTraceElement) - com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.class, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder.class); - } - - // Construct using - // com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - step_ = ""; - routine_ = ""; - position_ = null; - if (positionBuilder_ != null) { - positionBuilder_.dispose(); - positionBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - getDefaultInstanceForType() { - return com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement build() { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = - buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement buildPartial() { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = - new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.step_ = step_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.routine_ = routine_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.position_ = positionBuilder_ == null ? position_ : positionBuilder_.build(); - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) { - return mergeFrom( - (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement other) { - if (other - == com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .getDefaultInstance()) return this; - if (!other.getStep().isEmpty()) { - step_ = other.step_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getRoutine().isEmpty()) { - routine_ = other.routine_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (other.hasPosition()) { - mergePosition(other.getPosition()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - step_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - routine_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getPositionFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object step_ = ""; - /** - * - * - *
-       * The step the error occurred at.
-       * 
- * - * string step = 1; - * - * @return The step. - */ - public java.lang.String getStep() { - java.lang.Object ref = step_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - step_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * The step the error occurred at.
-       * 
- * - * string step = 1; - * - * @return The bytes for step. - */ - public com.google.protobuf.ByteString getStepBytes() { - java.lang.Object ref = step_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - step_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * The step the error occurred at.
-       * 
- * - * string step = 1; - * - * @param value The step to set. - * @return This builder for chaining. - */ - public Builder setStep(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - step_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-       * The step the error occurred at.
-       * 
- * - * string step = 1; - * - * @return This builder for chaining. - */ - public Builder clearStep() { - step_ = getDefaultInstance().getStep(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-       * The step the error occurred at.
-       * 
- * - * string step = 1; - * - * @param value The bytes for step to set. - * @return This builder for chaining. - */ - public Builder setStepBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - step_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object routine_ = ""; - /** - * - * - *
-       * The routine where the error occurred.
-       * 
- * - * string routine = 2; - * - * @return The routine. - */ - public java.lang.String getRoutine() { - java.lang.Object ref = routine_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - routine_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * The routine where the error occurred.
-       * 
- * - * string routine = 2; - * - * @return The bytes for routine. - */ - public com.google.protobuf.ByteString getRoutineBytes() { - java.lang.Object ref = routine_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - routine_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * The routine where the error occurred.
-       * 
- * - * string routine = 2; - * - * @param value The routine to set. - * @return This builder for chaining. - */ - public Builder setRoutine(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - routine_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-       * The routine where the error occurred.
-       * 
- * - * string routine = 2; - * - * @return This builder for chaining. - */ - public Builder clearRoutine() { - routine_ = getDefaultInstance().getRoutine(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * - * - *
-       * The routine where the error occurred.
-       * 
- * - * string routine = 2; - * - * @param value The bytes for routine to set. - * @return This builder for chaining. - */ - public Builder setRoutineBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - routine_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - position_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .PositionOrBuilder> - positionBuilder_; - /** - * - * - *
-       * The source position information of the stack trace element.
-       * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - * - * @return Whether the position field is set. - */ - public boolean hasPosition() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * - * - *
-       * The source position information of the stack trace element.
-       * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - * - * @return The position. - */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - getPosition() { - if (positionBuilder_ == null) { - return position_ == null - ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .getDefaultInstance() - : position_; - } else { - return positionBuilder_.getMessage(); - } - } - /** - * - * - *
-       * The source position information of the stack trace element.
-       * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - */ - public Builder setPosition( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position value) { - if (positionBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - position_ = value; - } else { - positionBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-       * The source position information of the stack trace element.
-       * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - */ - public Builder setPosition( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder - builderForValue) { - if (positionBuilder_ == null) { - position_ = builderForValue.build(); - } else { - positionBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-       * The source position information of the stack trace element.
-       * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - */ - public Builder mergePosition( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position value) { - if (positionBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && position_ != null - && position_ - != com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .getDefaultInstance()) { - getPositionBuilder().mergeFrom(value); - } else { - position_ = value; - } - } else { - positionBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-       * The source position information of the stack trace element.
-       * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - */ - public Builder clearPosition() { - bitField0_ = (bitField0_ & ~0x00000004); - position_ = null; - if (positionBuilder_ != null) { - positionBuilder_.dispose(); - positionBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
-       * The source position information of the stack trace element.
-       * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder - getPositionBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getPositionFieldBuilder().getBuilder(); - } - /** - * - * - *
-       * The source position information of the stack trace element.
-       * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder - getPositionOrBuilder() { - if (positionBuilder_ != null) { - return positionBuilder_.getMessageOrBuilder(); - } else { - return position_ == null - ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .getDefaultInstance() - : position_; - } - } - /** - * - * - *
-       * The source position information of the stack trace element.
-       * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .PositionOrBuilder> - getPositionFieldBuilder() { - if (positionBuilder_ == null) { - positionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .Builder, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .PositionOrBuilder>(getPosition(), getParentForChildren(), isClean()); - position_ = null; - } - return positionBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.StackTraceElement) - } - - // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.StackTraceElement) - private static final com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackTraceElement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface StackTraceOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.StackTrace) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * An array of stack elements.
-     * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - java.util.List - getElementsList(); - /** - * - * - *
-     * An array of stack elements.
-     * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getElements(int index); - /** - * - * - *
-     * An array of stack elements.
-     * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - int getElementsCount(); - /** - * - * - *
-     * An array of stack elements.
-     * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - java.util.List< - ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> - getElementsOrBuilderList(); - /** - * - * - *
-     * An array of stack elements.
-     * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder - getElementsOrBuilder(int index); - } - /** - * - * - *
-   * A collection of stack elements (frames) where an error occurred.
-   * 
- * - * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTrace} - */ - public static final class StackTrace extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.StackTrace) - StackTraceOrBuilder { - private static final long serialVersionUID = 0L; - // Use StackTrace.newBuilder() to construct. - private StackTrace(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private StackTrace() { - elements_ = java.util.Collections.emptyList(); - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new StackTrace(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StackTrace.class, - com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder.class); - } - - public static final int ELEMENTS_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private java.util.List - elements_; - /** - * - * - *
-     * An array of stack elements.
-     * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - @java.lang.Override - public java.util.List - getElementsList() { - return elements_; - } - /** - * - * - *
-     * An array of stack elements.
-     * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - @java.lang.Override - public java.util.List< - ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> - getElementsOrBuilderList() { - return elements_; - } - /** - * - * - *
-     * An array of stack elements.
-     * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - @java.lang.Override - public int getElementsCount() { - return elements_.size(); - } - /** - * - * - *
-     * An array of stack elements.
-     * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getElements( - int index) { - return elements_.get(index); - } - /** - * - * - *
-     * An array of stack elements.
-     * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder - getElementsOrBuilder(int index) { - return elements_.get(index); - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - for (int i = 0; i < elements_.size(); i++) { - output.writeMessage(1, elements_.get(i)); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - for (int i = 0; i < elements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, elements_.get(i)); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.workflows.executions.v1.Execution.StackTrace)) { - return super.equals(obj); - } - com.google.cloud.workflows.executions.v1.Execution.StackTrace other = - (com.google.cloud.workflows.executions.v1.Execution.StackTrace) obj; - - if (!getElementsList().equals(other.getElementsList())) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - if (getElementsCount() > 0) { - hash = (37 * hash) + ELEMENTS_FIELD_NUMBER; - hash = (53 * hash) + getElementsList().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1.Execution.StackTrace prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * A collection of stack elements (frames) where an error occurred.
-     * 
- * - * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTrace} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.StackTrace) - com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StackTrace.class, - com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder.class); - } - - // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - if (elementsBuilder_ == null) { - elements_ = java.util.Collections.emptyList(); - } else { - elements_ = null; - elementsBuilder_.clear(); - } - bitField0_ = (bitField0_ & ~0x00000001); - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTrace - getDefaultInstanceForType() { - return com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTrace build() { - com.google.cloud.workflows.executions.v1.Execution.StackTrace result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTrace buildPartial() { - com.google.cloud.workflows.executions.v1.Execution.StackTrace result = - new com.google.cloud.workflows.executions.v1.Execution.StackTrace(this); - buildPartialRepeatedFields(result); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartialRepeatedFields( - com.google.cloud.workflows.executions.v1.Execution.StackTrace result) { - if (elementsBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0)) { - elements_ = java.util.Collections.unmodifiableList(elements_); - bitField0_ = (bitField0_ & ~0x00000001); - } - result.elements_ = elements_; - } else { - result.elements_ = elementsBuilder_.build(); - } - } - - private void buildPartial0( - com.google.cloud.workflows.executions.v1.Execution.StackTrace result) { - int from_bitField0_ = bitField0_; - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.workflows.executions.v1.Execution.StackTrace) { - return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.StackTrace) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom( - com.google.cloud.workflows.executions.v1.Execution.StackTrace other) { - if (other - == com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance()) - return this; - if (elementsBuilder_ == null) { - if (!other.elements_.isEmpty()) { - if (elements_.isEmpty()) { - elements_ = other.elements_; - bitField0_ = (bitField0_ & ~0x00000001); - } else { - ensureElementsIsMutable(); - elements_.addAll(other.elements_); - } - onChanged(); - } - } else { - if (!other.elements_.isEmpty()) { - if (elementsBuilder_.isEmpty()) { - elementsBuilder_.dispose(); - elementsBuilder_ = null; - elements_ = other.elements_; - bitField0_ = (bitField0_ & ~0x00000001); - elementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders - ? getElementsFieldBuilder() - : null; - } else { - elementsBuilder_.addAllMessages(other.elements_); - } - } - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement m = - input.readMessage( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .parser(), - extensionRegistry); - if (elementsBuilder_ == null) { - ensureElementsIsMutable(); - elements_.add(m); - } else { - elementsBuilder_.addMessage(m); - } - break; - } // case 10 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.util.List - elements_ = java.util.Collections.emptyList(); - - private void ensureElementsIsMutable() { - if (!((bitField0_ & 0x00000001) != 0)) { - elements_ = - new java.util.ArrayList< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>(elements_); - bitField0_ |= 0x00000001; - } - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> - elementsBuilder_; - - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public java.util.List - getElementsList() { - if (elementsBuilder_ == null) { - return java.util.Collections.unmodifiableList(elements_); - } else { - return elementsBuilder_.getMessageList(); - } - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public int getElementsCount() { - if (elementsBuilder_ == null) { - return elements_.size(); - } else { - return elementsBuilder_.getCount(); - } - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getElements( - int index) { - if (elementsBuilder_ == null) { - return elements_.get(index); - } else { - return elementsBuilder_.getMessage(index); - } - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public Builder setElements( - int index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement value) { - if (elementsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureElementsIsMutable(); - elements_.set(index, value); - onChanged(); - } else { - elementsBuilder_.setMessage(index, value); - } - return this; - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public Builder setElements( - int index, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder - builderForValue) { - if (elementsBuilder_ == null) { - ensureElementsIsMutable(); - elements_.set(index, builderForValue.build()); - onChanged(); - } else { - elementsBuilder_.setMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public Builder addElements( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement value) { - if (elementsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureElementsIsMutable(); - elements_.add(value); - onChanged(); - } else { - elementsBuilder_.addMessage(value); - } - return this; - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public Builder addElements( - int index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement value) { - if (elementsBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - ensureElementsIsMutable(); - elements_.add(index, value); - onChanged(); - } else { - elementsBuilder_.addMessage(index, value); - } - return this; - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public Builder addElements( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder - builderForValue) { - if (elementsBuilder_ == null) { - ensureElementsIsMutable(); - elements_.add(builderForValue.build()); - onChanged(); - } else { - elementsBuilder_.addMessage(builderForValue.build()); - } - return this; - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public Builder addElements( - int index, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder - builderForValue) { - if (elementsBuilder_ == null) { - ensureElementsIsMutable(); - elements_.add(index, builderForValue.build()); - onChanged(); - } else { - elementsBuilder_.addMessage(index, builderForValue.build()); - } - return this; - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public Builder addAllElements( - java.lang.Iterable< - ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElement> - values) { - if (elementsBuilder_ == null) { - ensureElementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, elements_); - onChanged(); - } else { - elementsBuilder_.addAllMessages(values); - } - return this; - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public Builder clearElements() { - if (elementsBuilder_ == null) { - elements_ = java.util.Collections.emptyList(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - } else { - elementsBuilder_.clear(); - } - return this; - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public Builder removeElements(int index) { - if (elementsBuilder_ == null) { - ensureElementsIsMutable(); - elements_.remove(index); - onChanged(); - } else { - elementsBuilder_.remove(index); - } - return this; - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder - getElementsBuilder(int index) { - return getElementsFieldBuilder().getBuilder(index); - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder - getElementsOrBuilder(int index) { - if (elementsBuilder_ == null) { - return elements_.get(index); - } else { - return elementsBuilder_.getMessageOrBuilder(index); - } - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public java.util.List< - ? extends - com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> - getElementsOrBuilderList() { - if (elementsBuilder_ != null) { - return elementsBuilder_.getMessageOrBuilderList(); - } else { - return java.util.Collections.unmodifiableList(elements_); - } - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder - addElementsBuilder() { - return getElementsFieldBuilder() - .addBuilder( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .getDefaultInstance()); - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder - addElementsBuilder(int index) { - return getElementsFieldBuilder() - .addBuilder( - index, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .getDefaultInstance()); - } - /** - * - * - *
-       * An array of stack elements.
-       * 
- * - * - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; - * - */ - public java.util.List< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder> - getElementsBuilderList() { - return getElementsFieldBuilder().getBuilderList(); - } - - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> - getElementsFieldBuilder() { - if (elementsBuilder_ == null) { - elementsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder, - com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder>( - elements_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); - elements_ = null; - } - return elementsBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.StackTrace) - } - - // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.StackTrace) - private static final com.google.cloud.workflows.executions.v1.Execution.StackTrace - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.StackTrace(); - } - - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackTrace parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTrace - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public interface ErrorOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.Error) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-     * Error message and data returned represented as a JSON string.
-     * 
- * - * string payload = 1; - * - * @return The payload. - */ - java.lang.String getPayload(); - /** - * - * - *
-     * Error message and data returned represented as a JSON string.
-     * 
- * - * string payload = 1; - * - * @return The bytes for payload. - */ - com.google.protobuf.ByteString getPayloadBytes(); - - /** - * - * - *
-     * Human-readable stack trace string.
-     * 
- * - * string context = 2; - * - * @return The context. - */ - java.lang.String getContext(); - /** - * - * - *
-     * Human-readable stack trace string.
-     * 
- * - * string context = 2; - * - * @return The bytes for context. - */ - com.google.protobuf.ByteString getContextBytes(); - - /** - * - * - *
-     * Stack trace with detailed information of where error was generated.
-     * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - * - * @return Whether the stackTrace field is set. - */ - boolean hasStackTrace(); - /** - * - * - *
-     * Stack trace with detailed information of where error was generated.
-     * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - * - * @return The stackTrace. - */ - com.google.cloud.workflows.executions.v1.Execution.StackTrace getStackTrace(); - /** - * - * - *
-     * Stack trace with detailed information of where error was generated.
-     * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - */ - com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder getStackTraceOrBuilder(); - } - /** - * - * - *
-   * Error describes why the execution was abnormally terminated.
-   * 
- * - * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Error} - */ - public static final class Error extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.Error) - ErrorOrBuilder { - private static final long serialVersionUID = 0L; - // Use Error.newBuilder() to construct. - private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private Error() { - payload_ = ""; - context_ = ""; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new Error(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_Error_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.Error.class, - com.google.cloud.workflows.executions.v1.Execution.Error.Builder.class); - } - - public static final int PAYLOAD_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object payload_ = ""; - /** - * - * - *
-     * Error message and data returned represented as a JSON string.
-     * 
- * - * string payload = 1; - * - * @return The payload. - */ - @java.lang.Override - public java.lang.String getPayload() { - java.lang.Object ref = payload_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - payload_ = s; - return s; - } - } - /** - * - * - *
-     * Error message and data returned represented as a JSON string.
-     * 
- * - * string payload = 1; - * - * @return The bytes for payload. - */ - @java.lang.Override - public com.google.protobuf.ByteString getPayloadBytes() { - java.lang.Object ref = payload_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - payload_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CONTEXT_FIELD_NUMBER = 2; - - @SuppressWarnings("serial") - private volatile java.lang.Object context_ = ""; - /** - * - * - *
-     * Human-readable stack trace string.
-     * 
- * - * string context = 2; - * - * @return The context. - */ - @java.lang.Override - public java.lang.String getContext() { - java.lang.Object ref = context_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - context_ = s; - return s; - } - } - /** - * - * - *
-     * Human-readable stack trace string.
-     * 
- * - * string context = 2; - * - * @return The bytes for context. - */ - @java.lang.Override - public com.google.protobuf.ByteString getContextBytes() { - java.lang.Object ref = context_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - context_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int STACK_TRACE_FIELD_NUMBER = 3; - private com.google.cloud.workflows.executions.v1.Execution.StackTrace stackTrace_; - /** - * - * - *
-     * Stack trace with detailed information of where error was generated.
-     * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - * - * @return Whether the stackTrace field is set. - */ - @java.lang.Override - public boolean hasStackTrace() { - return stackTrace_ != null; - } - /** - * - * - *
-     * Stack trace with detailed information of where error was generated.
-     * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - * - * @return The stackTrace. - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTrace getStackTrace() { - return stackTrace_ == null - ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() - : stackTrace_; - } - /** - * - * - *
-     * Stack trace with detailed information of where error was generated.
-     * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder - getStackTraceOrBuilder() { - return stackTrace_ == null - ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() - : stackTrace_; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, payload_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 2, context_); - } - if (stackTrace_ != null) { - output.writeMessage(3, getStackTrace()); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, payload_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, context_); - } - if (stackTrace_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStackTrace()); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.workflows.executions.v1.Execution.Error)) { - return super.equals(obj); - } - com.google.cloud.workflows.executions.v1.Execution.Error other = - (com.google.cloud.workflows.executions.v1.Execution.Error) obj; - - if (!getPayload().equals(other.getPayload())) return false; - if (!getContext().equals(other.getContext())) return false; - if (hasStackTrace() != other.hasStackTrace()) return false; - if (hasStackTrace()) { - if (!getStackTrace().equals(other.getStackTrace())) return false; - } - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; - hash = (53 * hash) + getPayload().hashCode(); - hash = (37 * hash) + CONTEXT_FIELD_NUMBER; - hash = (53 * hash) + getContext().hashCode(); - if (hasStackTrace()) { - hash = (37 * hash) + STACK_TRACE_FIELD_NUMBER; - hash = (53 * hash) + getStackTrace().hashCode(); - } - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1.Execution.Error prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-     * Error describes why the execution was abnormally terminated.
-     * 
- * - * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Error} - */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.Error) - com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_Error_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.Error.class, - com.google.cloud.workflows.executions.v1.Execution.Error.Builder.class); - } - - // Construct using com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - payload_ = ""; - context_ = ""; - stackTrace_ = null; - if (stackTraceBuilder_ != null) { - stackTraceBuilder_.dispose(); - stackTraceBuilder_ = null; - } - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstanceForType() { - return com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.Error build() { - com.google.cloud.workflows.executions.v1.Execution.Error result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.Error buildPartial() { - com.google.cloud.workflows.executions.v1.Execution.Error result = - new com.google.cloud.workflows.executions.v1.Execution.Error(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.Error result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.payload_ = payload_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.context_ = context_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.stackTrace_ = - stackTraceBuilder_ == null ? stackTrace_ : stackTraceBuilder_.build(); - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.workflows.executions.v1.Execution.Error) { - return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.Error) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.Error other) { - if (other == com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance()) - return this; - if (!other.getPayload().isEmpty()) { - payload_ = other.payload_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (!other.getContext().isEmpty()) { - context_ = other.context_; - bitField0_ |= 0x00000002; - onChanged(); - } - if (other.hasStackTrace()) { - mergeStackTrace(other.getStackTrace()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - payload_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - context_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getStackTraceFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object payload_ = ""; - /** - * - * - *
-       * Error message and data returned represented as a JSON string.
-       * 
- * - * string payload = 1; - * - * @return The payload. - */ - public java.lang.String getPayload() { - java.lang.Object ref = payload_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - payload_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * Error message and data returned represented as a JSON string.
-       * 
- * - * string payload = 1; - * - * @return The bytes for payload. - */ - public com.google.protobuf.ByteString getPayloadBytes() { - java.lang.Object ref = payload_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - payload_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * Error message and data returned represented as a JSON string.
-       * 
- * - * string payload = 1; - * - * @param value The payload to set. - * @return This builder for chaining. - */ - public Builder setPayload(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - payload_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-       * Error message and data returned represented as a JSON string.
-       * 
- * - * string payload = 1; - * - * @return This builder for chaining. - */ - public Builder clearPayload() { - payload_ = getDefaultInstance().getPayload(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-       * Error message and data returned represented as a JSON string.
-       * 
- * - * string payload = 1; - * - * @param value The bytes for payload to set. - * @return This builder for chaining. - */ - public Builder setPayloadBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - payload_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private java.lang.Object context_ = ""; - /** - * - * - *
-       * Human-readable stack trace string.
-       * 
- * - * string context = 2; - * - * @return The context. - */ - public java.lang.String getContext() { - java.lang.Object ref = context_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - context_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-       * Human-readable stack trace string.
-       * 
- * - * string context = 2; - * - * @return The bytes for context. - */ - public com.google.protobuf.ByteString getContextBytes() { - java.lang.Object ref = context_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - context_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-       * Human-readable stack trace string.
-       * 
- * - * string context = 2; - * - * @param value The context to set. - * @return This builder for chaining. - */ - public Builder setContext(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - context_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-       * Human-readable stack trace string.
-       * 
- * - * string context = 2; - * - * @return This builder for chaining. - */ - public Builder clearContext() { - context_ = getDefaultInstance().getContext(); - bitField0_ = (bitField0_ & ~0x00000002); - onChanged(); - return this; - } - /** - * - * - *
-       * Human-readable stack trace string.
-       * 
- * - * string context = 2; - * - * @param value The bytes for context to set. - * @return This builder for chaining. - */ - public Builder setContextBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - context_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - - private com.google.cloud.workflows.executions.v1.Execution.StackTrace stackTrace_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTrace, - com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder, - com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder> - stackTraceBuilder_; - /** - * - * - *
-       * Stack trace with detailed information of where error was generated.
-       * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - * - * @return Whether the stackTrace field is set. - */ - public boolean hasStackTrace() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * - * - *
-       * Stack trace with detailed information of where error was generated.
-       * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - * - * @return The stackTrace. - */ - public com.google.cloud.workflows.executions.v1.Execution.StackTrace getStackTrace() { - if (stackTraceBuilder_ == null) { - return stackTrace_ == null - ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() - : stackTrace_; - } else { - return stackTraceBuilder_.getMessage(); - } - } - /** - * - * - *
-       * Stack trace with detailed information of where error was generated.
-       * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - */ - public Builder setStackTrace( - com.google.cloud.workflows.executions.v1.Execution.StackTrace value) { - if (stackTraceBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - stackTrace_ = value; - } else { - stackTraceBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-       * Stack trace with detailed information of where error was generated.
-       * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - */ - public Builder setStackTrace( - com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder builderForValue) { - if (stackTraceBuilder_ == null) { - stackTrace_ = builderForValue.build(); - } else { - stackTraceBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-       * Stack trace with detailed information of where error was generated.
-       * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - */ - public Builder mergeStackTrace( - com.google.cloud.workflows.executions.v1.Execution.StackTrace value) { - if (stackTraceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && stackTrace_ != null - && stackTrace_ - != com.google.cloud.workflows.executions.v1.Execution.StackTrace - .getDefaultInstance()) { - getStackTraceBuilder().mergeFrom(value); - } else { - stackTrace_ = value; - } - } else { - stackTraceBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-       * Stack trace with detailed information of where error was generated.
-       * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - */ - public Builder clearStackTrace() { - bitField0_ = (bitField0_ & ~0x00000004); - stackTrace_ = null; - if (stackTraceBuilder_ != null) { - stackTraceBuilder_.dispose(); - stackTraceBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
-       * Stack trace with detailed information of where error was generated.
-       * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - */ - public com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder - getStackTraceBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getStackTraceFieldBuilder().getBuilder(); - } - /** - * - * - *
-       * Stack trace with detailed information of where error was generated.
-       * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder - getStackTraceOrBuilder() { - if (stackTraceBuilder_ != null) { - return stackTraceBuilder_.getMessageOrBuilder(); - } else { - return stackTrace_ == null - ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() - : stackTrace_; - } - } - /** - * - * - *
-       * Stack trace with detailed information of where error was generated.
-       * 
- * - * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTrace, - com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder, - com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder> - getStackTraceFieldBuilder() { - if (stackTraceBuilder_ == null) { - stackTraceBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTrace, - com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder, - com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder>( - getStackTrace(), getParentForChildren(), isClean()); - stackTrace_ = null; - } - return stackTraceBuilder_; - } - - @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.Error) - } - - // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.Error) - private static final com.google.cloud.workflows.executions.v1.Execution.Error DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.Error(); - } - - public static com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } - } - - public static final int NAME_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object name_ = ""; - /** - * - * - *
-   * Output only. The resource name of the execution.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The name. - */ - @java.lang.Override - public java.lang.String getName() { - java.lang.Object ref = name_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } - } - /** - * - * - *
-   * Output only. The resource name of the execution.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for name. - */ - @java.lang.Override - 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); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int START_TIME_FIELD_NUMBER = 2; - private com.google.protobuf.Timestamp startTime_; - /** - * - * - *
-   * Output only. Marks the beginning of execution.
-   * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the startTime field is set. - */ - @java.lang.Override - public boolean hasStartTime() { - return startTime_ != null; - } - /** - * - * - *
-   * Output only. Marks the beginning of execution.
-   * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The startTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getStartTime() { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; - } - /** - * - * - *
-   * Output only. Marks the beginning of execution.
-   * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; - } - - public static final int END_TIME_FIELD_NUMBER = 3; - private com.google.protobuf.Timestamp endTime_; - /** - * - * - *
-   * Output only. Marks the end of execution, successful or not.
-   * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the endTime field is set. - */ - @java.lang.Override - public boolean hasEndTime() { - return endTime_ != null; - } - /** - * - * - *
-   * Output only. Marks the end of execution, successful or not.
-   * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The endTime. - */ - @java.lang.Override - public com.google.protobuf.Timestamp getEndTime() { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } - /** - * - * - *
-   * Output only. Marks the end of execution, successful or not.
-   * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } - - public static final int STATE_FIELD_NUMBER = 4; - private int state_ = 0; - /** - * - * - *
-   * Output only. Current state of the execution.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for state. - */ - @java.lang.Override - public int getStateValue() { - return state_; - } - /** - * - * - *
-   * Output only. Current state of the execution.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The state. - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.State getState() { - com.google.cloud.workflows.executions.v1.Execution.State result = - com.google.cloud.workflows.executions.v1.Execution.State.forNumber(state_); - return result == null - ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED - : result; - } - - public static final int ARGUMENT_FIELD_NUMBER = 5; - - @SuppressWarnings("serial") - private volatile java.lang.Object argument_ = ""; - /** - * - * - *
-   * Input parameters of the execution represented as a JSON string.
-   * The size limit is 32KB.
-   *
-   * *Note*: If you are using the REST API directly to run your workflow, you
-   * must escape any JSON string value of `argument`. Example:
-   * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
-   * 
- * - * string argument = 5; - * - * @return The argument. - */ - @java.lang.Override - public java.lang.String getArgument() { - java.lang.Object ref = argument_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - argument_ = s; - return s; - } - } - /** - * - * - *
-   * Input parameters of the execution represented as a JSON string.
-   * The size limit is 32KB.
-   *
-   * *Note*: If you are using the REST API directly to run your workflow, you
-   * must escape any JSON string value of `argument`. Example:
-   * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
-   * 
- * - * string argument = 5; - * - * @return The bytes for argument. - */ - @java.lang.Override - public com.google.protobuf.ByteString getArgumentBytes() { - java.lang.Object ref = argument_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - argument_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int RESULT_FIELD_NUMBER = 6; - - @SuppressWarnings("serial") - private volatile java.lang.Object result_ = ""; - /** - * - * - *
-   * Output only. Output of the execution represented as a JSON string. The
-   * value can only be present if the execution's state is `SUCCEEDED`.
-   * 
- * - * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The result. - */ - @java.lang.Override - public java.lang.String getResult() { - java.lang.Object ref = result_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - result_ = s; - return s; - } - } - /** - * - * - *
-   * Output only. Output of the execution represented as a JSON string. The
-   * value can only be present if the execution's state is `SUCCEEDED`.
-   * 
- * - * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for result. - */ - @java.lang.Override - public com.google.protobuf.ByteString getResultBytes() { - java.lang.Object ref = result_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - result_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int ERROR_FIELD_NUMBER = 7; - private com.google.cloud.workflows.executions.v1.Execution.Error error_; - /** - * - * - *
-   * Output only. The error which caused the execution to finish prematurely.
-   * The value is only present if the execution's state is `FAILED`
-   * or `CANCELLED`.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the error field is set. - */ - @java.lang.Override - public boolean hasError() { - return error_ != null; - } - /** - * - * - *
-   * Output only. The error which caused the execution to finish prematurely.
-   * The value is only present if the execution's state is `FAILED`
-   * or `CANCELLED`.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The error. - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.Error getError() { - return error_ == null - ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() - : error_; - } - /** - * - * - *
-   * Output only. The error which caused the execution to finish prematurely.
-   * The value is only present if the execution's state is `FAILED`
-   * or `CANCELLED`.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErrorOrBuilder() { - return error_ == null - ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() - : error_; - } - - public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; - - @SuppressWarnings("serial") - private volatile java.lang.Object workflowRevisionId_ = ""; - /** - * - * - *
-   * Output only. Revision of the workflow this execution is using.
-   * 
- * - * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The workflowRevisionId. - */ - @java.lang.Override - public java.lang.String getWorkflowRevisionId() { - java.lang.Object ref = workflowRevisionId_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workflowRevisionId_ = s; - return s; - } - } - /** - * - * - *
-   * Output only. Revision of the workflow this execution is using.
-   * 
- * - * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for workflowRevisionId. - */ - @java.lang.Override - public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { - java.lang.Object ref = workflowRevisionId_; - if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - workflowRevisionId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int CALL_LOG_LEVEL_FIELD_NUMBER = 9; - private int callLogLevel_ = 0; - /** - * - * - *
-   * The call logging level associated to this execution.
-   * 
- * - * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; - * - * @return The enum numeric value on the wire for callLogLevel. - */ - @java.lang.Override - public int getCallLogLevelValue() { - return callLogLevel_; - } - /** - * - * - *
-   * The call logging level associated to this execution.
-   * 
- * - * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; - * - * @return The callLogLevel. - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.forNumber(callLogLevel_); - return result == null - ? com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.UNRECOGNIZED - : result; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); - } - if (startTime_ != null) { - output.writeMessage(2, getStartTime()); - } - if (endTime_ != null) { - output.writeMessage(3, getEndTime()); - } - if (state_ - != com.google.cloud.workflows.executions.v1.Execution.State.STATE_UNSPECIFIED.getNumber()) { - output.writeEnum(4, state_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 5, argument_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 6, result_); - } - if (error_ != null) { - output.writeMessage(7, getError()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 8, workflowRevisionId_); - } - if (callLogLevel_ - != com.google.cloud.workflows.executions.v1.Execution.CallLogLevel - .CALL_LOG_LEVEL_UNSPECIFIED - .getNumber()) { - output.writeEnum(9, callLogLevel_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); - } - if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); - } - if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); - } - if (state_ - != com.google.cloud.workflows.executions.v1.Execution.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, argument_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, result_); - } - if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getError()); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, workflowRevisionId_); - } - if (callLogLevel_ - != com.google.cloud.workflows.executions.v1.Execution.CallLogLevel - .CALL_LOG_LEVEL_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, callLogLevel_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.workflows.executions.v1.Execution)) { - return super.equals(obj); - } - com.google.cloud.workflows.executions.v1.Execution other = - (com.google.cloud.workflows.executions.v1.Execution) obj; - - if (!getName().equals(other.getName())) return false; - if (hasStartTime() != other.hasStartTime()) return false; - if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; - } - if (hasEndTime() != other.hasEndTime()) return false; - if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; - } - if (state_ != other.state_) return false; - if (!getArgument().equals(other.getArgument())) return false; - if (!getResult().equals(other.getResult())) return false; - if (hasError() != other.hasError()) return false; - if (hasError()) { - if (!getError().equals(other.getError())) return false; - } - if (!getWorkflowRevisionId().equals(other.getWorkflowRevisionId())) return false; - if (callLogLevel_ != other.callLogLevel_) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + NAME_FIELD_NUMBER; - hash = (53 * hash) + getName().hashCode(); - if (hasStartTime()) { - hash = (37 * hash) + START_TIME_FIELD_NUMBER; - hash = (53 * hash) + getStartTime().hashCode(); - } - if (hasEndTime()) { - hash = (37 * hash) + END_TIME_FIELD_NUMBER; - hash = (53 * hash) + getEndTime().hashCode(); - } - hash = (37 * hash) + STATE_FIELD_NUMBER; - hash = (53 * hash) + state_; - hash = (37 * hash) + ARGUMENT_FIELD_NUMBER; - hash = (53 * hash) + getArgument().hashCode(); - hash = (37 * hash) + RESULT_FIELD_NUMBER; - hash = (53 * hash) + getResult().hashCode(); - if (hasError()) { - hash = (37 * hash) + ERROR_FIELD_NUMBER; - hash = (53 * hash) + getError().hashCode(); - } - hash = (37 * hash) + WORKFLOW_REVISION_ID_FIELD_NUMBER; - hash = (53 * hash) + getWorkflowRevisionId().hashCode(); - hash = (37 * hash) + CALL_LOG_LEVEL_FIELD_NUMBER; - hash = (53 * hash) + callLogLevel_; - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.workflows.executions.v1.Execution parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.Execution parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.Execution parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.Execution parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * A running instance of a
-   * [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
-   * 
- * - * Protobuf type {@code google.cloud.workflows.executions.v1.Execution} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution) - com.google.cloud.workflows.executions.v1.ExecutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.class, - com.google.cloud.workflows.executions.v1.Execution.Builder.class); - } - - // Construct using com.google.cloud.workflows.executions.v1.Execution.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - name_ = ""; - startTime_ = null; - if (startTimeBuilder_ != null) { - startTimeBuilder_.dispose(); - startTimeBuilder_ = null; - } - endTime_ = null; - if (endTimeBuilder_ != null) { - endTimeBuilder_.dispose(); - endTimeBuilder_ = null; - } - state_ = 0; - argument_ = ""; - result_ = ""; - error_ = null; - if (errorBuilder_ != null) { - errorBuilder_.dispose(); - errorBuilder_ = null; - } - workflowRevisionId_ = ""; - callLogLevel_ = 0; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_Execution_descriptor; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution getDefaultInstanceForType() { - return com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution build() { - com.google.cloud.workflows.executions.v1.Execution result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution buildPartial() { - com.google.cloud.workflows.executions.v1.Execution result = - new com.google.cloud.workflows.executions.v1.Execution(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.name_ = name_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.state_ = state_; - } - if (((from_bitField0_ & 0x00000010) != 0)) { - result.argument_ = argument_; - } - if (((from_bitField0_ & 0x00000020) != 0)) { - result.result_ = result_; - } - if (((from_bitField0_ & 0x00000040) != 0)) { - result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); - } - if (((from_bitField0_ & 0x00000080) != 0)) { - result.workflowRevisionId_ = workflowRevisionId_; - } - if (((from_bitField0_ & 0x00000100) != 0)) { - result.callLogLevel_ = callLogLevel_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.workflows.executions.v1.Execution) { - return mergeFrom((com.google.cloud.workflows.executions.v1.Execution) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution other) { - if (other == com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()) - return this; - if (!other.getName().isEmpty()) { - name_ = other.name_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.hasStartTime()) { - mergeStartTime(other.getStartTime()); - } - if (other.hasEndTime()) { - mergeEndTime(other.getEndTime()); - } - if (other.state_ != 0) { - setStateValue(other.getStateValue()); - } - if (!other.getArgument().isEmpty()) { - argument_ = other.argument_; - bitField0_ |= 0x00000010; - onChanged(); - } - if (!other.getResult().isEmpty()) { - result_ = other.result_; - bitField0_ |= 0x00000020; - onChanged(); - } - if (other.hasError()) { - mergeError(other.getError()); - } - if (!other.getWorkflowRevisionId().isEmpty()) { - workflowRevisionId_ = other.workflowRevisionId_; - bitField0_ |= 0x00000080; - onChanged(); - } - if (other.callLogLevel_ != 0) { - setCallLogLevelValue(other.getCallLogLevelValue()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - argument_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - result_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - workflowRevisionId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 72: - { - callLogLevel_ = input.readEnum(); - bitField0_ |= 0x00000100; - break; - } // case 72 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object name_ = ""; - /** - * - * - *
-     * Output only. The resource name of the execution.
-     * Format:
-     * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The name. - */ - public java.lang.String getName() { - java.lang.Object ref = name_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - name_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Output only. The resource name of the execution.
-     * Format:
-     * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for name. - */ - 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); - name_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Output only. The resource name of the execution.
-     * Format:
-     * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The name to set. - * @return This builder for chaining. - */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The resource name of the execution.
-     * Format:
-     * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearName() { - name_ = getDefaultInstance().getName(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The resource name of the execution.
-     * Format:
-     * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-     * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The bytes for name to set. - * @return This builder for chaining. - */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - name_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private com.google.protobuf.Timestamp startTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; - /** - * - * - *
-     * Output only. Marks the beginning of execution.
-     * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the startTime field is set. - */ - public boolean hasStartTime() { - return ((bitField0_ & 0x00000002) != 0); - } - /** - * - * - *
-     * Output only. Marks the beginning of execution.
-     * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The startTime. - */ - public com.google.protobuf.Timestamp getStartTime() { - if (startTimeBuilder_ == null) { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; - } else { - return startTimeBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. Marks the beginning of execution.
-     * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setStartTime(com.google.protobuf.Timestamp value) { - if (startTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - startTime_ = value; - } else { - startTimeBuilder_.setMessage(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Marks the beginning of execution.
-     * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (startTimeBuilder_ == null) { - startTime_ = builderForValue.build(); - } else { - startTimeBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Marks the beginning of execution.
-     * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeStartTime(com.google.protobuf.Timestamp value) { - if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - getStartTimeBuilder().mergeFrom(value); - } else { - startTime_ = value; - } - } else { - startTimeBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Marks the beginning of execution.
-     * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearStartTime() { - bitField0_ = (bitField0_ & ~0x00000002); - startTime_ = null; - if (startTimeBuilder_ != null) { - startTimeBuilder_.dispose(); - startTimeBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Marks the beginning of execution.
-     * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { - bitField0_ |= 0x00000002; - onChanged(); - return getStartTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Output only. Marks the beginning of execution.
-     * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { - if (startTimeBuilder_ != null) { - return startTimeBuilder_.getMessageOrBuilder(); - } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; - } - } - /** - * - * - *
-     * Output only. Marks the beginning of execution.
-     * 
- * - * .google.protobuf.Timestamp start_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> - getStartTimeFieldBuilder() { - if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); - startTime_ = null; - } - return startTimeBuilder_; - } - - private com.google.protobuf.Timestamp endTime_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; - /** - * - * - *
-     * Output only. Marks the end of execution, successful or not.
-     * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the endTime field is set. - */ - public boolean hasEndTime() { - return ((bitField0_ & 0x00000004) != 0); - } - /** - * - * - *
-     * Output only. Marks the end of execution, successful or not.
-     * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The endTime. - */ - public com.google.protobuf.Timestamp getEndTime() { - if (endTimeBuilder_ == null) { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } else { - return endTimeBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. Marks the end of execution, successful or not.
-     * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setEndTime(com.google.protobuf.Timestamp value) { - if (endTimeBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - endTime_ = value; - } else { - endTimeBuilder_.setMessage(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Marks the end of execution, successful or not.
-     * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { - if (endTimeBuilder_ == null) { - endTime_ = builderForValue.build(); - } else { - endTimeBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Marks the end of execution, successful or not.
-     * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeEndTime(com.google.protobuf.Timestamp value) { - if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { - getEndTimeBuilder().mergeFrom(value); - } else { - endTime_ = value; - } - } else { - endTimeBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Marks the end of execution, successful or not.
-     * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearEndTime() { - bitField0_ = (bitField0_ & ~0x00000004); - endTime_ = null; - if (endTimeBuilder_ != null) { - endTimeBuilder_.dispose(); - endTimeBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Marks the end of execution, successful or not.
-     * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { - bitField0_ |= 0x00000004; - onChanged(); - return getEndTimeFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Output only. Marks the end of execution, successful or not.
-     * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { - if (endTimeBuilder_ != null) { - return endTimeBuilder_.getMessageOrBuilder(); - } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; - } - } - /** - * - * - *
-     * Output only. Marks the end of execution, successful or not.
-     * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - getEndTimeFieldBuilder() { - if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); - endTime_ = null; - } - return endTimeBuilder_; - } - - private int state_ = 0; - /** - * - * - *
-     * Output only. Current state of the execution.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for state. - */ - @java.lang.Override - public int getStateValue() { - return state_; - } - /** - * - * - *
-     * Output only. Current state of the execution.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @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; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Current state of the execution.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The state. - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.State getState() { - com.google.cloud.workflows.executions.v1.Execution.State result = - com.google.cloud.workflows.executions.v1.Execution.State.forNumber(state_); - return result == null - ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED - : result; - } - /** - * - * - *
-     * Output only. Current state of the execution.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @param value The state to set. - * @return This builder for chaining. - */ - public Builder setState(com.google.cloud.workflows.executions.v1.Execution.State value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - state_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Current state of the execution.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return This builder for chaining. - */ - public Builder clearState() { - bitField0_ = (bitField0_ & ~0x00000008); - state_ = 0; - onChanged(); - return this; - } - - private java.lang.Object argument_ = ""; - /** - * - * - *
-     * Input parameters of the execution represented as a JSON string.
-     * The size limit is 32KB.
-     *
-     * *Note*: If you are using the REST API directly to run your workflow, you
-     * must escape any JSON string value of `argument`. Example:
-     * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
-     * 
- * - * string argument = 5; - * - * @return The argument. - */ - public java.lang.String getArgument() { - java.lang.Object ref = argument_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - argument_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Input parameters of the execution represented as a JSON string.
-     * The size limit is 32KB.
-     *
-     * *Note*: If you are using the REST API directly to run your workflow, you
-     * must escape any JSON string value of `argument`. Example:
-     * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
-     * 
- * - * string argument = 5; - * - * @return The bytes for argument. - */ - public com.google.protobuf.ByteString getArgumentBytes() { - java.lang.Object ref = argument_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - argument_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Input parameters of the execution represented as a JSON string.
-     * The size limit is 32KB.
-     *
-     * *Note*: If you are using the REST API directly to run your workflow, you
-     * must escape any JSON string value of `argument`. Example:
-     * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
-     * 
- * - * string argument = 5; - * - * @param value The argument to set. - * @return This builder for chaining. - */ - public Builder setArgument(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - argument_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - /** - * - * - *
-     * Input parameters of the execution represented as a JSON string.
-     * The size limit is 32KB.
-     *
-     * *Note*: If you are using the REST API directly to run your workflow, you
-     * must escape any JSON string value of `argument`. Example:
-     * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
-     * 
- * - * string argument = 5; - * - * @return This builder for chaining. - */ - public Builder clearArgument() { - argument_ = getDefaultInstance().getArgument(); - bitField0_ = (bitField0_ & ~0x00000010); - onChanged(); - return this; - } - /** - * - * - *
-     * Input parameters of the execution represented as a JSON string.
-     * The size limit is 32KB.
-     *
-     * *Note*: If you are using the REST API directly to run your workflow, you
-     * must escape any JSON string value of `argument`. Example:
-     * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
-     * 
- * - * string argument = 5; - * - * @param value The bytes for argument to set. - * @return This builder for chaining. - */ - public Builder setArgumentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - argument_ = value; - bitField0_ |= 0x00000010; - onChanged(); - return this; - } - - private java.lang.Object result_ = ""; - /** - * - * - *
-     * Output only. Output of the execution represented as a JSON string. The
-     * value can only be present if the execution's state is `SUCCEEDED`.
-     * 
- * - * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The result. - */ - public java.lang.String getResult() { - java.lang.Object ref = result_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - result_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Output only. Output of the execution represented as a JSON string. The
-     * value can only be present if the execution's state is `SUCCEEDED`.
-     * 
- * - * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for result. - */ - public com.google.protobuf.ByteString getResultBytes() { - java.lang.Object ref = result_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - result_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Output only. Output of the execution represented as a JSON string. The
-     * value can only be present if the execution's state is `SUCCEEDED`.
-     * 
- * - * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The result to set. - * @return This builder for chaining. - */ - public Builder setResult(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - result_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Output of the execution represented as a JSON string. The
-     * value can only be present if the execution's state is `SUCCEEDED`.
-     * 
- * - * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearResult() { - result_ = getDefaultInstance().getResult(); - bitField0_ = (bitField0_ & ~0x00000020); - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Output of the execution represented as a JSON string. The
-     * value can only be present if the execution's state is `SUCCEEDED`.
-     * 
- * - * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The bytes for result to set. - * @return This builder for chaining. - */ - public Builder setResultBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - result_ = value; - bitField0_ |= 0x00000020; - onChanged(); - return this; - } - - private com.google.cloud.workflows.executions.v1.Execution.Error error_; - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.Error, - com.google.cloud.workflows.executions.v1.Execution.Error.Builder, - com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder> - errorBuilder_; - /** - * - * - *
-     * Output only. The error which caused the execution to finish prematurely.
-     * The value is only present if the execution's state is `FAILED`
-     * or `CANCELLED`.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the error field is set. - */ - public boolean hasError() { - return ((bitField0_ & 0x00000040) != 0); - } - /** - * - * - *
-     * Output only. The error which caused the execution to finish prematurely.
-     * The value is only present if the execution's state is `FAILED`
-     * or `CANCELLED`.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The error. - */ - public com.google.cloud.workflows.executions.v1.Execution.Error getError() { - if (errorBuilder_ == null) { - return error_ == null - ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() - : error_; - } else { - return errorBuilder_.getMessage(); - } - } - /** - * - * - *
-     * Output only. The error which caused the execution to finish prematurely.
-     * The value is only present if the execution's state is `FAILED`
-     * or `CANCELLED`.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setError(com.google.cloud.workflows.executions.v1.Execution.Error value) { - if (errorBuilder_ == null) { - if (value == null) { - throw new NullPointerException(); - } - error_ = value; - } else { - errorBuilder_.setMessage(value); - } - bitField0_ |= 0x00000040; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The error which caused the execution to finish prematurely.
-     * The value is only present if the execution's state is `FAILED`
-     * or `CANCELLED`.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder setError( - com.google.cloud.workflows.executions.v1.Execution.Error.Builder builderForValue) { - if (errorBuilder_ == null) { - error_ = builderForValue.build(); - } else { - errorBuilder_.setMessage(builderForValue.build()); - } - bitField0_ |= 0x00000040; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The error which caused the execution to finish prematurely.
-     * The value is only present if the execution's state is `FAILED`
-     * or `CANCELLED`.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder mergeError(com.google.cloud.workflows.executions.v1.Execution.Error value) { - if (errorBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && error_ != null - && error_ - != com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance()) { - getErrorBuilder().mergeFrom(value); - } else { - error_ = value; - } - } else { - errorBuilder_.mergeFrom(value); - } - bitField0_ |= 0x00000040; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The error which caused the execution to finish prematurely.
-     * The value is only present if the execution's state is `FAILED`
-     * or `CANCELLED`.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public Builder clearError() { - bitField0_ = (bitField0_ & ~0x00000040); - error_ = null; - if (errorBuilder_ != null) { - errorBuilder_.dispose(); - errorBuilder_ = null; - } - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. The error which caused the execution to finish prematurely.
-     * The value is only present if the execution's state is `FAILED`
-     * or `CANCELLED`.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.workflows.executions.v1.Execution.Error.Builder getErrorBuilder() { - bitField0_ |= 0x00000040; - onChanged(); - return getErrorFieldBuilder().getBuilder(); - } - /** - * - * - *
-     * Output only. The error which caused the execution to finish prematurely.
-     * The value is only present if the execution's state is `FAILED`
-     * or `CANCELLED`.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErrorOrBuilder() { - if (errorBuilder_ != null) { - return errorBuilder_.getMessageOrBuilder(); - } else { - return error_ == null - ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() - : error_; - } - } - /** - * - * - *
-     * Output only. The error which caused the execution to finish prematurely.
-     * The value is only present if the execution's state is `FAILED`
-     * or `CANCELLED`.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.Error, - com.google.cloud.workflows.executions.v1.Execution.Error.Builder, - com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder> - getErrorFieldBuilder() { - if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.Error, - com.google.cloud.workflows.executions.v1.Execution.Error.Builder, - com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder>( - getError(), getParentForChildren(), isClean()); - error_ = null; - } - return errorBuilder_; - } - - private java.lang.Object workflowRevisionId_ = ""; - /** - * - * - *
-     * Output only. Revision of the workflow this execution is using.
-     * 
- * - * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The workflowRevisionId. - */ - public java.lang.String getWorkflowRevisionId() { - java.lang.Object ref = workflowRevisionId_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - workflowRevisionId_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Output only. Revision of the workflow this execution is using.
-     * 
- * - * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for workflowRevisionId. - */ - public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { - java.lang.Object ref = workflowRevisionId_; - if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); - workflowRevisionId_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Output only. Revision of the workflow this execution is using.
-     * 
- * - * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The workflowRevisionId to set. - * @return This builder for chaining. - */ - public Builder setWorkflowRevisionId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - workflowRevisionId_ = value; - bitField0_ |= 0x00000080; - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Revision of the workflow this execution is using.
-     * 
- * - * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return This builder for chaining. - */ - public Builder clearWorkflowRevisionId() { - workflowRevisionId_ = getDefaultInstance().getWorkflowRevisionId(); - bitField0_ = (bitField0_ & ~0x00000080); - onChanged(); - return this; - } - /** - * - * - *
-     * Output only. Revision of the workflow this execution is using.
-     * 
- * - * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @param value The bytes for workflowRevisionId to set. - * @return This builder for chaining. - */ - public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - workflowRevisionId_ = value; - bitField0_ |= 0x00000080; - onChanged(); - return this; - } - - private int callLogLevel_ = 0; - /** - * - * - *
-     * The call logging level associated to this execution.
-     * 
- * - * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; - * - * @return The enum numeric value on the wire for callLogLevel. - */ - @java.lang.Override - public int getCallLogLevelValue() { - return callLogLevel_; - } - /** - * - * - *
-     * The call logging level associated to this execution.
-     * 
- * - * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; - * - * @param value The enum numeric value on the wire for callLogLevel to set. - * @return This builder for chaining. - */ - public Builder setCallLogLevelValue(int value) { - callLogLevel_ = value; - bitField0_ |= 0x00000100; - onChanged(); - return this; - } - /** - * - * - *
-     * The call logging level associated to this execution.
-     * 
- * - * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; - * - * @return The callLogLevel. - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.forNumber(callLogLevel_); - return result == null - ? com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.UNRECOGNIZED - : result; - } - /** - * - * - *
-     * The call logging level associated to this execution.
-     * 
- * - * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; - * - * @param value The callLogLevel to set. - * @return This builder for chaining. - */ - public Builder setCallLogLevel( - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000100; - callLogLevel_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
-     * The call logging level associated to this execution.
-     * 
- * - * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; - * - * @return This builder for chaining. - */ - public Builder clearCallLogLevel() { - bitField0_ = (bitField0_ & ~0x00000100); - callLogLevel_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution) - } - - // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution) - private static final com.google.cloud.workflows.executions.v1.Execution DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution(); - } - - public static com.google.cloud.workflows.executions.v1.Execution getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Execution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java deleted file mode 100644 index 1a6d3176509a..000000000000 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java +++ /dev/null @@ -1,318 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1/executions.proto - -package com.google.cloud.workflows.executions.v1; - -public interface ExecutionOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Output only. The resource name of the execution.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Output only. The resource name of the execution.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Output only. Marks the beginning of execution.
-   * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the startTime field is set. - */ - boolean hasStartTime(); - /** - * - * - *
-   * Output only. Marks the beginning of execution.
-   * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The startTime. - */ - com.google.protobuf.Timestamp getStartTime(); - /** - * - * - *
-   * Output only. Marks the beginning of execution.
-   * 
- * - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); - - /** - * - * - *
-   * Output only. Marks the end of execution, successful or not.
-   * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the endTime field is set. - */ - boolean hasEndTime(); - /** - * - * - *
-   * Output only. Marks the end of execution, successful or not.
-   * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The endTime. - */ - com.google.protobuf.Timestamp getEndTime(); - /** - * - * - *
-   * Output only. Marks the end of execution, successful or not.
-   * 
- * - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); - - /** - * - * - *
-   * Output only. Current state of the execution.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The enum numeric value on the wire for state. - */ - int getStateValue(); - /** - * - * - *
-   * Output only. Current state of the execution.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The state. - */ - com.google.cloud.workflows.executions.v1.Execution.State getState(); - - /** - * - * - *
-   * Input parameters of the execution represented as a JSON string.
-   * The size limit is 32KB.
-   *
-   * *Note*: If you are using the REST API directly to run your workflow, you
-   * must escape any JSON string value of `argument`. Example:
-   * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
-   * 
- * - * string argument = 5; - * - * @return The argument. - */ - java.lang.String getArgument(); - /** - * - * - *
-   * Input parameters of the execution represented as a JSON string.
-   * The size limit is 32KB.
-   *
-   * *Note*: If you are using the REST API directly to run your workflow, you
-   * must escape any JSON string value of `argument`. Example:
-   * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
-   * 
- * - * string argument = 5; - * - * @return The bytes for argument. - */ - com.google.protobuf.ByteString getArgumentBytes(); - - /** - * - * - *
-   * Output only. Output of the execution represented as a JSON string. The
-   * value can only be present if the execution's state is `SUCCEEDED`.
-   * 
- * - * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The result. - */ - java.lang.String getResult(); - /** - * - * - *
-   * Output only. Output of the execution represented as a JSON string. The
-   * value can only be present if the execution's state is `SUCCEEDED`.
-   * 
- * - * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for result. - */ - com.google.protobuf.ByteString getResultBytes(); - - /** - * - * - *
-   * Output only. The error which caused the execution to finish prematurely.
-   * The value is only present if the execution's state is `FAILED`
-   * or `CANCELLED`.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return Whether the error field is set. - */ - boolean hasError(); - /** - * - * - *
-   * Output only. The error which caused the execution to finish prematurely.
-   * The value is only present if the execution's state is `FAILED`
-   * or `CANCELLED`.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * - * @return The error. - */ - com.google.cloud.workflows.executions.v1.Execution.Error getError(); - /** - * - * - *
-   * Output only. The error which caused the execution to finish prematurely.
-   * The value is only present if the execution's state is `FAILED`
-   * or `CANCELLED`.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - */ - com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErrorOrBuilder(); - - /** - * - * - *
-   * Output only. Revision of the workflow this execution is using.
-   * 
- * - * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The workflowRevisionId. - */ - java.lang.String getWorkflowRevisionId(); - /** - * - * - *
-   * Output only. Revision of the workflow this execution is using.
-   * 
- * - * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * @return The bytes for workflowRevisionId. - */ - com.google.protobuf.ByteString getWorkflowRevisionIdBytes(); - - /** - * - * - *
-   * The call logging level associated to this execution.
-   * 
- * - * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; - * - * @return The enum numeric value on the wire for callLogLevel. - */ - int getCallLogLevelValue(); - /** - * - * - *
-   * The call logging level associated to this execution.
-   * 
- * - * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; - * - * @return The callLogLevel. - */ - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel(); -} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java deleted file mode 100644 index 3edbf79ce1d0..000000000000 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java +++ /dev/null @@ -1,293 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1/executions.proto - -package com.google.cloud.workflows.executions.v1; - -public final class ExecutionsProto { - private ExecutionsProto() {} - - 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_workflows_executions_v1_Execution_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_Error_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n5google/cloud/workflows/executions/v1/e" - + "xecutions.proto\022$google.cloud.workflows." - + "executions.v1\032\034google/api/annotations.pr" - + "oto\032\027google/api/client.proto\032\037google/api" - + "/field_behavior.proto\032\031google/api/resour" - + "ce.proto\032\037google/protobuf/timestamp.prot" - + "o\"\246\t\n\tExecution\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\0224\n\ns" - + "tart_time\030\002 \001(\0132\032.google.protobuf.Timest" - + "ampB\004\342A\001\003\0222\n\010end_time\030\003 \001(\0132\032.google.pro" - + "tobuf.TimestampB\004\342A\001\003\022J\n\005state\030\004 \001(\01625.g" - + "oogle.cloud.workflows.executions.v1.Exec" - + "ution.StateB\004\342A\001\003\022\020\n\010argument\030\005 \001(\t\022\024\n\006r" - + "esult\030\006 \001(\tB\004\342A\001\003\022J\n\005error\030\007 \001(\01325.googl" - + "e.cloud.workflows.executions.v1.Executio" - + "n.ErrorB\004\342A\001\003\022\"\n\024workflow_revision_id\030\010 " - + "\001(\tB\004\342A\001\003\022T\n\016call_log_level\030\t \001(\0162<.goog" - + "le.cloud.workflows.executions.v1.Executi" - + "on.CallLogLevel\032\312\001\n\021StackTraceElement\022\014\n" - + "\004step\030\001 \001(\t\022\017\n\007routine\030\002 \001(\t\022\\\n\010position" - + "\030\003 \001(\0132J.google.cloud.workflows.executio" - + "ns.v1.Execution.StackTraceElement.Positi" - + "on\0328\n\010Position\022\014\n\004line\030\001 \001(\003\022\016\n\006column\030\002" - + " \001(\003\022\016\n\006length\030\003 \001(\003\032a\n\nStackTrace\022S\n\010el" - + "ements\030\001 \003(\0132A.google.cloud.workflows.ex" - + "ecutions.v1.Execution.StackTraceElement\032" - + "z\n\005Error\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001" - + "(\t\022O\n\013stack_trace\030\003 \001(\0132:.google.cloud.w" - + "orkflows.executions.v1.Execution.StackTr" - + "ace\"T\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006A" - + "CTIVE\020\001\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCA" - + "NCELLED\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LE" - + "VEL_UNSPECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017" - + "LOG_ERRORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecut" - + "ions.googleapis.com/Execution\022Sprojects/" - + "{project}/locations/{location}/workflows" - + "/{workflow}/executions/{execution}\"\303\001\n\025L" - + "istExecutionsRequest\022:\n\006parent\030\001 \001(\tB*\342A" - + "\001\002\372A#\n!workflows.googleapis.com/Workflow" - + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022" - + "G\n\004view\030\004 \001(\01623.google.cloud.workflows.e" - + "xecutions.v1.ExecutionViewB\004\342A\001\001\"v\n\026List" - + "ExecutionsResponse\022C\n\nexecutions\030\001 \003(\0132/" - + ".google.cloud.workflows.executions.v1.Ex" - + "ecution\022\027\n\017next_page_token\030\002 \001(\t\"\236\001\n\026Cre" - + "ateExecutionRequest\022:\n\006parent\030\001 \001(\tB*\342A\001" - + "\002\372A#\n!workflows.googleapis.com/Workflow\022" - + "H\n\texecution\030\002 \001(\0132/.google.cloud.workfl" - + "ows.executions.v1.ExecutionB\004\342A\001\002\"\242\001\n\023Ge" - + "tExecutionRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-" - + "\n+workflowexecutions.googleapis.com/Exec" - + "ution\022G\n\004view\030\002 \001(\01623.google.cloud.workf" - + "lows.executions.v1.ExecutionViewB\004\342A\001\001\"\\" - + "\n\026CancelExecutionRequest\022B\n\004name\030\001 \001(\tB4" - + "\342A\001\002\372A-\n+workflowexecutions.googleapis.c" - + "om/Execution*D\n\rExecutionView\022\036\n\032EXECUTI" - + "ON_VIEW_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL" - + "\020\0022\303\007\n\nExecutions\022\330\001\n\016ListExecutions\022;.g" - + "oogle.cloud.workflows.executions.v1.List" - + "ExecutionsRequest\032<.google.cloud.workflo" - + "ws.executions.v1.ListExecutionsResponse\"" - + "K\332A\006parent\202\323\344\223\002<\022:/v1/{parent=projects/*" - + "/locations/*/workflows/*}/executions\022\342\001\n" - + "\017CreateExecution\022<.google.cloud.workflow" - + "s.executions.v1.CreateExecutionRequest\032/" - + ".google.cloud.workflows.executions.v1.Ex" - + "ecution\"`\332A\020parent,execution\202\323\344\223\002G\":/v1/" - + "{parent=projects/*/locations/*/workflows" - + "/*}/executions:\texecution\022\305\001\n\014GetExecuti" - + "on\0229.google.cloud.workflows.executions.v" - + "1.GetExecutionRequest\032/.google.cloud.wor" - + "kflows.executions.v1.Execution\"I\332A\004name\202" - + "\323\344\223\002<\022:/v1/{name=projects/*/locations/*/" - + "workflows/*/executions/*}\022\325\001\n\017CancelExec" - + "ution\022<.google.cloud.workflows.execution" - + "s.v1.CancelExecutionRequest\032/.google.clo" - + "ud.workflows.executions.v1.Execution\"S\332A" - + "\004name\202\323\344\223\002F\"A/v1/{name=projects/*/locati" - + "ons/*/workflows/*/executions/*}:cancel:\001" - + "*\032U\312A!workflowexecutions.googleapis.com\322" - + "A.https://www.googleapis.com/auth/cloud-" - + "platformB\353\001\n(com.google.cloud.workflows." - + "executions.v1B\017ExecutionsProtoP\001ZHcloud." - + "google.com/go/workflows/executions/apiv1" - + "/executionspb;executionspb\352Aa\n!workflows" - + ".googleapis.com/Workflow\022 - * Required. Name of the execution to be retrieved. - * Format: - * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution} - * - * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the execution to be retrieved.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); - - /** - * - * - *
-   * Optional. A view defining which fields should be filled in the returned execution.
-   * The API will default to the FULL view.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - * - * - *
-   * Optional. A view defining which fields should be filled in the returned execution.
-   * The API will default to the FULL view.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - com.google.cloud.workflows.executions.v1.ExecutionView getView(); -} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java deleted file mode 100644 index 1ee1f830b2b9..000000000000 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java +++ /dev/null @@ -1,1152 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1/executions.proto - -package com.google.cloud.workflows.executions.v1; - -/** - * - * - *
- * Request for the
- * [ListExecutions][]
- * method.
- * 
- * - * Protobuf type {@code google.cloud.workflows.executions.v1.ListExecutionsRequest} - */ -public final class ListExecutionsRequest extends com.google.protobuf.GeneratedMessageV3 - implements - // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.ListExecutionsRequest) - ListExecutionsRequestOrBuilder { - private static final long serialVersionUID = 0L; - // Use ListExecutionsRequest.newBuilder() to construct. - private ListExecutionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { - super(builder); - } - - private ListExecutionsRequest() { - parent_ = ""; - pageToken_ = ""; - view_ = 0; - } - - @java.lang.Override - @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { - return new ListExecutionsRequest(); - } - - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.ListExecutionsRequest.class, - com.google.cloud.workflows.executions.v1.ListExecutionsRequest.Builder.class); - } - - public static final int PARENT_FIELD_NUMBER = 1; - - @SuppressWarnings("serial") - private volatile java.lang.Object parent_ = ""; - /** - * - * - *
-   * Required. Name of the workflow for which the executions should be listed.
-   * Format: projects/{project}/locations/{location}/workflows/{workflow}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - @java.lang.Override - public java.lang.String getParent() { - java.lang.Object ref = parent_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } - } - /** - * - * - *
-   * Required. Name of the workflow for which the executions should be listed.
-   * Format: projects/{project}/locations/{location}/workflows/{workflow}
-   * 
- * - * - * 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() { - 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); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int PAGE_SIZE_FIELD_NUMBER = 2; - private int pageSize_ = 0; - /** - * - * - *
-   * Maximum number of executions to return per call.
-   * Max supported value depends on the selected Execution view: it's 10000 for
-   * BASIC and 100 for FULL. The default value used if the field is not
-   * specified is 100, regardless of the selected view. Values greater than
-   * the max value will be coerced down to it.
-   * 
- * - * int32 page_size = 2; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - - public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - - @SuppressWarnings("serial") - private volatile java.lang.Object pageToken_ = ""; - /** - * - * - *
-   * A page token, received from a previous `ListExecutions` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListExecutions` must
-   * match the call that provided the page token.
-   * 
- * - * string page_token = 3; - * - * @return The pageToken. - */ - @java.lang.Override - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (ref instanceof java.lang.String) { - return (java.lang.String) ref; - } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } - } - /** - * - * - *
-   * A page token, received from a previous `ListExecutions` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListExecutions` must
-   * match the call that provided the page token.
-   * 
- * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - @java.lang.Override - 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); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - - public static final int VIEW_FIELD_NUMBER = 4; - private int view_ = 0; - /** - * - * - *
-   * Optional. A view defining which fields should be filled in the returned executions.
-   * The API will default to the BASIC view.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - @java.lang.Override - public int getViewValue() { - return view_; - } - /** - * - * - *
-   * Optional. A view defining which fields should be filled in the returned executions.
-   * The API will default to the BASIC view.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.ExecutionView getView() { - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); - return result == null - ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED - : result; - } - - private byte memoizedIsInitialized = -1; - - @java.lang.Override - public final boolean isInitialized() { - byte isInitialized = memoizedIsInitialized; - if (isInitialized == 1) return true; - if (isInitialized == 0) return false; - - memoizedIsInitialized = 1; - return true; - } - - @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); - } - if (pageSize_ != 0) { - output.writeInt32(2, pageSize_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); - } - if (view_ - != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED - .getNumber()) { - output.writeEnum(4, view_); - } - getUnknownFields().writeTo(output); - } - - @java.lang.Override - public int getSerializedSize() { - int size = memoizedSize; - if (size != -1) return size; - - size = 0; - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); - } - if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); - } - if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { - size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); - } - if (view_ - != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); - } - size += getUnknownFields().getSerializedSize(); - memoizedSize = size; - return size; - } - - @java.lang.Override - public boolean equals(final java.lang.Object obj) { - if (obj == this) { - return true; - } - if (!(obj instanceof com.google.cloud.workflows.executions.v1.ListExecutionsRequest)) { - return super.equals(obj); - } - com.google.cloud.workflows.executions.v1.ListExecutionsRequest other = - (com.google.cloud.workflows.executions.v1.ListExecutionsRequest) obj; - - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; - if (view_ != other.view_) return false; - if (!getUnknownFields().equals(other.getUnknownFields())) return false; - return true; - } - - @java.lang.Override - public int hashCode() { - if (memoizedHashCode != 0) { - return memoizedHashCode; - } - int hash = 41; - hash = (19 * hash) + getDescriptor().hashCode(); - hash = (37 * hash) + PARENT_FIELD_NUMBER; - hash = (53 * hash) + getParent().hashCode(); - hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; - hash = (53 * hash) + getPageSize(); - hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; - hash = (53 * hash) + getPageToken().hashCode(); - hash = (37 * hash) + VIEW_FIELD_NUMBER; - hash = (53 * hash) + view_; - hash = (29 * hash) + getUnknownFields().hashCode(); - memoizedHashCode = hash; - return hash; - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data); - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - return PARSER.parseFrom(data, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); - } - - @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - - public static Builder newBuilder() { - return DEFAULT_INSTANCE.toBuilder(); - } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1.ListExecutionsRequest prototype) { - return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); - } - - @java.lang.Override - public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); - } - - @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - Builder builder = new Builder(parent); - return builder; - } - /** - * - * - *
-   * Request for the
-   * [ListExecutions][]
-   * method.
-   * 
- * - * Protobuf type {@code google.cloud.workflows.executions.v1.ListExecutionsRequest} - */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements - // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.ListExecutionsRequest) - com.google.cloud.workflows.executions.v1.ListExecutionsRequestOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor; - } - - @java.lang.Override - protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_fieldAccessorTable - .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.ListExecutionsRequest.class, - com.google.cloud.workflows.executions.v1.ListExecutionsRequest.Builder.class); - } - - // Construct using com.google.cloud.workflows.executions.v1.ListExecutionsRequest.newBuilder() - private Builder() {} - - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); - } - - @java.lang.Override - public Builder clear() { - super.clear(); - bitField0_ = 0; - parent_ = ""; - pageSize_ = 0; - pageToken_ = ""; - view_ = 0; - return this; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.ListExecutionsRequest - getDefaultInstanceForType() { - return com.google.cloud.workflows.executions.v1.ListExecutionsRequest.getDefaultInstance(); - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.ListExecutionsRequest build() { - com.google.cloud.workflows.executions.v1.ListExecutionsRequest result = buildPartial(); - if (!result.isInitialized()) { - throw newUninitializedMessageException(result); - } - return result; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.ListExecutionsRequest buildPartial() { - com.google.cloud.workflows.executions.v1.ListExecutionsRequest result = - new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(this); - if (bitField0_ != 0) { - buildPartial0(result); - } - onBuilt(); - return result; - } - - private void buildPartial0( - com.google.cloud.workflows.executions.v1.ListExecutionsRequest result) { - int from_bitField0_ = bitField0_; - if (((from_bitField0_ & 0x00000001) != 0)) { - result.parent_ = parent_; - } - if (((from_bitField0_ & 0x00000002) != 0)) { - result.pageSize_ = pageSize_; - } - if (((from_bitField0_ & 0x00000004) != 0)) { - result.pageToken_ = pageToken_; - } - if (((from_bitField0_ & 0x00000008) != 0)) { - result.view_ = view_; - } - } - - @java.lang.Override - public Builder clone() { - return super.clone(); - } - - @java.lang.Override - public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.setField(field, value); - } - - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { - return super.clearField(field); - } - - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { - return super.clearOneof(oneof); - } - - @java.lang.Override - public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { - return super.setRepeatedField(field, index, value); - } - - @java.lang.Override - public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { - return super.addRepeatedField(field, value); - } - - @java.lang.Override - public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.workflows.executions.v1.ListExecutionsRequest) { - return mergeFrom((com.google.cloud.workflows.executions.v1.ListExecutionsRequest) other); - } else { - super.mergeFrom(other); - return this; - } - } - - public Builder mergeFrom(com.google.cloud.workflows.executions.v1.ListExecutionsRequest other) { - if (other - == com.google.cloud.workflows.executions.v1.ListExecutionsRequest.getDefaultInstance()) - return this; - if (!other.getParent().isEmpty()) { - parent_ = other.parent_; - bitField0_ |= 0x00000001; - onChanged(); - } - if (other.getPageSize() != 0) { - setPageSize(other.getPageSize()); - } - if (!other.getPageToken().isEmpty()) { - pageToken_ = other.pageToken_; - bitField0_ |= 0x00000004; - onChanged(); - } - if (other.view_ != 0) { - setViewValue(other.getViewValue()); - } - this.mergeUnknownFields(other.getUnknownFields()); - onChanged(); - return this; - } - - @java.lang.Override - public final boolean isInitialized() { - return true; - } - - @java.lang.Override - public Builder mergeFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - if (extensionRegistry == null) { - throw new java.lang.NullPointerException(); - } - try { - boolean done = false; - while (!done) { - int tag = input.readTag(); - switch (tag) { - case 0: - done = true; - break; - case 10: - { - parent_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: - { - pageSize_ = input.readInt32(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: - { - pageToken_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - view_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: - } // switch (tag) - } // while (!done) - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.unwrapIOException(); - } finally { - onChanged(); - } // finally - return this; - } - - private int bitField0_; - - private java.lang.Object parent_ = ""; - /** - * - * - *
-     * Required. Name of the workflow for which the executions should be listed.
-     * Format: projects/{project}/locations/{location}/workflows/{workflow}
-     * 
- * - * - * 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; - java.lang.String s = bs.toStringUtf8(); - parent_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * Required. Name of the workflow for which the executions should be listed.
-     * Format: projects/{project}/locations/{location}/workflows/{workflow}
-     * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - 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); - parent_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * Required. Name of the workflow for which the executions should be listed.
-     * Format: projects/{project}/locations/{location}/workflows/{workflow}
-     * 
- * - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } - parent_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - /** - * - * - *
-     * Required. Name of the workflow for which the executions should be listed.
-     * Format: projects/{project}/locations/{location}/workflows/{workflow}
-     * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return This builder for chaining. - */ - public Builder clearParent() { - parent_ = getDefaultInstance().getParent(); - bitField0_ = (bitField0_ & ~0x00000001); - onChanged(); - return this; - } - /** - * - * - *
-     * Required. Name of the workflow for which the executions should be listed.
-     * Format: projects/{project}/locations/{location}/workflows/{workflow}
-     * 
- * - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - parent_ = value; - bitField0_ |= 0x00000001; - onChanged(); - return this; - } - - private int pageSize_; - /** - * - * - *
-     * Maximum number of executions to return per call.
-     * Max supported value depends on the selected Execution view: it's 10000 for
-     * BASIC and 100 for FULL. The default value used if the field is not
-     * specified is 100, regardless of the selected view. Values greater than
-     * the max value will be coerced down to it.
-     * 
- * - * int32 page_size = 2; - * - * @return The pageSize. - */ - @java.lang.Override - public int getPageSize() { - return pageSize_; - } - /** - * - * - *
-     * Maximum number of executions to return per call.
-     * Max supported value depends on the selected Execution view: it's 10000 for
-     * BASIC and 100 for FULL. The default value used if the field is not
-     * specified is 100, regardless of the selected view. Values greater than
-     * the max value will be coerced down to it.
-     * 
- * - * int32 page_size = 2; - * - * @param value The pageSize to set. - * @return This builder for chaining. - */ - public Builder setPageSize(int value) { - - pageSize_ = value; - bitField0_ |= 0x00000002; - onChanged(); - return this; - } - /** - * - * - *
-     * Maximum number of executions to return per call.
-     * Max supported value depends on the selected Execution view: it's 10000 for
-     * BASIC and 100 for FULL. The default value used if the field is not
-     * specified is 100, regardless of the selected view. Values greater than
-     * the max value will be coerced down to it.
-     * 
- * - * int32 page_size = 2; - * - * @return This builder for chaining. - */ - public Builder clearPageSize() { - bitField0_ = (bitField0_ & ~0x00000002); - pageSize_ = 0; - onChanged(); - return this; - } - - private java.lang.Object pageToken_ = ""; - /** - * - * - *
-     * A page token, received from a previous `ListExecutions` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListExecutions` must
-     * match the call that provided the page token.
-     * 
- * - * string page_token = 3; - * - * @return The pageToken. - */ - public java.lang.String getPageToken() { - java.lang.Object ref = pageToken_; - if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; - java.lang.String s = bs.toStringUtf8(); - pageToken_ = s; - return s; - } else { - return (java.lang.String) ref; - } - } - /** - * - * - *
-     * A page token, received from a previous `ListExecutions` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListExecutions` must
-     * match the call that provided the page token.
-     * 
- * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - 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); - pageToken_ = b; - return b; - } else { - return (com.google.protobuf.ByteString) ref; - } - } - /** - * - * - *
-     * A page token, received from a previous `ListExecutions` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListExecutions` must
-     * match the call that provided the page token.
-     * 
- * - * string page_token = 3; - * - * @param value The pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } - pageToken_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - /** - * - * - *
-     * A page token, received from a previous `ListExecutions` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListExecutions` must
-     * match the call that provided the page token.
-     * 
- * - * string page_token = 3; - * - * @return This builder for chaining. - */ - public Builder clearPageToken() { - pageToken_ = getDefaultInstance().getPageToken(); - bitField0_ = (bitField0_ & ~0x00000004); - onChanged(); - return this; - } - /** - * - * - *
-     * A page token, received from a previous `ListExecutions` call.
-     * Provide this to retrieve the subsequent page.
-     *
-     * When paginating, all other parameters provided to `ListExecutions` must
-     * match the call that provided the page token.
-     * 
- * - * string page_token = 3; - * - * @param value The bytes for pageToken to set. - * @return This builder for chaining. - */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - pageToken_ = value; - bitField0_ |= 0x00000004; - onChanged(); - return this; - } - - private int view_ = 0; - /** - * - * - *
-     * Optional. A view defining which fields should be filled in the returned executions.
-     * The API will default to the BASIC view.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - @java.lang.Override - public int getViewValue() { - return view_; - } - /** - * - * - *
-     * Optional. A view defining which fields should be filled in the returned executions.
-     * The API will default to the BASIC view.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @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; - bitField0_ |= 0x00000008; - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. A view defining which fields should be filled in the returned executions.
-     * The API will default to the BASIC view.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.ExecutionView getView() { - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); - return result == null - ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED - : result; - } - /** - * - * - *
-     * Optional. A view defining which fields should be filled in the returned executions.
-     * The API will default to the BASIC view.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @param value The view to set. - * @return This builder for chaining. - */ - public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView value) { - if (value == null) { - throw new NullPointerException(); - } - bitField0_ |= 0x00000008; - view_ = value.getNumber(); - onChanged(); - return this; - } - /** - * - * - *
-     * Optional. A view defining which fields should be filled in the returned executions.
-     * The API will default to the BASIC view.
-     * 
- * - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return This builder for chaining. - */ - public Builder clearView() { - bitField0_ = (bitField0_ & ~0x00000008); - view_ = 0; - onChanged(); - return this; - } - - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.setUnknownFields(unknownFields); - } - - @java.lang.Override - public final Builder mergeUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { - return super.mergeUnknownFields(unknownFields); - } - - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.ListExecutionsRequest) - } - - // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.ListExecutionsRequest) - private static final com.google.cloud.workflows.executions.v1.ListExecutionsRequest - DEFAULT_INSTANCE; - - static { - DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(); - } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest - getDefaultInstance() { - return DEFAULT_INSTANCE; - } - - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListExecutionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; - - public static com.google.protobuf.Parser parser() { - return PARSER; - } - - @java.lang.Override - public com.google.protobuf.Parser getParserForType() { - return PARSER; - } - - @java.lang.Override - public com.google.cloud.workflows.executions.v1.ListExecutionsRequest - getDefaultInstanceForType() { - return DEFAULT_INSTANCE; - } -} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java deleted file mode 100644 index 010e1328f4f1..000000000000 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java +++ /dev/null @@ -1,137 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1/executions.proto - -package com.google.cloud.workflows.executions.v1; - -public interface ListExecutionsRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.ListExecutionsRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the workflow for which the executions should be listed.
-   * Format: projects/{project}/locations/{location}/workflows/{workflow}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Name of the workflow for which the executions should be listed.
-   * Format: projects/{project}/locations/{location}/workflows/{workflow}
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Maximum number of executions to return per call.
-   * Max supported value depends on the selected Execution view: it's 10000 for
-   * BASIC and 100 for FULL. The default value used if the field is not
-   * specified is 100, regardless of the selected view. Values greater than
-   * the max value will be coerced down to it.
-   * 
- * - * int32 page_size = 2; - * - * @return The pageSize. - */ - int getPageSize(); - - /** - * - * - *
-   * A page token, received from a previous `ListExecutions` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListExecutions` must
-   * match the call that provided the page token.
-   * 
- * - * string page_token = 3; - * - * @return The pageToken. - */ - java.lang.String getPageToken(); - /** - * - * - *
-   * A page token, received from a previous `ListExecutions` call.
-   * Provide this to retrieve the subsequent page.
-   *
-   * When paginating, all other parameters provided to `ListExecutions` must
-   * match the call that provided the page token.
-   * 
- * - * string page_token = 3; - * - * @return The bytes for pageToken. - */ - com.google.protobuf.ByteString getPageTokenBytes(); - - /** - * - * - *
-   * Optional. A view defining which fields should be filled in the returned executions.
-   * The API will default to the BASIC view.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The enum numeric value on the wire for view. - */ - int getViewValue(); - /** - * - * - *
-   * Optional. A view defining which fields should be filled in the returned executions.
-   * The API will default to the BASIC view.
-   * 
- * - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * - * @return The view. - */ - com.google.cloud.workflows.executions.v1.ExecutionView getView(); -} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index 9ad86af61ee3..000000000000 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1beta/executions.proto - -package com.google.cloud.workflows.executions.v1beta; - -public interface CancelExecutionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.CancelExecutionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the execution to be cancelled.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The name. - */ - java.lang.String getName(); - /** - * - * - *
-   * Required. Name of the execution to be cancelled.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for name. - */ - com.google.protobuf.ByteString getNameBytes(); -} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index 3350e14c2109..000000000000 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1beta/executions.proto - -package com.google.cloud.workflows.executions.v1beta; - -public interface CreateExecutionRequestOrBuilder - extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.CreateExecutionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - * - * - *
-   * Required. Name of the workflow for which an execution should be created.
-   * Format: projects/{project}/locations/{location}/workflows/{workflow}
-   * The latest revision of the workflow will be used.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The parent. - */ - java.lang.String getParent(); - /** - * - * - *
-   * Required. Name of the workflow for which an execution should be created.
-   * Format: projects/{project}/locations/{location}/workflows/{workflow}
-   * The latest revision of the workflow will be used.
-   * 
- * - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * - * @return The bytes for parent. - */ - com.google.protobuf.ByteString getParentBytes(); - - /** - * - * - *
-   * Required. Execution to be created.
-   * 
- * - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return Whether the execution field is set. - */ - boolean hasExecution(); - /** - * - * - *
-   * Required. Execution to be created.
-   * 
- * - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * - * @return The execution. - */ - com.google.cloud.workflows.executions.v1beta.Execution getExecution(); - /** - * - * - *
-   * Required. Execution to be created.
-   * 
- * - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - */ - com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionOrBuilder(); -} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java deleted file mode 100644 index 3450d699fc2d..000000000000 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java +++ /dev/null @@ -1,238 +0,0 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1beta/executions.proto - -package com.google.cloud.workflows.executions.v1beta; - -public final class ExecutionsProto { - private ExecutionsProto() {} - - 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_workflows_executions_v1beta_Execution_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_Execution_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor; - static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { - return descriptor; - } - - private static com.google.protobuf.Descriptors.FileDescriptor descriptor; - - static { - java.lang.String[] descriptorData = { - "\n9google/cloud/workflows/executions/v1be" - + "ta/executions.proto\022(google.cloud.workfl" - + "ows.executions.v1beta\032\034google/api/annota" - + "tions.proto\032\027google/api/client.proto\032\037go" - + "ogle/api/field_behavior.proto\032\031google/ap" - + "i/resource.proto\032\037google/protobuf/timest" - + "amp.proto\"\377\004\n\tExecution\022\022\n\004name\030\001 \001(\tB\004\342" - + "A\001\003\0224\n\nstart_time\030\002 \001(\0132\032.google.protobu" - + "f.TimestampB\004\342A\001\003\0222\n\010end_time\030\003 \001(\0132\032.go" - + "ogle.protobuf.TimestampB\004\342A\001\003\022N\n\005state\030\004" - + " \001(\01629.google.cloud.workflows.executions" - + ".v1beta.Execution.StateB\004\342A\001\003\022\020\n\010argumen" - + "t\030\005 \001(\t\022\024\n\006result\030\006 \001(\tB\004\342A\001\003\022N\n\005error\030\007" - + " \001(\01329.google.cloud.workflows.executions" - + ".v1beta.Execution.ErrorB\004\342A\001\003\022\"\n\024workflo" - + "w_revision_id\030\010 \001(\tB\004\342A\001\003\032)\n\005Error\022\017\n\007pa" - + "yload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\"T\n\005State\022\025\n" - + "\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tSUCC" - + "EEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202" - + "\001\n+workflowexecutions.googleapis.com/Exe" - + "cution\022Sprojects/{project}/locations/{lo" - + "cation}/workflows/{workflow}/executions/" - + "{execution}\"\307\001\n\025ListExecutionsRequest\022:\n" - + "\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!workflows.google" - + "apis.com/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" - + "page_token\030\003 \001(\t\022K\n\004view\030\004 \001(\01627.google." - + "cloud.workflows.executions.v1beta.Execut" - + "ionViewB\004\342A\001\001\"z\n\026ListExecutionsResponse\022" - + "G\n\nexecutions\030\001 \003(\01323.google.cloud.workf" - + "lows.executions.v1beta.Execution\022\027\n\017next" - + "_page_token\030\002 \001(\t\"\242\001\n\026CreateExecutionReq" - + "uest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!workflows" - + ".googleapis.com/Workflow\022L\n\texecution\030\002 " - + "\001(\01323.google.cloud.workflows.executions." - + "v1beta.ExecutionB\004\342A\001\002\"\246\001\n\023GetExecutionR" - + "equest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+workflowe" - + "xecutions.googleapis.com/Execution\022K\n\004vi" - + "ew\030\002 \001(\01627.google.cloud.workflows.execut" - + "ions.v1beta.ExecutionViewB\004\342A\001\001\"\\\n\026Cance" - + "lExecutionRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-" - + "\n+workflowexecutions.googleapis.com/Exec" - + "ution*D\n\rExecutionView\022\036\n\032EXECUTION_VIEW" - + "_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\n" - + "Executions\022\344\001\n\016ListExecutions\022?.google.c" - + "loud.workflows.executions.v1beta.ListExe" - + "cutionsRequest\032@.google.cloud.workflows." - + "executions.v1beta.ListExecutionsResponse" - + "\"O\332A\006parent\202\323\344\223\002@\022>/v1beta/{parent=proje" - + "cts/*/locations/*/workflows/*}/execution" - + "s\022\356\001\n\017CreateExecution\022@.google.cloud.wor" - + "kflows.executions.v1beta.CreateExecution" - + "Request\0323.google.cloud.workflows.executi" - + "ons.v1beta.Execution\"d\332A\020parent,executio" - + "n\202\323\344\223\002K\">/v1beta/{parent=projects/*/loca" - + "tions/*/workflows/*}/executions:\texecuti" - + "on\022\321\001\n\014GetExecution\022=.google.cloud.workf" - + "lows.executions.v1beta.GetExecutionReque" - + "st\0323.google.cloud.workflows.executions.v" - + "1beta.Execution\"M\332A\004name\202\323\344\223\002@\022>/v1beta/" - + "{name=projects/*/locations/*/workflows/*" - + "/executions/*}\022\341\001\n\017CancelExecution\022@.goo" - + "gle.cloud.workflows.executions.v1beta.Ca" - + "ncelExecutionRequest\0323.google.cloud.work" - + "flows.executions.v1beta.Execution\"W\332A\004na" - + "me\202\323\344\223\002J\"E/v1beta/{name=projects/*/locat" - + "ions/*/workflows/*/executions/*}:cancel:" - + "\001*\032U\312A!workflowexecutions.googleapis.com" - + "\322A.https://www.googleapis.com/auth/cloud" - + "-platformB\363\001\n,com.google.cloud.workflows" - + ".executions.v1betaB\017ExecutionsProtoP\001ZLc" - + "loud.google.com/go/workflows/executions/" - + "apiv1beta/executionspb;executionspb\352Aa\n!" - + "workflows.googleapis.com/Workflow\022 future = * executionsClient.listExecutionsPagedCallable().futureCall(request); @@ -327,6 +331,8 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re * .setPageSize(883849137) * .setPageToken("pageToken873572522") * .setView(ExecutionView.forNumber(0)) + * .setFilter("filter-1274492040") + * .setOrderBy("orderBy-1207110587") * .build(); * while (true) { * ListExecutionsResponse response = executionsClient.listExecutionsCallable().call(request); diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java similarity index 99% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java index bce0e9f58b53..172631ce0cc6 100644 --- a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java +++ b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.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.workflows.executions.v1.stub.ExecutionsStubSettings; diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java similarity index 99% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java index a311dcf8856b..1d395613bad9 100644 --- a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java +++ b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java @@ -35,6 +35,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java similarity index 98% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java index 771df249c4a2..ee51aad1c567 100644 --- a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java +++ b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java @@ -79,6 +79,8 @@ public class HttpJsonExecutionsStub extends ExecutionsStub { Map> fields = new HashMap<>(); ProtoRestSerializer serializer = ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "filter", request.getFilter()); + serializer.putQueryParam(fields, "orderBy", request.getOrderBy()); serializer.putQueryParam(fields, "pageSize", request.getPageSize()); serializer.putQueryParam(fields, "pageToken", request.getPageToken()); serializer.putQueryParam(fields, "view", request.getViewValue()); diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1/reflect-config.json b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1/reflect-config.json similarity index 94% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1/reflect-config.json rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1/reflect-config.json index 5e2b8a629722..de2bff5db6bd 100644 --- a/java-workflow-executions/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1/reflect-config.json +++ b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1/reflect-config.json @@ -521,6 +521,69 @@ "allDeclaredClasses": true, "allPublicClasses": true }, + { + "name": "com.google.cloud.workflows.executions.v1.Execution$StateError", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.workflows.executions.v1.Execution$StateError$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.workflows.executions.v1.Execution$StateError$Type", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.workflows.executions.v1.Execution$Status", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.workflows.executions.v1.Execution$Status$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.workflows.executions.v1.Execution$Status$Step", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, + { + "name": "com.google.cloud.workflows.executions.v1.Execution$Status$Step$Builder", + "queryAllDeclaredConstructors": true, + "queryAllPublicConstructors": true, + "queryAllDeclaredMethods": true, + "allPublicMethods": true, + "allDeclaredClasses": true, + "allPublicClasses": true + }, { "name": "com.google.cloud.workflows.executions.v1.ExecutionView", "queryAllDeclaredConstructors": true, diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java similarity index 92% rename from java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java index b10fcfa7a318..425e8b1ce6e1 100644 --- a/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java +++ b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java @@ -29,9 +29,11 @@ import com.google.api.gax.rpc.testing.FakeStatusCode; import com.google.cloud.workflows.executions.v1.stub.HttpJsonExecutionsStub; import com.google.common.collect.Lists; +import com.google.protobuf.Duration; import com.google.protobuf.Timestamp; import java.io.IOException; import java.util.Arrays; +import java.util.HashMap; import java.util.List; import javax.annotation.Generated; import org.junit.After; @@ -183,10 +185,14 @@ public void createExecutionTest() throws Exception { ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) .setArgument("argument-1589682499") .setResult("result-934426595") .setError(Execution.Error.newBuilder().build()) .setWorkflowRevisionId("workflowRevisionId-1575712907") + .setStatus(Execution.Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStateError(Execution.StateError.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -236,10 +242,14 @@ public void createExecutionTest2() throws Exception { ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) .setArgument("argument-1589682499") .setResult("result-934426595") .setError(Execution.Error.newBuilder().build()) .setWorkflowRevisionId("workflowRevisionId-1575712907") + .setStatus(Execution.Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStateError(Execution.StateError.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -289,10 +299,14 @@ public void getExecutionTest() throws Exception { ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) .setArgument("argument-1589682499") .setResult("result-934426595") .setError(Execution.Error.newBuilder().build()) .setWorkflowRevisionId("workflowRevisionId-1575712907") + .setStatus(Execution.Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStateError(Execution.StateError.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -340,10 +354,14 @@ public void getExecutionTest2() throws Exception { ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) .setArgument("argument-1589682499") .setResult("result-934426595") .setError(Execution.Error.newBuilder().build()) .setWorkflowRevisionId("workflowRevisionId-1575712907") + .setStatus(Execution.Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStateError(Execution.StateError.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -393,10 +411,14 @@ public void cancelExecutionTest() throws Exception { ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) .setArgument("argument-1589682499") .setResult("result-934426595") .setError(Execution.Error.newBuilder().build()) .setWorkflowRevisionId("workflowRevisionId-1575712907") + .setStatus(Execution.Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStateError(Execution.StateError.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); @@ -444,10 +466,14 @@ public void cancelExecutionTest2() throws Exception { ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) .setArgument("argument-1589682499") .setResult("result-934426595") .setError(Execution.Error.newBuilder().build()) .setWorkflowRevisionId("workflowRevisionId-1575712907") + .setStatus(Execution.Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStateError(Execution.StateError.newBuilder().build()) .build(); mockService.addResponse(expectedResponse); diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java similarity index 91% rename from java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java index a3080932e273..eb9266472d77 100644 --- a/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java +++ b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java @@ -27,10 +27,12 @@ import com.google.api.gax.rpc.InvalidArgumentException; import com.google.common.collect.Lists; import com.google.protobuf.AbstractMessage; +import com.google.protobuf.Duration; import com.google.protobuf.Timestamp; import io.grpc.StatusRuntimeException; import java.io.IOException; import java.util.Arrays; +import java.util.HashMap; import java.util.List; import java.util.UUID; import javax.annotation.Generated; @@ -175,10 +177,14 @@ public void createExecutionTest() throws Exception { ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) .setArgument("argument-1589682499") .setResult("result-934426595") .setError(Execution.Error.newBuilder().build()) .setWorkflowRevisionId("workflowRevisionId-1575712907") + .setStatus(Execution.Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStateError(Execution.StateError.newBuilder().build()) .build(); mockExecutions.addResponse(expectedResponse); @@ -223,10 +229,14 @@ public void createExecutionTest2() throws Exception { ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) .setArgument("argument-1589682499") .setResult("result-934426595") .setError(Execution.Error.newBuilder().build()) .setWorkflowRevisionId("workflowRevisionId-1575712907") + .setStatus(Execution.Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStateError(Execution.StateError.newBuilder().build()) .build(); mockExecutions.addResponse(expectedResponse); @@ -271,10 +281,14 @@ public void getExecutionTest() throws Exception { ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) .setArgument("argument-1589682499") .setResult("result-934426595") .setError(Execution.Error.newBuilder().build()) .setWorkflowRevisionId("workflowRevisionId-1575712907") + .setStatus(Execution.Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStateError(Execution.StateError.newBuilder().build()) .build(); mockExecutions.addResponse(expectedResponse); @@ -316,10 +330,14 @@ public void getExecutionTest2() throws Exception { ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) .setArgument("argument-1589682499") .setResult("result-934426595") .setError(Execution.Error.newBuilder().build()) .setWorkflowRevisionId("workflowRevisionId-1575712907") + .setStatus(Execution.Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStateError(Execution.StateError.newBuilder().build()) .build(); mockExecutions.addResponse(expectedResponse); @@ -361,10 +379,14 @@ public void cancelExecutionTest() throws Exception { ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) .setArgument("argument-1589682499") .setResult("result-934426595") .setError(Execution.Error.newBuilder().build()) .setWorkflowRevisionId("workflowRevisionId-1575712907") + .setStatus(Execution.Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStateError(Execution.StateError.newBuilder().build()) .build(); mockExecutions.addResponse(expectedResponse); @@ -406,10 +428,14 @@ public void cancelExecutionTest2() throws Exception { ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) .setStartTime(Timestamp.newBuilder().build()) .setEndTime(Timestamp.newBuilder().build()) + .setDuration(Duration.newBuilder().build()) .setArgument("argument-1589682499") .setResult("result-934426595") .setError(Execution.Error.newBuilder().build()) .setWorkflowRevisionId("workflowRevisionId-1575712907") + .setStatus(Execution.Status.newBuilder().build()) + .putAllLabels(new HashMap()) + .setStateError(Execution.StateError.newBuilder().build()) .build(); mockExecutions.addResponse(expectedResponse); diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java b/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java rename to owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java diff --git a/owl-bot-staging/java-workflow-executions/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/owl-bot-staging/java-workflow-executions/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java new file mode 100644 index 000000000000..fab8ae0731a6 --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java @@ -0,0 +1,599 @@ +package com.google.cloud.workflows.executions.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Executions is used to start and manage running instances of
+ * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/workflows/executions/v1/executions.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ExecutionsGrpc { + + private ExecutionsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.workflows.executions.v1.Executions"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListExecutionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListExecutions", + requestType = com.google.cloud.workflows.executions.v1.ListExecutionsRequest.class, + responseType = com.google.cloud.workflows.executions.v1.ListExecutionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListExecutionsMethod() { + io.grpc.MethodDescriptor getListExecutionsMethod; + if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { + ExecutionsGrpc.getListExecutionsMethod = getListExecutionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListExecutions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.ListExecutionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.ListExecutionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("ListExecutions")) + .build(); + } + } + } + return getListExecutionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateExecution", + requestType = com.google.cloud.workflows.executions.v1.CreateExecutionRequest.class, + responseType = com.google.cloud.workflows.executions.v1.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateExecutionMethod() { + io.grpc.MethodDescriptor getCreateExecutionMethod; + if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { + ExecutionsGrpc.getCreateExecutionMethod = getCreateExecutionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.CreateExecutionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("CreateExecution")) + .build(); + } + } + } + return getCreateExecutionMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetExecution", + requestType = com.google.cloud.workflows.executions.v1.GetExecutionRequest.class, + responseType = com.google.cloud.workflows.executions.v1.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetExecutionMethod() { + io.grpc.MethodDescriptor getGetExecutionMethod; + if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { + ExecutionsGrpc.getGetExecutionMethod = getGetExecutionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.GetExecutionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("GetExecution")) + .build(); + } + } + } + return getGetExecutionMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelExecution", + requestType = com.google.cloud.workflows.executions.v1.CancelExecutionRequest.class, + responseType = com.google.cloud.workflows.executions.v1.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelExecutionMethod() { + io.grpc.MethodDescriptor getCancelExecutionMethod; + if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { + ExecutionsGrpc.getCancelExecutionMethod = getCancelExecutionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.CancelExecutionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("CancelExecution")) + .build(); + } + } + } + return getCancelExecutionMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ExecutionsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsStub(channel, callOptions); + } + }; + return ExecutionsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ExecutionsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsBlockingStub(channel, callOptions); + } + }; + return ExecutionsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ExecutionsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsFutureStub(channel, callOptions); + } + }; + return ExecutionsFutureStub.newStub(factory, channel); + } + + /** + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + default void listExecutions(com.google.cloud.workflows.executions.v1.ListExecutionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), responseObserver); + } + + /** + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + default void createExecution(com.google.cloud.workflows.executions.v1.CreateExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), responseObserver); + } + + /** + *
+     * Returns an execution of the given name.
+     * 
+ */ + default void getExecution(com.google.cloud.workflows.executions.v1.GetExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), responseObserver); + } + + /** + *
+     * Cancels an execution of the given name.
+     * 
+ */ + default void cancelExecution(com.google.cloud.workflows.executions.v1.CancelExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Executions. + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
+   * 
+ */ + public static abstract class ExecutionsImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return ExecutionsGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Executions. + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
+   * 
+ */ + public static final class ExecutionsStub + extends io.grpc.stub.AbstractAsyncStub { + private ExecutionsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsStub(channel, callOptions); + } + + /** + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + public void listExecutions(com.google.cloud.workflows.executions.v1.ListExecutionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + public void createExecution(com.google.cloud.workflows.executions.v1.CreateExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns an execution of the given name.
+     * 
+ */ + public void getExecution(com.google.cloud.workflows.executions.v1.GetExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Cancels an execution of the given name.
+     * 
+ */ + public void cancelExecution(com.google.cloud.workflows.executions.v1.CancelExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Executions. + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
+   * 
+ */ + public static final class ExecutionsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ExecutionsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsBlockingStub(channel, callOptions); + } + + /** + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + public com.google.cloud.workflows.executions.v1.ListExecutionsResponse listExecutions(com.google.cloud.workflows.executions.v1.ListExecutionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListExecutionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + public com.google.cloud.workflows.executions.v1.Execution createExecution(com.google.cloud.workflows.executions.v1.CreateExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateExecutionMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns an execution of the given name.
+     * 
+ */ + public com.google.cloud.workflows.executions.v1.Execution getExecution(com.google.cloud.workflows.executions.v1.GetExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetExecutionMethod(), getCallOptions(), request); + } + + /** + *
+     * Cancels an execution of the given name.
+     * 
+ */ + public com.google.cloud.workflows.executions.v1.Execution cancelExecution(com.google.cloud.workflows.executions.v1.CancelExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelExecutionMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Executions. + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
+   * 
+ */ + public static final class ExecutionsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ExecutionsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsFutureStub(channel, callOptions); + } + + /** + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listExecutions( + com.google.cloud.workflows.executions.v1.ListExecutionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createExecution( + com.google.cloud.workflows.executions.v1.CreateExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns an execution of the given name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getExecution( + com.google.cloud.workflows.executions.v1.GetExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request); + } + + /** + *
+     * Cancels an execution of the given name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelExecution( + com.google.cloud.workflows.executions.v1.CancelExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_EXECUTIONS = 0; + private static final int METHODID_CREATE_EXECUTION = 1; + private static final int METHODID_GET_EXECUTION = 2; + private static final int METHODID_CANCEL_EXECUTION = 3; + + 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_EXECUTIONS: + serviceImpl.listExecutions((com.google.cloud.workflows.executions.v1.ListExecutionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_EXECUTION: + serviceImpl.createExecution((com.google.cloud.workflows.executions.v1.CreateExecutionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_EXECUTION: + serviceImpl.getExecution((com.google.cloud.workflows.executions.v1.GetExecutionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_EXECUTION: + serviceImpl.cancelExecution((com.google.cloud.workflows.executions.v1.CancelExecutionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListExecutionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1.ListExecutionsRequest, + com.google.cloud.workflows.executions.v1.ListExecutionsResponse>( + service, METHODID_LIST_EXECUTIONS))) + .addMethod( + getCreateExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1.CreateExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution>( + service, METHODID_CREATE_EXECUTION))) + .addMethod( + getGetExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1.GetExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution>( + service, METHODID_GET_EXECUTION))) + .addMethod( + getCancelExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1.CancelExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution>( + service, METHODID_CANCEL_EXECUTION))) + .build(); + } + + private static abstract class ExecutionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ExecutionsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Executions"); + } + } + + private static final class ExecutionsFileDescriptorSupplier + extends ExecutionsBaseDescriptorSupplier { + ExecutionsFileDescriptorSupplier() {} + } + + private static final class ExecutionsMethodDescriptorSupplier + extends ExecutionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ExecutionsMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ExecutionsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ExecutionsFileDescriptorSupplier()) + .addMethod(getListExecutionsMethod()) + .addMethod(getCreateExecutionMethod()) + .addMethod(getGetExecutionMethod()) + .addMethod(getCancelExecutionMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java similarity index 61% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java rename to owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java index 9b55168ce33b..f3e7a924fedf 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution]
@@ -29,58 +12,50 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1.CancelExecutionRequest}
  */
-public final class CancelExecutionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CancelExecutionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.CancelExecutionRequest)
     CancelExecutionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CancelExecutionRequest.newBuilder() to construct.
   private CancelExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CancelExecutionRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CancelExecutionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1.CancelExecutionRequest.class,
-            com.google.cloud.workflows.executions.v1.CancelExecutionRequest.Builder.class);
+            com.google.cloud.workflows.executions.v1.CancelExecutionRequest.class, com.google.cloud.workflows.executions.v1.CancelExecutionRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Name of the execution to be cancelled.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the execution to be cancelled.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -160,15 +133,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.workflows.executions.v1.CancelExecutionRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.CancelExecutionRequest other = - (com.google.cloud.workflows.executions.v1.CancelExecutionRequest) obj; + com.google.cloud.workflows.executions.v1.CancelExecutionRequest other = (com.google.cloud.workflows.executions.v1.CancelExecutionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,104 +161,98 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest 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.workflows.executions.v1.CancelExecutionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1.CancelExecutionRequest prototype) { + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.CancelExecutionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the
    * [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution]
@@ -294,32 +261,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1.CancelExecutionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.CancelExecutionRequest)
       com.google.cloud.workflows.executions.v1.CancelExecutionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1.CancelExecutionRequest.class,
-              com.google.cloud.workflows.executions.v1.CancelExecutionRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1.CancelExecutionRequest.class, com.google.cloud.workflows.executions.v1.CancelExecutionRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.workflows.executions.v1.CancelExecutionRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -329,14 +297,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1.CancelExecutionRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.workflows.executions.v1.CancelExecutionRequest getDefaultInstanceForType() {
       return com.google.cloud.workflows.executions.v1.CancelExecutionRequest.getDefaultInstance();
     }
 
@@ -351,17 +318,13 @@ public com.google.cloud.workflows.executions.v1.CancelExecutionRequest build() {
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1.CancelExecutionRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1.CancelExecutionRequest result =
-          new com.google.cloud.workflows.executions.v1.CancelExecutionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.workflows.executions.v1.CancelExecutionRequest result = new com.google.cloud.workflows.executions.v1.CancelExecutionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.workflows.executions.v1.CancelExecutionRequest result) {
+    private void buildPartial0(com.google.cloud.workflows.executions.v1.CancelExecutionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -372,50 +335,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1.CancelExecutionRequest) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1.CancelExecutionRequest) other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1.CancelExecutionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.workflows.executions.v1.CancelExecutionRequest other) {
-      if (other
-          == com.google.cloud.workflows.executions.v1.CancelExecutionRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.workflows.executions.v1.CancelExecutionRequest other) {
+      if (other == com.google.cloud.workflows.executions.v1.CancelExecutionRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -447,19 +406,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -469,29 +426,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.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; @@ -500,25 +452,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -526,43 +475,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string 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() { @@ -572,34 +510,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -609,43 +541,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.CancelExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.CancelExecutionRequest) - private static final com.google.cloud.workflows.executions.v1.CancelExecutionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.workflows.executions.v1.CancelExecutionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.CancelExecutionRequest(); } - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest - getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -657,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1.CancelExecutionRequest - getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.CancelExecutionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java new file mode 100644 index 000000000000..274df6c45434 --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1/executions.proto + +package com.google.cloud.workflows.executions.v1; + +public interface CancelExecutionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.CancelExecutionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the execution to be cancelled.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the execution to be cancelled.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java similarity index 60% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java rename to owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java index aff268129b02..5b7b08d97c95 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution]
@@ -29,58 +12,50 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1.CreateExecutionRequest}
  */
-public final class CreateExecutionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateExecutionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.CreateExecutionRequest)
     CreateExecutionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateExecutionRequest.newBuilder() to construct.
   private CreateExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateExecutionRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateExecutionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1.CreateExecutionRequest.class,
-            com.google.cloud.workflows.executions.v1.CreateExecutionRequest.Builder.class);
+            com.google.cloud.workflows.executions.v1.CreateExecutionRequest.class, com.google.cloud.workflows.executions.v1.CreateExecutionRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Name of the workflow for which an execution should be created.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * The latest revision of the workflow will be used.
    * 
* - * - * string parent = 1 [(.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 @@ -89,33 +64,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. Name of the workflow for which an execution should be created.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * The latest revision of the workflow will be used.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,16 +99,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int EXECUTION_FIELD_NUMBER = 2; private com.google.cloud.workflows.executions.v1.Execution execution_; /** - * - * *
    * Required. Execution to be created.
    * 
* - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the execution field is set. */ @java.lang.Override @@ -143,44 +111,30 @@ public boolean hasExecution() { return execution_ != null; } /** - * - * *
    * Required. Execution to be created.
    * 
* - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The execution. */ @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution getExecution() { - return execution_ == null - ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() - : execution_; + return execution_ == null ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() : execution_; } /** - * - * *
    * Required. Execution to be created.
    * 
* - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionOrBuilder() { - return execution_ == null - ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() - : execution_; + return execution_ == null ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() : execution_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +146,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -212,7 +167,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (execution_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExecution()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExecution()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -222,18 +178,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.workflows.executions.v1.CreateExecutionRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.CreateExecutionRequest other = - (com.google.cloud.workflows.executions.v1.CreateExecutionRequest) obj; + com.google.cloud.workflows.executions.v1.CreateExecutionRequest other = (com.google.cloud.workflows.executions.v1.CreateExecutionRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasExecution() != other.hasExecution()) return false; if (hasExecution()) { - if (!getExecution().equals(other.getExecution())) return false; + if (!getExecution() + .equals(other.getExecution())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -258,104 +215,98 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest 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.workflows.executions.v1.CreateExecutionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1.CreateExecutionRequest prototype) { + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.CreateExecutionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the
    * [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution]
@@ -364,32 +315,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1.CreateExecutionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.CreateExecutionRequest)
       com.google.cloud.workflows.executions.v1.CreateExecutionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1.CreateExecutionRequest.class,
-              com.google.cloud.workflows.executions.v1.CreateExecutionRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1.CreateExecutionRequest.class, com.google.cloud.workflows.executions.v1.CreateExecutionRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.workflows.executions.v1.CreateExecutionRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -404,14 +356,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1.CreateExecutionRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.workflows.executions.v1.CreateExecutionRequest getDefaultInstanceForType() {
       return com.google.cloud.workflows.executions.v1.CreateExecutionRequest.getDefaultInstance();
     }
 
@@ -426,23 +377,21 @@ public com.google.cloud.workflows.executions.v1.CreateExecutionRequest build() {
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1.CreateExecutionRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1.CreateExecutionRequest result =
-          new com.google.cloud.workflows.executions.v1.CreateExecutionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.workflows.executions.v1.CreateExecutionRequest result = new com.google.cloud.workflows.executions.v1.CreateExecutionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.workflows.executions.v1.CreateExecutionRequest result) {
+    private void buildPartial0(com.google.cloud.workflows.executions.v1.CreateExecutionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.execution_ = executionBuilder_ == null ? execution_ : executionBuilder_.build();
+        result.execution_ = executionBuilder_ == null
+            ? execution_
+            : executionBuilder_.build();
       }
     }
 
@@ -450,50 +399,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1.CreateExecutionRequest) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1.CreateExecutionRequest) other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1.CreateExecutionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.workflows.executions.v1.CreateExecutionRequest other) {
-      if (other
-          == com.google.cloud.workflows.executions.v1.CreateExecutionRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.workflows.executions.v1.CreateExecutionRequest other) {
+      if (other == com.google.cloud.workflows.executions.v1.CreateExecutionRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -528,25 +473,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getExecutionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getExecutionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -556,29 +500,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * - * string parent = 1 [(.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; @@ -587,25 +526,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -613,43 +549,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * - * string 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() { @@ -659,25 +584,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -687,58 +606,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.workflows.executions.v1.Execution execution_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution, - com.google.cloud.workflows.executions.v1.Execution.Builder, - com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> - executionBuilder_; + com.google.cloud.workflows.executions.v1.Execution, com.google.cloud.workflows.executions.v1.Execution.Builder, com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> executionBuilder_; /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the execution field is set. */ public boolean hasExecution() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The execution. */ public com.google.cloud.workflows.executions.v1.Execution getExecution() { if (executionBuilder_ == null) { - return execution_ == null - ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() - : execution_; + return execution_ == null ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() : execution_; } else { return executionBuilder_.getMessage(); } } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExecution(com.google.cloud.workflows.executions.v1.Execution value) { if (executionBuilder_ == null) { @@ -754,15 +654,11 @@ public Builder setExecution(com.google.cloud.workflows.executions.v1.Execution v return this; } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExecution( com.google.cloud.workflows.executions.v1.Execution.Builder builderForValue) { @@ -776,22 +672,17 @@ public Builder setExecution( return this; } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeExecution(com.google.cloud.workflows.executions.v1.Execution value) { if (executionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && execution_ != null - && execution_ - != com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + execution_ != null && + execution_ != com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()) { getExecutionBuilder().mergeFrom(value); } else { execution_ = value; @@ -804,15 +695,11 @@ public Builder mergeExecution(com.google.cloud.workflows.executions.v1.Execution return this; } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearExecution() { bitField0_ = (bitField0_ & ~0x00000002); @@ -825,15 +712,11 @@ public Builder clearExecution() { return this; } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionBuilder() { bitField0_ |= 0x00000002; @@ -841,55 +724,43 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionBu return getExecutionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionOrBuilder() { if (executionBuilder_ != null) { return executionBuilder_.getMessageOrBuilder(); } else { - return execution_ == null - ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() - : execution_; + return execution_ == null ? + com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() : execution_; } } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution, - com.google.cloud.workflows.executions.v1.Execution.Builder, - com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> + com.google.cloud.workflows.executions.v1.Execution, com.google.cloud.workflows.executions.v1.Execution.Builder, com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> getExecutionFieldBuilder() { if (executionBuilder_ == null) { - executionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution, - com.google.cloud.workflows.executions.v1.Execution.Builder, - com.google.cloud.workflows.executions.v1.ExecutionOrBuilder>( - getExecution(), getParentForChildren(), isClean()); + executionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution, com.google.cloud.workflows.executions.v1.Execution.Builder, com.google.cloud.workflows.executions.v1.ExecutionOrBuilder>( + getExecution(), + getParentForChildren(), + isClean()); execution_ = null; } return executionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -899,43 +770,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.CreateExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.CreateExecutionRequest) - private static final com.google.cloud.workflows.executions.v1.CreateExecutionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.workflows.executions.v1.CreateExecutionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.CreateExecutionRequest(); } - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest - getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -947,8 +816,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1.CreateExecutionRequest - getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.CreateExecutionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java new file mode 100644 index 000000000000..e519bd4fab18 --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1/executions.proto + +package com.google.cloud.workflows.executions.v1; + +public interface CreateExecutionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.CreateExecutionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the workflow for which an execution should be created.
+   * Format: projects/{project}/locations/{location}/workflows/{workflow}
+   * The latest revision of the workflow will be used.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Name of the workflow for which an execution should be created.
+   * Format: projects/{project}/locations/{location}/workflows/{workflow}
+   * The latest revision of the workflow will be used.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. Execution to be created.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the execution field is set. + */ + boolean hasExecution(); + /** + *
+   * Required. Execution to be created.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The execution. + */ + com.google.cloud.workflows.executions.v1.Execution getExecution(); + /** + *
+   * Required. Execution to be created.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionOrBuilder(); +} diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java new file mode 100644 index 000000000000..f21de0f28eda --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java @@ -0,0 +1,9962 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1/executions.proto + +package com.google.cloud.workflows.executions.v1; + +/** + *
+ * A running instance of a
+ * [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
+ * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution} + */ +public final class Execution extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution) + ExecutionOrBuilder { +private static final long serialVersionUID = 0L; + // Use Execution.newBuilder() to construct. + private Execution(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Execution() { + name_ = ""; + state_ = 0; + argument_ = ""; + result_ = ""; + workflowRevisionId_ = ""; + callLogLevel_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Execution(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + @java.lang.Override + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 11: + return internalGetLabels(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.class, com.google.cloud.workflows.executions.v1.Execution.Builder.class); + } + + /** + *
+   * Describes the current state of the execution. More states might be added
+   * in the future.
+   * 
+ * + * Protobuf enum {@code google.cloud.workflows.executions.v1.Execution.State} + */ + public enum State + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * Invalid state.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + STATE_UNSPECIFIED(0), + /** + *
+     * The execution is in progress.
+     * 
+ * + * ACTIVE = 1; + */ + ACTIVE(1), + /** + *
+     * The execution finished successfully.
+     * 
+ * + * SUCCEEDED = 2; + */ + SUCCEEDED(2), + /** + *
+     * The execution failed with an error.
+     * 
+ * + * FAILED = 3; + */ + FAILED(3), + /** + *
+     * The execution was stopped intentionally.
+     * 
+ * + * CANCELLED = 4; + */ + CANCELLED(4), + /** + *
+     * Execution data is unavailable. See the `state_error` field.
+     * 
+ * + * UNAVAILABLE = 5; + */ + UNAVAILABLE(5), + /** + *
+     * Request has been placed in the backlog for processing at a later time.
+     * 
+ * + * QUEUED = 6; + */ + QUEUED(6), + UNRECOGNIZED(-1), + ; + + /** + *
+     * Invalid state.
+     * 
+ * + * STATE_UNSPECIFIED = 0; + */ + public static final int STATE_UNSPECIFIED_VALUE = 0; + /** + *
+     * The execution is in progress.
+     * 
+ * + * ACTIVE = 1; + */ + public static final int ACTIVE_VALUE = 1; + /** + *
+     * The execution finished successfully.
+     * 
+ * + * SUCCEEDED = 2; + */ + public static final int SUCCEEDED_VALUE = 2; + /** + *
+     * The execution failed with an error.
+     * 
+ * + * FAILED = 3; + */ + public static final int FAILED_VALUE = 3; + /** + *
+     * The execution was stopped intentionally.
+     * 
+ * + * CANCELLED = 4; + */ + public static final int CANCELLED_VALUE = 4; + /** + *
+     * Execution data is unavailable. See the `state_error` field.
+     * 
+ * + * UNAVAILABLE = 5; + */ + public static final int UNAVAILABLE_VALUE = 5; + /** + *
+     * Request has been placed in the backlog for processing at a later time.
+     * 
+ * + * QUEUED = 6; + */ + public static final int QUEUED_VALUE = 6; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static State valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static State forNumber(int value) { + switch (value) { + case 0: return STATE_UNSPECIFIED; + case 1: return ACTIVE; + case 2: return SUCCEEDED; + case 3: return FAILED; + case 4: return CANCELLED; + case 5: return UNAVAILABLE; + case 6: return QUEUED; + default: return null; + } + } + + 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() { + 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() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.Execution.getDescriptor().getEnumTypes().get(0); + } + + private static final State[] VALUES = values(); + + 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."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private State(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1.Execution.State) + } + + /** + *
+   * Describes the level of platform logging to apply to calls and call
+   * responses during workflow executions.
+   * 
+ * + * Protobuf enum {@code google.cloud.workflows.executions.v1.Execution.CallLogLevel} + */ + public enum CallLogLevel + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+     * No call logging level specified.
+     * 
+ * + * CALL_LOG_LEVEL_UNSPECIFIED = 0; + */ + CALL_LOG_LEVEL_UNSPECIFIED(0), + /** + *
+     * Log all call steps within workflows, all call returns, and all exceptions
+     * raised.
+     * 
+ * + * LOG_ALL_CALLS = 1; + */ + LOG_ALL_CALLS(1), + /** + *
+     * Log only exceptions that are raised from call steps within workflows.
+     * 
+ * + * LOG_ERRORS_ONLY = 2; + */ + LOG_ERRORS_ONLY(2), + /** + *
+     * Explicitly log nothing.
+     * 
+ * + * LOG_NONE = 3; + */ + LOG_NONE(3), + UNRECOGNIZED(-1), + ; + + /** + *
+     * No call logging level specified.
+     * 
+ * + * CALL_LOG_LEVEL_UNSPECIFIED = 0; + */ + public static final int CALL_LOG_LEVEL_UNSPECIFIED_VALUE = 0; + /** + *
+     * Log all call steps within workflows, all call returns, and all exceptions
+     * raised.
+     * 
+ * + * LOG_ALL_CALLS = 1; + */ + public static final int LOG_ALL_CALLS_VALUE = 1; + /** + *
+     * Log only exceptions that are raised from call steps within workflows.
+     * 
+ * + * LOG_ERRORS_ONLY = 2; + */ + public static final int LOG_ERRORS_ONLY_VALUE = 2; + /** + *
+     * Explicitly log nothing.
+     * 
+ * + * LOG_NONE = 3; + */ + public static final int LOG_NONE_VALUE = 3; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static CallLogLevel valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static CallLogLevel forNumber(int value) { + switch (value) { + case 0: return CALL_LOG_LEVEL_UNSPECIFIED; + case 1: return LOG_ALL_CALLS; + case 2: return LOG_ERRORS_ONLY; + case 3: return LOG_NONE; + default: return null; + } + } + + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + CallLogLevel> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public CallLogLevel findValueByNumber(int number) { + return CallLogLevel.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() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.Execution.getDescriptor().getEnumTypes().get(1); + } + + private static final CallLogLevel[] VALUES = values(); + + public static CallLogLevel valueOf( + com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + if (desc.getType() != getDescriptor()) { + throw new java.lang.IllegalArgumentException( + "EnumValueDescriptor is not for this type."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private CallLogLevel(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1.Execution.CallLogLevel) + } + + public interface StackTraceElementOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.StackTraceElement) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * The step the error occurred at.
+     * 
+ * + * string step = 1; + * @return The step. + */ + java.lang.String getStep(); + /** + *
+     * The step the error occurred at.
+     * 
+ * + * string step = 1; + * @return The bytes for step. + */ + com.google.protobuf.ByteString + getStepBytes(); + + /** + *
+     * The routine where the error occurred.
+     * 
+ * + * string routine = 2; + * @return The routine. + */ + java.lang.String getRoutine(); + /** + *
+     * The routine where the error occurred.
+     * 
+ * + * string routine = 2; + * @return The bytes for routine. + */ + com.google.protobuf.ByteString + getRoutineBytes(); + + /** + *
+     * The source position information of the stack trace element.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * @return Whether the position field is set. + */ + boolean hasPosition(); + /** + *
+     * The source position information of the stack trace element.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * @return The position. + */ + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getPosition(); + /** + *
+     * The source position information of the stack trace element.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + */ + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder getPositionOrBuilder(); + } + /** + *
+   * A single stack element (frame) where an error occurred.
+   * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTraceElement} + */ + public static final class StackTraceElement extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.StackTraceElement) + StackTraceElementOrBuilder { + private static final long serialVersionUID = 0L; + // Use StackTraceElement.newBuilder() to construct. + private StackTraceElement(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StackTraceElement() { + step_ = ""; + routine_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StackTraceElement(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.class, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder.class); + } + + public interface PositionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * The source code line number the current instruction was generated from.
+       * 
+ * + * int64 line = 1; + * @return The line. + */ + long getLine(); + + /** + *
+       * The source code column position (of the line) the current instruction
+       * was generated from.
+       * 
+ * + * int64 column = 2; + * @return The column. + */ + long getColumn(); + + /** + *
+       * The number of bytes of source code making up this stack trace element.
+       * 
+ * + * int64 length = 3; + * @return The length. + */ + long getLength(); + } + /** + *
+     * Position contains source position information about the stack trace
+     * element such as line number, column number and length of the code block
+     * in bytes.
+     * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position} + */ + public static final class Position extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) + PositionOrBuilder { + private static final long serialVersionUID = 0L; + // Use Position.newBuilder() to construct. + private Position(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Position() { + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Position(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.class, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder.class); + } + + public static final int LINE_FIELD_NUMBER = 1; + private long line_ = 0L; + /** + *
+       * The source code line number the current instruction was generated from.
+       * 
+ * + * int64 line = 1; + * @return The line. + */ + @java.lang.Override + public long getLine() { + return line_; + } + + public static final int COLUMN_FIELD_NUMBER = 2; + private long column_ = 0L; + /** + *
+       * The source code column position (of the line) the current instruction
+       * was generated from.
+       * 
+ * + * int64 column = 2; + * @return The column. + */ + @java.lang.Override + public long getColumn() { + return column_; + } + + public static final int LENGTH_FIELD_NUMBER = 3; + private long length_ = 0L; + /** + *
+       * The number of bytes of source code making up this stack trace element.
+       * 
+ * + * int64 length = 3; + * @return The length. + */ + @java.lang.Override + public long getLength() { + return length_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (line_ != 0L) { + output.writeInt64(1, line_); + } + if (column_ != 0L) { + output.writeInt64(2, column_); + } + if (length_ != 0L) { + output.writeInt64(3, length_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (line_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(1, line_); + } + if (column_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(2, column_); + } + if (length_ != 0L) { + size += com.google.protobuf.CodedOutputStream + .computeInt64Size(3, length_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position)) { + return super.equals(obj); + } + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position other = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) obj; + + if (getLine() + != other.getLine()) return false; + if (getColumn() + != other.getColumn()) return false; + if (getLength() + != other.getLength()) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + LINE_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLine()); + hash = (37 * hash) + COLUMN_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getColumn()); + hash = (37 * hash) + LENGTH_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashLong( + getLength()); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+       * Position contains source position information about the stack trace
+       * element such as line number, column number and length of the code block
+       * in bytes.
+       * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.class, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder.class); + } + + // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + line_ = 0L; + column_ = 0L; + length_ = 0L; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getDefaultInstanceForType() { + return com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position build() { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position buildPartial() { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position result = new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.line_ = line_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.column_ = column_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.length_ = length_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) { + return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position other) { + if (other == com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance()) return this; + if (other.getLine() != 0L) { + setLine(other.getLine()); + } + if (other.getColumn() != 0L) { + setColumn(other.getColumn()); + } + if (other.getLength() != 0L) { + setLength(other.getLength()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 8: { + line_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: { + column_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: { + length_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private long line_ ; + /** + *
+         * The source code line number the current instruction was generated from.
+         * 
+ * + * int64 line = 1; + * @return The line. + */ + @java.lang.Override + public long getLine() { + return line_; + } + /** + *
+         * The source code line number the current instruction was generated from.
+         * 
+ * + * int64 line = 1; + * @param value The line to set. + * @return This builder for chaining. + */ + public Builder setLine(long value) { + + line_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+         * The source code line number the current instruction was generated from.
+         * 
+ * + * int64 line = 1; + * @return This builder for chaining. + */ + public Builder clearLine() { + bitField0_ = (bitField0_ & ~0x00000001); + line_ = 0L; + onChanged(); + return this; + } + + private long column_ ; + /** + *
+         * The source code column position (of the line) the current instruction
+         * was generated from.
+         * 
+ * + * int64 column = 2; + * @return The column. + */ + @java.lang.Override + public long getColumn() { + return column_; + } + /** + *
+         * The source code column position (of the line) the current instruction
+         * was generated from.
+         * 
+ * + * int64 column = 2; + * @param value The column to set. + * @return This builder for chaining. + */ + public Builder setColumn(long value) { + + column_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+         * The source code column position (of the line) the current instruction
+         * was generated from.
+         * 
+ * + * int64 column = 2; + * @return This builder for chaining. + */ + public Builder clearColumn() { + bitField0_ = (bitField0_ & ~0x00000002); + column_ = 0L; + onChanged(); + return this; + } + + private long length_ ; + /** + *
+         * The number of bytes of source code making up this stack trace element.
+         * 
+ * + * int64 length = 3; + * @return The length. + */ + @java.lang.Override + public long getLength() { + return length_; + } + /** + *
+         * The number of bytes of source code making up this stack trace element.
+         * 
+ * + * int64 length = 3; + * @param value The length to set. + * @return This builder for chaining. + */ + public Builder setLength(long value) { + + length_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+         * The number of bytes of source code making up this stack trace element.
+         * 
+ * + * int64 length = 3; + * @return This builder for chaining. + */ + public Builder clearLength() { + bitField0_ = (bitField0_ & ~0x00000004); + length_ = 0L; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) + } + + // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) + private static final com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position(); + } + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Position parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int STEP_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object step_ = ""; + /** + *
+     * The step the error occurred at.
+     * 
+ * + * string step = 1; + * @return The step. + */ + @java.lang.Override + public java.lang.String getStep() { + java.lang.Object ref = step_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + step_ = s; + return s; + } + } + /** + *
+     * The step the error occurred at.
+     * 
+ * + * string step = 1; + * @return The bytes for step. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getStepBytes() { + java.lang.Object ref = step_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + step_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ROUTINE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object routine_ = ""; + /** + *
+     * The routine where the error occurred.
+     * 
+ * + * string routine = 2; + * @return The routine. + */ + @java.lang.Override + public java.lang.String getRoutine() { + java.lang.Object ref = routine_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + routine_ = s; + return s; + } + } + /** + *
+     * The routine where the error occurred.
+     * 
+ * + * string routine = 2; + * @return The bytes for routine. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRoutineBytes() { + java.lang.Object ref = routine_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + routine_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int POSITION_FIELD_NUMBER = 3; + private com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position_; + /** + *
+     * The source position information of the stack trace element.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * @return Whether the position field is set. + */ + @java.lang.Override + public boolean hasPosition() { + return position_ != null; + } + /** + *
+     * The source position information of the stack trace element.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * @return The position. + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getPosition() { + return position_ == null ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance() : position_; + } + /** + *
+     * The source position information of the stack trace element.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder getPositionOrBuilder() { + return position_ == null ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance() : position_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(step_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, step_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routine_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, routine_); + } + if (position_ != null) { + output.writeMessage(3, getPosition()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(step_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, step_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routine_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, routine_); + } + if (position_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getPosition()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.workflows.executions.v1.Execution.StackTraceElement)) { + return super.equals(obj); + } + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement other = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) obj; + + if (!getStep() + .equals(other.getStep())) return false; + if (!getRoutine() + .equals(other.getRoutine())) return false; + if (hasPosition() != other.hasPosition()) return false; + if (hasPosition()) { + if (!getPosition() + .equals(other.getPosition())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + STEP_FIELD_NUMBER; + hash = (53 * hash) + getStep().hashCode(); + hash = (37 * hash) + ROUTINE_FIELD_NUMBER; + hash = (53 * hash) + getRoutine().hashCode(); + if (hasPosition()) { + hash = (37 * hash) + POSITION_FIELD_NUMBER; + hash = (53 * hash) + getPosition().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * A single stack element (frame) where an error occurred.
+     * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTraceElement} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.StackTraceElement) + com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.class, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder.class); + } + + // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + step_ = ""; + routine_ = ""; + position_ = null; + if (positionBuilder_ != null) { + positionBuilder_.dispose(); + positionBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getDefaultInstanceForType() { + return com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement build() { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement buildPartial() { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.step_ = step_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.routine_ = routine_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.position_ = positionBuilder_ == null + ? position_ + : positionBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) { + return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.StackTraceElement)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement other) { + if (other == com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.getDefaultInstance()) return this; + if (!other.getStep().isEmpty()) { + step_ = other.step_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getRoutine().isEmpty()) { + routine_ = other.routine_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasPosition()) { + mergePosition(other.getPosition()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + step_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + routine_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getPositionFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object step_ = ""; + /** + *
+       * The step the error occurred at.
+       * 
+ * + * string step = 1; + * @return The step. + */ + public java.lang.String getStep() { + java.lang.Object ref = step_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + step_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The step the error occurred at.
+       * 
+ * + * string step = 1; + * @return The bytes for step. + */ + public com.google.protobuf.ByteString + getStepBytes() { + java.lang.Object ref = step_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + step_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The step the error occurred at.
+       * 
+ * + * string step = 1; + * @param value The step to set. + * @return This builder for chaining. + */ + public Builder setStep( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + step_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * The step the error occurred at.
+       * 
+ * + * string step = 1; + * @return This builder for chaining. + */ + public Builder clearStep() { + step_ = getDefaultInstance().getStep(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * The step the error occurred at.
+       * 
+ * + * string step = 1; + * @param value The bytes for step to set. + * @return This builder for chaining. + */ + public Builder setStepBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + step_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object routine_ = ""; + /** + *
+       * The routine where the error occurred.
+       * 
+ * + * string routine = 2; + * @return The routine. + */ + public java.lang.String getRoutine() { + java.lang.Object ref = routine_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + routine_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * The routine where the error occurred.
+       * 
+ * + * string routine = 2; + * @return The bytes for routine. + */ + public com.google.protobuf.ByteString + getRoutineBytes() { + java.lang.Object ref = routine_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + routine_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * The routine where the error occurred.
+       * 
+ * + * string routine = 2; + * @param value The routine to set. + * @return This builder for chaining. + */ + public Builder setRoutine( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + routine_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * The routine where the error occurred.
+       * 
+ * + * string routine = 2; + * @return This builder for chaining. + */ + public Builder clearRoutine() { + routine_ = getDefaultInstance().getRoutine(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * The routine where the error occurred.
+       * 
+ * + * string routine = 2; + * @param value The bytes for routine to set. + * @return This builder for chaining. + */ + public Builder setRoutineBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + routine_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder> positionBuilder_; + /** + *
+       * The source position information of the stack trace element.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * @return Whether the position field is set. + */ + public boolean hasPosition() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+       * The source position information of the stack trace element.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * @return The position. + */ + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getPosition() { + if (positionBuilder_ == null) { + return position_ == null ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance() : position_; + } else { + return positionBuilder_.getMessage(); + } + } + /** + *
+       * The source position information of the stack trace element.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + */ + public Builder setPosition(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position value) { + if (positionBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + position_ = value; + } else { + positionBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * The source position information of the stack trace element.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + */ + public Builder setPosition( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder builderForValue) { + if (positionBuilder_ == null) { + position_ = builderForValue.build(); + } else { + positionBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * The source position information of the stack trace element.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + */ + public Builder mergePosition(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position value) { + if (positionBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + position_ != null && + position_ != com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance()) { + getPositionBuilder().mergeFrom(value); + } else { + position_ = value; + } + } else { + positionBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * The source position information of the stack trace element.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + */ + public Builder clearPosition() { + bitField0_ = (bitField0_ & ~0x00000004); + position_ = null; + if (positionBuilder_ != null) { + positionBuilder_.dispose(); + positionBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * The source position information of the stack trace element.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + */ + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder getPositionBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getPositionFieldBuilder().getBuilder(); + } + /** + *
+       * The source position information of the stack trace element.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + */ + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder getPositionOrBuilder() { + if (positionBuilder_ != null) { + return positionBuilder_.getMessageOrBuilder(); + } else { + return position_ == null ? + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance() : position_; + } + } + /** + *
+       * The source position information of the stack trace element.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder> + getPositionFieldBuilder() { + if (positionBuilder_ == null) { + positionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder>( + getPosition(), + getParentForChildren(), + isClean()); + position_ = null; + } + return positionBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.StackTraceElement) + } + + // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.StackTraceElement) + private static final com.google.cloud.workflows.executions.v1.Execution.StackTraceElement DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(); + } + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackTraceElement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface StackTraceOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.StackTrace) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * An array of stack elements.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + java.util.List + getElementsList(); + /** + *
+     * An array of stack elements.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getElements(int index); + /** + *
+     * An array of stack elements.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + int getElementsCount(); + /** + *
+     * An array of stack elements.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + java.util.List + getElementsOrBuilderList(); + /** + *
+     * An array of stack elements.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder getElementsOrBuilder( + int index); + } + /** + *
+   * A collection of stack elements (frames) where an error occurred.
+   * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTrace} + */ + public static final class StackTrace extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.StackTrace) + StackTraceOrBuilder { + private static final long serialVersionUID = 0L; + // Use StackTrace.newBuilder() to construct. + private StackTrace(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StackTrace() { + elements_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StackTrace(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.StackTrace.class, com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder.class); + } + + public static final int ELEMENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List elements_; + /** + *
+     * An array of stack elements.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + @java.lang.Override + public java.util.List getElementsList() { + return elements_; + } + /** + *
+     * An array of stack elements.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + @java.lang.Override + public java.util.List + getElementsOrBuilderList() { + return elements_; + } + /** + *
+     * An array of stack elements.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + @java.lang.Override + public int getElementsCount() { + return elements_.size(); + } + /** + *
+     * An array of stack elements.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getElements(int index) { + return elements_.get(index); + } + /** + *
+     * An array of stack elements.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder getElementsOrBuilder( + int index) { + return elements_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < elements_.size(); i++) { + output.writeMessage(1, elements_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < elements_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, elements_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.workflows.executions.v1.Execution.StackTrace)) { + return super.equals(obj); + } + com.google.cloud.workflows.executions.v1.Execution.StackTrace other = (com.google.cloud.workflows.executions.v1.Execution.StackTrace) obj; + + if (!getElementsList() + .equals(other.getElementsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getElementsCount() > 0) { + hash = (37 * hash) + ELEMENTS_FIELD_NUMBER; + hash = (53 * hash) + getElementsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.StackTrace prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * A collection of stack elements (frames) where an error occurred.
+     * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTrace} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.StackTrace) + com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.StackTrace.class, com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder.class); + } + + // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (elementsBuilder_ == null) { + elements_ = java.util.Collections.emptyList(); + } else { + elements_ = null; + elementsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTrace getDefaultInstanceForType() { + return com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTrace build() { + com.google.cloud.workflows.executions.v1.Execution.StackTrace result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTrace buildPartial() { + com.google.cloud.workflows.executions.v1.Execution.StackTrace result = new com.google.cloud.workflows.executions.v1.Execution.StackTrace(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.workflows.executions.v1.Execution.StackTrace result) { + if (elementsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + elements_ = java.util.Collections.unmodifiableList(elements_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.elements_ = elements_; + } else { + result.elements_ = elementsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.StackTrace result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.workflows.executions.v1.Execution.StackTrace) { + return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.StackTrace)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.StackTrace other) { + if (other == com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance()) return this; + if (elementsBuilder_ == null) { + if (!other.elements_.isEmpty()) { + if (elements_.isEmpty()) { + elements_ = other.elements_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureElementsIsMutable(); + elements_.addAll(other.elements_); + } + onChanged(); + } + } else { + if (!other.elements_.isEmpty()) { + if (elementsBuilder_.isEmpty()) { + elementsBuilder_.dispose(); + elementsBuilder_ = null; + elements_ = other.elements_; + bitField0_ = (bitField0_ & ~0x00000001); + elementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getElementsFieldBuilder() : null; + } else { + elementsBuilder_.addAllMessages(other.elements_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement m = + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.parser(), + extensionRegistry); + if (elementsBuilder_ == null) { + ensureElementsIsMutable(); + elements_.add(m); + } else { + elementsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List elements_ = + java.util.Collections.emptyList(); + private void ensureElementsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + elements_ = new java.util.ArrayList(elements_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> elementsBuilder_; + + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public java.util.List getElementsList() { + if (elementsBuilder_ == null) { + return java.util.Collections.unmodifiableList(elements_); + } else { + return elementsBuilder_.getMessageList(); + } + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public int getElementsCount() { + if (elementsBuilder_ == null) { + return elements_.size(); + } else { + return elementsBuilder_.getCount(); + } + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getElements(int index) { + if (elementsBuilder_ == null) { + return elements_.get(index); + } else { + return elementsBuilder_.getMessage(index); + } + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public Builder setElements( + int index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement value) { + if (elementsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureElementsIsMutable(); + elements_.set(index, value); + onChanged(); + } else { + elementsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public Builder setElements( + int index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder builderForValue) { + if (elementsBuilder_ == null) { + ensureElementsIsMutable(); + elements_.set(index, builderForValue.build()); + onChanged(); + } else { + elementsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public Builder addElements(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement value) { + if (elementsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureElementsIsMutable(); + elements_.add(value); + onChanged(); + } else { + elementsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public Builder addElements( + int index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement value) { + if (elementsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureElementsIsMutable(); + elements_.add(index, value); + onChanged(); + } else { + elementsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public Builder addElements( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder builderForValue) { + if (elementsBuilder_ == null) { + ensureElementsIsMutable(); + elements_.add(builderForValue.build()); + onChanged(); + } else { + elementsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public Builder addElements( + int index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder builderForValue) { + if (elementsBuilder_ == null) { + ensureElementsIsMutable(); + elements_.add(index, builderForValue.build()); + onChanged(); + } else { + elementsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public Builder addAllElements( + java.lang.Iterable values) { + if (elementsBuilder_ == null) { + ensureElementsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, elements_); + onChanged(); + } else { + elementsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public Builder clearElements() { + if (elementsBuilder_ == null) { + elements_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + elementsBuilder_.clear(); + } + return this; + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public Builder removeElements(int index) { + if (elementsBuilder_ == null) { + ensureElementsIsMutable(); + elements_.remove(index); + onChanged(); + } else { + elementsBuilder_.remove(index); + } + return this; + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder getElementsBuilder( + int index) { + return getElementsFieldBuilder().getBuilder(index); + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder getElementsOrBuilder( + int index) { + if (elementsBuilder_ == null) { + return elements_.get(index); } else { + return elementsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public java.util.List + getElementsOrBuilderList() { + if (elementsBuilder_ != null) { + return elementsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(elements_); + } + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder addElementsBuilder() { + return getElementsFieldBuilder().addBuilder( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.getDefaultInstance()); + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder addElementsBuilder( + int index) { + return getElementsFieldBuilder().addBuilder( + index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.getDefaultInstance()); + } + /** + *
+       * An array of stack elements.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + */ + public java.util.List + getElementsBuilderList() { + return getElementsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> + getElementsFieldBuilder() { + if (elementsBuilder_ == null) { + elementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder>( + elements_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + elements_ = null; + } + return elementsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.StackTrace) + } + + // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.StackTrace) + private static final com.google.cloud.workflows.executions.v1.Execution.StackTrace DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.StackTrace(); + } + + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackTrace parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTrace getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface ErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.Error) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Error message and data returned represented as a JSON string.
+     * 
+ * + * string payload = 1; + * @return The payload. + */ + java.lang.String getPayload(); + /** + *
+     * Error message and data returned represented as a JSON string.
+     * 
+ * + * string payload = 1; + * @return The bytes for payload. + */ + com.google.protobuf.ByteString + getPayloadBytes(); + + /** + *
+     * Human-readable stack trace string.
+     * 
+ * + * string context = 2; + * @return The context. + */ + java.lang.String getContext(); + /** + *
+     * Human-readable stack trace string.
+     * 
+ * + * string context = 2; + * @return The bytes for context. + */ + com.google.protobuf.ByteString + getContextBytes(); + + /** + *
+     * Stack trace with detailed information of where error was generated.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + * @return Whether the stackTrace field is set. + */ + boolean hasStackTrace(); + /** + *
+     * Stack trace with detailed information of where error was generated.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + * @return The stackTrace. + */ + com.google.cloud.workflows.executions.v1.Execution.StackTrace getStackTrace(); + /** + *
+     * Stack trace with detailed information of where error was generated.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + */ + com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder getStackTraceOrBuilder(); + } + /** + *
+   * Error describes why the execution was abnormally terminated.
+   * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Error} + */ + public static final class Error extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.Error) + ErrorOrBuilder { + private static final long serialVersionUID = 0L; + // Use Error.newBuilder() to construct. + private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Error() { + payload_ = ""; + context_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Error(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Error_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.Error.class, com.google.cloud.workflows.executions.v1.Execution.Error.Builder.class); + } + + public static final int PAYLOAD_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object payload_ = ""; + /** + *
+     * Error message and data returned represented as a JSON string.
+     * 
+ * + * string payload = 1; + * @return The payload. + */ + @java.lang.Override + public java.lang.String getPayload() { + java.lang.Object ref = payload_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + payload_ = s; + return s; + } + } + /** + *
+     * Error message and data returned represented as a JSON string.
+     * 
+ * + * string payload = 1; + * @return The bytes for payload. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getPayloadBytes() { + java.lang.Object ref = payload_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + payload_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CONTEXT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object context_ = ""; + /** + *
+     * Human-readable stack trace string.
+     * 
+ * + * string context = 2; + * @return The context. + */ + @java.lang.Override + public java.lang.String getContext() { + java.lang.Object ref = context_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + context_ = s; + return s; + } + } + /** + *
+     * Human-readable stack trace string.
+     * 
+ * + * string context = 2; + * @return The bytes for context. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getContextBytes() { + java.lang.Object ref = context_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + context_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STACK_TRACE_FIELD_NUMBER = 3; + private com.google.cloud.workflows.executions.v1.Execution.StackTrace stackTrace_; + /** + *
+     * Stack trace with detailed information of where error was generated.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + * @return Whether the stackTrace field is set. + */ + @java.lang.Override + public boolean hasStackTrace() { + return stackTrace_ != null; + } + /** + *
+     * Stack trace with detailed information of where error was generated.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + * @return The stackTrace. + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTrace getStackTrace() { + return stackTrace_ == null ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() : stackTrace_; + } + /** + *
+     * Stack trace with detailed information of where error was generated.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder getStackTraceOrBuilder() { + return stackTrace_ == null ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() : stackTrace_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, payload_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, context_); + } + if (stackTrace_ != null) { + output.writeMessage(3, getStackTrace()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, payload_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, context_); + } + if (stackTrace_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getStackTrace()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.workflows.executions.v1.Execution.Error)) { + return super.equals(obj); + } + com.google.cloud.workflows.executions.v1.Execution.Error other = (com.google.cloud.workflows.executions.v1.Execution.Error) obj; + + if (!getPayload() + .equals(other.getPayload())) return false; + if (!getContext() + .equals(other.getContext())) return false; + if (hasStackTrace() != other.hasStackTrace()) return false; + if (hasStackTrace()) { + if (!getStackTrace() + .equals(other.getStackTrace())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PAYLOAD_FIELD_NUMBER; + hash = (53 * hash) + getPayload().hashCode(); + hash = (37 * hash) + CONTEXT_FIELD_NUMBER; + hash = (53 * hash) + getContext().hashCode(); + if (hasStackTrace()) { + hash = (37 * hash) + STACK_TRACE_FIELD_NUMBER; + hash = (53 * hash) + getStackTrace().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.workflows.executions.v1.Execution.Error parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.workflows.executions.v1.Execution.Error parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.Error prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Error describes why the execution was abnormally terminated.
+     * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Error} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.Error) + com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Error_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.Error.class, com.google.cloud.workflows.executions.v1.Execution.Error.Builder.class); + } + + // Construct using com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + payload_ = ""; + context_ = ""; + stackTrace_ = null; + if (stackTraceBuilder_ != null) { + stackTraceBuilder_.dispose(); + stackTraceBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstanceForType() { + return com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Error build() { + com.google.cloud.workflows.executions.v1.Execution.Error result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Error buildPartial() { + com.google.cloud.workflows.executions.v1.Execution.Error result = new com.google.cloud.workflows.executions.v1.Execution.Error(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.Error result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.payload_ = payload_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.context_ = context_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.stackTrace_ = stackTraceBuilder_ == null + ? stackTrace_ + : stackTraceBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.workflows.executions.v1.Execution.Error) { + return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.Error)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.Error other) { + if (other == com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance()) return this; + if (!other.getPayload().isEmpty()) { + payload_ = other.payload_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getContext().isEmpty()) { + context_ = other.context_; + bitField0_ |= 0x00000002; + onChanged(); + } + if (other.hasStackTrace()) { + mergeStackTrace(other.getStackTrace()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + payload_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + context_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getStackTraceFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object payload_ = ""; + /** + *
+       * Error message and data returned represented as a JSON string.
+       * 
+ * + * string payload = 1; + * @return The payload. + */ + public java.lang.String getPayload() { + java.lang.Object ref = payload_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + payload_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Error message and data returned represented as a JSON string.
+       * 
+ * + * string payload = 1; + * @return The bytes for payload. + */ + public com.google.protobuf.ByteString + getPayloadBytes() { + java.lang.Object ref = payload_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + payload_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Error message and data returned represented as a JSON string.
+       * 
+ * + * string payload = 1; + * @param value The payload to set. + * @return This builder for chaining. + */ + public Builder setPayload( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + payload_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Error message and data returned represented as a JSON string.
+       * 
+ * + * string payload = 1; + * @return This builder for chaining. + */ + public Builder clearPayload() { + payload_ = getDefaultInstance().getPayload(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Error message and data returned represented as a JSON string.
+       * 
+ * + * string payload = 1; + * @param value The bytes for payload to set. + * @return This builder for chaining. + */ + public Builder setPayloadBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + payload_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object context_ = ""; + /** + *
+       * Human-readable stack trace string.
+       * 
+ * + * string context = 2; + * @return The context. + */ + public java.lang.String getContext() { + java.lang.Object ref = context_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + context_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Human-readable stack trace string.
+       * 
+ * + * string context = 2; + * @return The bytes for context. + */ + public com.google.protobuf.ByteString + getContextBytes() { + java.lang.Object ref = context_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + context_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Human-readable stack trace string.
+       * 
+ * + * string context = 2; + * @param value The context to set. + * @return This builder for chaining. + */ + public Builder setContext( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + context_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * Human-readable stack trace string.
+       * 
+ * + * string context = 2; + * @return This builder for chaining. + */ + public Builder clearContext() { + context_ = getDefaultInstance().getContext(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+       * Human-readable stack trace string.
+       * 
+ * + * string context = 2; + * @param value The bytes for context to set. + * @return This builder for chaining. + */ + public Builder setContextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + context_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + + private com.google.cloud.workflows.executions.v1.Execution.StackTrace stackTrace_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StackTrace, com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder> stackTraceBuilder_; + /** + *
+       * Stack trace with detailed information of where error was generated.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + * @return Whether the stackTrace field is set. + */ + public boolean hasStackTrace() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+       * Stack trace with detailed information of where error was generated.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + * @return The stackTrace. + */ + public com.google.cloud.workflows.executions.v1.Execution.StackTrace getStackTrace() { + if (stackTraceBuilder_ == null) { + return stackTrace_ == null ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() : stackTrace_; + } else { + return stackTraceBuilder_.getMessage(); + } + } + /** + *
+       * Stack trace with detailed information of where error was generated.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + */ + public Builder setStackTrace(com.google.cloud.workflows.executions.v1.Execution.StackTrace value) { + if (stackTraceBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stackTrace_ = value; + } else { + stackTraceBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Stack trace with detailed information of where error was generated.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + */ + public Builder setStackTrace( + com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder builderForValue) { + if (stackTraceBuilder_ == null) { + stackTrace_ = builderForValue.build(); + } else { + stackTraceBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Stack trace with detailed information of where error was generated.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + */ + public Builder mergeStackTrace(com.google.cloud.workflows.executions.v1.Execution.StackTrace value) { + if (stackTraceBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + stackTrace_ != null && + stackTrace_ != com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance()) { + getStackTraceBuilder().mergeFrom(value); + } else { + stackTrace_ = value; + } + } else { + stackTraceBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+       * Stack trace with detailed information of where error was generated.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + */ + public Builder clearStackTrace() { + bitField0_ = (bitField0_ & ~0x00000004); + stackTrace_ = null; + if (stackTraceBuilder_ != null) { + stackTraceBuilder_.dispose(); + stackTraceBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+       * Stack trace with detailed information of where error was generated.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + */ + public com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder getStackTraceBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getStackTraceFieldBuilder().getBuilder(); + } + /** + *
+       * Stack trace with detailed information of where error was generated.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + */ + public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder getStackTraceOrBuilder() { + if (stackTraceBuilder_ != null) { + return stackTraceBuilder_.getMessageOrBuilder(); + } else { + return stackTrace_ == null ? + com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() : stackTrace_; + } + } + /** + *
+       * Stack trace with detailed information of where error was generated.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StackTrace, com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder> + getStackTraceFieldBuilder() { + if (stackTraceBuilder_ == null) { + stackTraceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StackTrace, com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder>( + getStackTrace(), + getParentForChildren(), + isClean()); + stackTrace_ = null; + } + return stackTraceBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.Error) + } + + // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.Error) + private static final com.google.cloud.workflows.executions.v1.Execution.Error DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.Error(); + } + + public static com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface StatusOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.Status) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * A list of currently executing or last executed step names for the
+     * workflow execution currently running. If the workflow has succeeded or
+     * failed, this is the last attempted or executed step. Presently, if the
+     * current step is inside a subworkflow, the list only includes that step.
+     * In the future, the list will contain items for each step in the call
+     * stack, starting with the outermost step in the `main` subworkflow, and
+     * ending with the most deeply nested step.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + java.util.List + getCurrentStepsList(); + /** + *
+     * A list of currently executing or last executed step names for the
+     * workflow execution currently running. If the workflow has succeeded or
+     * failed, this is the last attempted or executed step. Presently, if the
+     * current step is inside a subworkflow, the list only includes that step.
+     * In the future, the list will contain items for each step in the call
+     * stack, starting with the outermost step in the `main` subworkflow, and
+     * ending with the most deeply nested step.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + com.google.cloud.workflows.executions.v1.Execution.Status.Step getCurrentSteps(int index); + /** + *
+     * A list of currently executing or last executed step names for the
+     * workflow execution currently running. If the workflow has succeeded or
+     * failed, this is the last attempted or executed step. Presently, if the
+     * current step is inside a subworkflow, the list only includes that step.
+     * In the future, the list will contain items for each step in the call
+     * stack, starting with the outermost step in the `main` subworkflow, and
+     * ending with the most deeply nested step.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + int getCurrentStepsCount(); + /** + *
+     * A list of currently executing or last executed step names for the
+     * workflow execution currently running. If the workflow has succeeded or
+     * failed, this is the last attempted or executed step. Presently, if the
+     * current step is inside a subworkflow, the list only includes that step.
+     * In the future, the list will contain items for each step in the call
+     * stack, starting with the outermost step in the `main` subworkflow, and
+     * ending with the most deeply nested step.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + java.util.List + getCurrentStepsOrBuilderList(); + /** + *
+     * A list of currently executing or last executed step names for the
+     * workflow execution currently running. If the workflow has succeeded or
+     * failed, this is the last attempted or executed step. Presently, if the
+     * current step is inside a subworkflow, the list only includes that step.
+     * In the future, the list will contain items for each step in the call
+     * stack, starting with the outermost step in the `main` subworkflow, and
+     * ending with the most deeply nested step.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder getCurrentStepsOrBuilder( + int index); + } + /** + *
+   * Represents the current status of this execution.
+   * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Status} + */ + public static final class Status extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.Status) + StatusOrBuilder { + private static final long serialVersionUID = 0L; + // Use Status.newBuilder() to construct. + private Status(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Status() { + currentSteps_ = java.util.Collections.emptyList(); + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Status(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.Status.class, com.google.cloud.workflows.executions.v1.Execution.Status.Builder.class); + } + + public interface StepOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.Status.Step) + com.google.protobuf.MessageOrBuilder { + + /** + *
+       * Name of a routine within the workflow.
+       * 
+ * + * string routine = 1; + * @return The routine. + */ + java.lang.String getRoutine(); + /** + *
+       * Name of a routine within the workflow.
+       * 
+ * + * string routine = 1; + * @return The bytes for routine. + */ + com.google.protobuf.ByteString + getRoutineBytes(); + + /** + *
+       * Name of a step within the routine.
+       * 
+ * + * string step = 2; + * @return The step. + */ + java.lang.String getStep(); + /** + *
+       * Name of a step within the routine.
+       * 
+ * + * string step = 2; + * @return The bytes for step. + */ + com.google.protobuf.ByteString + getStepBytes(); + } + /** + *
+     * Represents a step of the workflow this execution is running.
+     * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Status.Step} + */ + public static final class Step extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.Status.Step) + StepOrBuilder { + private static final long serialVersionUID = 0L; + // Use Step.newBuilder() to construct. + private Step(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private Step() { + routine_ = ""; + step_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new Step(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.Status.Step.class, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder.class); + } + + public static final int ROUTINE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object routine_ = ""; + /** + *
+       * Name of a routine within the workflow.
+       * 
+ * + * string routine = 1; + * @return The routine. + */ + @java.lang.Override + public java.lang.String getRoutine() { + java.lang.Object ref = routine_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + routine_ = s; + return s; + } + } + /** + *
+       * Name of a routine within the workflow.
+       * 
+ * + * string routine = 1; + * @return The bytes for routine. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getRoutineBytes() { + java.lang.Object ref = routine_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + routine_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int STEP_FIELD_NUMBER = 2; + @SuppressWarnings("serial") + private volatile java.lang.Object step_ = ""; + /** + *
+       * Name of a step within the routine.
+       * 
+ * + * string step = 2; + * @return The step. + */ + @java.lang.Override + public java.lang.String getStep() { + java.lang.Object ref = step_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + step_ = s; + return s; + } + } + /** + *
+       * Name of a step within the routine.
+       * 
+ * + * string step = 2; + * @return The bytes for step. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getStepBytes() { + java.lang.Object ref = step_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + step_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routine_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, routine_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(step_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 2, step_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routine_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, routine_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(step_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, step_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.workflows.executions.v1.Execution.Status.Step)) { + return super.equals(obj); + } + com.google.cloud.workflows.executions.v1.Execution.Status.Step other = (com.google.cloud.workflows.executions.v1.Execution.Status.Step) obj; + + if (!getRoutine() + .equals(other.getRoutine())) return false; + if (!getStep() + .equals(other.getStep())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + ROUTINE_FIELD_NUMBER; + hash = (53 * hash) + getRoutine().hashCode(); + hash = (37 * hash) + STEP_FIELD_NUMBER; + hash = (53 * hash) + getStep().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.Status.Step prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+       * Represents a step of the workflow this execution is running.
+       * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Status.Step} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.Status.Step) + com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.Status.Step.class, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder.class); + } + + // Construct using com.google.cloud.workflows.executions.v1.Execution.Status.Step.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + routine_ = ""; + step_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_descriptor; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Status.Step getDefaultInstanceForType() { + return com.google.cloud.workflows.executions.v1.Execution.Status.Step.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Status.Step build() { + com.google.cloud.workflows.executions.v1.Execution.Status.Step result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Status.Step buildPartial() { + com.google.cloud.workflows.executions.v1.Execution.Status.Step result = new com.google.cloud.workflows.executions.v1.Execution.Status.Step(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.Status.Step result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.routine_ = routine_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.step_ = step_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.workflows.executions.v1.Execution.Status.Step) { + return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.Status.Step)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.Status.Step other) { + if (other == com.google.cloud.workflows.executions.v1.Execution.Status.Step.getDefaultInstance()) return this; + if (!other.getRoutine().isEmpty()) { + routine_ = other.routine_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (!other.getStep().isEmpty()) { + step_ = other.step_; + bitField0_ |= 0x00000002; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + routine_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + step_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object routine_ = ""; + /** + *
+         * Name of a routine within the workflow.
+         * 
+ * + * string routine = 1; + * @return The routine. + */ + public java.lang.String getRoutine() { + java.lang.Object ref = routine_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + routine_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+         * Name of a routine within the workflow.
+         * 
+ * + * string routine = 1; + * @return The bytes for routine. + */ + public com.google.protobuf.ByteString + getRoutineBytes() { + java.lang.Object ref = routine_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + routine_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+         * Name of a routine within the workflow.
+         * 
+ * + * string routine = 1; + * @param value The routine to set. + * @return This builder for chaining. + */ + public Builder setRoutine( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + routine_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+         * Name of a routine within the workflow.
+         * 
+ * + * string routine = 1; + * @return This builder for chaining. + */ + public Builder clearRoutine() { + routine_ = getDefaultInstance().getRoutine(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+         * Name of a routine within the workflow.
+         * 
+ * + * string routine = 1; + * @param value The bytes for routine to set. + * @return This builder for chaining. + */ + public Builder setRoutineBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + routine_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private java.lang.Object step_ = ""; + /** + *
+         * Name of a step within the routine.
+         * 
+ * + * string step = 2; + * @return The step. + */ + public java.lang.String getStep() { + java.lang.Object ref = step_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + step_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+         * Name of a step within the routine.
+         * 
+ * + * string step = 2; + * @return The bytes for step. + */ + public com.google.protobuf.ByteString + getStepBytes() { + java.lang.Object ref = step_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + step_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+         * Name of a step within the routine.
+         * 
+ * + * string step = 2; + * @param value The step to set. + * @return This builder for chaining. + */ + public Builder setStep( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + step_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+         * Name of a step within the routine.
+         * 
+ * + * string step = 2; + * @return This builder for chaining. + */ + public Builder clearStep() { + step_ = getDefaultInstance().getStep(); + bitField0_ = (bitField0_ & ~0x00000002); + onChanged(); + return this; + } + /** + *
+         * Name of a step within the routine.
+         * 
+ * + * string step = 2; + * @param value The bytes for step to set. + * @return This builder for chaining. + */ + public Builder setStepBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + step_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.Status.Step) + } + + // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.Status.Step) + private static final com.google.cloud.workflows.executions.v1.Execution.Status.Step DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.Status.Step(); + } + + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Step parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Status.Step getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int CURRENT_STEPS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private java.util.List currentSteps_; + /** + *
+     * A list of currently executing or last executed step names for the
+     * workflow execution currently running. If the workflow has succeeded or
+     * failed, this is the last attempted or executed step. Presently, if the
+     * current step is inside a subworkflow, the list only includes that step.
+     * In the future, the list will contain items for each step in the call
+     * stack, starting with the outermost step in the `main` subworkflow, and
+     * ending with the most deeply nested step.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + @java.lang.Override + public java.util.List getCurrentStepsList() { + return currentSteps_; + } + /** + *
+     * A list of currently executing or last executed step names for the
+     * workflow execution currently running. If the workflow has succeeded or
+     * failed, this is the last attempted or executed step. Presently, if the
+     * current step is inside a subworkflow, the list only includes that step.
+     * In the future, the list will contain items for each step in the call
+     * stack, starting with the outermost step in the `main` subworkflow, and
+     * ending with the most deeply nested step.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + @java.lang.Override + public java.util.List + getCurrentStepsOrBuilderList() { + return currentSteps_; + } + /** + *
+     * A list of currently executing or last executed step names for the
+     * workflow execution currently running. If the workflow has succeeded or
+     * failed, this is the last attempted or executed step. Presently, if the
+     * current step is inside a subworkflow, the list only includes that step.
+     * In the future, the list will contain items for each step in the call
+     * stack, starting with the outermost step in the `main` subworkflow, and
+     * ending with the most deeply nested step.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + @java.lang.Override + public int getCurrentStepsCount() { + return currentSteps_.size(); + } + /** + *
+     * A list of currently executing or last executed step names for the
+     * workflow execution currently running. If the workflow has succeeded or
+     * failed, this is the last attempted or executed step. Presently, if the
+     * current step is inside a subworkflow, the list only includes that step.
+     * In the future, the list will contain items for each step in the call
+     * stack, starting with the outermost step in the `main` subworkflow, and
+     * ending with the most deeply nested step.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Status.Step getCurrentSteps(int index) { + return currentSteps_.get(index); + } + /** + *
+     * A list of currently executing or last executed step names for the
+     * workflow execution currently running. If the workflow has succeeded or
+     * failed, this is the last attempted or executed step. Presently, if the
+     * current step is inside a subworkflow, the list only includes that step.
+     * In the future, the list will contain items for each step in the call
+     * stack, starting with the outermost step in the `main` subworkflow, and
+     * ending with the most deeply nested step.
+     * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder getCurrentStepsOrBuilder( + int index) { + return currentSteps_.get(index); + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + for (int i = 0; i < currentSteps_.size(); i++) { + output.writeMessage(1, currentSteps_.get(i)); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + for (int i = 0; i < currentSteps_.size(); i++) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, currentSteps_.get(i)); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.workflows.executions.v1.Execution.Status)) { + return super.equals(obj); + } + com.google.cloud.workflows.executions.v1.Execution.Status other = (com.google.cloud.workflows.executions.v1.Execution.Status) obj; + + if (!getCurrentStepsList() + .equals(other.getCurrentStepsList())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + if (getCurrentStepsCount() > 0) { + hash = (37 * hash) + CURRENT_STEPS_FIELD_NUMBER; + hash = (53 * hash) + getCurrentStepsList().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.workflows.executions.v1.Execution.Status parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.workflows.executions.v1.Execution.Status parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.Status prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Represents the current status of this execution.
+     * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Status} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.Status) + com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.Status.class, com.google.cloud.workflows.executions.v1.Execution.Status.Builder.class); + } + + // Construct using com.google.cloud.workflows.executions.v1.Execution.Status.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + if (currentStepsBuilder_ == null) { + currentSteps_ = java.util.Collections.emptyList(); + } else { + currentSteps_ = null; + currentStepsBuilder_.clear(); + } + bitField0_ = (bitField0_ & ~0x00000001); + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_descriptor; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Status getDefaultInstanceForType() { + return com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Status build() { + com.google.cloud.workflows.executions.v1.Execution.Status result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Status buildPartial() { + com.google.cloud.workflows.executions.v1.Execution.Status result = new com.google.cloud.workflows.executions.v1.Execution.Status(this); + buildPartialRepeatedFields(result); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartialRepeatedFields(com.google.cloud.workflows.executions.v1.Execution.Status result) { + if (currentStepsBuilder_ == null) { + if (((bitField0_ & 0x00000001) != 0)) { + currentSteps_ = java.util.Collections.unmodifiableList(currentSteps_); + bitField0_ = (bitField0_ & ~0x00000001); + } + result.currentSteps_ = currentSteps_; + } else { + result.currentSteps_ = currentStepsBuilder_.build(); + } + } + + private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.Status result) { + int from_bitField0_ = bitField0_; + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.workflows.executions.v1.Execution.Status) { + return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.Status)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.Status other) { + if (other == com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance()) return this; + if (currentStepsBuilder_ == null) { + if (!other.currentSteps_.isEmpty()) { + if (currentSteps_.isEmpty()) { + currentSteps_ = other.currentSteps_; + bitField0_ = (bitField0_ & ~0x00000001); + } else { + ensureCurrentStepsIsMutable(); + currentSteps_.addAll(other.currentSteps_); + } + onChanged(); + } + } else { + if (!other.currentSteps_.isEmpty()) { + if (currentStepsBuilder_.isEmpty()) { + currentStepsBuilder_.dispose(); + currentStepsBuilder_ = null; + currentSteps_ = other.currentSteps_; + bitField0_ = (bitField0_ & ~0x00000001); + currentStepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? + getCurrentStepsFieldBuilder() : null; + } else { + currentStepsBuilder_.addAllMessages(other.currentSteps_); + } + } + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + com.google.cloud.workflows.executions.v1.Execution.Status.Step m = + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.Status.Step.parser(), + extensionRegistry); + if (currentStepsBuilder_ == null) { + ensureCurrentStepsIsMutable(); + currentSteps_.add(m); + } else { + currentStepsBuilder_.addMessage(m); + } + break; + } // case 10 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.util.List currentSteps_ = + java.util.Collections.emptyList(); + private void ensureCurrentStepsIsMutable() { + if (!((bitField0_ & 0x00000001) != 0)) { + currentSteps_ = new java.util.ArrayList(currentSteps_); + bitField0_ |= 0x00000001; + } + } + + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.Status.Step, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder, com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder> currentStepsBuilder_; + + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public java.util.List getCurrentStepsList() { + if (currentStepsBuilder_ == null) { + return java.util.Collections.unmodifiableList(currentSteps_); + } else { + return currentStepsBuilder_.getMessageList(); + } + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public int getCurrentStepsCount() { + if (currentStepsBuilder_ == null) { + return currentSteps_.size(); + } else { + return currentStepsBuilder_.getCount(); + } + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public com.google.cloud.workflows.executions.v1.Execution.Status.Step getCurrentSteps(int index) { + if (currentStepsBuilder_ == null) { + return currentSteps_.get(index); + } else { + return currentStepsBuilder_.getMessage(index); + } + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public Builder setCurrentSteps( + int index, com.google.cloud.workflows.executions.v1.Execution.Status.Step value) { + if (currentStepsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCurrentStepsIsMutable(); + currentSteps_.set(index, value); + onChanged(); + } else { + currentStepsBuilder_.setMessage(index, value); + } + return this; + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public Builder setCurrentSteps( + int index, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder builderForValue) { + if (currentStepsBuilder_ == null) { + ensureCurrentStepsIsMutable(); + currentSteps_.set(index, builderForValue.build()); + onChanged(); + } else { + currentStepsBuilder_.setMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public Builder addCurrentSteps(com.google.cloud.workflows.executions.v1.Execution.Status.Step value) { + if (currentStepsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCurrentStepsIsMutable(); + currentSteps_.add(value); + onChanged(); + } else { + currentStepsBuilder_.addMessage(value); + } + return this; + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public Builder addCurrentSteps( + int index, com.google.cloud.workflows.executions.v1.Execution.Status.Step value) { + if (currentStepsBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + ensureCurrentStepsIsMutable(); + currentSteps_.add(index, value); + onChanged(); + } else { + currentStepsBuilder_.addMessage(index, value); + } + return this; + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public Builder addCurrentSteps( + com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder builderForValue) { + if (currentStepsBuilder_ == null) { + ensureCurrentStepsIsMutable(); + currentSteps_.add(builderForValue.build()); + onChanged(); + } else { + currentStepsBuilder_.addMessage(builderForValue.build()); + } + return this; + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public Builder addCurrentSteps( + int index, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder builderForValue) { + if (currentStepsBuilder_ == null) { + ensureCurrentStepsIsMutable(); + currentSteps_.add(index, builderForValue.build()); + onChanged(); + } else { + currentStepsBuilder_.addMessage(index, builderForValue.build()); + } + return this; + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public Builder addAllCurrentSteps( + java.lang.Iterable values) { + if (currentStepsBuilder_ == null) { + ensureCurrentStepsIsMutable(); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, currentSteps_); + onChanged(); + } else { + currentStepsBuilder_.addAllMessages(values); + } + return this; + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public Builder clearCurrentSteps() { + if (currentStepsBuilder_ == null) { + currentSteps_ = java.util.Collections.emptyList(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + } else { + currentStepsBuilder_.clear(); + } + return this; + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public Builder removeCurrentSteps(int index) { + if (currentStepsBuilder_ == null) { + ensureCurrentStepsIsMutable(); + currentSteps_.remove(index); + onChanged(); + } else { + currentStepsBuilder_.remove(index); + } + return this; + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder getCurrentStepsBuilder( + int index) { + return getCurrentStepsFieldBuilder().getBuilder(index); + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder getCurrentStepsOrBuilder( + int index) { + if (currentStepsBuilder_ == null) { + return currentSteps_.get(index); } else { + return currentStepsBuilder_.getMessageOrBuilder(index); + } + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public java.util.List + getCurrentStepsOrBuilderList() { + if (currentStepsBuilder_ != null) { + return currentStepsBuilder_.getMessageOrBuilderList(); + } else { + return java.util.Collections.unmodifiableList(currentSteps_); + } + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder addCurrentStepsBuilder() { + return getCurrentStepsFieldBuilder().addBuilder( + com.google.cloud.workflows.executions.v1.Execution.Status.Step.getDefaultInstance()); + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder addCurrentStepsBuilder( + int index) { + return getCurrentStepsFieldBuilder().addBuilder( + index, com.google.cloud.workflows.executions.v1.Execution.Status.Step.getDefaultInstance()); + } + /** + *
+       * A list of currently executing or last executed step names for the
+       * workflow execution currently running. If the workflow has succeeded or
+       * failed, this is the last attempted or executed step. Presently, if the
+       * current step is inside a subworkflow, the list only includes that step.
+       * In the future, the list will contain items for each step in the call
+       * stack, starting with the outermost step in the `main` subworkflow, and
+       * ending with the most deeply nested step.
+       * 
+ * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + */ + public java.util.List + getCurrentStepsBuilderList() { + return getCurrentStepsFieldBuilder().getBuilderList(); + } + private com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.Status.Step, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder, com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder> + getCurrentStepsFieldBuilder() { + if (currentStepsBuilder_ == null) { + currentStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.Status.Step, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder, com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder>( + currentSteps_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); + currentSteps_ = null; + } + return currentStepsBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.Status) + } + + // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.Status) + private static final com.google.cloud.workflows.executions.v1.Execution.Status DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.Status(); + } + + public static com.google.cloud.workflows.executions.v1.Execution.Status getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Status parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Status getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public interface StateErrorOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.StateError) + com.google.protobuf.MessageOrBuilder { + + /** + *
+     * Provides specifics about the error.
+     * 
+ * + * string details = 1; + * @return The details. + */ + java.lang.String getDetails(); + /** + *
+     * Provides specifics about the error.
+     * 
+ * + * string details = 1; + * @return The bytes for details. + */ + com.google.protobuf.ByteString + getDetailsBytes(); + + /** + *
+     * The type of this state error.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * @return The enum numeric value on the wire for type. + */ + int getTypeValue(); + /** + *
+     * The type of this state error.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * @return The type. + */ + com.google.cloud.workflows.executions.v1.Execution.StateError.Type getType(); + } + /** + *
+   * Describes an error related to the current state of the Execution resource.
+   * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StateError} + */ + public static final class StateError extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.StateError) + StateErrorOrBuilder { + private static final long serialVersionUID = 0L; + // Use StateError.newBuilder() to construct. + private StateError(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private StateError() { + details_ = ""; + type_ = 0; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new StateError(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StateError_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StateError_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.StateError.class, com.google.cloud.workflows.executions.v1.Execution.StateError.Builder.class); + } + + /** + *
+     * Describes the possible types of a state error.
+     * 
+ * + * Protobuf enum {@code google.cloud.workflows.executions.v1.Execution.StateError.Type} + */ + public enum Type + implements com.google.protobuf.ProtocolMessageEnum { + /** + *
+       * No type specified.
+       * 
+ * + * TYPE_UNSPECIFIED = 0; + */ + TYPE_UNSPECIFIED(0), + /** + *
+       * Caused by an issue with KMS.
+       * 
+ * + * KMS_ERROR = 1; + */ + KMS_ERROR(1), + UNRECOGNIZED(-1), + ; + + /** + *
+       * No type specified.
+       * 
+ * + * TYPE_UNSPECIFIED = 0; + */ + public static final int TYPE_UNSPECIFIED_VALUE = 0; + /** + *
+       * Caused by an issue with KMS.
+       * 
+ * + * KMS_ERROR = 1; + */ + public static final int KMS_ERROR_VALUE = 1; + + + public final int getNumber() { + if (this == UNRECOGNIZED) { + throw new java.lang.IllegalArgumentException( + "Can't get the number of an unknown enum value."); + } + return value; + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + * @deprecated Use {@link #forNumber(int)} instead. + */ + @java.lang.Deprecated + public static Type valueOf(int value) { + return forNumber(value); + } + + /** + * @param value The numeric wire value of the corresponding enum entry. + * @return The enum associated with the given numeric wire value. + */ + public static Type forNumber(int value) { + switch (value) { + case 0: return TYPE_UNSPECIFIED; + case 1: return KMS_ERROR; + default: return null; + } + } + + 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() { + 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() { + return getDescriptor(); + } + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.Execution.StateError.getDescriptor().getEnumTypes().get(0); + } + + private static final Type[] VALUES = values(); + + 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."); + } + if (desc.getIndex() == -1) { + return UNRECOGNIZED; + } + return VALUES[desc.getIndex()]; + } + + private final int value; + + private Type(int value) { + this.value = value; + } + + // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1.Execution.StateError.Type) + } + + public static final int DETAILS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object details_ = ""; + /** + *
+     * Provides specifics about the error.
+     * 
+ * + * string details = 1; + * @return The details. + */ + @java.lang.Override + public java.lang.String getDetails() { + java.lang.Object ref = details_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + details_ = s; + return s; + } + } + /** + *
+     * Provides specifics about the error.
+     * 
+ * + * string details = 1; + * @return The bytes for details. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getDetailsBytes() { + java.lang.Object ref = details_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + details_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int TYPE_FIELD_NUMBER = 2; + private int type_ = 0; + /** + *
+     * The type of this state error.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override public int getTypeValue() { + return type_; + } + /** + *
+     * The type of this state error.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * @return The type. + */ + @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.StateError.Type getType() { + com.google.cloud.workflows.executions.v1.Execution.StateError.Type result = com.google.cloud.workflows.executions.v1.Execution.StateError.Type.forNumber(type_); + return result == null ? com.google.cloud.workflows.executions.v1.Execution.StateError.Type.UNRECOGNIZED : result; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, details_); + } + if (type_ != com.google.cloud.workflows.executions.v1.Execution.StateError.Type.TYPE_UNSPECIFIED.getNumber()) { + output.writeEnum(2, type_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, details_); + } + if (type_ != com.google.cloud.workflows.executions.v1.Execution.StateError.Type.TYPE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, type_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.workflows.executions.v1.Execution.StateError)) { + return super.equals(obj); + } + com.google.cloud.workflows.executions.v1.Execution.StateError other = (com.google.cloud.workflows.executions.v1.Execution.StateError) obj; + + if (!getDetails() + .equals(other.getDetails())) return false; + if (type_ != other.type_) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + DETAILS_FIELD_NUMBER; + hash = (53 * hash) + getDetails().hashCode(); + hash = (37 * hash) + TYPE_FIELD_NUMBER; + hash = (53 * hash) + type_; + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.StateError prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+     * Describes an error related to the current state of the Execution resource.
+     * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StateError} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.StateError) + com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StateError_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StateError_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.StateError.class, com.google.cloud.workflows.executions.v1.Execution.StateError.Builder.class); + } + + // Construct using com.google.cloud.workflows.executions.v1.Execution.StateError.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + details_ = ""; + type_ = 0; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StateError_descriptor; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StateError getDefaultInstanceForType() { + return com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StateError build() { + com.google.cloud.workflows.executions.v1.Execution.StateError result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StateError buildPartial() { + com.google.cloud.workflows.executions.v1.Execution.StateError result = new com.google.cloud.workflows.executions.v1.Execution.StateError(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.StateError result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.details_ = details_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.type_ = type_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.workflows.executions.v1.Execution.StateError) { + return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.StateError)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.StateError other) { + if (other == com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance()) return this; + if (!other.getDetails().isEmpty()) { + details_ = other.details_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.type_ != 0) { + setTypeValue(other.getTypeValue()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + details_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object details_ = ""; + /** + *
+       * Provides specifics about the error.
+       * 
+ * + * string details = 1; + * @return The details. + */ + public java.lang.String getDetails() { + java.lang.Object ref = details_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + details_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+       * Provides specifics about the error.
+       * 
+ * + * string details = 1; + * @return The bytes for details. + */ + public com.google.protobuf.ByteString + getDetailsBytes() { + java.lang.Object ref = details_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + details_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+       * Provides specifics about the error.
+       * 
+ * + * string details = 1; + * @param value The details to set. + * @return This builder for chaining. + */ + public Builder setDetails( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + details_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+       * Provides specifics about the error.
+       * 
+ * + * string details = 1; + * @return This builder for chaining. + */ + public Builder clearDetails() { + details_ = getDefaultInstance().getDetails(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+       * Provides specifics about the error.
+       * 
+ * + * string details = 1; + * @param value The bytes for details to set. + * @return This builder for chaining. + */ + public Builder setDetailsBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + details_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int type_ = 0; + /** + *
+       * The type of this state error.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * @return The enum numeric value on the wire for type. + */ + @java.lang.Override public int getTypeValue() { + return type_; + } + /** + *
+       * The type of this state error.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * @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; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+       * The type of this state error.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * @return The type. + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StateError.Type getType() { + com.google.cloud.workflows.executions.v1.Execution.StateError.Type result = com.google.cloud.workflows.executions.v1.Execution.StateError.Type.forNumber(type_); + return result == null ? com.google.cloud.workflows.executions.v1.Execution.StateError.Type.UNRECOGNIZED : result; + } + /** + *
+       * The type of this state error.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * @param value The type to set. + * @return This builder for chaining. + */ + public Builder setType(com.google.cloud.workflows.executions.v1.Execution.StateError.Type value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000002; + type_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+       * The type of this state error.
+       * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * @return This builder for chaining. + */ + public Builder clearType() { + bitField0_ = (bitField0_ & ~0x00000002); + type_ = 0; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.StateError) + } + + // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.StateError) + private static final com.google.cloud.workflows.executions.v1.Execution.StateError DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.StateError(); + } + + public static com.google.cloud.workflows.executions.v1.Execution.StateError getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StateError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StateError getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + + } + + public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object name_ = ""; + /** + *
+   * Output only. The resource name of the execution.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + @java.lang.Override + public java.lang.String getName() { + java.lang.Object ref = name_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } + } + /** + *
+   * Output only. The resource name of the execution.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + @java.lang.Override + 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); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int START_TIME_FIELD_NUMBER = 2; + private com.google.protobuf.Timestamp startTime_; + /** + *
+   * Output only. Marks the beginning of execution.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the startTime field is set. + */ + @java.lang.Override + public boolean hasStartTime() { + return startTime_ != null; + } + /** + *
+   * Output only. Marks the beginning of execution.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The startTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getStartTime() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + /** + *
+   * Output only. Marks the beginning of execution.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + + public static final int END_TIME_FIELD_NUMBER = 3; + private com.google.protobuf.Timestamp endTime_; + /** + *
+   * Output only. Marks the end of execution, successful or not.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the endTime field is set. + */ + @java.lang.Override + public boolean hasEndTime() { + return endTime_ != null; + } + /** + *
+   * Output only. Marks the end of execution, successful or not.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The endTime. + */ + @java.lang.Override + public com.google.protobuf.Timestamp getEndTime() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + /** + *
+   * Output only. Marks the end of execution, successful or not.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + + public static final int DURATION_FIELD_NUMBER = 12; + private com.google.protobuf.Duration duration_; + /** + *
+   * Output only. Measures the duration of the execution.
+   * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the duration field is set. + */ + @java.lang.Override + public boolean hasDuration() { + return duration_ != null; + } + /** + *
+   * Output only. Measures the duration of the execution.
+   * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The duration. + */ + @java.lang.Override + public com.google.protobuf.Duration getDuration() { + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + } + /** + *
+   * Output only. Measures the duration of the execution.
+   * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + } + + public static final int STATE_FIELD_NUMBER = 4; + private int state_ = 0; + /** + *
+   * Output only. Current state of the execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + *
+   * Output only. Current state of the execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The state. + */ + @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.State getState() { + com.google.cloud.workflows.executions.v1.Execution.State result = com.google.cloud.workflows.executions.v1.Execution.State.forNumber(state_); + return result == null ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED : result; + } + + public static final int ARGUMENT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object argument_ = ""; + /** + *
+   * Input parameters of the execution represented as a JSON string.
+   * The size limit is 32KB.
+   *
+   * *Note*: If you are using the REST API directly to run your workflow, you
+   * must escape any JSON string value of `argument`. Example:
+   * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
+   * 
+ * + * string argument = 5; + * @return The argument. + */ + @java.lang.Override + public java.lang.String getArgument() { + java.lang.Object ref = argument_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + argument_ = s; + return s; + } + } + /** + *
+   * Input parameters of the execution represented as a JSON string.
+   * The size limit is 32KB.
+   *
+   * *Note*: If you are using the REST API directly to run your workflow, you
+   * must escape any JSON string value of `argument`. Example:
+   * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
+   * 
+ * + * string argument = 5; + * @return The bytes for argument. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getArgumentBytes() { + java.lang.Object ref = argument_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + argument_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int RESULT_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object result_ = ""; + /** + *
+   * Output only. Output of the execution represented as a JSON string. The
+   * value can only be present if the execution's state is `SUCCEEDED`.
+   * 
+ * + * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The result. + */ + @java.lang.Override + public java.lang.String getResult() { + java.lang.Object ref = result_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + result_ = s; + return s; + } + } + /** + *
+   * Output only. Output of the execution represented as a JSON string. The
+   * value can only be present if the execution's state is `SUCCEEDED`.
+   * 
+ * + * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for result. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getResultBytes() { + java.lang.Object ref = result_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + result_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ERROR_FIELD_NUMBER = 7; + private com.google.cloud.workflows.executions.v1.Execution.Error error_; + /** + *
+   * Output only. The error which caused the execution to finish prematurely.
+   * The value is only present if the execution's state is `FAILED`
+   * or `CANCELLED`.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the error field is set. + */ + @java.lang.Override + public boolean hasError() { + return error_ != null; + } + /** + *
+   * Output only. The error which caused the execution to finish prematurely.
+   * The value is only present if the execution's state is `FAILED`
+   * or `CANCELLED`.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The error. + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Error getError() { + return error_ == null ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() : error_; + } + /** + *
+   * Output only. The error which caused the execution to finish prematurely.
+   * The value is only present if the execution's state is `FAILED`
+   * or `CANCELLED`.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErrorOrBuilder() { + return error_ == null ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() : error_; + } + + public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; + @SuppressWarnings("serial") + private volatile java.lang.Object workflowRevisionId_ = ""; + /** + *
+   * Output only. Revision of the workflow this execution is using.
+   * 
+ * + * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The workflowRevisionId. + */ + @java.lang.Override + public java.lang.String getWorkflowRevisionId() { + java.lang.Object ref = workflowRevisionId_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workflowRevisionId_ = s; + return s; + } + } + /** + *
+   * Output only. Revision of the workflow this execution is using.
+   * 
+ * + * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for workflowRevisionId. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getWorkflowRevisionIdBytes() { + java.lang.Object ref = workflowRevisionId_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workflowRevisionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int CALL_LOG_LEVEL_FIELD_NUMBER = 9; + private int callLogLevel_ = 0; + /** + *
+   * The call logging level associated to this execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * @return The enum numeric value on the wire for callLogLevel. + */ + @java.lang.Override public int getCallLogLevelValue() { + return callLogLevel_; + } + /** + *
+   * The call logging level associated to this execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * @return The callLogLevel. + */ + @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { + com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.forNumber(callLogLevel_); + return result == null ? com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.UNRECOGNIZED : result; + } + + public static final int STATUS_FIELD_NUMBER = 10; + private com.google.cloud.workflows.executions.v1.Execution.Status status_; + /** + *
+   * Output only. Status tracks the current steps and progress data of this
+   * execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the status field is set. + */ + @java.lang.Override + public boolean hasStatus() { + return status_ != null; + } + /** + *
+   * Output only. Status tracks the current steps and progress data of this
+   * execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The status. + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.Status getStatus() { + return status_ == null ? com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance() : status_; + } + /** + *
+   * Output only. Status tracks the current steps and progress data of this
+   * execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder getStatusOrBuilder() { + return status_ == null ? com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance() : status_; + } + + public static final int LABELS_FIELD_NUMBER = 11; + private static final class LabelsDefaultEntryHolder { + static final com.google.protobuf.MapEntry< + java.lang.String, java.lang.String> defaultEntry = + com.google.protobuf.MapEntry + .newDefaultInstance( + com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); + } + @SuppressWarnings("serial") + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + *
+   * Labels associated with this execution.
+   * Labels can contain at most 64 entries. Keys and values can be no longer
+   * than 63 characters and can only contain lowercase letters, numeric
+   * characters, underscores, and dashes. Label keys must start with a letter.
+   * International characters are allowed.
+   * By default, labels are inherited from the workflow but are overridden by
+   * any labels associated with the execution.
+   * 
+ * + * map<string, string> labels = 11; + */ + @java.lang.Override + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetLabels().getMap().containsKey(key); + } + /** + * Use {@link #getLabelsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + *
+   * Labels associated with this execution.
+   * Labels can contain at most 64 entries. Keys and values can be no longer
+   * than 63 characters and can only contain lowercase letters, numeric
+   * characters, underscores, and dashes. Label keys must start with a letter.
+   * International characters are allowed.
+   * By default, labels are inherited from the workflow but are overridden by
+   * any labels associated with the execution.
+   * 
+ * + * map<string, string> labels = 11; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + *
+   * Labels associated with this execution.
+   * Labels can contain at most 64 entries. Keys and values can be no longer
+   * than 63 characters and can only contain lowercase letters, numeric
+   * characters, underscores, and dashes. Label keys must start with a letter.
+   * International characters are allowed.
+   * By default, labels are inherited from the workflow but are overridden by
+   * any labels associated with the execution.
+   * 
+ * + * map<string, string> labels = 11; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+   * Labels associated with this execution.
+   * Labels can contain at most 64 entries. Keys and values can be no longer
+   * than 63 characters and can only contain lowercase letters, numeric
+   * characters, underscores, and dashes. Label keys must start with a letter.
+   * International characters are allowed.
+   * By default, labels are inherited from the workflow but are overridden by
+   * any labels associated with the execution.
+   * 
+ * + * map<string, string> labels = 11; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + + public static final int STATE_ERROR_FIELD_NUMBER = 13; + private com.google.cloud.workflows.executions.v1.Execution.StateError stateError_; + /** + *
+   * Output only. Error regarding the state of the Execution resource. For
+   * example, this field will have error details if the execution data is
+   * unavailable due to revoked KMS key permissions.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the stateError field is set. + */ + @java.lang.Override + public boolean hasStateError() { + return stateError_ != null; + } + /** + *
+   * Output only. Error regarding the state of the Execution resource. For
+   * example, this field will have error details if the execution data is
+   * unavailable due to revoked KMS key permissions.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The stateError. + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StateError getStateError() { + return stateError_ == null ? com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance() : stateError_; + } + /** + *
+   * Output only. Error regarding the state of the Execution resource. For
+   * example, this field will have error details if the execution data is
+   * unavailable due to revoked KMS key permissions.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder getStateErrorOrBuilder() { + return stateError_ == null ? com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance() : stateError_; + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); + } + if (startTime_ != null) { + output.writeMessage(2, getStartTime()); + } + if (endTime_ != null) { + output.writeMessage(3, getEndTime()); + } + if (state_ != com.google.cloud.workflows.executions.v1.Execution.State.STATE_UNSPECIFIED.getNumber()) { + output.writeEnum(4, state_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, argument_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, result_); + } + if (error_ != null) { + output.writeMessage(7, getError()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 8, workflowRevisionId_); + } + if (callLogLevel_ != com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.CALL_LOG_LEVEL_UNSPECIFIED.getNumber()) { + output.writeEnum(9, callLogLevel_); + } + if (status_ != null) { + output.writeMessage(10, getStatus()); + } + com.google.protobuf.GeneratedMessageV3 + .serializeStringMapTo( + output, + internalGetLabels(), + LabelsDefaultEntryHolder.defaultEntry, + 11); + if (duration_ != null) { + output.writeMessage(12, getDuration()); + } + if (stateError_ != null) { + output.writeMessage(13, getStateError()); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); + } + if (startTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); + } + if (endTime_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); + } + if (state_ != com.google.cloud.workflows.executions.v1.Execution.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, argument_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, result_); + } + if (error_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getError()); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, workflowRevisionId_); + } + if (callLogLevel_ != com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.CALL_LOG_LEVEL_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(9, callLogLevel_); + } + if (status_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(10, getStatus()); + } + for (java.util.Map.Entry entry + : internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry + labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(11, labels__); + } + if (duration_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(12, getDuration()); + } + if (stateError_ != null) { + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(13, getStateError()); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.workflows.executions.v1.Execution)) { + return super.equals(obj); + } + com.google.cloud.workflows.executions.v1.Execution other = (com.google.cloud.workflows.executions.v1.Execution) obj; + + if (!getName() + .equals(other.getName())) return false; + if (hasStartTime() != other.hasStartTime()) return false; + if (hasStartTime()) { + if (!getStartTime() + .equals(other.getStartTime())) return false; + } + if (hasEndTime() != other.hasEndTime()) return false; + if (hasEndTime()) { + if (!getEndTime() + .equals(other.getEndTime())) return false; + } + if (hasDuration() != other.hasDuration()) return false; + if (hasDuration()) { + if (!getDuration() + .equals(other.getDuration())) return false; + } + if (state_ != other.state_) return false; + if (!getArgument() + .equals(other.getArgument())) return false; + if (!getResult() + .equals(other.getResult())) return false; + if (hasError() != other.hasError()) return false; + if (hasError()) { + if (!getError() + .equals(other.getError())) return false; + } + if (!getWorkflowRevisionId() + .equals(other.getWorkflowRevisionId())) return false; + if (callLogLevel_ != other.callLogLevel_) return false; + if (hasStatus() != other.hasStatus()) return false; + if (hasStatus()) { + if (!getStatus() + .equals(other.getStatus())) return false; + } + if (!internalGetLabels().equals( + other.internalGetLabels())) return false; + if (hasStateError() != other.hasStateError()) return false; + if (hasStateError()) { + if (!getStateError() + .equals(other.getStateError())) return false; + } + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + NAME_FIELD_NUMBER; + hash = (53 * hash) + getName().hashCode(); + if (hasStartTime()) { + hash = (37 * hash) + START_TIME_FIELD_NUMBER; + hash = (53 * hash) + getStartTime().hashCode(); + } + if (hasEndTime()) { + hash = (37 * hash) + END_TIME_FIELD_NUMBER; + hash = (53 * hash) + getEndTime().hashCode(); + } + if (hasDuration()) { + hash = (37 * hash) + DURATION_FIELD_NUMBER; + hash = (53 * hash) + getDuration().hashCode(); + } + hash = (37 * hash) + STATE_FIELD_NUMBER; + hash = (53 * hash) + state_; + hash = (37 * hash) + ARGUMENT_FIELD_NUMBER; + hash = (53 * hash) + getArgument().hashCode(); + hash = (37 * hash) + RESULT_FIELD_NUMBER; + hash = (53 * hash) + getResult().hashCode(); + if (hasError()) { + hash = (37 * hash) + ERROR_FIELD_NUMBER; + hash = (53 * hash) + getError().hashCode(); + } + hash = (37 * hash) + WORKFLOW_REVISION_ID_FIELD_NUMBER; + hash = (53 * hash) + getWorkflowRevisionId().hashCode(); + hash = (37 * hash) + CALL_LOG_LEVEL_FIELD_NUMBER; + hash = (53 * hash) + callLogLevel_; + if (hasStatus()) { + hash = (37 * hash) + STATUS_FIELD_NUMBER; + hash = (53 * hash) + getStatus().hashCode(); + } + if (!internalGetLabels().getMap().isEmpty()) { + hash = (37 * hash) + LABELS_FIELD_NUMBER; + hash = (53 * hash) + internalGetLabels().hashCode(); + } + if (hasStateError()) { + hash = (37 * hash) + STATE_ERROR_FIELD_NUMBER; + hash = (53 * hash) + getStateError().hashCode(); + } + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.workflows.executions.v1.Execution parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.workflows.executions.v1.Execution parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * A running instance of a
+   * [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
+   * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.Execution} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution) + com.google.cloud.workflows.executions.v1.ExecutionOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_descriptor; + } + + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMapField( + int number) { + switch (number) { + case 11: + return internalGetLabels(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @SuppressWarnings({"rawtypes"}) + protected com.google.protobuf.MapField internalGetMutableMapField( + int number) { + switch (number) { + case 11: + return internalGetMutableLabels(); + default: + throw new RuntimeException( + "Invalid map field number: " + number); + } + } + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.Execution.class, com.google.cloud.workflows.executions.v1.Execution.Builder.class); + } + + // Construct using com.google.cloud.workflows.executions.v1.Execution.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + name_ = ""; + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + duration_ = null; + if (durationBuilder_ != null) { + durationBuilder_.dispose(); + durationBuilder_ = null; + } + state_ = 0; + argument_ = ""; + result_ = ""; + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + workflowRevisionId_ = ""; + callLogLevel_ = 0; + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + internalGetMutableLabels().clear(); + stateError_ = null; + if (stateErrorBuilder_ != null) { + stateErrorBuilder_.dispose(); + stateErrorBuilder_ = null; + } + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_descriptor; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution getDefaultInstanceForType() { + return com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution build() { + com.google.cloud.workflows.executions.v1.Execution result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution buildPartial() { + com.google.cloud.workflows.executions.v1.Execution result = new com.google.cloud.workflows.executions.v1.Execution(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.name_ = name_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.duration_ = durationBuilder_ == null + ? duration_ + : durationBuilder_.build(); + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.state_ = state_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.argument_ = argument_; + } + if (((from_bitField0_ & 0x00000040) != 0)) { + result.result_ = result_; + } + if (((from_bitField0_ & 0x00000080) != 0)) { + result.error_ = errorBuilder_ == null + ? error_ + : errorBuilder_.build(); + } + if (((from_bitField0_ & 0x00000100) != 0)) { + result.workflowRevisionId_ = workflowRevisionId_; + } + if (((from_bitField0_ & 0x00000200) != 0)) { + result.callLogLevel_ = callLogLevel_; + } + if (((from_bitField0_ & 0x00000400) != 0)) { + result.status_ = statusBuilder_ == null + ? status_ + : statusBuilder_.build(); + } + if (((from_bitField0_ & 0x00000800) != 0)) { + result.labels_ = internalGetLabels(); + result.labels_.makeImmutable(); + } + if (((from_bitField0_ & 0x00001000) != 0)) { + result.stateError_ = stateErrorBuilder_ == null + ? stateError_ + : stateErrorBuilder_.build(); + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.workflows.executions.v1.Execution) { + return mergeFrom((com.google.cloud.workflows.executions.v1.Execution)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution other) { + if (other == com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()) return this; + if (!other.getName().isEmpty()) { + name_ = other.name_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.hasStartTime()) { + mergeStartTime(other.getStartTime()); + } + if (other.hasEndTime()) { + mergeEndTime(other.getEndTime()); + } + if (other.hasDuration()) { + mergeDuration(other.getDuration()); + } + if (other.state_ != 0) { + setStateValue(other.getStateValue()); + } + if (!other.getArgument().isEmpty()) { + argument_ = other.argument_; + bitField0_ |= 0x00000020; + onChanged(); + } + if (!other.getResult().isEmpty()) { + result_ = other.result_; + bitField0_ |= 0x00000040; + onChanged(); + } + if (other.hasError()) { + mergeError(other.getError()); + } + if (!other.getWorkflowRevisionId().isEmpty()) { + workflowRevisionId_ = other.workflowRevisionId_; + bitField0_ |= 0x00000100; + onChanged(); + } + if (other.callLogLevel_ != 0) { + setCallLogLevelValue(other.getCallLogLevelValue()); + } + if (other.hasStatus()) { + mergeStatus(other.getStatus()); + } + internalGetMutableLabels().mergeFrom( + other.internalGetLabels()); + bitField0_ |= 0x00000800; + if (other.hasStateError()) { + mergeStateError(other.getStateError()); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + state_ = input.readEnum(); + bitField0_ |= 0x00000010; + break; + } // case 32 + case 42: { + argument_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 42 + case 50: { + result_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 50 + case 58: { + input.readMessage( + getErrorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000080; + break; + } // case 58 + case 66: { + workflowRevisionId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 66 + case 72: { + callLogLevel_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 72 + case 82: { + input.readMessage( + getStatusFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000400; + break; + } // case 82 + case 90: { + com.google.protobuf.MapEntry + labels__ = input.readMessage( + LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry); + internalGetMutableLabels().getMutableMap().put( + labels__.getKey(), labels__.getValue()); + bitField0_ |= 0x00000800; + break; + } // case 90 + case 98: { + input.readMessage( + getDurationFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000008; + break; + } // case 98 + case 106: { + input.readMessage( + getStateErrorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00001000; + break; + } // case 106 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object name_ = ""; + /** + *
+     * Output only. The resource name of the execution.
+     * Format:
+     * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + public java.lang.String getName() { + java.lang.Object ref = name_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + name_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. The resource name of the execution.
+     * Format:
+     * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + 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); + name_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. The resource name of the execution.
+     * Format:
+     * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The name to set. + * @return This builder for chaining. + */ + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Output only. The resource name of the execution.
+     * Format:
+     * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearName() { + name_ = getDefaultInstance().getName(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Output only. The resource name of the execution.
+     * Format:
+     * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+     * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for name to set. + * @return This builder for chaining. + */ + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + name_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private com.google.protobuf.Timestamp startTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + /** + *
+     * Output only. Marks the beginning of execution.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the startTime field is set. + */ + public boolean hasStartTime() { + return ((bitField0_ & 0x00000002) != 0); + } + /** + *
+     * Output only. Marks the beginning of execution.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The startTime. + */ + public com.google.protobuf.Timestamp getStartTime() { + if (startTimeBuilder_ == null) { + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } else { + return startTimeBuilder_.getMessage(); + } + } + /** + *
+     * Output only. Marks the beginning of execution.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + startTime_ = value; + } else { + startTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Output only. Marks the beginning of execution.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (startTimeBuilder_ == null) { + startTime_ = builderForValue.build(); + } else { + startTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Output only. Marks the beginning of execution.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeStartTime(com.google.protobuf.Timestamp value) { + if (startTimeBuilder_ == null) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getStartTimeBuilder().mergeFrom(value); + } else { + startTime_ = value; + } + } else { + startTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Output only. Marks the beginning of execution.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearStartTime() { + bitField0_ = (bitField0_ & ~0x00000002); + startTime_ = null; + if (startTimeBuilder_ != null) { + startTimeBuilder_.dispose(); + startTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. Marks the beginning of execution.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { + bitField0_ |= 0x00000002; + onChanged(); + return getStartTimeFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. Marks the beginning of execution.
+     * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { + if (startTimeBuilder_ != null) { + return startTimeBuilder_.getMessageOrBuilder(); + } else { + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + } + } + /** + *
+     * Output only. Marks the beginning of execution.
+     * 
+ * + * .google.protobuf.Timestamp start_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> + getStartTimeFieldBuilder() { + if (startTimeBuilder_ == null) { + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); + startTime_ = null; + } + return startTimeBuilder_; + } + + private com.google.protobuf.Timestamp endTime_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + /** + *
+     * Output only. Marks the end of execution, successful or not.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the endTime field is set. + */ + public boolean hasEndTime() { + return ((bitField0_ & 0x00000004) != 0); + } + /** + *
+     * Output only. Marks the end of execution, successful or not.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The endTime. + */ + public com.google.protobuf.Timestamp getEndTime() { + if (endTimeBuilder_ == null) { + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } else { + return endTimeBuilder_.getMessage(); + } + } + /** + *
+     * Output only. Marks the end of execution, successful or not.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + endTime_ = value; + } else { + endTimeBuilder_.setMessage(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Output only. Marks the end of execution, successful or not.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { + if (endTimeBuilder_ == null) { + endTime_ = builderForValue.build(); + } else { + endTimeBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Output only. Marks the end of execution, successful or not.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeEndTime(com.google.protobuf.Timestamp value) { + if (endTimeBuilder_ == null) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + getEndTimeBuilder().mergeFrom(value); + } else { + endTime_ = value; + } + } else { + endTimeBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * Output only. Marks the end of execution, successful or not.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearEndTime() { + bitField0_ = (bitField0_ & ~0x00000004); + endTime_ = null; + if (endTimeBuilder_ != null) { + endTimeBuilder_.dispose(); + endTimeBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. Marks the end of execution, successful or not.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { + bitField0_ |= 0x00000004; + onChanged(); + return getEndTimeFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. Marks the end of execution, successful or not.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { + if (endTimeBuilder_ != null) { + return endTimeBuilder_.getMessageOrBuilder(); + } else { + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + } + } + /** + *
+     * Output only. Marks the end of execution, successful or not.
+     * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> + getEndTimeFieldBuilder() { + if (endTimeBuilder_ == null) { + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); + endTime_ = null; + } + return endTimeBuilder_; + } + + private com.google.protobuf.Duration duration_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + /** + *
+     * Output only. Measures the duration of the execution.
+     * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the duration field is set. + */ + public boolean hasDuration() { + return ((bitField0_ & 0x00000008) != 0); + } + /** + *
+     * Output only. Measures the duration of the execution.
+     * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The duration. + */ + public com.google.protobuf.Duration getDuration() { + if (durationBuilder_ == null) { + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; + } else { + return durationBuilder_.getMessage(); + } + } + /** + *
+     * Output only. Measures the duration of the execution.
+     * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setDuration(com.google.protobuf.Duration value) { + if (durationBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + duration_ = value; + } else { + durationBuilder_.setMessage(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Output only. Measures the duration of the execution.
+     * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setDuration( + com.google.protobuf.Duration.Builder builderForValue) { + if (durationBuilder_ == null) { + duration_ = builderForValue.build(); + } else { + durationBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Output only. Measures the duration of the execution.
+     * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeDuration(com.google.protobuf.Duration value) { + if (durationBuilder_ == null) { + if (((bitField0_ & 0x00000008) != 0) && + duration_ != null && + duration_ != com.google.protobuf.Duration.getDefaultInstance()) { + getDurationBuilder().mergeFrom(value); + } else { + duration_ = value; + } + } else { + durationBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Output only. Measures the duration of the execution.
+     * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearDuration() { + bitField0_ = (bitField0_ & ~0x00000008); + duration_ = null; + if (durationBuilder_ != null) { + durationBuilder_.dispose(); + durationBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. Measures the duration of the execution.
+     * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.Duration.Builder getDurationBuilder() { + bitField0_ |= 0x00000008; + onChanged(); + return getDurationFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. Measures the duration of the execution.
+     * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { + if (durationBuilder_ != null) { + return durationBuilder_.getMessageOrBuilder(); + } else { + return duration_ == null ? + com.google.protobuf.Duration.getDefaultInstance() : duration_; + } + } + /** + *
+     * Output only. Measures the duration of the execution.
+     * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> + getDurationFieldBuilder() { + if (durationBuilder_ == null) { + durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( + getDuration(), + getParentForChildren(), + isClean()); + duration_ = null; + } + return durationBuilder_; + } + + private int state_ = 0; + /** + *
+     * Output only. Current state of the execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for state. + */ + @java.lang.Override public int getStateValue() { + return state_; + } + /** + *
+     * Output only. Current state of the execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @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; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Output only. Current state of the execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The state. + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.State getState() { + com.google.cloud.workflows.executions.v1.Execution.State result = com.google.cloud.workflows.executions.v1.Execution.State.forNumber(state_); + return result == null ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED : result; + } + /** + *
+     * Output only. Current state of the execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The state to set. + * @return This builder for chaining. + */ + public Builder setState(com.google.cloud.workflows.executions.v1.Execution.State value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000010; + state_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Output only. Current state of the execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearState() { + bitField0_ = (bitField0_ & ~0x00000010); + state_ = 0; + onChanged(); + return this; + } + + private java.lang.Object argument_ = ""; + /** + *
+     * Input parameters of the execution represented as a JSON string.
+     * The size limit is 32KB.
+     *
+     * *Note*: If you are using the REST API directly to run your workflow, you
+     * must escape any JSON string value of `argument`. Example:
+     * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
+     * 
+ * + * string argument = 5; + * @return The argument. + */ + public java.lang.String getArgument() { + java.lang.Object ref = argument_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + argument_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Input parameters of the execution represented as a JSON string.
+     * The size limit is 32KB.
+     *
+     * *Note*: If you are using the REST API directly to run your workflow, you
+     * must escape any JSON string value of `argument`. Example:
+     * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
+     * 
+ * + * string argument = 5; + * @return The bytes for argument. + */ + public com.google.protobuf.ByteString + getArgumentBytes() { + java.lang.Object ref = argument_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + argument_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Input parameters of the execution represented as a JSON string.
+     * The size limit is 32KB.
+     *
+     * *Note*: If you are using the REST API directly to run your workflow, you
+     * must escape any JSON string value of `argument`. Example:
+     * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
+     * 
+ * + * string argument = 5; + * @param value The argument to set. + * @return This builder for chaining. + */ + public Builder setArgument( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + argument_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Input parameters of the execution represented as a JSON string.
+     * The size limit is 32KB.
+     *
+     * *Note*: If you are using the REST API directly to run your workflow, you
+     * must escape any JSON string value of `argument`. Example:
+     * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
+     * 
+ * + * string argument = 5; + * @return This builder for chaining. + */ + public Builder clearArgument() { + argument_ = getDefaultInstance().getArgument(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + *
+     * Input parameters of the execution represented as a JSON string.
+     * The size limit is 32KB.
+     *
+     * *Note*: If you are using the REST API directly to run your workflow, you
+     * must escape any JSON string value of `argument`. Example:
+     * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
+     * 
+ * + * string argument = 5; + * @param value The bytes for argument to set. + * @return This builder for chaining. + */ + public Builder setArgumentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + argument_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + + private java.lang.Object result_ = ""; + /** + *
+     * Output only. Output of the execution represented as a JSON string. The
+     * value can only be present if the execution's state is `SUCCEEDED`.
+     * 
+ * + * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The result. + */ + public java.lang.String getResult() { + java.lang.Object ref = result_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + result_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. Output of the execution represented as a JSON string. The
+     * value can only be present if the execution's state is `SUCCEEDED`.
+     * 
+ * + * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for result. + */ + public com.google.protobuf.ByteString + getResultBytes() { + java.lang.Object ref = result_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + result_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. Output of the execution represented as a JSON string. The
+     * value can only be present if the execution's state is `SUCCEEDED`.
+     * 
+ * + * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The result to set. + * @return This builder for chaining. + */ + public Builder setResult( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + result_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + /** + *
+     * Output only. Output of the execution represented as a JSON string. The
+     * value can only be present if the execution's state is `SUCCEEDED`.
+     * 
+ * + * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearResult() { + result_ = getDefaultInstance().getResult(); + bitField0_ = (bitField0_ & ~0x00000040); + onChanged(); + return this; + } + /** + *
+     * Output only. Output of the execution represented as a JSON string. The
+     * value can only be present if the execution's state is `SUCCEEDED`.
+     * 
+ * + * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for result to set. + * @return This builder for chaining. + */ + public Builder setResultBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + result_ = value; + bitField0_ |= 0x00000040; + onChanged(); + return this; + } + + private com.google.cloud.workflows.executions.v1.Execution.Error error_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.Error, com.google.cloud.workflows.executions.v1.Execution.Error.Builder, com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder> errorBuilder_; + /** + *
+     * Output only. The error which caused the execution to finish prematurely.
+     * The value is only present if the execution's state is `FAILED`
+     * or `CANCELLED`.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the error field is set. + */ + public boolean hasError() { + return ((bitField0_ & 0x00000080) != 0); + } + /** + *
+     * Output only. The error which caused the execution to finish prematurely.
+     * The value is only present if the execution's state is `FAILED`
+     * or `CANCELLED`.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The error. + */ + public com.google.cloud.workflows.executions.v1.Execution.Error getError() { + if (errorBuilder_ == null) { + return error_ == null ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() : error_; + } else { + return errorBuilder_.getMessage(); + } + } + /** + *
+     * Output only. The error which caused the execution to finish prematurely.
+     * The value is only present if the execution's state is `FAILED`
+     * or `CANCELLED`.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setError(com.google.cloud.workflows.executions.v1.Execution.Error value) { + if (errorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + error_ = value; + } else { + errorBuilder_.setMessage(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     * Output only. The error which caused the execution to finish prematurely.
+     * The value is only present if the execution's state is `FAILED`
+     * or `CANCELLED`.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setError( + com.google.cloud.workflows.executions.v1.Execution.Error.Builder builderForValue) { + if (errorBuilder_ == null) { + error_ = builderForValue.build(); + } else { + errorBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     * Output only. The error which caused the execution to finish prematurely.
+     * The value is only present if the execution's state is `FAILED`
+     * or `CANCELLED`.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeError(com.google.cloud.workflows.executions.v1.Execution.Error value) { + if (errorBuilder_ == null) { + if (((bitField0_ & 0x00000080) != 0) && + error_ != null && + error_ != com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance()) { + getErrorBuilder().mergeFrom(value); + } else { + error_ = value; + } + } else { + errorBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000080; + onChanged(); + return this; + } + /** + *
+     * Output only. The error which caused the execution to finish prematurely.
+     * The value is only present if the execution's state is `FAILED`
+     * or `CANCELLED`.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearError() { + bitField0_ = (bitField0_ & ~0x00000080); + error_ = null; + if (errorBuilder_ != null) { + errorBuilder_.dispose(); + errorBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. The error which caused the execution to finish prematurely.
+     * The value is only present if the execution's state is `FAILED`
+     * or `CANCELLED`.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.workflows.executions.v1.Execution.Error.Builder getErrorBuilder() { + bitField0_ |= 0x00000080; + onChanged(); + return getErrorFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. The error which caused the execution to finish prematurely.
+     * The value is only present if the execution's state is `FAILED`
+     * or `CANCELLED`.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErrorOrBuilder() { + if (errorBuilder_ != null) { + return errorBuilder_.getMessageOrBuilder(); + } else { + return error_ == null ? + com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() : error_; + } + } + /** + *
+     * Output only. The error which caused the execution to finish prematurely.
+     * The value is only present if the execution's state is `FAILED`
+     * or `CANCELLED`.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.Error, com.google.cloud.workflows.executions.v1.Execution.Error.Builder, com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder> + getErrorFieldBuilder() { + if (errorBuilder_ == null) { + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.Error, com.google.cloud.workflows.executions.v1.Execution.Error.Builder, com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder>( + getError(), + getParentForChildren(), + isClean()); + error_ = null; + } + return errorBuilder_; + } + + private java.lang.Object workflowRevisionId_ = ""; + /** + *
+     * Output only. Revision of the workflow this execution is using.
+     * 
+ * + * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The workflowRevisionId. + */ + public java.lang.String getWorkflowRevisionId() { + java.lang.Object ref = workflowRevisionId_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + workflowRevisionId_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Output only. Revision of the workflow this execution is using.
+     * 
+ * + * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for workflowRevisionId. + */ + public com.google.protobuf.ByteString + getWorkflowRevisionIdBytes() { + java.lang.Object ref = workflowRevisionId_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + workflowRevisionId_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Output only. Revision of the workflow this execution is using.
+     * 
+ * + * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The workflowRevisionId to set. + * @return This builder for chaining. + */ + public Builder setWorkflowRevisionId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + workflowRevisionId_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + /** + *
+     * Output only. Revision of the workflow this execution is using.
+     * 
+ * + * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return This builder for chaining. + */ + public Builder clearWorkflowRevisionId() { + workflowRevisionId_ = getDefaultInstance().getWorkflowRevisionId(); + bitField0_ = (bitField0_ & ~0x00000100); + onChanged(); + return this; + } + /** + *
+     * Output only. Revision of the workflow this execution is using.
+     * 
+ * + * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param value The bytes for workflowRevisionId to set. + * @return This builder for chaining. + */ + public Builder setWorkflowRevisionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; + bitField0_ |= 0x00000100; + onChanged(); + return this; + } + + private int callLogLevel_ = 0; + /** + *
+     * The call logging level associated to this execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * @return The enum numeric value on the wire for callLogLevel. + */ + @java.lang.Override public int getCallLogLevelValue() { + return callLogLevel_; + } + /** + *
+     * The call logging level associated to this execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * @param value The enum numeric value on the wire for callLogLevel to set. + * @return This builder for chaining. + */ + public Builder setCallLogLevelValue(int value) { + callLogLevel_ = value; + bitField0_ |= 0x00000200; + onChanged(); + return this; + } + /** + *
+     * The call logging level associated to this execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * @return The callLogLevel. + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { + com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.forNumber(callLogLevel_); + return result == null ? com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.UNRECOGNIZED : result; + } + /** + *
+     * The call logging level associated to this execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * @param value The callLogLevel to set. + * @return This builder for chaining. + */ + public Builder setCallLogLevel(com.google.cloud.workflows.executions.v1.Execution.CallLogLevel value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000200; + callLogLevel_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * The call logging level associated to this execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * @return This builder for chaining. + */ + public Builder clearCallLogLevel() { + bitField0_ = (bitField0_ & ~0x00000200); + callLogLevel_ = 0; + onChanged(); + return this; + } + + private com.google.cloud.workflows.executions.v1.Execution.Status status_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.Status, com.google.cloud.workflows.executions.v1.Execution.Status.Builder, com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder> statusBuilder_; + /** + *
+     * Output only. Status tracks the current steps and progress data of this
+     * execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the status field is set. + */ + public boolean hasStatus() { + return ((bitField0_ & 0x00000400) != 0); + } + /** + *
+     * Output only. Status tracks the current steps and progress data of this
+     * execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The status. + */ + public com.google.cloud.workflows.executions.v1.Execution.Status getStatus() { + if (statusBuilder_ == null) { + return status_ == null ? com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance() : status_; + } else { + return statusBuilder_.getMessage(); + } + } + /** + *
+     * Output only. Status tracks the current steps and progress data of this
+     * execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setStatus(com.google.cloud.workflows.executions.v1.Execution.Status value) { + if (statusBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + status_ = value; + } else { + statusBuilder_.setMessage(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + *
+     * Output only. Status tracks the current steps and progress data of this
+     * execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setStatus( + com.google.cloud.workflows.executions.v1.Execution.Status.Builder builderForValue) { + if (statusBuilder_ == null) { + status_ = builderForValue.build(); + } else { + statusBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + *
+     * Output only. Status tracks the current steps and progress data of this
+     * execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeStatus(com.google.cloud.workflows.executions.v1.Execution.Status value) { + if (statusBuilder_ == null) { + if (((bitField0_ & 0x00000400) != 0) && + status_ != null && + status_ != com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance()) { + getStatusBuilder().mergeFrom(value); + } else { + status_ = value; + } + } else { + statusBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00000400; + onChanged(); + return this; + } + /** + *
+     * Output only. Status tracks the current steps and progress data of this
+     * execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearStatus() { + bitField0_ = (bitField0_ & ~0x00000400); + status_ = null; + if (statusBuilder_ != null) { + statusBuilder_.dispose(); + statusBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. Status tracks the current steps and progress data of this
+     * execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.workflows.executions.v1.Execution.Status.Builder getStatusBuilder() { + bitField0_ |= 0x00000400; + onChanged(); + return getStatusFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. Status tracks the current steps and progress data of this
+     * execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder getStatusOrBuilder() { + if (statusBuilder_ != null) { + return statusBuilder_.getMessageOrBuilder(); + } else { + return status_ == null ? + com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance() : status_; + } + } + /** + *
+     * Output only. Status tracks the current steps and progress data of this
+     * execution.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.Status, com.google.cloud.workflows.executions.v1.Execution.Status.Builder, com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder> + getStatusFieldBuilder() { + if (statusBuilder_ == null) { + statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.Status, com.google.cloud.workflows.executions.v1.Execution.Status.Builder, com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder>( + getStatus(), + getParentForChildren(), + isClean()); + status_ = null; + } + return statusBuilder_; + } + + private com.google.protobuf.MapField< + java.lang.String, java.lang.String> labels_; + private com.google.protobuf.MapField + internalGetLabels() { + if (labels_ == null) { + return com.google.protobuf.MapField.emptyMapField( + LabelsDefaultEntryHolder.defaultEntry); + } + return labels_; + } + private com.google.protobuf.MapField + internalGetMutableLabels() { + if (labels_ == null) { + labels_ = com.google.protobuf.MapField.newMapField( + LabelsDefaultEntryHolder.defaultEntry); + } + if (!labels_.isMutable()) { + labels_ = labels_.copy(); + } + bitField0_ |= 0x00000800; + onChanged(); + return labels_; + } + public int getLabelsCount() { + return internalGetLabels().getMap().size(); + } + /** + *
+     * Labels associated with this execution.
+     * Labels can contain at most 64 entries. Keys and values can be no longer
+     * than 63 characters and can only contain lowercase letters, numeric
+     * characters, underscores, and dashes. Label keys must start with a letter.
+     * International characters are allowed.
+     * By default, labels are inherited from the workflow but are overridden by
+     * any labels associated with the execution.
+     * 
+ * + * map<string, string> labels = 11; + */ + @java.lang.Override + public boolean containsLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + return internalGetLabels().getMap().containsKey(key); + } + /** + * Use {@link #getLabelsMap()} instead. + */ + @java.lang.Override + @java.lang.Deprecated + public java.util.Map getLabels() { + return getLabelsMap(); + } + /** + *
+     * Labels associated with this execution.
+     * Labels can contain at most 64 entries. Keys and values can be no longer
+     * than 63 characters and can only contain lowercase letters, numeric
+     * characters, underscores, and dashes. Label keys must start with a letter.
+     * International characters are allowed.
+     * By default, labels are inherited from the workflow but are overridden by
+     * any labels associated with the execution.
+     * 
+ * + * map<string, string> labels = 11; + */ + @java.lang.Override + public java.util.Map getLabelsMap() { + return internalGetLabels().getMap(); + } + /** + *
+     * Labels associated with this execution.
+     * Labels can contain at most 64 entries. Keys and values can be no longer
+     * than 63 characters and can only contain lowercase letters, numeric
+     * characters, underscores, and dashes. Label keys must start with a letter.
+     * International characters are allowed.
+     * By default, labels are inherited from the workflow but are overridden by
+     * any labels associated with the execution.
+     * 
+ * + * map<string, string> labels = 11; + */ + @java.lang.Override + public /* nullable */ +java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); + return map.containsKey(key) ? map.get(key) : defaultValue; + } + /** + *
+     * Labels associated with this execution.
+     * Labels can contain at most 64 entries. Keys and values can be no longer
+     * than 63 characters and can only contain lowercase letters, numeric
+     * characters, underscores, and dashes. Label keys must start with a letter.
+     * International characters are allowed.
+     * By default, labels are inherited from the workflow but are overridden by
+     * any labels associated with the execution.
+     * 
+ * + * map<string, string> labels = 11; + */ + @java.lang.Override + public java.lang.String getLabelsOrThrow( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + java.util.Map map = + internalGetLabels().getMap(); + if (!map.containsKey(key)) { + throw new java.lang.IllegalArgumentException(); + } + return map.get(key); + } + public Builder clearLabels() { + bitField0_ = (bitField0_ & ~0x00000800); + internalGetMutableLabels().getMutableMap() + .clear(); + return this; + } + /** + *
+     * Labels associated with this execution.
+     * Labels can contain at most 64 entries. Keys and values can be no longer
+     * than 63 characters and can only contain lowercase letters, numeric
+     * characters, underscores, and dashes. Label keys must start with a letter.
+     * International characters are allowed.
+     * By default, labels are inherited from the workflow but are overridden by
+     * any labels associated with the execution.
+     * 
+ * + * map<string, string> labels = 11; + */ + public Builder removeLabels( + java.lang.String key) { + if (key == null) { throw new NullPointerException("map key"); } + internalGetMutableLabels().getMutableMap() + .remove(key); + return this; + } + /** + * Use alternate mutation accessors instead. + */ + @java.lang.Deprecated + public java.util.Map + getMutableLabels() { + bitField0_ |= 0x00000800; + return internalGetMutableLabels().getMutableMap(); + } + /** + *
+     * Labels associated with this execution.
+     * Labels can contain at most 64 entries. Keys and values can be no longer
+     * than 63 characters and can only contain lowercase letters, numeric
+     * characters, underscores, and dashes. Label keys must start with a letter.
+     * International characters are allowed.
+     * By default, labels are inherited from the workflow but are overridden by
+     * any labels associated with the execution.
+     * 
+ * + * map<string, string> labels = 11; + */ + public Builder putLabels( + java.lang.String key, + java.lang.String value) { + if (key == null) { throw new NullPointerException("map key"); } + if (value == null) { throw new NullPointerException("map value"); } + internalGetMutableLabels().getMutableMap() + .put(key, value); + bitField0_ |= 0x00000800; + return this; + } + /** + *
+     * Labels associated with this execution.
+     * Labels can contain at most 64 entries. Keys and values can be no longer
+     * than 63 characters and can only contain lowercase letters, numeric
+     * characters, underscores, and dashes. Label keys must start with a letter.
+     * International characters are allowed.
+     * By default, labels are inherited from the workflow but are overridden by
+     * any labels associated with the execution.
+     * 
+ * + * map<string, string> labels = 11; + */ + public Builder putAllLabels( + java.util.Map values) { + internalGetMutableLabels().getMutableMap() + .putAll(values); + bitField0_ |= 0x00000800; + return this; + } + + private com.google.cloud.workflows.executions.v1.Execution.StateError stateError_; + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StateError, com.google.cloud.workflows.executions.v1.Execution.StateError.Builder, com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder> stateErrorBuilder_; + /** + *
+     * Output only. Error regarding the state of the Execution resource. For
+     * example, this field will have error details if the execution data is
+     * unavailable due to revoked KMS key permissions.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the stateError field is set. + */ + public boolean hasStateError() { + return ((bitField0_ & 0x00001000) != 0); + } + /** + *
+     * Output only. Error regarding the state of the Execution resource. For
+     * example, this field will have error details if the execution data is
+     * unavailable due to revoked KMS key permissions.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The stateError. + */ + public com.google.cloud.workflows.executions.v1.Execution.StateError getStateError() { + if (stateErrorBuilder_ == null) { + return stateError_ == null ? com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance() : stateError_; + } else { + return stateErrorBuilder_.getMessage(); + } + } + /** + *
+     * Output only. Error regarding the state of the Execution resource. For
+     * example, this field will have error details if the execution data is
+     * unavailable due to revoked KMS key permissions.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setStateError(com.google.cloud.workflows.executions.v1.Execution.StateError value) { + if (stateErrorBuilder_ == null) { + if (value == null) { + throw new NullPointerException(); + } + stateError_ = value; + } else { + stateErrorBuilder_.setMessage(value); + } + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + *
+     * Output only. Error regarding the state of the Execution resource. For
+     * example, this field will have error details if the execution data is
+     * unavailable due to revoked KMS key permissions.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder setStateError( + com.google.cloud.workflows.executions.v1.Execution.StateError.Builder builderForValue) { + if (stateErrorBuilder_ == null) { + stateError_ = builderForValue.build(); + } else { + stateErrorBuilder_.setMessage(builderForValue.build()); + } + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + *
+     * Output only. Error regarding the state of the Execution resource. For
+     * example, this field will have error details if the execution data is
+     * unavailable due to revoked KMS key permissions.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder mergeStateError(com.google.cloud.workflows.executions.v1.Execution.StateError value) { + if (stateErrorBuilder_ == null) { + if (((bitField0_ & 0x00001000) != 0) && + stateError_ != null && + stateError_ != com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance()) { + getStateErrorBuilder().mergeFrom(value); + } else { + stateError_ = value; + } + } else { + stateErrorBuilder_.mergeFrom(value); + } + bitField0_ |= 0x00001000; + onChanged(); + return this; + } + /** + *
+     * Output only. Error regarding the state of the Execution resource. For
+     * example, this field will have error details if the execution data is
+     * unavailable due to revoked KMS key permissions.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public Builder clearStateError() { + bitField0_ = (bitField0_ & ~0x00001000); + stateError_ = null; + if (stateErrorBuilder_ != null) { + stateErrorBuilder_.dispose(); + stateErrorBuilder_ = null; + } + onChanged(); + return this; + } + /** + *
+     * Output only. Error regarding the state of the Execution resource. For
+     * example, this field will have error details if the execution data is
+     * unavailable due to revoked KMS key permissions.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.workflows.executions.v1.Execution.StateError.Builder getStateErrorBuilder() { + bitField0_ |= 0x00001000; + onChanged(); + return getStateErrorFieldBuilder().getBuilder(); + } + /** + *
+     * Output only. Error regarding the state of the Execution resource. For
+     * example, this field will have error details if the execution data is
+     * unavailable due to revoked KMS key permissions.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + public com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder getStateErrorOrBuilder() { + if (stateErrorBuilder_ != null) { + return stateErrorBuilder_.getMessageOrBuilder(); + } else { + return stateError_ == null ? + com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance() : stateError_; + } + } + /** + *
+     * Output only. Error regarding the state of the Execution resource. For
+     * example, this field will have error details if the execution data is
+     * unavailable due to revoked KMS key permissions.
+     * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StateError, com.google.cloud.workflows.executions.v1.Execution.StateError.Builder, com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder> + getStateErrorFieldBuilder() { + if (stateErrorBuilder_ == null) { + stateErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StateError, com.google.cloud.workflows.executions.v1.Execution.StateError.Builder, com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder>( + getStateError(), + getParentForChildren(), + isClean()); + stateError_ = null; + } + return stateErrorBuilder_; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution) + } + + // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution) + private static final com.google.cloud.workflows.executions.v1.Execution DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution(); + } + + public static com.google.cloud.workflows.executions.v1.Execution getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Execution parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java similarity index 100% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java rename to owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java new file mode 100644 index 000000000000..8bc0fcfd6eb5 --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java @@ -0,0 +1,404 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1/executions.proto + +package com.google.cloud.workflows.executions.v1; + +public interface ExecutionOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Output only. The resource name of the execution.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Output only. The resource name of the execution.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Output only. Marks the beginning of execution.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the startTime field is set. + */ + boolean hasStartTime(); + /** + *
+   * Output only. Marks the beginning of execution.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The startTime. + */ + com.google.protobuf.Timestamp getStartTime(); + /** + *
+   * Output only. Marks the beginning of execution.
+   * 
+ * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); + + /** + *
+   * Output only. Marks the end of execution, successful or not.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the endTime field is set. + */ + boolean hasEndTime(); + /** + *
+   * Output only. Marks the end of execution, successful or not.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The endTime. + */ + com.google.protobuf.Timestamp getEndTime(); + /** + *
+   * Output only. Marks the end of execution, successful or not.
+   * 
+ * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); + + /** + *
+   * Output only. Measures the duration of the execution.
+   * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the duration field is set. + */ + boolean hasDuration(); + /** + *
+   * Output only. Measures the duration of the execution.
+   * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The duration. + */ + com.google.protobuf.Duration getDuration(); + /** + *
+   * Output only. Measures the duration of the execution.
+   * 
+ * + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); + + /** + *
+   * Output only. Current state of the execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The enum numeric value on the wire for state. + */ + int getStateValue(); + /** + *
+   * Output only. Current state of the execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The state. + */ + com.google.cloud.workflows.executions.v1.Execution.State getState(); + + /** + *
+   * Input parameters of the execution represented as a JSON string.
+   * The size limit is 32KB.
+   *
+   * *Note*: If you are using the REST API directly to run your workflow, you
+   * must escape any JSON string value of `argument`. Example:
+   * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
+   * 
+ * + * string argument = 5; + * @return The argument. + */ + java.lang.String getArgument(); + /** + *
+   * Input parameters of the execution represented as a JSON string.
+   * The size limit is 32KB.
+   *
+   * *Note*: If you are using the REST API directly to run your workflow, you
+   * must escape any JSON string value of `argument`. Example:
+   * `'{"argument":"{\"firstName\":\"FIRST\",\"lastName\":\"LAST\"}"}'`
+   * 
+ * + * string argument = 5; + * @return The bytes for argument. + */ + com.google.protobuf.ByteString + getArgumentBytes(); + + /** + *
+   * Output only. Output of the execution represented as a JSON string. The
+   * value can only be present if the execution's state is `SUCCEEDED`.
+   * 
+ * + * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The result. + */ + java.lang.String getResult(); + /** + *
+   * Output only. Output of the execution represented as a JSON string. The
+   * value can only be present if the execution's state is `SUCCEEDED`.
+   * 
+ * + * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for result. + */ + com.google.protobuf.ByteString + getResultBytes(); + + /** + *
+   * Output only. The error which caused the execution to finish prematurely.
+   * The value is only present if the execution's state is `FAILED`
+   * or `CANCELLED`.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the error field is set. + */ + boolean hasError(); + /** + *
+   * Output only. The error which caused the execution to finish prematurely.
+   * The value is only present if the execution's state is `FAILED`
+   * or `CANCELLED`.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The error. + */ + com.google.cloud.workflows.executions.v1.Execution.Error getError(); + /** + *
+   * Output only. The error which caused the execution to finish prematurely.
+   * The value is only present if the execution's state is `FAILED`
+   * or `CANCELLED`.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErrorOrBuilder(); + + /** + *
+   * Output only. Revision of the workflow this execution is using.
+   * 
+ * + * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The workflowRevisionId. + */ + java.lang.String getWorkflowRevisionId(); + /** + *
+   * Output only. Revision of the workflow this execution is using.
+   * 
+ * + * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The bytes for workflowRevisionId. + */ + com.google.protobuf.ByteString + getWorkflowRevisionIdBytes(); + + /** + *
+   * The call logging level associated to this execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * @return The enum numeric value on the wire for callLogLevel. + */ + int getCallLogLevelValue(); + /** + *
+   * The call logging level associated to this execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * @return The callLogLevel. + */ + com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel(); + + /** + *
+   * Output only. Status tracks the current steps and progress data of this
+   * execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the status field is set. + */ + boolean hasStatus(); + /** + *
+   * Output only. Status tracks the current steps and progress data of this
+   * execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The status. + */ + com.google.cloud.workflows.executions.v1.Execution.Status getStatus(); + /** + *
+   * Output only. Status tracks the current steps and progress data of this
+   * execution.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder getStatusOrBuilder(); + + /** + *
+   * Labels associated with this execution.
+   * Labels can contain at most 64 entries. Keys and values can be no longer
+   * than 63 characters and can only contain lowercase letters, numeric
+   * characters, underscores, and dashes. Label keys must start with a letter.
+   * International characters are allowed.
+   * By default, labels are inherited from the workflow but are overridden by
+   * any labels associated with the execution.
+   * 
+ * + * map<string, string> labels = 11; + */ + int getLabelsCount(); + /** + *
+   * Labels associated with this execution.
+   * Labels can contain at most 64 entries. Keys and values can be no longer
+   * than 63 characters and can only contain lowercase letters, numeric
+   * characters, underscores, and dashes. Label keys must start with a letter.
+   * International characters are allowed.
+   * By default, labels are inherited from the workflow but are overridden by
+   * any labels associated with the execution.
+   * 
+ * + * map<string, string> labels = 11; + */ + boolean containsLabels( + java.lang.String key); + /** + * Use {@link #getLabelsMap()} instead. + */ + @java.lang.Deprecated + java.util.Map + getLabels(); + /** + *
+   * Labels associated with this execution.
+   * Labels can contain at most 64 entries. Keys and values can be no longer
+   * than 63 characters and can only contain lowercase letters, numeric
+   * characters, underscores, and dashes. Label keys must start with a letter.
+   * International characters are allowed.
+   * By default, labels are inherited from the workflow but are overridden by
+   * any labels associated with the execution.
+   * 
+ * + * map<string, string> labels = 11; + */ + java.util.Map + getLabelsMap(); + /** + *
+   * Labels associated with this execution.
+   * Labels can contain at most 64 entries. Keys and values can be no longer
+   * than 63 characters and can only contain lowercase letters, numeric
+   * characters, underscores, and dashes. Label keys must start with a letter.
+   * International characters are allowed.
+   * By default, labels are inherited from the workflow but are overridden by
+   * any labels associated with the execution.
+   * 
+ * + * map<string, string> labels = 11; + */ + /* nullable */ +java.lang.String getLabelsOrDefault( + java.lang.String key, + /* nullable */ +java.lang.String defaultValue); + /** + *
+   * Labels associated with this execution.
+   * Labels can contain at most 64 entries. Keys and values can be no longer
+   * than 63 characters and can only contain lowercase letters, numeric
+   * characters, underscores, and dashes. Label keys must start with a letter.
+   * International characters are allowed.
+   * By default, labels are inherited from the workflow but are overridden by
+   * any labels associated with the execution.
+   * 
+ * + * map<string, string> labels = 11; + */ + java.lang.String getLabelsOrThrow( + java.lang.String key); + + /** + *
+   * Output only. Error regarding the state of the Execution resource. For
+   * example, this field will have error details if the execution data is
+   * unavailable due to revoked KMS key permissions.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return Whether the stateError field is set. + */ + boolean hasStateError(); + /** + *
+   * Output only. Error regarding the state of the Execution resource. For
+   * example, this field will have error details if the execution data is
+   * unavailable due to revoked KMS key permissions.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return The stateError. + */ + com.google.cloud.workflows.executions.v1.Execution.StateError getStateError(); + /** + *
+   * Output only. Error regarding the state of the Execution resource. For
+   * example, this field will have error details if the execution data is
+   * unavailable due to revoked KMS key permissions.
+   * 
+ * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder getStateErrorOrBuilder(); +} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java similarity index 63% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java rename to owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java index d5894b5a2abd..359bbdbd1a56 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java @@ -1,36 +1,18 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Defines possible views for execution resource.
  * 
* * Protobuf enum {@code google.cloud.workflows.executions.v1.ExecutionView} */ -public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum { +public enum ExecutionView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default / unset value.
    * 
@@ -39,20 +21,16 @@ public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum { */ EXECUTION_VIEW_UNSPECIFIED(0), /** - * - * *
    * Includes only basic metadata about the execution.
-   * Following fields are returned: name, start_time, end_time, state
-   * and workflow_revision_id.
+   * The following fields are returned: name, start_time, end_time, duration,
+   * state, and workflow_revision_id.
    * 
* * BASIC = 1; */ BASIC(1), /** - * - * *
    * Includes all data.
    * 
@@ -64,8 +42,6 @@ public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default / unset value.
    * 
@@ -74,20 +50,16 @@ public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXECUTION_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Includes only basic metadata about the execution.
-   * Following fields are returned: name, start_time, end_time, state
-   * and workflow_revision_id.
+   * The following fields are returned: name, start_time, end_time, duration,
+   * state, and workflow_revision_id.
    * 
* * BASIC = 1; */ public static final int BASIC_VALUE = 1; /** - * - * *
    * Includes all data.
    * 
@@ -96,6 +68,7 @@ public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -120,51 +93,49 @@ public static ExecutionView valueOf(int value) { */ public static ExecutionView forNumber(int value) { switch (value) { - case 0: - return EXECUTION_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return EXECUTION_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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ExecutionView findValueByNumber(int number) { - return ExecutionView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ExecutionView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ExecutionView findValueByNumber(int number) { + return ExecutionView.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() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.getDescriptor().getEnumTypes().get(0); } private static final ExecutionView[] VALUES = values(); - public static ExecutionView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ExecutionView 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; @@ -180,3 +151,4 @@ private ExecutionView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1.ExecutionView) } + diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java new file mode 100644 index 000000000000..5c1a45efb3d2 --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java @@ -0,0 +1,318 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1/executions.proto + +package com.google.cloud.workflows.executions.v1; + +public final class ExecutionsProto { + private ExecutionsProto() {} + 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_workflows_executions_v1_Execution_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_Error_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_Status_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_Status_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_StateError_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_StateError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_LabelsEntry_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n5google/cloud/workflows/executions/v1/e" + + "xecutions.proto\022$google.cloud.workflows." + + "executions.v1\032\034google/api/annotations.pr" + + "oto\032\027google/api/client.proto\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\036google/protobuf/duration.proto" + + "\032\037google/protobuf/timestamp.proto\"\307\016\n\tEx" + + "ecution\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\0224\n\nstart_tim" + + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" + + "\003\0222\n\010end_time\030\003 \001(\0132\032.google.protobuf.Ti" + + "mestampB\004\342A\001\003\0221\n\010duration\030\014 \001(\0132\031.google" + + ".protobuf.DurationB\004\342A\001\003\022J\n\005state\030\004 \001(\0162" + + "5.google.cloud.workflows.executions.v1.E" + + "xecution.StateB\004\342A\001\003\022\020\n\010argument\030\005 \001(\t\022\024" + + "\n\006result\030\006 \001(\tB\004\342A\001\003\022J\n\005error\030\007 \001(\01325.go" + + "ogle.cloud.workflows.executions.v1.Execu" + + "tion.ErrorB\004\342A\001\003\022\"\n\024workflow_revision_id" + + "\030\010 \001(\tB\004\342A\001\003\022T\n\016call_log_level\030\t \001(\0162<.g" + + "oogle.cloud.workflows.executions.v1.Exec" + + "ution.CallLogLevel\022L\n\006status\030\n \001(\01326.goo" + + "gle.cloud.workflows.executions.v1.Execut" + + "ion.StatusB\004\342A\001\003\022K\n\006labels\030\013 \003(\0132;.googl" + + "e.cloud.workflows.executions.v1.Executio" + + "n.LabelsEntry\022U\n\013state_error\030\r \001(\0132:.goo" + + "gle.cloud.workflows.executions.v1.Execut" + + "ion.StateErrorB\004\342A\001\003\032\312\001\n\021StackTraceEleme" + + "nt\022\014\n\004step\030\001 \001(\t\022\017\n\007routine\030\002 \001(\t\022\\\n\010pos" + + "ition\030\003 \001(\0132J.google.cloud.workflows.exe" + + "cutions.v1.Execution.StackTraceElement.P" + + "osition\0328\n\010Position\022\014\n\004line\030\001 \001(\003\022\016\n\006col" + + "umn\030\002 \001(\003\022\016\n\006length\030\003 \001(\003\032a\n\nStackTrace\022" + + "S\n\010elements\030\001 \003(\0132A.google.cloud.workflo" + + "ws.executions.v1.Execution.StackTraceEle" + + "ment\032z\n\005Error\022\017\n\007payload\030\001 \001(\t\022\017\n\007contex" + + "t\030\002 \001(\t\022O\n\013stack_trace\030\003 \001(\0132:.google.cl" + + "oud.workflows.executions.v1.Execution.St" + + "ackTrace\032\203\001\n\006Status\022R\n\rcurrent_steps\030\001 \003" + + "(\0132;.google.cloud.workflows.executions.v" + + "1.Execution.Status.Step\032%\n\004Step\022\017\n\007routi" + + "ne\030\001 \001(\t\022\014\n\004step\030\002 \001(\t\032\231\001\n\nStateError\022\017\n" + + "\007details\030\001 \001(\t\022M\n\004type\030\002 \001(\0162?.google.cl" + + "oud.workflows.executions.v1.Execution.St" + + "ateError.Type\"+\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + + "D\020\000\022\r\n\tKMS_ERROR\020\001\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"q\n\005State\022\025\n\021ST" + + "ATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tSUCCEED" + + "ED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004\022\017\n\013UNAVA" + + "ILABLE\020\005\022\n\n\006QUEUED\020\006\"d\n\014CallLogLevel\022\036\n\032" + + "CALL_LOG_LEVEL_UNSPECIFIED\020\000\022\021\n\rLOG_ALL_" + + "CALLS\020\001\022\023\n\017LOG_ERRORS_ONLY\020\002\022\014\n\010LOG_NONE" + + "\020\003:\206\001\352A\202\001\n+workflowexecutions.googleapis" + + ".com/Execution\022Sprojects/{project}/locat" + + "ions/{location}/workflows/{workflow}/exe" + + "cutions/{execution}\"\361\001\n\025ListExecutionsRe" + + "quest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!workflow" + + "s.googleapis.com/Workflow\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\022G\n\004view\030\004 \001(\01623" + + ".google.cloud.workflows.executions.v1.Ex" + + "ecutionViewB\004\342A\001\001\022\024\n\006filter\030\005 \001(\tB\004\342A\001\001\022" + + "\026\n\010order_by\030\006 \001(\tB\004\342A\001\001\"v\n\026ListExecution" + + "sResponse\022C\n\nexecutions\030\001 \003(\0132/.google.c" + + "loud.workflows.executions.v1.Execution\022\027" + + "\n\017next_page_token\030\002 \001(\t\"\236\001\n\026CreateExecut" + + "ionRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!wor" + + "kflows.googleapis.com/Workflow\022H\n\texecut" + + "ion\030\002 \001(\0132/.google.cloud.workflows.execu" + + "tions.v1.ExecutionB\004\342A\001\002\"\242\001\n\023GetExecutio" + + "nRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+workflo" + + "wexecutions.googleapis.com/Execution\022G\n\004" + + "view\030\002 \001(\01623.google.cloud.workflows.exec" + + "utions.v1.ExecutionViewB\004\342A\001\001\"\\\n\026CancelE" + + "xecutionRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+" + + "workflowexecutions.googleapis.com/Execut" + + "ion*D\n\rExecutionView\022\036\n\032EXECUTION_VIEW_U" + + "NSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nEx" + + "ecutions\022\330\001\n\016ListExecutions\022;.google.clo" + + "ud.workflows.executions.v1.ListExecution" + + "sRequest\032<.google.cloud.workflows.execut" + + "ions.v1.ListExecutionsResponse\"K\332A\006paren" + + "t\202\323\344\223\002<\022:/v1/{parent=projects/*/location" + + "s/*/workflows/*}/executions\022\342\001\n\017CreateEx" + + "ecution\022<.google.cloud.workflows.executi" + + "ons.v1.CreateExecutionRequest\032/.google.c" + + "loud.workflows.executions.v1.Execution\"`" + + "\332A\020parent,execution\202\323\344\223\002G\":/v1/{parent=p" + + "rojects/*/locations/*/workflows/*}/execu" + + "tions:\texecution\022\305\001\n\014GetExecution\0229.goog" + + "le.cloud.workflows.executions.v1.GetExec" + + "utionRequest\032/.google.cloud.workflows.ex" + + "ecutions.v1.Execution\"I\332A\004name\202\323\344\223\002<\022:/v" + + "1/{name=projects/*/locations/*/workflows" + + "/*/executions/*}\022\325\001\n\017CancelExecution\022<.g" + + "oogle.cloud.workflows.executions.v1.Canc" + + "elExecutionRequest\032/.google.cloud.workfl" + + "ows.executions.v1.Execution\"S\332A\004name\202\323\344\223" + + "\002F\"A/v1/{name=projects/*/locations/*/wor" + + "kflows/*/executions/*}:cancel:\001*\032U\312A!wor" + + "kflowexecutions.googleapis.com\322A.https:/" + + "/www.googleapis.com/auth/cloud-platformB" + + "\353\001\n(com.google.cloud.workflows.execution" + + "s.v1B\017ExecutionsProtoP\001ZHcloud.google.co" + + "m/go/workflows/executions/apiv1/executio" + + "nspb;executionspb\352Aa\n!workflows.googleap" + + "is.com/Workflow\022 * Request for the * [GetExecution][google.cloud.workflows.executions.v1.Executions.GetExecution] @@ -29,16 +12,15 @@ * * Protobuf type {@code google.cloud.workflows.executions.v1.GetExecutionRequest} */ -public final class GetExecutionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetExecutionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.GetExecutionRequest) GetExecutionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetExecutionRequest.newBuilder() to construct. private GetExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetExecutionRequest() { name_ = ""; view_ = 0; @@ -46,42 +28,35 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetExecutionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.GetExecutionRequest.class, - com.google.cloud.workflows.executions.v1.GetExecutionRequest.Builder.class); + com.google.cloud.workflows.executions.v1.GetExecutionRequest.class, com.google.cloud.workflows.executions.v1.GetExecutionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -127,48 +100,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
-   * Optional. A view defining which fields should be filled in the returned execution.
-   * The API will default to the FULL view.
+   * Optional. A view defining which fields should be filled in the returned
+   * execution. The API will default to the FULL view.
    * 
* - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
-   * Optional. A view defining which fields should be filled in the returned execution.
-   * The API will default to the FULL view.
+   * Optional. A view defining which fields should be filled in the returned
+   * execution. The API will default to the FULL view.
    * 
* - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1.ExecutionView getView() { - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); - return result == null - ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { + com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); + return result == null ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,13 +137,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -201,10 +157,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -214,15 +169,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.workflows.executions.v1.GetExecutionRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.GetExecutionRequest other = - (com.google.cloud.workflows.executions.v1.GetExecutionRequest) obj; + com.google.cloud.workflows.executions.v1.GetExecutionRequest other = (com.google.cloud.workflows.executions.v1.GetExecutionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -245,104 +200,98 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.GetExecutionRequest 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.workflows.executions.v1.GetExecutionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1.GetExecutionRequest prototype) { + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.GetExecutionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the
    * [GetExecution][google.cloud.workflows.executions.v1.Executions.GetExecution]
@@ -351,32 +300,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1.GetExecutionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.GetExecutionRequest)
       com.google.cloud.workflows.executions.v1.GetExecutionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1.GetExecutionRequest.class,
-              com.google.cloud.workflows.executions.v1.GetExecutionRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1.GetExecutionRequest.class, com.google.cloud.workflows.executions.v1.GetExecutionRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.workflows.executions.v1.GetExecutionRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -387,14 +337,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1.GetExecutionRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.workflows.executions.v1.GetExecutionRequest getDefaultInstanceForType() {
       return com.google.cloud.workflows.executions.v1.GetExecutionRequest.getDefaultInstance();
     }
 
@@ -409,17 +358,13 @@ public com.google.cloud.workflows.executions.v1.GetExecutionRequest build() {
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1.GetExecutionRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1.GetExecutionRequest result =
-          new com.google.cloud.workflows.executions.v1.GetExecutionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.workflows.executions.v1.GetExecutionRequest result = new com.google.cloud.workflows.executions.v1.GetExecutionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.workflows.executions.v1.GetExecutionRequest result) {
+    private void buildPartial0(com.google.cloud.workflows.executions.v1.GetExecutionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -433,39 +378,38 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1.GetExecutionRequest) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1.GetExecutionRequest) other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1.GetExecutionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -473,9 +417,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.workflows.executions.v1.GetExecutionRequest other) {
-      if (other
-          == com.google.cloud.workflows.executions.v1.GetExecutionRequest.getDefaultInstance())
-        return this;
+      if (other == com.google.cloud.workflows.executions.v1.GetExecutionRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -510,25 +452,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                view_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              view_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -538,29 +477,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.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; @@ -569,25 +503,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -595,43 +526,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string 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() { @@ -641,25 +561,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -669,35 +583,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
-     * Optional. A view defining which fields should be filled in the returned execution.
-     * The API will default to the FULL view.
+     * Optional. A view defining which fields should be filled in the returned
+     * execution. The API will default to the FULL view.
      * 
* - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
-     * Optional. A view defining which fields should be filled in the returned execution.
-     * The API will default to the FULL view.
+     * Optional. A view defining which fields should be filled in the returned
+     * execution. The API will default to the FULL view.
      * 
* - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -708,39 +611,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
-     * Optional. A view defining which fields should be filled in the returned execution.
-     * The API will default to the FULL view.
+     * Optional. A view defining which fields should be filled in the returned
+     * execution. The API will default to the FULL view.
      * 
* - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); - return result == null - ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED - : result; + com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); + return result == null ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED : result; } /** - * - * *
-     * Optional. A view defining which fields should be filled in the returned execution.
-     * The API will default to the FULL view.
+     * Optional. A view defining which fields should be filled in the returned
+     * execution. The API will default to the FULL view.
      * 
* - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -754,17 +644,12 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va return this; } /** - * - * *
-     * Optional. A view defining which fields should be filled in the returned execution.
-     * The API will default to the FULL view.
+     * Optional. A view defining which fields should be filled in the returned
+     * execution. The API will default to the FULL view.
      * 
* - * - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { @@ -773,9 +658,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -785,13 +670,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.GetExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.GetExecutionRequest) - private static final com.google.cloud.workflows.executions.v1.GetExecutionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.workflows.executions.v1.GetExecutionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.GetExecutionRequest(); } @@ -800,27 +684,27 @@ public static com.google.cloud.workflows.executions.v1.GetExecutionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -835,4 +719,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.GetExecutionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java new file mode 100644 index 000000000000..9784ca803040 --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java @@ -0,0 +1,54 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1/executions.proto + +package com.google.cloud.workflows.executions.v1; + +public interface GetExecutionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.GetExecutionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the execution to be retrieved.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the execution to be retrieved.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); + + /** + *
+   * Optional. A view defining which fields should be filled in the returned
+   * execution. The API will default to the FULL view.
+   * 
+ * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + *
+   * Optional. A view defining which fields should be filled in the returned
+   * execution. The API will default to the FULL view.
+   * 
+ * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + com.google.cloud.workflows.executions.v1.ExecutionView getView(); +} diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java new file mode 100644 index 000000000000..7a5bc7759dca --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java @@ -0,0 +1,1398 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1/executions.proto + +package com.google.cloud.workflows.executions.v1; + +/** + *
+ * Request for the
+ * [ListExecutions][]
+ * method.
+ * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.ListExecutionsRequest} + */ +public final class ListExecutionsRequest extends + com.google.protobuf.GeneratedMessageV3 implements + // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.ListExecutionsRequest) + ListExecutionsRequestOrBuilder { +private static final long serialVersionUID = 0L; + // Use ListExecutionsRequest.newBuilder() to construct. + private ListExecutionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { + super(builder); + } + private ListExecutionsRequest() { + parent_ = ""; + pageToken_ = ""; + view_ = 0; + filter_ = ""; + orderBy_ = ""; + } + + @java.lang.Override + @SuppressWarnings({"unused"}) + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { + return new ListExecutionsRequest(); + } + + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.ListExecutionsRequest.class, com.google.cloud.workflows.executions.v1.ListExecutionsRequest.Builder.class); + } + + public static final int PARENT_FIELD_NUMBER = 1; + @SuppressWarnings("serial") + private volatile java.lang.Object parent_ = ""; + /** + *
+   * Required. Name of the workflow for which the executions should be listed.
+   * Format: projects/{project}/locations/{location}/workflows/{workflow}
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + @java.lang.Override + public java.lang.String getParent() { + java.lang.Object ref = parent_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } + } + /** + *
+   * Required. Name of the workflow for which the executions should be listed.
+   * Format: projects/{project}/locations/{location}/workflows/{workflow}
+   * 
+ * + * 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() { + 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); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int PAGE_SIZE_FIELD_NUMBER = 2; + private int pageSize_ = 0; + /** + *
+   * Maximum number of executions to return per call.
+   * Max supported value depends on the selected Execution view: it's 1000 for
+   * BASIC and 100 for FULL. The default value used if the field is not
+   * specified is 100, regardless of the selected view. Values greater than
+   * the max value will be coerced down to it.
+   * 
+ * + * int32 page_size = 2; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + + public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") + private volatile java.lang.Object pageToken_ = ""; + /** + *
+   * A page token, received from a previous `ListExecutions` call.
+   * Provide this to retrieve the subsequent page.
+   *
+   * When paginating, all other parameters provided to `ListExecutions` must
+   * match the call that provided the page token.
+   *
+   * Note that pagination is applied to dynamic data. The list of executions
+   * returned can change between page requests.
+   * 
+ * + * string page_token = 3; + * @return The pageToken. + */ + @java.lang.Override + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } + } + /** + *
+   * A page token, received from a previous `ListExecutions` call.
+   * Provide this to retrieve the subsequent page.
+   *
+   * When paginating, all other parameters provided to `ListExecutions` must
+   * match the call that provided the page token.
+   *
+   * Note that pagination is applied to dynamic data. The list of executions
+   * returned can change between page requests.
+   * 
+ * + * string page_token = 3; + * @return The bytes for pageToken. + */ + @java.lang.Override + 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); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int VIEW_FIELD_NUMBER = 4; + private int view_ = 0; + /** + *
+   * Optional. A view defining which fields should be filled in the returned
+   * executions. The API will default to the BASIC view.
+   * 
+ * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + @java.lang.Override public int getViewValue() { + return view_; + } + /** + *
+   * Optional. A view defining which fields should be filled in the returned
+   * executions. The API will default to the BASIC view.
+   * 
+ * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { + com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); + return result == null ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED : result; + } + + public static final int FILTER_FIELD_NUMBER = 5; + @SuppressWarnings("serial") + private volatile java.lang.Object filter_ = ""; + /** + *
+   * Optional. Filters applied to the [Executions.ListExecutions] results.
+   * The following fields are supported for filtering:
+   * executionID, state, startTime, endTime, duration, workflowRevisionID,
+   * stepName, and label.
+   * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The filter. + */ + @java.lang.Override + public java.lang.String getFilter() { + java.lang.Object ref = filter_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } + } + /** + *
+   * Optional. Filters applied to the [Executions.ListExecutions] results.
+   * The following fields are supported for filtering:
+   * executionID, state, startTime, endTime, duration, workflowRevisionID,
+   * stepName, and label.
+   * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for filter. + */ + @java.lang.Override + 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); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + public static final int ORDER_BY_FIELD_NUMBER = 6; + @SuppressWarnings("serial") + private volatile java.lang.Object orderBy_ = ""; + /** + *
+   * Optional. The ordering applied to the [Executions.ListExecutions] results.
+   * By default the ordering is based on descending start time.
+   * The following fields are supported for order by:
+   * executionID, startTime, endTime, duration, state, and workflowRevisionID.
+   * 
+ * + * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The orderBy. + */ + @java.lang.Override + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + return (java.lang.String) ref; + } else { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } + } + /** + *
+   * Optional. The ordering applied to the [Executions.ListExecutions] results.
+   * By default the ordering is based on descending start time.
+   * The following fields are supported for order by:
+   * executionID, startTime, endTime, duration, state, and workflowRevisionID.
+   * 
+ * + * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for orderBy. + */ + @java.lang.Override + public com.google.protobuf.ByteString + getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof java.lang.String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + + private byte memoizedIsInitialized = -1; + @java.lang.Override + public final boolean isInitialized() { + byte isInitialized = memoizedIsInitialized; + if (isInitialized == 1) return true; + if (isInitialized == 0) return false; + + memoizedIsInitialized = 1; + return true; + } + + @java.lang.Override + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); + } + if (pageSize_ != 0) { + output.writeInt32(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); + } + if (view_ != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { + output.writeEnum(4, view_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 5, filter_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + com.google.protobuf.GeneratedMessageV3.writeString(output, 6, orderBy_); + } + getUnknownFields().writeTo(output); + } + + @java.lang.Override + public int getSerializedSize() { + int size = memoizedSize; + if (size != -1) return size; + + size = 0; + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); + } + if (pageSize_ != 0) { + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); + } + if (view_ != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, view_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); + } + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(orderBy_)) { + size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, orderBy_); + } + size += getUnknownFields().getSerializedSize(); + memoizedSize = size; + return size; + } + + @java.lang.Override + public boolean equals(final java.lang.Object obj) { + if (obj == this) { + return true; + } + if (!(obj instanceof com.google.cloud.workflows.executions.v1.ListExecutionsRequest)) { + return super.equals(obj); + } + com.google.cloud.workflows.executions.v1.ListExecutionsRequest other = (com.google.cloud.workflows.executions.v1.ListExecutionsRequest) obj; + + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; + if (view_ != other.view_) return false; + if (!getFilter() + .equals(other.getFilter())) return false; + if (!getOrderBy() + .equals(other.getOrderBy())) return false; + if (!getUnknownFields().equals(other.getUnknownFields())) return false; + return true; + } + + @java.lang.Override + public int hashCode() { + if (memoizedHashCode != 0) { + return memoizedHashCode; + } + int hash = 41; + hash = (19 * hash) + getDescriptor().hashCode(); + hash = (37 * hash) + PARENT_FIELD_NUMBER; + hash = (53 * hash) + getParent().hashCode(); + hash = (37 * hash) + PAGE_SIZE_FIELD_NUMBER; + hash = (53 * hash) + getPageSize(); + hash = (37 * hash) + PAGE_TOKEN_FIELD_NUMBER; + hash = (53 * hash) + getPageToken().hashCode(); + hash = (37 * hash) + VIEW_FIELD_NUMBER; + hash = (53 * hash) + view_; + hash = (37 * hash) + FILTER_FIELD_NUMBER; + hash = (53 * hash) + getFilter().hashCode(); + hash = (37 * hash) + ORDER_BY_FIELD_NUMBER; + hash = (53 * hash) + getOrderBy().hashCode(); + hash = (29 * hash) + getUnknownFields().hashCode(); + memoizedHashCode = hash; + return hash; + } + + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( + java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( + com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data); + } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + return PARSER.parseFrom(data, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); + } + + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); + } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); + } + + @java.lang.Override + public Builder newBuilderForType() { return newBuilder(); } + public static Builder newBuilder() { + return DEFAULT_INSTANCE.toBuilder(); + } + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.ListExecutionsRequest prototype) { + return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); + } + @java.lang.Override + public Builder toBuilder() { + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); + } + + @java.lang.Override + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + Builder builder = new Builder(parent); + return builder; + } + /** + *
+   * Request for the
+   * [ListExecutions][]
+   * method.
+   * 
+ * + * Protobuf type {@code google.cloud.workflows.executions.v1.ListExecutionsRequest} + */ + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements + // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.ListExecutionsRequest) + com.google.cloud.workflows.executions.v1.ListExecutionsRequestOrBuilder { + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor; + } + + @java.lang.Override + protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internalGetFieldAccessorTable() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_fieldAccessorTable + .ensureFieldAccessorsInitialized( + com.google.cloud.workflows.executions.v1.ListExecutionsRequest.class, com.google.cloud.workflows.executions.v1.ListExecutionsRequest.Builder.class); + } + + // Construct using com.google.cloud.workflows.executions.v1.ListExecutionsRequest.newBuilder() + private Builder() { + + } + + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } + @java.lang.Override + public Builder clear() { + super.clear(); + bitField0_ = 0; + parent_ = ""; + pageSize_ = 0; + pageToken_ = ""; + view_ = 0; + filter_ = ""; + orderBy_ = ""; + return this; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ListExecutionsRequest getDefaultInstanceForType() { + return com.google.cloud.workflows.executions.v1.ListExecutionsRequest.getDefaultInstance(); + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ListExecutionsRequest build() { + com.google.cloud.workflows.executions.v1.ListExecutionsRequest result = buildPartial(); + if (!result.isInitialized()) { + throw newUninitializedMessageException(result); + } + return result; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ListExecutionsRequest buildPartial() { + com.google.cloud.workflows.executions.v1.ListExecutionsRequest result = new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(this); + if (bitField0_ != 0) { buildPartial0(result); } + onBuilt(); + return result; + } + + private void buildPartial0(com.google.cloud.workflows.executions.v1.ListExecutionsRequest result) { + int from_bitField0_ = bitField0_; + if (((from_bitField0_ & 0x00000001) != 0)) { + result.parent_ = parent_; + } + if (((from_bitField0_ & 0x00000002) != 0)) { + result.pageSize_ = pageSize_; + } + if (((from_bitField0_ & 0x00000004) != 0)) { + result.pageToken_ = pageToken_; + } + if (((from_bitField0_ & 0x00000008) != 0)) { + result.view_ = view_; + } + if (((from_bitField0_ & 0x00000010) != 0)) { + result.filter_ = filter_; + } + if (((from_bitField0_ & 0x00000020) != 0)) { + result.orderBy_ = orderBy_; + } + } + + @java.lang.Override + public Builder clone() { + return super.clone(); + } + @java.lang.Override + public Builder setField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.setField(field, value); + } + @java.lang.Override + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { + return super.clearField(field); + } + @java.lang.Override + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { + return super.clearOneof(oneof); + } + @java.lang.Override + public Builder setRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { + return super.setRepeatedField(field, index, value); + } + @java.lang.Override + public Builder addRepeatedField( + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { + return super.addRepeatedField(field, value); + } + @java.lang.Override + public Builder mergeFrom(com.google.protobuf.Message other) { + if (other instanceof com.google.cloud.workflows.executions.v1.ListExecutionsRequest) { + return mergeFrom((com.google.cloud.workflows.executions.v1.ListExecutionsRequest)other); + } else { + super.mergeFrom(other); + return this; + } + } + + public Builder mergeFrom(com.google.cloud.workflows.executions.v1.ListExecutionsRequest other) { + if (other == com.google.cloud.workflows.executions.v1.ListExecutionsRequest.getDefaultInstance()) return this; + if (!other.getParent().isEmpty()) { + parent_ = other.parent_; + bitField0_ |= 0x00000001; + onChanged(); + } + if (other.getPageSize() != 0) { + setPageSize(other.getPageSize()); + } + if (!other.getPageToken().isEmpty()) { + pageToken_ = other.pageToken_; + bitField0_ |= 0x00000004; + onChanged(); + } + if (other.view_ != 0) { + setViewValue(other.getViewValue()); + } + if (!other.getFilter().isEmpty()) { + filter_ = other.filter_; + bitField0_ |= 0x00000010; + onChanged(); + } + if (!other.getOrderBy().isEmpty()) { + orderBy_ = other.orderBy_; + bitField0_ |= 0x00000020; + onChanged(); + } + this.mergeUnknownFields(other.getUnknownFields()); + onChanged(); + return this; + } + + @java.lang.Override + public final boolean isInitialized() { + return true; + } + + @java.lang.Override + public Builder mergeFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + if (extensionRegistry == null) { + throw new java.lang.NullPointerException(); + } + try { + boolean done = false; + while (!done) { + int tag = input.readTag(); + switch (tag) { + case 0: + done = true; + break; + case 10: { + parent_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: { + pageSize_ = input.readInt32(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: { + pageToken_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + view_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + filter_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + orderBy_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: + } // switch (tag) + } // while (!done) + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.unwrapIOException(); + } finally { + onChanged(); + } // finally + return this; + } + private int bitField0_; + + private java.lang.Object parent_ = ""; + /** + *
+     * Required. Name of the workflow for which the executions should be listed.
+     * Format: projects/{project}/locations/{location}/workflows/{workflow}
+     * 
+ * + * 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; + java.lang.String s = bs.toStringUtf8(); + parent_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Required. Name of the workflow for which the executions should be listed.
+     * Format: projects/{project}/locations/{location}/workflows/{workflow}
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + 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); + parent_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Required. Name of the workflow for which the executions should be listed.
+     * Format: projects/{project}/locations/{location}/workflows/{workflow}
+     * 
+ * + * 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) { + if (value == null) { throw new NullPointerException(); } + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + /** + *
+     * Required. Name of the workflow for which the executions should be listed.
+     * Format: projects/{project}/locations/{location}/workflows/{workflow}
+     * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return This builder for chaining. + */ + public Builder clearParent() { + parent_ = getDefaultInstance().getParent(); + bitField0_ = (bitField0_ & ~0x00000001); + onChanged(); + return this; + } + /** + *
+     * Required. Name of the workflow for which the executions should be listed.
+     * Format: projects/{project}/locations/{location}/workflows/{workflow}
+     * 
+ * + * 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) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + parent_ = value; + bitField0_ |= 0x00000001; + onChanged(); + return this; + } + + private int pageSize_ ; + /** + *
+     * Maximum number of executions to return per call.
+     * Max supported value depends on the selected Execution view: it's 1000 for
+     * BASIC and 100 for FULL. The default value used if the field is not
+     * specified is 100, regardless of the selected view. Values greater than
+     * the max value will be coerced down to it.
+     * 
+ * + * int32 page_size = 2; + * @return The pageSize. + */ + @java.lang.Override + public int getPageSize() { + return pageSize_; + } + /** + *
+     * Maximum number of executions to return per call.
+     * Max supported value depends on the selected Execution view: it's 1000 for
+     * BASIC and 100 for FULL. The default value used if the field is not
+     * specified is 100, regardless of the selected view. Values greater than
+     * the max value will be coerced down to it.
+     * 
+ * + * int32 page_size = 2; + * @param value The pageSize to set. + * @return This builder for chaining. + */ + public Builder setPageSize(int value) { + + pageSize_ = value; + bitField0_ |= 0x00000002; + onChanged(); + return this; + } + /** + *
+     * Maximum number of executions to return per call.
+     * Max supported value depends on the selected Execution view: it's 1000 for
+     * BASIC and 100 for FULL. The default value used if the field is not
+     * specified is 100, regardless of the selected view. Values greater than
+     * the max value will be coerced down to it.
+     * 
+ * + * int32 page_size = 2; + * @return This builder for chaining. + */ + public Builder clearPageSize() { + bitField0_ = (bitField0_ & ~0x00000002); + pageSize_ = 0; + onChanged(); + return this; + } + + private java.lang.Object pageToken_ = ""; + /** + *
+     * A page token, received from a previous `ListExecutions` call.
+     * Provide this to retrieve the subsequent page.
+     *
+     * When paginating, all other parameters provided to `ListExecutions` must
+     * match the call that provided the page token.
+     *
+     * Note that pagination is applied to dynamic data. The list of executions
+     * returned can change between page requests.
+     * 
+ * + * string page_token = 3; + * @return The pageToken. + */ + public java.lang.String getPageToken() { + java.lang.Object ref = pageToken_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + pageToken_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * A page token, received from a previous `ListExecutions` call.
+     * Provide this to retrieve the subsequent page.
+     *
+     * When paginating, all other parameters provided to `ListExecutions` must
+     * match the call that provided the page token.
+     *
+     * Note that pagination is applied to dynamic data. The list of executions
+     * returned can change between page requests.
+     * 
+ * + * string page_token = 3; + * @return The bytes for pageToken. + */ + 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); + pageToken_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * A page token, received from a previous `ListExecutions` call.
+     * Provide this to retrieve the subsequent page.
+     *
+     * When paginating, all other parameters provided to `ListExecutions` must
+     * match the call that provided the page token.
+     *
+     * Note that pagination is applied to dynamic data. The list of executions
+     * returned can change between page requests.
+     * 
+ * + * string page_token = 3; + * @param value The pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + /** + *
+     * A page token, received from a previous `ListExecutions` call.
+     * Provide this to retrieve the subsequent page.
+     *
+     * When paginating, all other parameters provided to `ListExecutions` must
+     * match the call that provided the page token.
+     *
+     * Note that pagination is applied to dynamic data. The list of executions
+     * returned can change between page requests.
+     * 
+ * + * string page_token = 3; + * @return This builder for chaining. + */ + public Builder clearPageToken() { + pageToken_ = getDefaultInstance().getPageToken(); + bitField0_ = (bitField0_ & ~0x00000004); + onChanged(); + return this; + } + /** + *
+     * A page token, received from a previous `ListExecutions` call.
+     * Provide this to retrieve the subsequent page.
+     *
+     * When paginating, all other parameters provided to `ListExecutions` must
+     * match the call that provided the page token.
+     *
+     * Note that pagination is applied to dynamic data. The list of executions
+     * returned can change between page requests.
+     * 
+ * + * string page_token = 3; + * @param value The bytes for pageToken to set. + * @return This builder for chaining. + */ + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + pageToken_ = value; + bitField0_ |= 0x00000004; + onChanged(); + return this; + } + + private int view_ = 0; + /** + *
+     * Optional. A view defining which fields should be filled in the returned
+     * executions. The API will default to the BASIC view.
+     * 
+ * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + @java.lang.Override public int getViewValue() { + return view_; + } + /** + *
+     * Optional. A view defining which fields should be filled in the returned
+     * executions. The API will default to the BASIC view.
+     * 
+ * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @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; + bitField0_ |= 0x00000008; + onChanged(); + return this; + } + /** + *
+     * Optional. A view defining which fields should be filled in the returned
+     * executions. The API will default to the BASIC view.
+     * 
+ * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ExecutionView getView() { + com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); + return result == null ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED : result; + } + /** + *
+     * Optional. A view defining which fields should be filled in the returned
+     * executions. The API will default to the BASIC view.
+     * 
+ * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The view to set. + * @return This builder for chaining. + */ + public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView value) { + if (value == null) { + throw new NullPointerException(); + } + bitField0_ |= 0x00000008; + view_ = value.getNumber(); + onChanged(); + return this; + } + /** + *
+     * Optional. A view defining which fields should be filled in the returned
+     * executions. The API will default to the BASIC view.
+     * 
+ * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearView() { + bitField0_ = (bitField0_ & ~0x00000008); + view_ = 0; + onChanged(); + return this; + } + + private java.lang.Object filter_ = ""; + /** + *
+     * Optional. Filters applied to the [Executions.ListExecutions] results.
+     * The following fields are supported for filtering:
+     * executionID, state, startTime, endTime, duration, workflowRevisionID,
+     * stepName, and label.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @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; + java.lang.String s = bs.toStringUtf8(); + filter_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. Filters applied to the [Executions.ListExecutions] results.
+     * The following fields are supported for filtering:
+     * executionID, state, startTime, endTime, duration, workflowRevisionID,
+     * stepName, and label.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for filter. + */ + 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); + filter_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. Filters applied to the [Executions.ListExecutions] results.
+     * The following fields are supported for filtering:
+     * executionID, state, startTime, endTime, duration, workflowRevisionID,
+     * stepName, and label.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The filter to set. + * @return This builder for chaining. + */ + public Builder setFilter( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + filter_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + /** + *
+     * Optional. Filters applied to the [Executions.ListExecutions] results.
+     * The following fields are supported for filtering:
+     * executionID, state, startTime, endTime, duration, workflowRevisionID,
+     * stepName, and label.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearFilter() { + filter_ = getDefaultInstance().getFilter(); + bitField0_ = (bitField0_ & ~0x00000010); + onChanged(); + return this; + } + /** + *
+     * Optional. Filters applied to the [Executions.ListExecutions] results.
+     * The following fields are supported for filtering:
+     * executionID, state, startTime, endTime, duration, workflowRevisionID,
+     * stepName, and label.
+     * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for filter to set. + * @return This builder for chaining. + */ + public Builder setFilterBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + filter_ = value; + bitField0_ |= 0x00000010; + onChanged(); + return this; + } + + private java.lang.Object orderBy_ = ""; + /** + *
+     * Optional. The ordering applied to the [Executions.ListExecutions] results.
+     * By default the ordering is based on descending start time.
+     * The following fields are supported for order by:
+     * executionID, startTime, endTime, duration, state, and workflowRevisionID.
+     * 
+ * + * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The orderBy. + */ + public java.lang.String getOrderBy() { + java.lang.Object ref = orderBy_; + if (!(ref instanceof java.lang.String)) { + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; + java.lang.String s = bs.toStringUtf8(); + orderBy_ = s; + return s; + } else { + return (java.lang.String) ref; + } + } + /** + *
+     * Optional. The ordering applied to the [Executions.ListExecutions] results.
+     * By default the ordering is based on descending start time.
+     * The following fields are supported for order by:
+     * executionID, startTime, endTime, duration, state, and workflowRevisionID.
+     * 
+ * + * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for orderBy. + */ + public com.google.protobuf.ByteString + getOrderByBytes() { + java.lang.Object ref = orderBy_; + if (ref instanceof String) { + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); + orderBy_ = b; + return b; + } else { + return (com.google.protobuf.ByteString) ref; + } + } + /** + *
+     * Optional. The ordering applied to the [Executions.ListExecutions] results.
+     * By default the ordering is based on descending start time.
+     * The following fields are supported for order by:
+     * executionID, startTime, endTime, duration, state, and workflowRevisionID.
+     * 
+ * + * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderBy( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } + orderBy_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + /** + *
+     * Optional. The ordering applied to the [Executions.ListExecutions] results.
+     * By default the ordering is based on descending start time.
+     * The following fields are supported for order by:
+     * executionID, startTime, endTime, duration, state, and workflowRevisionID.
+     * 
+ * + * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return This builder for chaining. + */ + public Builder clearOrderBy() { + orderBy_ = getDefaultInstance().getOrderBy(); + bitField0_ = (bitField0_ & ~0x00000020); + onChanged(); + return this; + } + /** + *
+     * Optional. The ordering applied to the [Executions.ListExecutions] results.
+     * By default the ordering is based on descending start time.
+     * The following fields are supported for order by:
+     * executionID, startTime, endTime, duration, state, and workflowRevisionID.
+     * 
+ * + * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @param value The bytes for orderBy to set. + * @return This builder for chaining. + */ + public Builder setOrderByBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } + checkByteStringIsUtf8(value); + orderBy_ = value; + bitField0_ |= 0x00000020; + onChanged(); + return this; + } + @java.lang.Override + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.setUnknownFields(unknownFields); + } + + @java.lang.Override + public final Builder mergeUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { + return super.mergeUnknownFields(unknownFields); + } + + + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.ListExecutionsRequest) + } + + // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.ListExecutionsRequest) + private static final com.google.cloud.workflows.executions.v1.ListExecutionsRequest DEFAULT_INSTANCE; + static { + DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(); + } + + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest getDefaultInstance() { + return DEFAULT_INSTANCE; + } + + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListExecutionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; + + public static com.google.protobuf.Parser parser() { + return PARSER; + } + + @java.lang.Override + public com.google.protobuf.Parser getParserForType() { + return PARSER; + } + + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ListExecutionsRequest getDefaultInstanceForType() { + return DEFAULT_INSTANCE; + } + +} + diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java new file mode 100644 index 000000000000..c26cb9c6832e --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java @@ -0,0 +1,152 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1/executions.proto + +package com.google.cloud.workflows.executions.v1; + +public interface ListExecutionsRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.ListExecutionsRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the workflow for which the executions should be listed.
+   * Format: projects/{project}/locations/{location}/workflows/{workflow}
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Name of the workflow for which the executions should be listed.
+   * Format: projects/{project}/locations/{location}/workflows/{workflow}
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Maximum number of executions to return per call.
+   * Max supported value depends on the selected Execution view: it's 1000 for
+   * BASIC and 100 for FULL. The default value used if the field is not
+   * specified is 100, regardless of the selected view. Values greater than
+   * the max value will be coerced down to it.
+   * 
+ * + * int32 page_size = 2; + * @return The pageSize. + */ + int getPageSize(); + + /** + *
+   * A page token, received from a previous `ListExecutions` call.
+   * Provide this to retrieve the subsequent page.
+   *
+   * When paginating, all other parameters provided to `ListExecutions` must
+   * match the call that provided the page token.
+   *
+   * Note that pagination is applied to dynamic data. The list of executions
+   * returned can change between page requests.
+   * 
+ * + * string page_token = 3; + * @return The pageToken. + */ + java.lang.String getPageToken(); + /** + *
+   * A page token, received from a previous `ListExecutions` call.
+   * Provide this to retrieve the subsequent page.
+   *
+   * When paginating, all other parameters provided to `ListExecutions` must
+   * match the call that provided the page token.
+   *
+   * Note that pagination is applied to dynamic data. The list of executions
+   * returned can change between page requests.
+   * 
+ * + * string page_token = 3; + * @return The bytes for pageToken. + */ + com.google.protobuf.ByteString + getPageTokenBytes(); + + /** + *
+   * Optional. A view defining which fields should be filled in the returned
+   * executions. The API will default to the BASIC view.
+   * 
+ * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The enum numeric value on the wire for view. + */ + int getViewValue(); + /** + *
+   * Optional. A view defining which fields should be filled in the returned
+   * executions. The API will default to the BASIC view.
+   * 
+ * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * @return The view. + */ + com.google.cloud.workflows.executions.v1.ExecutionView getView(); + + /** + *
+   * Optional. Filters applied to the [Executions.ListExecutions] results.
+   * The following fields are supported for filtering:
+   * executionID, state, startTime, endTime, duration, workflowRevisionID,
+   * stepName, and label.
+   * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The filter. + */ + java.lang.String getFilter(); + /** + *
+   * Optional. Filters applied to the [Executions.ListExecutions] results.
+   * The following fields are supported for filtering:
+   * executionID, state, startTime, endTime, duration, workflowRevisionID,
+   * stepName, and label.
+   * 
+ * + * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for filter. + */ + com.google.protobuf.ByteString + getFilterBytes(); + + /** + *
+   * Optional. The ordering applied to the [Executions.ListExecutions] results.
+   * By default the ordering is based on descending start time.
+   * The following fields are supported for order by:
+   * executionID, startTime, endTime, duration, state, and workflowRevisionID.
+   * 
+ * + * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The orderBy. + */ + java.lang.String getOrderBy(); + /** + *
+   * Optional. The ordering applied to the [Executions.ListExecutions] results.
+   * By default the ordering is based on descending start time.
+   * The following fields are supported for order by:
+   * executionID, startTime, endTime, duration, state, and workflowRevisionID.
+   * 
+ * + * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * @return The bytes for orderBy. + */ + com.google.protobuf.ByteString + getOrderByBytes(); +} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java similarity index 71% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java rename to owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java index 68a23774a034..7616bced18a6 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Response for the
  * [ListExecutions][google.cloud.workflows.executions.v1.Executions.ListExecutions]
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1.ListExecutionsResponse}
  */
-public final class ListExecutionsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListExecutionsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.ListExecutionsResponse)
     ListExecutionsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListExecutionsResponse.newBuilder() to construct.
   private ListExecutionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListExecutionsResponse() {
     executions_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -46,32 +28,28 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1.ListExecutionsResponse.class,
-            com.google.cloud.workflows.executions.v1.ListExecutionsResponse.Builder.class);
+            com.google.cloud.workflows.executions.v1.ListExecutionsResponse.class, com.google.cloud.workflows.executions.v1.ListExecutionsResponse.Builder.class);
   }
 
   public static final int EXECUTIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List executions_;
   /**
-   *
-   *
    * 
    * The executions which match the request.
    * 
@@ -83,8 +61,6 @@ public java.util.List getExe return executions_; } /** - * - * *
    * The executions which match the request.
    * 
@@ -92,13 +68,11 @@ public java.util.List getExe * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getExecutionsOrBuilderList() { return executions_; } /** - * - * *
    * The executions which match the request.
    * 
@@ -110,8 +84,6 @@ public int getExecutionsCount() { return executions_.size(); } /** - * - * *
    * The executions which match the request.
    * 
@@ -123,8 +95,6 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde return executions_.get(index); } /** - * - * *
    * The executions which match the request.
    * 
@@ -138,19 +108,15 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -159,30 +125,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -191,7 +157,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -203,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < executions_.size(); i++) { output.writeMessage(1, executions_.get(i)); } @@ -220,7 +186,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < executions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, executions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, executions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -233,16 +200,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.workflows.executions.v1.ListExecutionsResponse)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.ListExecutionsResponse other = - (com.google.cloud.workflows.executions.v1.ListExecutionsResponse) obj; + com.google.cloud.workflows.executions.v1.ListExecutionsResponse other = (com.google.cloud.workflows.executions.v1.ListExecutionsResponse) obj; - if (!getExecutionsList().equals(other.getExecutionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getExecutionsList() + .equals(other.getExecutionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -266,104 +234,98 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse 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.workflows.executions.v1.ListExecutionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1.ListExecutionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.ListExecutionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the
    * [ListExecutions][google.cloud.workflows.executions.v1.Executions.ListExecutions]
@@ -372,32 +334,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1.ListExecutionsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.ListExecutionsResponse)
       com.google.cloud.workflows.executions.v1.ListExecutionsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1.ListExecutionsResponse.class,
-              com.google.cloud.workflows.executions.v1.ListExecutionsResponse.Builder.class);
+              com.google.cloud.workflows.executions.v1.ListExecutionsResponse.class, com.google.cloud.workflows.executions.v1.ListExecutionsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.workflows.executions.v1.ListExecutionsResponse.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -414,14 +377,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1.ListExecutionsResponse
-        getDefaultInstanceForType() {
+    public com.google.cloud.workflows.executions.v1.ListExecutionsResponse getDefaultInstanceForType() {
       return com.google.cloud.workflows.executions.v1.ListExecutionsResponse.getDefaultInstance();
     }
 
@@ -436,18 +398,14 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1.ListExecutionsResponse buildPartial() {
-      com.google.cloud.workflows.executions.v1.ListExecutionsResponse result =
-          new com.google.cloud.workflows.executions.v1.ListExecutionsResponse(this);
+      com.google.cloud.workflows.executions.v1.ListExecutionsResponse result = new com.google.cloud.workflows.executions.v1.ListExecutionsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.workflows.executions.v1.ListExecutionsResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.workflows.executions.v1.ListExecutionsResponse result) {
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -459,8 +417,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.cloud.workflows.executions.v1.ListExecutionsResponse result) {
+    private void buildPartial0(com.google.cloud.workflows.executions.v1.ListExecutionsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -471,50 +428,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1.ListExecutionsResponse) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1.ListExecutionsResponse) other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1.ListExecutionsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.workflows.executions.v1.ListExecutionsResponse other) {
-      if (other
-          == com.google.cloud.workflows.executions.v1.ListExecutionsResponse.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.workflows.executions.v1.ListExecutionsResponse other) {
+      if (other == com.google.cloud.workflows.executions.v1.ListExecutionsResponse.getDefaultInstance()) return this;
       if (executionsBuilder_ == null) {
         if (!other.executions_.isEmpty()) {
           if (executions_.isEmpty()) {
@@ -533,10 +486,9 @@ public Builder mergeFrom(
             executionsBuilder_ = null;
             executions_ = other.executions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            executionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getExecutionsFieldBuilder()
-                    : null;
+            executionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getExecutionsFieldBuilder() : null;
           } else {
             executionsBuilder_.addAllMessages(other.executions_);
           }
@@ -573,33 +525,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.workflows.executions.v1.Execution m =
-                    input.readMessage(
-                        com.google.cloud.workflows.executions.v1.Execution.parser(),
-                        extensionRegistry);
-                if (executionsBuilder_ == null) {
-                  ensureExecutionsIsMutable();
-                  executions_.add(m);
-                } else {
-                  executionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.workflows.executions.v1.Execution m =
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1.Execution.parser(),
+                      extensionRegistry);
+              if (executionsBuilder_ == null) {
+                ensureExecutionsIsMutable();
+                executions_.add(m);
+              } else {
+                executionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -609,30 +558,21 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List executions_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureExecutionsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        executions_ =
-            new java.util.ArrayList(
-                executions_);
+        executions_ = new java.util.ArrayList(executions_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.workflows.executions.v1.Execution,
-            com.google.cloud.workflows.executions.v1.Execution.Builder,
-            com.google.cloud.workflows.executions.v1.ExecutionOrBuilder>
-        executionsBuilder_;
+        com.google.cloud.workflows.executions.v1.Execution, com.google.cloud.workflows.executions.v1.Execution.Builder, com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> executionsBuilder_;
 
     /**
-     *
-     *
      * 
      * The executions which match the request.
      * 
@@ -647,8 +587,6 @@ public java.util.List getExe } } /** - * - * *
      * The executions which match the request.
      * 
@@ -663,8 +601,6 @@ public int getExecutionsCount() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -679,8 +615,6 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde } } /** - * - * *
      * The executions which match the request.
      * 
@@ -702,8 +636,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -722,8 +654,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -744,8 +674,6 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1.Execution return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -767,8 +695,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -787,8 +713,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -807,8 +731,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -819,7 +741,8 @@ public Builder addAllExecutions( java.lang.Iterable values) { if (executionsBuilder_ == null) { ensureExecutionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, executions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, executions_); onChanged(); } else { executionsBuilder_.addAllMessages(values); @@ -827,8 +750,6 @@ public Builder addAllExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -846,8 +767,6 @@ public Builder clearExecutions() { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -865,8 +784,6 @@ public Builder removeExecutions(int index) { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -878,8 +795,6 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionsB return getExecutionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The executions which match the request.
      * 
@@ -889,22 +804,19 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionsB public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionsOrBuilder( int index) { if (executionsBuilder_ == null) { - return executions_.get(index); - } else { + return executions_.get(index); } else { return executionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The executions which match the request.
      * 
* * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ - public java.util.List - getExecutionsOrBuilderList() { + public java.util.List + getExecutionsOrBuilderList() { if (executionsBuilder_ != null) { return executionsBuilder_.getMessageOrBuilderList(); } else { @@ -912,8 +824,6 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions } } /** - * - * *
      * The executions which match the request.
      * 
@@ -921,12 +831,10 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ public com.google.cloud.workflows.executions.v1.Execution.Builder addExecutionsBuilder() { - return getExecutionsFieldBuilder() - .addBuilder(com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()); + return getExecutionsFieldBuilder().addBuilder( + com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()); } /** - * - * *
      * The executions which match the request.
      * 
@@ -935,36 +843,30 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder addExecutionsB */ public com.google.cloud.workflows.executions.v1.Execution.Builder addExecutionsBuilder( int index) { - return getExecutionsFieldBuilder() - .addBuilder( - index, com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()); + return getExecutionsFieldBuilder().addBuilder( + index, com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()); } /** - * - * *
      * The executions which match the request.
      * 
* * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ - public java.util.List - getExecutionsBuilderList() { + public java.util.List + getExecutionsBuilderList() { return getExecutionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution, - com.google.cloud.workflows.executions.v1.Execution.Builder, - com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> + com.google.cloud.workflows.executions.v1.Execution, com.google.cloud.workflows.executions.v1.Execution.Builder, com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> getExecutionsFieldBuilder() { if (executionsBuilder_ == null) { - executionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution, - com.google.cloud.workflows.executions.v1.Execution.Builder, - com.google.cloud.workflows.executions.v1.ExecutionOrBuilder>( - executions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + executionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution, com.google.cloud.workflows.executions.v1.Execution.Builder, com.google.cloud.workflows.executions.v1.ExecutionOrBuilder>( + executions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); executions_ = null; } return executionsBuilder_; @@ -972,21 +874,19 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder addExecutionsB private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -995,22 +895,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1018,37 +917,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1058,31 +950,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1092,43 +980,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.ListExecutionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.ListExecutionsResponse) - private static final com.google.cloud.workflows.executions.v1.ListExecutionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.workflows.executions.v1.ListExecutionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.ListExecutionsResponse(); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse - getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListExecutionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListExecutionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1140,8 +1026,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1.ListExecutionsResponse - getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.ListExecutionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java similarity index 70% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java rename to owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java index a53b5426e0bd..af9b0b7305cc 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; -public interface ListExecutionsResponseOrBuilder - extends +public interface ListExecutionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.ListExecutionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The executions which match the request.
    * 
* * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ - java.util.List getExecutionsList(); + java.util.List + getExecutionsList(); /** - * - * *
    * The executions which match the request.
    * 
@@ -44,8 +25,6 @@ public interface ListExecutionsResponseOrBuilder */ com.google.cloud.workflows.executions.v1.Execution getExecutions(int index); /** - * - * *
    * The executions which match the request.
    * 
@@ -54,51 +33,43 @@ public interface ListExecutionsResponseOrBuilder */ int getExecutionsCount(); /** - * - * *
    * The executions which match the request.
    * 
* * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ - java.util.List + java.util.List getExecutionsOrBuilderList(); /** - * - * *
    * The executions which match the request.
    * 
* * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ - com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionsOrBuilder(int index); + com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java similarity index 100% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java rename to owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto similarity index 72% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto rename to owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto index f83921d0f351..0c6bc12cbedf 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto +++ b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2023 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,6 +20,7 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; option go_package = "cloud.google.com/go/workflows/executions/apiv1/executionspb;executionspb"; @@ -35,7 +36,8 @@ option (google.api.resource_definition) = { // [Workflows][google.cloud.workflows.v1.Workflow] called executions. service Executions { option (google.api.default_host) = "workflowexecutions.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Returns a list of executions which belong to the workflow with // the given name. The method returns executions of all workflow @@ -83,6 +85,31 @@ message Execution { pattern: "projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}" }; + // Describes the current state of the execution. More states might be added + // in the future. + enum State { + // Invalid state. + STATE_UNSPECIFIED = 0; + + // The execution is in progress. + ACTIVE = 1; + + // The execution finished successfully. + SUCCEEDED = 2; + + // The execution failed with an error. + FAILED = 3; + + // The execution was stopped intentionally. + CANCELLED = 4; + + // Execution data is unavailable. See the `state_error` field. + UNAVAILABLE = 5; + + // Request has been placed in the backlog for processing at a later time. + QUEUED = 6; + } + // A single stack element (frame) where an error occurred. message StackTraceElement { // Position contains source position information about the stack trace @@ -128,29 +155,10 @@ message Execution { StackTrace stack_trace = 3; } - // Describes the current state of the execution. More states might be added - // in the future. - enum State { - // Invalid state. - STATE_UNSPECIFIED = 0; - - // The execution is in progress. - ACTIVE = 1; - - // The execution finished successfully. - SUCCEEDED = 2; - - // The execution failed with an error. - FAILED = 3; - - // The execution was stopped intentionally. - CANCELLED = 4; - } - // Describes the level of platform logging to apply to calls and call // responses during workflow executions. enum CallLogLevel { - // No call logging specified. + // No call logging level specified. CALL_LOG_LEVEL_UNSPECIFIED = 0; // Log all call steps within workflows, all call returns, and all exceptions @@ -159,6 +167,48 @@ message Execution { // Log only exceptions that are raised from call steps within workflows. LOG_ERRORS_ONLY = 2; + + // Explicitly log nothing. + LOG_NONE = 3; + } + + // Represents the current status of this execution. + message Status { + // Represents a step of the workflow this execution is running. + message Step { + // Name of a routine within the workflow. + string routine = 1; + + // Name of a step within the routine. + string step = 2; + } + + // A list of currently executing or last executed step names for the + // workflow execution currently running. If the workflow has succeeded or + // failed, this is the last attempted or executed step. Presently, if the + // current step is inside a subworkflow, the list only includes that step. + // In the future, the list will contain items for each step in the call + // stack, starting with the outermost step in the `main` subworkflow, and + // ending with the most deeply nested step. + repeated Step current_steps = 1; + } + + // Describes an error related to the current state of the Execution resource. + message StateError { + // Describes the possible types of a state error. + enum Type { + // No type specified. + TYPE_UNSPECIFIED = 0; + + // Caused by an issue with KMS. + KMS_ERROR = 1; + } + + // Provides specifics about the error. + string details = 1; + + // The type of this state error. + Type type = 2; } // Output only. The resource name of the execution. @@ -167,10 +217,16 @@ message Execution { string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Marks the beginning of execution. - google.protobuf.Timestamp start_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp start_time = 2 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Marks the end of execution, successful or not. - google.protobuf.Timestamp end_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp end_time = 3 + [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Output only. Measures the duration of the execution. + google.protobuf.Duration duration = 12 + [(google.api.field_behavior) = OUTPUT_ONLY]; // Output only. Current state of the execution. State state = 4 [(google.api.field_behavior) = OUTPUT_ONLY]; @@ -197,6 +253,24 @@ message Execution { // The call logging level associated to this execution. CallLogLevel call_log_level = 9; + + // Output only. Status tracks the current steps and progress data of this + // execution. + Status status = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; + + // Labels associated with this execution. + // Labels can contain at most 64 entries. Keys and values can be no longer + // than 63 characters and can only contain lowercase letters, numeric + // characters, underscores, and dashes. Label keys must start with a letter. + // International characters are allowed. + // By default, labels are inherited from the workflow but are overridden by + // any labels associated with the execution. + map labels = 11; + + // Output only. Error regarding the state of the Execution resource. For + // example, this field will have error details if the execution data is + // unavailable due to revoked KMS key permissions. + StateError state_error = 13 [(google.api.field_behavior) = OUTPUT_ONLY]; } // Request for the @@ -213,7 +287,7 @@ message ListExecutionsRequest { ]; // Maximum number of executions to return per call. - // Max supported value depends on the selected Execution view: it's 10000 for + // Max supported value depends on the selected Execution view: it's 1000 for // BASIC and 100 for FULL. The default value used if the field is not // specified is 100, regardless of the selected view. Values greater than // the max value will be coerced down to it. @@ -224,11 +298,26 @@ message ListExecutionsRequest { // // When paginating, all other parameters provided to `ListExecutions` must // match the call that provided the page token. + // + // Note that pagination is applied to dynamic data. The list of executions + // returned can change between page requests. string page_token = 3; - // Optional. A view defining which fields should be filled in the returned executions. - // The API will default to the BASIC view. + // Optional. A view defining which fields should be filled in the returned + // executions. The API will default to the BASIC view. ExecutionView view = 4 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Filters applied to the [Executions.ListExecutions] results. + // The following fields are supported for filtering: + // executionID, state, startTime, endTime, duration, workflowRevisionID, + // stepName, and label. + string filter = 5 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. The ordering applied to the [Executions.ListExecutions] results. + // By default the ordering is based on descending start time. + // The following fields are supported for order by: + // executionID, startTime, endTime, duration, state, and workflowRevisionID. + string order_by = 6 [(google.api.field_behavior) = OPTIONAL]; } // Response for the @@ -275,8 +364,8 @@ message GetExecutionRequest { } ]; - // Optional. A view defining which fields should be filled in the returned execution. - // The API will default to the FULL view. + // Optional. A view defining which fields should be filled in the returned + // execution. The API will default to the FULL view. ExecutionView view = 2 [(google.api.field_behavior) = OPTIONAL]; } @@ -301,8 +390,8 @@ enum ExecutionView { EXECUTION_VIEW_UNSPECIFIED = 0; // Includes only basic metadata about the execution. - // Following fields are returned: name, start_time, end_time, state - // and workflow_revision_id. + // The following fields are returned: name, start_time, end_time, duration, + // state, and workflow_revision_id. BASIC = 1; // Includes all data. diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/AsyncCancelExecution.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/AsyncCancelExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/AsyncCancelExecution.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/AsyncCancelExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecution.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecution.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionExecutionname.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionExecutionname.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionExecutionname.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionExecutionname.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionString.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionString.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionString.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionString.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetEndpoint.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/AsyncCreateExecution.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/AsyncCreateExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/AsyncCreateExecution.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/AsyncCreateExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecution.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecution.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionStringExecution.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionStringExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionStringExecution.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionStringExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/AsyncGetExecution.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/AsyncGetExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/AsyncGetExecution.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/AsyncGetExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecution.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecution.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionExecutionname.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionExecutionname.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionExecutionname.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionExecutionname.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionString.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionString.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionString.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionString.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutions.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutions.java similarity index 96% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutions.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutions.java index a012ac353643..b4698dc2c1bc 100644 --- a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutions.java +++ b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutions.java @@ -43,6 +43,8 @@ public static void asyncListExecutions() throws Exception { .setPageSize(883849137) .setPageToken("pageToken873572522") .setView(ExecutionView.forNumber(0)) + .setFilter("filter-1274492040") + .setOrderBy("orderBy-1207110587") .build(); ApiFuture future = executionsClient.listExecutionsPagedCallable().futureCall(request); diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutionsPaged.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutionsPaged.java similarity index 96% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutionsPaged.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutionsPaged.java index afdf28d7e2e1..b2ab41b05872 100644 --- a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutionsPaged.java +++ b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutionsPaged.java @@ -44,6 +44,8 @@ public static void asyncListExecutionsPaged() throws Exception { .setPageSize(883849137) .setPageToken("pageToken873572522") .setView(ExecutionView.forNumber(0)) + .setFilter("filter-1274492040") + .setOrderBy("orderBy-1207110587") .build(); while (true) { ListExecutionsResponse response = executionsClient.listExecutionsCallable().call(request); diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutions.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutions.java similarity index 96% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutions.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutions.java index 864c776c6acf..1a7fbc991b0b 100644 --- a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutions.java +++ b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutions.java @@ -42,6 +42,8 @@ public static void syncListExecutions() throws Exception { .setPageSize(883849137) .setPageToken("pageToken873572522") .setView(ExecutionView.forNumber(0)) + .setFilter("filter-1274492040") + .setOrderBy("orderBy-1207110587") .build(); for (Execution element : executionsClient.listExecutions(request).iterateAll()) { // doThingsWith(element); diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsString.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsString.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsString.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsString.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsWorkflowname.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsWorkflowname.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsWorkflowname.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsWorkflowname.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executionssettings/createexecution/SyncCreateExecution.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executionssettings/createexecution/SyncCreateExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executionssettings/createexecution/SyncCreateExecution.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executionssettings/createexecution/SyncCreateExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/stub/executionsstubsettings/createexecution/SyncCreateExecution.java b/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/stub/executionsstubsettings/createexecution/SyncCreateExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/stub/executionsstubsettings/createexecution/SyncCreateExecution.java rename to owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/stub/executionsstubsettings/createexecution/SyncCreateExecution.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java similarity index 99% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java index 9f6375703eb4..77597b65e8fb 100644 --- a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java +++ b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.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.workflows.executions.v1beta.stub.ExecutionsStubSettings; diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java similarity index 99% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java index 2a16e557f287..1c252af0d1a0 100644 --- a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java +++ b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java @@ -36,6 +36,7 @@ import io.grpc.MethodDescriptor; import io.grpc.protobuf.ProtoUtils; import java.io.IOException; +import java.util.Map; import java.util.concurrent.TimeUnit; import javax.annotation.Generated; diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1beta/reflect-config.json b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1beta/reflect-config.json similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1beta/reflect-config.json rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1beta/reflect-config.json diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java diff --git a/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java b/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java similarity index 100% rename from java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java rename to owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java b/owl-bot-staging/java-workflow-executions/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java new file mode 100644 index 000000000000..6110c4baeeda --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java @@ -0,0 +1,599 @@ +package com.google.cloud.workflows.executions.v1beta; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + *
+ * Executions is used to start and manage running instances of
+ * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/workflows/executions/v1beta/executions.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ExecutionsGrpc { + + private ExecutionsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.workflows.executions.v1beta.Executions"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor getListExecutionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListExecutions", + requestType = com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.class, + responseType = com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getListExecutionsMethod() { + io.grpc.MethodDescriptor getListExecutionsMethod; + if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { + ExecutionsGrpc.getListExecutionsMethod = getListExecutionsMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListExecutions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("ListExecutions")) + .build(); + } + } + } + return getListExecutionsMethod; + } + + private static volatile io.grpc.MethodDescriptor getCreateExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateExecution", + requestType = com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.class, + responseType = com.google.cloud.workflows.executions.v1beta.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCreateExecutionMethod() { + io.grpc.MethodDescriptor getCreateExecutionMethod; + if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { + ExecutionsGrpc.getCreateExecutionMethod = getCreateExecutionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("CreateExecution")) + .build(); + } + } + } + return getCreateExecutionMethod; + } + + private static volatile io.grpc.MethodDescriptor getGetExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetExecution", + requestType = com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.class, + responseType = com.google.cloud.workflows.executions.v1beta.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getGetExecutionMethod() { + io.grpc.MethodDescriptor getGetExecutionMethod; + if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { + ExecutionsGrpc.getGetExecutionMethod = getGetExecutionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("GetExecution")) + .build(); + } + } + } + return getGetExecutionMethod; + } + + private static volatile io.grpc.MethodDescriptor getCancelExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelExecution", + requestType = com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.class, + responseType = com.google.cloud.workflows.executions.v1beta.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor getCancelExecutionMethod() { + io.grpc.MethodDescriptor getCancelExecutionMethod; + if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { + ExecutionsGrpc.getCancelExecutionMethod = getCancelExecutionMethod = + io.grpc.MethodDescriptor.newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.getDefaultInstance())) + .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("CancelExecution")) + .build(); + } + } + } + return getCancelExecutionMethod; + } + + /** + * Creates a new async stub that supports all call types for the service + */ + public static ExecutionsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsStub(channel, callOptions); + } + }; + return ExecutionsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ExecutionsBlockingStub newBlockingStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsBlockingStub(channel, callOptions); + } + }; + return ExecutionsBlockingStub.newStub(factory, channel); + } + + /** + * Creates a new ListenableFuture-style stub that supports unary calls on the service + */ + public static ExecutionsFutureStub newFutureStub( + io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsFutureStub(channel, callOptions); + } + }; + return ExecutionsFutureStub.newStub(factory, channel); + } + + /** + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
+   * 
+ */ + public interface AsyncService { + + /** + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + default void listExecutions(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), responseObserver); + } + + /** + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + default void createExecution(com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), responseObserver); + } + + /** + *
+     * Returns an execution of the given name.
+     * 
+ */ + default void getExecution(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), responseObserver); + } + + /** + *
+     * Cancels an execution of the given name.
+     * 
+ */ + default void cancelExecution(com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Executions. + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
+   * 
+ */ + public static abstract class ExecutionsImplBase + implements io.grpc.BindableService, AsyncService { + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + return ExecutionsGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Executions. + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
+   * 
+ */ + public static final class ExecutionsStub + extends io.grpc.stub.AbstractAsyncStub { + private ExecutionsStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsStub(channel, callOptions); + } + + /** + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + public void listExecutions(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + public void createExecution(com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Returns an execution of the given name.
+     * 
+ */ + public void getExecution(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request, responseObserver); + } + + /** + *
+     * Cancels an execution of the given name.
+     * 
+ */ + public void cancelExecution(com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request, + io.grpc.stub.StreamObserver responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), request, responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Executions. + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
+   * 
+ */ + public static final class ExecutionsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ExecutionsBlockingStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsBlockingStub(channel, callOptions); + } + + /** + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse listExecutions(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListExecutionsMethod(), getCallOptions(), request); + } + + /** + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + public com.google.cloud.workflows.executions.v1beta.Execution createExecution(com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateExecutionMethod(), getCallOptions(), request); + } + + /** + *
+     * Returns an execution of the given name.
+     * 
+ */ + public com.google.cloud.workflows.executions.v1beta.Execution getExecution(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetExecutionMethod(), getCallOptions(), request); + } + + /** + *
+     * Cancels an execution of the given name.
+     * 
+ */ + public com.google.cloud.workflows.executions.v1beta.Execution cancelExecution(com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelExecutionMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Executions. + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
+   * 
+ */ + public static final class ExecutionsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ExecutionsFutureStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsFutureStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsFutureStub(channel, callOptions); + } + + /** + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture listExecutions( + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request); + } + + /** + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture createExecution( + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), request); + } + + /** + *
+     * Returns an execution of the given name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture getExecution( + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request); + } + + /** + *
+     * Cancels an execution of the given name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture cancelExecution( + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_EXECUTIONS = 0; + private static final int METHODID_CREATE_EXECUTION = 1; + private static final int METHODID_GET_EXECUTION = 2; + private static final int METHODID_CANCEL_EXECUTION = 3; + + 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_EXECUTIONS: + serviceImpl.listExecutions((com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CREATE_EXECUTION: + serviceImpl.createExecution((com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_GET_EXECUTION: + serviceImpl.getExecution((com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + case METHODID_CANCEL_EXECUTION: + serviceImpl.cancelExecution((com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) request, + (io.grpc.stub.StreamObserver) responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListExecutionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest, + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse>( + service, METHODID_LIST_EXECUTIONS))) + .addMethod( + getCreateExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution>( + service, METHODID_CREATE_EXECUTION))) + .addMethod( + getGetExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution>( + service, METHODID_GET_EXECUTION))) + .addMethod( + getCancelExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution>( + service, METHODID_CANCEL_EXECUTION))) + .build(); + } + + private static abstract class ExecutionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ExecutionsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Executions"); + } + } + + private static final class ExecutionsFileDescriptorSupplier + extends ExecutionsBaseDescriptorSupplier { + ExecutionsFileDescriptorSupplier() {} + } + + private static final class ExecutionsMethodDescriptorSupplier + extends ExecutionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ExecutionsMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ExecutionsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ExecutionsFileDescriptorSupplier()) + .addMethod(getListExecutionsMethod()) + .addMethod(getCreateExecutionMethod()) + .addMethod(getGetExecutionMethod()) + .addMethod(getCancelExecutionMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java similarity index 60% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java index adf677a43caf..1c1fbc2e3c95 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** - * - * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1beta.Executions.CancelExecution]
@@ -29,58 +12,50 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1beta.CancelExecutionRequest}
  */
-public final class CancelExecutionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CancelExecutionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.CancelExecutionRequest)
     CancelExecutionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CancelExecutionRequest.newBuilder() to construct.
   private CancelExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CancelExecutionRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CancelExecutionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.class,
-            com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.Builder.class);
+            com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.class, com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
-   *
-   *
    * 
    * Required. Name of the execution to be cancelled.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -89,33 +64,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the execution to be cancelled.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -124,7 +97,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -136,7 +108,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -160,15 +133,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.workflows.executions.v1beta.CancelExecutionRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest other = - (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) obj; + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest other = (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -188,105 +161,98 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest 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.workflows.executions.v1beta.CancelExecutionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest prototype) { + public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the
    * [CancelExecution][google.cloud.workflows.executions.v1beta.Executions.CancelExecution]
@@ -295,33 +261,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1beta.CancelExecutionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.CancelExecutionRequest)
       com.google.cloud.workflows.executions.v1beta.CancelExecutionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.class,
-              com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.class, com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -331,16 +297,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest
-          .getDefaultInstance();
+    public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest getDefaultInstanceForType() {
+      return com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -354,17 +318,13 @@ public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest build
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result =
-          new com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result) {
+    private void buildPartial0(com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -375,51 +335,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) {
-        return mergeFrom(
-            (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest other) {
-      if (other
-          == com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest other) {
+      if (other == com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -451,19 +406,17 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -473,29 +426,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.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; @@ -504,25 +452,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -530,43 +475,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string 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() { @@ -576,34 +510,28 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -613,43 +541,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.CancelExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.CancelExecutionRequest) - private static final com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest(); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest - getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -661,8 +587,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest - getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java new file mode 100644 index 000000000000..aafcee78af00 --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java @@ -0,0 +1,33 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1beta/executions.proto + +package com.google.cloud.workflows.executions.v1beta; + +public interface CancelExecutionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.CancelExecutionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the execution to be cancelled.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The name. + */ + java.lang.String getName(); + /** + *
+   * Required. Name of the execution to be cancelled.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for name. + */ + com.google.protobuf.ByteString + getNameBytes(); +} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java similarity index 59% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java index 2900df3baab0..533658e51730 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** - * - * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1beta.Executions.CreateExecution]
@@ -29,58 +12,50 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1beta.CreateExecutionRequest}
  */
-public final class CreateExecutionRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class CreateExecutionRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.CreateExecutionRequest)
     CreateExecutionRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use CreateExecutionRequest.newBuilder() to construct.
   private CreateExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private CreateExecutionRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new CreateExecutionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.class,
-            com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.Builder.class);
+            com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.class, com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Name of the workflow for which an execution should be created.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * The latest revision of the workflow will be used.
    * 
* - * - * string parent = 1 [(.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 @@ -89,33 +64,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. Name of the workflow for which an execution should be created.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * The latest revision of the workflow will be used.
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,16 +99,11 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int EXECUTION_FIELD_NUMBER = 2; private com.google.cloud.workflows.executions.v1beta.Execution execution_; /** - * - * *
    * Required. Execution to be created.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the execution field is set. */ @java.lang.Override @@ -143,44 +111,30 @@ public boolean hasExecution() { return execution_ != null; } /** - * - * *
    * Required. Execution to be created.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The execution. */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution getExecution() { - return execution_ == null - ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() - : execution_; + return execution_ == null ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() : execution_; } /** - * - * *
    * Required. Execution to be created.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionOrBuilder() { - return execution_ == null - ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() - : execution_; + return execution_ == null ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() : execution_; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -192,7 +146,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -212,7 +167,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (execution_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExecution()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getExecution()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -222,18 +178,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.workflows.executions.v1beta.CreateExecutionRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest other = - (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) obj; + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest other = (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) obj; - if (!getParent().equals(other.getParent())) return false; + if (!getParent() + .equals(other.getParent())) return false; if (hasExecution() != other.hasExecution()) return false; if (hasExecution()) { - if (!getExecution().equals(other.getExecution())) return false; + if (!getExecution() + .equals(other.getExecution())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -258,105 +215,98 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest 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.workflows.executions.v1beta.CreateExecutionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest prototype) { + public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the
    * [CreateExecution][google.cloud.workflows.executions.v1beta.Executions.CreateExecution]
@@ -365,33 +315,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1beta.CreateExecutionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.CreateExecutionRequest)
       com.google.cloud.workflows.executions.v1beta.CreateExecutionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.class,
-              com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.class, com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -406,16 +356,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest
-          .getDefaultInstance();
+    public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest getDefaultInstanceForType() {
+      return com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -429,23 +377,21 @@ public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest build
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result =
-          new com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result) {
+    private void buildPartial0(com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.execution_ = executionBuilder_ == null ? execution_ : executionBuilder_.build();
+        result.execution_ = executionBuilder_ == null
+            ? execution_
+            : executionBuilder_.build();
       }
     }
 
@@ -453,51 +399,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) {
-        return mergeFrom(
-            (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest other) {
-      if (other
-          == com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest other) {
+      if (other == com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -532,25 +473,24 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 18:
-              {
-                input.readMessage(getExecutionFieldBuilder().getBuilder(), extensionRegistry);
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 18: {
+              input.readMessage(
+                  getExecutionFieldBuilder().getBuilder(),
+                  extensionRegistry);
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -560,29 +500,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * - * string parent = 1 [(.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; @@ -591,25 +526,22 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -617,43 +549,32 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * - * string 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() { @@ -663,25 +584,19 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -691,58 +606,39 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { private com.google.cloud.workflows.executions.v1beta.Execution execution_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution, - com.google.cloud.workflows.executions.v1beta.Execution.Builder, - com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> - executionBuilder_; + com.google.cloud.workflows.executions.v1beta.Execution, com.google.cloud.workflows.executions.v1beta.Execution.Builder, com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> executionBuilder_; /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; * @return Whether the execution field is set. */ public boolean hasExecution() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; * @return The execution. */ public com.google.cloud.workflows.executions.v1beta.Execution getExecution() { if (executionBuilder_ == null) { - return execution_ == null - ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() - : execution_; + return execution_ == null ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() : execution_; } else { return executionBuilder_.getMessage(); } } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExecution(com.google.cloud.workflows.executions.v1beta.Execution value) { if (executionBuilder_ == null) { @@ -758,15 +654,11 @@ public Builder setExecution(com.google.cloud.workflows.executions.v1beta.Executi return this; } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder setExecution( com.google.cloud.workflows.executions.v1beta.Execution.Builder builderForValue) { @@ -780,22 +672,17 @@ public Builder setExecution( return this; } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder mergeExecution(com.google.cloud.workflows.executions.v1beta.Execution value) { if (executionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && execution_ != null - && execution_ - != com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + execution_ != null && + execution_ != com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()) { getExecutionBuilder().mergeFrom(value); } else { execution_ = value; @@ -808,15 +695,11 @@ public Builder mergeExecution(com.google.cloud.workflows.executions.v1beta.Execu return this; } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ public Builder clearExecution() { bitField0_ = (bitField0_ & ~0x00000002); @@ -829,15 +712,11 @@ public Builder clearExecution() { return this; } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecutionBuilder() { bitField0_ |= 0x00000002; @@ -845,55 +724,43 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti return getExecutionFieldBuilder().getBuilder(); } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionOrBuilder() { if (executionBuilder_ != null) { return executionBuilder_.getMessageOrBuilder(); } else { - return execution_ == null - ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() - : execution_; + return execution_ == null ? + com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() : execution_; } } /** - * - * *
      * Required. Execution to be created.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution, - com.google.cloud.workflows.executions.v1beta.Execution.Builder, - com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> + com.google.cloud.workflows.executions.v1beta.Execution, com.google.cloud.workflows.executions.v1beta.Execution.Builder, com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> getExecutionFieldBuilder() { if (executionBuilder_ == null) { - executionBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution, - com.google.cloud.workflows.executions.v1beta.Execution.Builder, - com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder>( - getExecution(), getParentForChildren(), isClean()); + executionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1beta.Execution, com.google.cloud.workflows.executions.v1beta.Execution.Builder, com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder>( + getExecution(), + getParentForChildren(), + isClean()); execution_ = null; } return executionBuilder_; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -903,43 +770,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.CreateExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.CreateExecutionRequest) - private static final com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest(); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest - getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -951,8 +816,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest - getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java new file mode 100644 index 000000000000..94408fcf838e --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java @@ -0,0 +1,60 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1beta/executions.proto + +package com.google.cloud.workflows.executions.v1beta; + +public interface CreateExecutionRequestOrBuilder extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.CreateExecutionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + *
+   * Required. Name of the workflow for which an execution should be created.
+   * Format: projects/{project}/locations/{location}/workflows/{workflow}
+   * The latest revision of the workflow will be used.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The parent. + */ + java.lang.String getParent(); + /** + *
+   * Required. Name of the workflow for which an execution should be created.
+   * Format: projects/{project}/locations/{location}/workflows/{workflow}
+   * The latest revision of the workflow will be used.
+   * 
+ * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * @return The bytes for parent. + */ + com.google.protobuf.ByteString + getParentBytes(); + + /** + *
+   * Required. Execution to be created.
+   * 
+ * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return Whether the execution field is set. + */ + boolean hasExecution(); + /** + *
+   * Required. Execution to be created.
+   * 
+ * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * @return The execution. + */ + com.google.cloud.workflows.executions.v1beta.Execution getExecution(); + /** + *
+   * Required. Execution to be created.
+   * 
+ * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + */ + com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionOrBuilder(); +} diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java similarity index 70% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java index 3e6e8b27e9dd..41bab8b94d27 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java @@ -1,42 +1,24 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** - * - * *
  * A running instance of a [Workflow][google.cloud.workflows.v1beta.Workflow].
  * 
* * Protobuf type {@code google.cloud.workflows.executions.v1beta.Execution} */ -public final class Execution extends com.google.protobuf.GeneratedMessageV3 - implements +public final class Execution extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.Execution) ExecutionOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use Execution.newBuilder() to construct. private Execution(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Execution() { name_ = ""; state_ = 0; @@ -47,28 +29,25 @@ private Execution() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Execution(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1beta_Execution_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1beta_Execution_fieldAccessorTable + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1beta.Execution.class, - com.google.cloud.workflows.executions.v1beta.Execution.Builder.class); + com.google.cloud.workflows.executions.v1beta.Execution.class, com.google.cloud.workflows.executions.v1beta.Execution.Builder.class); } /** - * - * *
    * Describes the current state of the execution. More states may be added
    * in the future.
@@ -76,10 +55,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * Protobuf enum {@code google.cloud.workflows.executions.v1beta.Execution.State}
    */
-  public enum State implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State
+      implements com.google.protobuf.ProtocolMessageEnum {
     /**
-     *
-     *
      * 
      * Invalid state.
      * 
@@ -88,8 +66,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The execution is in progress.
      * 
@@ -98,8 +74,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
      * The execution finished successfully.
      * 
@@ -108,8 +82,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(2), /** - * - * *
      * The execution failed with an error.
      * 
@@ -118,8 +90,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -131,8 +101,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid state.
      * 
@@ -141,8 +109,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The execution is in progress.
      * 
@@ -151,8 +117,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The execution finished successfully.
      * 
@@ -161,8 +125,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 2; /** - * - * *
      * The execution failed with an error.
      * 
@@ -171,8 +133,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -181,6 +141,7 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CANCELLED_VALUE = 4; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -205,55 +166,51 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: - return STATE_UNSPECIFIED; - case 1: - return ACTIVE; - case 2: - return SUCCEEDED; - case 3: - return FAILED; - case 4: - return CANCELLED; - default: - return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { - return internalValueMap; + case 0: return STATE_UNSPECIFIED; + case 1: return ACTIVE; + case 2: return SUCCEEDED; + case 3: return FAILED; + case 4: return CANCELLED; + default: return null; + } } - private static final com.google.protobuf.Internal.EnumLiteMap internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public State findValueByNumber(int number) { - return State.forNumber(number); - } - }; + public static com.google.protobuf.Internal.EnumLiteMap + internalGetValueMap() { + return internalValueMap; + } + private static final com.google.protobuf.Internal.EnumLiteMap< + State> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public State findValueByNumber(int number) { + return State.forNumber(number); + } + }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + public final com.google.protobuf.Descriptors.EnumValueDescriptor + getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - - public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { + public final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptorForType() { return getDescriptor(); } - - public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1beta.Execution.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.Execution.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; @@ -270,80 +227,66 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1beta.Execution.State) } - public interface ErrorOrBuilder - extends + public interface ErrorOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.Execution.Error) com.google.protobuf.MessageOrBuilder { /** - * - * *
      * Error payload returned by the execution, represented as a JSON string.
      * 
* * string payload = 1; - * * @return The payload. */ java.lang.String getPayload(); /** - * - * *
      * Error payload returned by the execution, represented as a JSON string.
      * 
* * string payload = 1; - * * @return The bytes for payload. */ - com.google.protobuf.ByteString getPayloadBytes(); + com.google.protobuf.ByteString + getPayloadBytes(); /** - * - * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; - * * @return The context. */ java.lang.String getContext(); /** - * - * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; - * * @return The bytes for context. */ - com.google.protobuf.ByteString getContextBytes(); + com.google.protobuf.ByteString + getContextBytes(); } /** - * - * *
    * Error describes why the execution was abnormally terminated.
    * 
* * Protobuf type {@code google.cloud.workflows.executions.v1beta.Execution.Error} */ - public static final class Error extends com.google.protobuf.GeneratedMessageV3 - implements + public static final class Error extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.Execution.Error) ErrorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Error.newBuilder() to construct. private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Error() { payload_ = ""; context_ = ""; @@ -351,38 +294,33 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Error(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_fieldAccessorTable + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1beta.Execution.Error.class, - com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder.class); + com.google.cloud.workflows.executions.v1beta.Execution.Error.class, com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder.class); } public static final int PAYLOAD_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object payload_ = ""; /** - * - * *
      * Error payload returned by the execution, represented as a JSON string.
      * 
* * string payload = 1; - * * @return The payload. */ @java.lang.Override @@ -391,29 +329,29 @@ public java.lang.String getPayload() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); payload_ = s; return s; } } /** - * - * *
      * Error payload returned by the execution, represented as a JSON string.
      * 
* * string payload = 1; - * * @return The bytes for payload. */ @java.lang.Override - public com.google.protobuf.ByteString getPayloadBytes() { + public com.google.protobuf.ByteString + getPayloadBytes() { java.lang.Object ref = payload_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); payload_ = b; return b; } else { @@ -422,18 +360,14 @@ public com.google.protobuf.ByteString getPayloadBytes() { } public static final int CONTEXT_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object context_ = ""; /** - * - * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; - * * @return The context. */ @java.lang.Override @@ -442,29 +376,29 @@ public java.lang.String getContext() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); context_ = s; return s; } } /** - * - * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; - * * @return The bytes for context. */ @java.lang.Override - public com.google.protobuf.ByteString getContextBytes() { + public com.google.protobuf.ByteString + getContextBytes() { java.lang.Object ref = context_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); context_ = b; return b; } else { @@ -473,7 +407,6 @@ public com.google.protobuf.ByteString getContextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -485,7 +418,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, payload_); } @@ -515,16 +449,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.workflows.executions.v1beta.Execution.Error)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.Execution.Error other = - (com.google.cloud.workflows.executions.v1beta.Execution.Error) obj; + com.google.cloud.workflows.executions.v1beta.Execution.Error other = (com.google.cloud.workflows.executions.v1beta.Execution.Error) obj; - if (!getPayload().equals(other.getPayload())) return false; - if (!getContext().equals(other.getContext())) return false; + if (!getPayload() + .equals(other.getPayload())) return false; + if (!getContext() + .equals(other.getContext())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -546,94 +481,89 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.Execution.Error 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.workflows.executions.v1beta.Execution.Error parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1beta.Execution.Error prototype) { + public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.Execution.Error prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -643,41 +573,39 @@ protected Builder newBuilderForType( return builder; } /** - * - * *
      * Error describes why the execution was abnormally terminated.
      * 
* * Protobuf type {@code google.cloud.workflows.executions.v1beta.Execution.Error} */ - public static final class Builder - extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.Execution.Error) com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_fieldAccessorTable + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1beta.Execution.Error.class, - com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder.class); + com.google.cloud.workflows.executions.v1beta.Execution.Error.class, com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder.class); } // Construct using com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -688,14 +616,13 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.Execution.Error - getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.Execution.Error getDefaultInstanceForType() { return com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance(); } @@ -710,17 +637,13 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Error build() { @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.Error buildPartial() { - com.google.cloud.workflows.executions.v1beta.Execution.Error result = - new com.google.cloud.workflows.executions.v1beta.Execution.Error(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.workflows.executions.v1beta.Execution.Error result = new com.google.cloud.workflows.executions.v1beta.Execution.Error(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } - private void buildPartial0( - com.google.cloud.workflows.executions.v1beta.Execution.Error result) { + private void buildPartial0(com.google.cloud.workflows.executions.v1beta.Execution.Error result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.payload_ = payload_; @@ -734,41 +657,38 @@ private void buildPartial0( public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, - java.lang.Object value) { + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.workflows.executions.v1beta.Execution.Error) { - return mergeFrom((com.google.cloud.workflows.executions.v1beta.Execution.Error) other); + return mergeFrom((com.google.cloud.workflows.executions.v1beta.Execution.Error)other); } else { super.mergeFrom(other); return this; @@ -776,9 +696,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.Execution.Error other) { - if (other - == com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance()) - return this; + if (other == com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance()) return this; if (!other.getPayload().isEmpty()) { payload_ = other.payload_; bitField0_ |= 0x00000001; @@ -815,25 +733,22 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - payload_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - context_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + payload_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + context_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -843,25 +758,22 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object payload_ = ""; /** - * - * *
        * Error payload returned by the execution, represented as a JSON string.
        * 
* * string payload = 1; - * * @return The payload. */ public java.lang.String getPayload() { java.lang.Object ref = payload_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); payload_ = s; return s; @@ -870,21 +782,20 @@ public java.lang.String getPayload() { } } /** - * - * *
        * Error payload returned by the execution, represented as a JSON string.
        * 
* * string payload = 1; - * * @return The bytes for payload. */ - public com.google.protobuf.ByteString getPayloadBytes() { + public com.google.protobuf.ByteString + getPayloadBytes() { java.lang.Object ref = payload_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); payload_ = b; return b; } else { @@ -892,35 +803,28 @@ public com.google.protobuf.ByteString getPayloadBytes() { } } /** - * - * *
        * Error payload returned by the execution, represented as a JSON string.
        * 
* * string payload = 1; - * * @param value The payload to set. * @return This builder for chaining. */ - public Builder setPayload(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPayload( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } payload_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
        * Error payload returned by the execution, represented as a JSON string.
        * 
* * string payload = 1; - * * @return This builder for chaining. */ public Builder clearPayload() { @@ -930,21 +834,17 @@ public Builder clearPayload() { return this; } /** - * - * *
        * Error payload returned by the execution, represented as a JSON string.
        * 
* * string payload = 1; - * * @param value The bytes for payload to set. * @return This builder for chaining. */ - public Builder setPayloadBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPayloadBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); payload_ = value; bitField0_ |= 0x00000001; @@ -954,20 +854,18 @@ public Builder setPayloadBytes(com.google.protobuf.ByteString value) { private java.lang.Object context_ = ""; /** - * - * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; - * * @return The context. */ public java.lang.String getContext() { java.lang.Object ref = context_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); context_ = s; return s; @@ -976,21 +874,20 @@ public java.lang.String getContext() { } } /** - * - * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; - * * @return The bytes for context. */ - public com.google.protobuf.ByteString getContextBytes() { + public com.google.protobuf.ByteString + getContextBytes() { java.lang.Object ref = context_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); context_ = b; return b; } else { @@ -998,35 +895,28 @@ public com.google.protobuf.ByteString getContextBytes() { } } /** - * - * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; - * * @param value The context to set. * @return This builder for chaining. */ - public Builder setContext(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setContext( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } context_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; - * * @return This builder for chaining. */ public Builder clearContext() { @@ -1036,28 +926,23 @@ public Builder clearContext() { return this; } /** - * - * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; - * * @param value The bytes for context to set. * @return This builder for chaining. */ - public Builder setContextBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setContextBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); context_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1070,44 +955,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.Execution.Error) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.Execution.Error) - private static final com.google.cloud.workflows.executions.v1beta.Execution.Error - DEFAULT_INSTANCE; - + private static final com.google.cloud.workflows.executions.v1beta.Execution.Error DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.Execution.Error(); } - public static com.google.cloud.workflows.executions.v1beta.Execution.Error - getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1beta.Execution.Error getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException() - .setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1119,19 +1001,16 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.Execution.Error - getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.Execution.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Output only. The resource name of the execution.
    * Format:
@@ -1139,7 +1018,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -1148,15 +1026,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; } } /** - * - * *
    * Output only. The resource name of the execution.
    * Format:
@@ -1164,15 +1041,16 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -1183,15 +1061,11 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** - * - * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ @java.lang.Override @@ -1199,15 +1073,11 @@ public boolean hasStartTime() { return startTime_ != null; } /** - * - * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ @java.lang.Override @@ -1215,14 +1085,11 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** - * - * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -1232,15 +1099,11 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** - * - * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ @java.lang.Override @@ -1248,15 +1111,11 @@ public boolean hasEndTime() { return endTime_ != null; } /** - * - * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ @java.lang.Override @@ -1264,14 +1123,11 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** - * - * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -1281,58 +1137,39 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int state_ = 0; /** - * - * *
    * Output only. Current state of the execution.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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. Current state of the execution.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.Execution.State getState() { - com.google.cloud.workflows.executions.v1beta.Execution.State result = - com.google.cloud.workflows.executions.v1beta.Execution.State.forNumber(state_); - return result == null - ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.State getState() { + com.google.cloud.workflows.executions.v1beta.Execution.State result = com.google.cloud.workflows.executions.v1beta.Execution.State.forNumber(state_); + return result == null ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; - @SuppressWarnings("serial") private volatile java.lang.Object argument_ = ""; /** - * - * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
    * 
* * string argument = 5; - * * @return The argument. */ @java.lang.Override @@ -1341,30 +1178,30 @@ public java.lang.String getArgument() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); argument_ = s; return s; } } /** - * - * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
    * 
* * string argument = 5; - * * @return The bytes for argument. */ @java.lang.Override - public com.google.protobuf.ByteString getArgumentBytes() { + public com.google.protobuf.ByteString + getArgumentBytes() { java.lang.Object ref = argument_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); argument_ = b; return b; } else { @@ -1373,19 +1210,15 @@ public com.google.protobuf.ByteString getArgumentBytes() { } public static final int RESULT_FIELD_NUMBER = 6; - @SuppressWarnings("serial") private volatile java.lang.Object result_ = ""; /** - * - * *
    * Output only. Output of the execution represented as a JSON string. The
    * value can only be present if the execution's state is `SUCCEEDED`.
    * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The result. */ @java.lang.Override @@ -1394,30 +1227,30 @@ public java.lang.String getResult() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); result_ = s; return s; } } /** - * - * *
    * Output only. Output of the execution represented as a JSON string. The
    * value can only be present if the execution's state is `SUCCEEDED`.
    * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for result. */ @java.lang.Override - public com.google.protobuf.ByteString getResultBytes() { + public com.google.protobuf.ByteString + getResultBytes() { java.lang.Object ref = result_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); result_ = b; return b; } else { @@ -1428,18 +1261,13 @@ public com.google.protobuf.ByteString getResultBytes() { public static final int ERROR_FIELD_NUMBER = 7; private com.google.cloud.workflows.executions.v1beta.Execution.Error error_; /** - * - * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the error field is set. */ @java.lang.Override @@ -1447,59 +1275,42 @@ public boolean hasError() { return error_ != null; } /** - * - * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The error. */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.Error getError() { - return error_ == null - ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() - : error_; + return error_ == null ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() : error_; } /** - * - * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder getErrorOrBuilder() { - return error_ == null - ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() - : error_; + return error_ == null ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() : error_; } public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; - @SuppressWarnings("serial") private volatile java.lang.Object workflowRevisionId_ = ""; /** - * - * *
    * Output only. Revision of the workflow this execution is using.
    * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The workflowRevisionId. */ @java.lang.Override @@ -1508,29 +1319,29 @@ public java.lang.String getWorkflowRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowRevisionId_ = s; return s; } } /** - * - * *
    * Output only. Revision of the workflow this execution is using.
    * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for workflowRevisionId. */ @java.lang.Override - public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { + public com.google.protobuf.ByteString + getWorkflowRevisionIdBytes() { java.lang.Object ref = workflowRevisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workflowRevisionId_ = b; return b; } else { @@ -1539,7 +1350,6 @@ public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1551,7 +1361,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1561,9 +1372,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (endTime_ != null) { output.writeMessage(3, getEndTime()); } - if (state_ - != com.google.cloud.workflows.executions.v1beta.Execution.State.STATE_UNSPECIFIED - .getNumber()) { + if (state_ != com.google.cloud.workflows.executions.v1beta.Execution.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { @@ -1591,15 +1400,16 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(3, getEndTime()); } - if (state_ - != com.google.cloud.workflows.executions.v1beta.Execution.State.STATE_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); + if (state_ != com.google.cloud.workflows.executions.v1beta.Execution.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, argument_); @@ -1608,7 +1418,8 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, result_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getError()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, workflowRevisionId_); @@ -1621,31 +1432,37 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.workflows.executions.v1beta.Execution)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.Execution other = - (com.google.cloud.workflows.executions.v1beta.Execution) obj; + com.google.cloud.workflows.executions.v1beta.Execution other = (com.google.cloud.workflows.executions.v1beta.Execution) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime().equals(other.getStartTime())) return false; + if (!getStartTime() + .equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime().equals(other.getEndTime())) return false; + if (!getEndTime() + .equals(other.getEndTime())) return false; } if (state_ != other.state_) return false; - if (!getArgument().equals(other.getArgument())) return false; - if (!getResult().equals(other.getResult())) return false; + if (!getArgument() + .equals(other.getArgument())) return false; + if (!getResult() + .equals(other.getResult())) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError().equals(other.getError())) return false; + if (!getError() + .equals(other.getError())) return false; } - if (!getWorkflowRevisionId().equals(other.getWorkflowRevisionId())) return false; + if (!getWorkflowRevisionId() + .equals(other.getWorkflowRevisionId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1685,136 +1502,131 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.Execution 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.workflows.executions.v1beta.Execution parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.Execution parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.Execution parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1beta.Execution parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1beta.Execution prototype) { + public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.Execution prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * A running instance of a [Workflow][google.cloud.workflows.v1beta.Workflow].
    * 
* * Protobuf type {@code google.cloud.workflows.executions.v1beta.Execution} */ - public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder - implements + public static final class Builder extends + com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.Execution) com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1beta_Execution_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1beta_Execution_fieldAccessorTable + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1beta.Execution.class, - com.google.cloud.workflows.executions.v1beta.Execution.Builder.class); + com.google.cloud.workflows.executions.v1beta.Execution.class, com.google.cloud.workflows.executions.v1beta.Execution.Builder.class); } // Construct using com.google.cloud.workflows.executions.v1beta.Execution.newBuilder() - private Builder() {} + private Builder() { - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { - super(parent); } + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + super(parent); + + } @java.lang.Override public Builder clear() { super.clear(); @@ -1843,9 +1655,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1beta_Execution_descriptor; + public com.google.protobuf.Descriptors.Descriptor + getDescriptorForType() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_descriptor; } @java.lang.Override @@ -1864,11 +1676,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution build() { @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution buildPartial() { - com.google.cloud.workflows.executions.v1beta.Execution result = - new com.google.cloud.workflows.executions.v1beta.Execution(this); - if (bitField0_ != 0) { - buildPartial0(result); - } + com.google.cloud.workflows.executions.v1beta.Execution result = new com.google.cloud.workflows.executions.v1beta.Execution(this); + if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } @@ -1879,10 +1688,14 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1beta.Executio result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null + ? startTime_ + : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null + ? endTime_ + : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.state_ = state_; @@ -1894,7 +1707,9 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1beta.Executio result.result_ = result_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); + result.error_ = errorBuilder_ == null + ? error_ + : errorBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.workflowRevisionId_ = workflowRevisionId_; @@ -1905,39 +1720,38 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1beta.Executio public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.workflows.executions.v1beta.Execution) { - return mergeFrom((com.google.cloud.workflows.executions.v1beta.Execution) other); + return mergeFrom((com.google.cloud.workflows.executions.v1beta.Execution)other); } else { super.mergeFrom(other); return this; @@ -1945,8 +1759,7 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.Execution other) { - if (other == com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()) - return this; + if (other == com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()) return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -2005,61 +1818,58 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: - { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: - { - input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: - { - input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: - { - state_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: - { - argument_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: - { - result_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: - { - input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: - { - workflowRevisionId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: - { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: { + input.readMessage( + getStartTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: { + input.readMessage( + getEndTimeFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: { + state_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: { + argument_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: { + result_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: { + input.readMessage( + getErrorFieldBuilder().getBuilder(), + extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: { + workflowRevisionId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + default: { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2069,13 +1879,10 @@ public Builder mergeFrom( } // finally return this; } - private int bitField0_; private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2083,13 +1890,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -2098,8 +1905,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2107,14 +1912,15 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - public com.google.protobuf.ByteString getNameBytes() { + public com.google.protobuf.ByteString + getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); name_ = b; return b; } else { @@ -2122,8 +1928,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2131,22 +1935,18 @@ public com.google.protobuf.ByteString getNameBytes() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2154,7 +1954,6 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { @@ -2164,8 +1963,6 @@ public Builder clearName() { return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2173,14 +1970,12 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -2190,35 +1985,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - startTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; /** - * - * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** - * - * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2229,14 +2013,11 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** - * - * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -2252,16 +2033,14 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -2272,20 +2051,17 @@ public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValu return this; } /** - * - * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) - && startTime_ != null - && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) && + startTime_ != null && + startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2298,14 +2074,11 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2318,14 +2091,11 @@ public Builder clearStartTime() { return this; } /** - * - * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -2333,44 +2103,36 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** - * - * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getStartTime(), getParentForChildren(), isClean()); + startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getStartTime(), + getParentForChildren(), + isClean()); startTime_ = null; } return startTimeBuilder_; @@ -2378,35 +2140,24 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder> - endTimeBuilder_; + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; /** - * - * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** - * - * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2417,14 +2168,11 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** - * - * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2440,16 +2188,14 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime( + com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2460,20 +2206,17 @@ public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) return this; } /** - * - * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) - && endTime_ != null - && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) && + endTime_ != null && + endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2486,14 +2229,11 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** - * - * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2506,14 +2246,11 @@ public Builder clearEndTime() { return this; } /** - * - * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -2521,44 +2258,36 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? + com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** - * - * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.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> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, - com.google.protobuf.Timestamp.Builder, - com.google.protobuf.TimestampOrBuilder>( - getEndTime(), getParentForChildren(), isClean()); + endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( + getEndTime(), + getParentForChildren(), + isClean()); endTime_ = null; } return endTimeBuilder_; @@ -2566,33 +2295,22 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int state_ = 0; /** - * - * *
      * Output only. Current state of the execution.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @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. Current state of the execution.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2603,37 +2321,24 @@ public Builder setStateValue(int value) { return this; } /** - * - * *
      * Output only. Current state of the execution.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.State getState() { - com.google.cloud.workflows.executions.v1beta.Execution.State result = - com.google.cloud.workflows.executions.v1beta.Execution.State.forNumber(state_); - return result == null - ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED - : result; + com.google.cloud.workflows.executions.v1beta.Execution.State result = com.google.cloud.workflows.executions.v1beta.Execution.State.forNumber(state_); + return result == null ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED : result; } /** - * - * *
      * Output only. Current state of the execution.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @param value The state to set. * @return This builder for chaining. */ @@ -2647,16 +2352,11 @@ public Builder setState(com.google.cloud.workflows.executions.v1beta.Execution.S return this; } /** - * - * *
      * Output only. Current state of the execution.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { @@ -2668,21 +2368,19 @@ public Builder clearState() { private java.lang.Object argument_ = ""; /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
      * 
* * string argument = 5; - * * @return The argument. */ public java.lang.String getArgument() { java.lang.Object ref = argument_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); argument_ = s; return s; @@ -2691,22 +2389,21 @@ public java.lang.String getArgument() { } } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
      * 
* * string argument = 5; - * * @return The bytes for argument. */ - public com.google.protobuf.ByteString getArgumentBytes() { + public com.google.protobuf.ByteString + getArgumentBytes() { java.lang.Object ref = argument_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); argument_ = b; return b; } else { @@ -2714,37 +2411,30 @@ public com.google.protobuf.ByteString getArgumentBytes() { } } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
      * 
* * string argument = 5; - * * @param value The argument to set. * @return This builder for chaining. */ - public Builder setArgument(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setArgument( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } argument_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
      * 
* * string argument = 5; - * * @return This builder for chaining. */ public Builder clearArgument() { @@ -2754,22 +2444,18 @@ public Builder clearArgument() { return this; } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
      * 
* * string argument = 5; - * * @param value The bytes for argument to set. * @return This builder for chaining. */ - public Builder setArgumentBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setArgumentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); argument_ = value; bitField0_ |= 0x00000010; @@ -2779,21 +2465,19 @@ public Builder setArgumentBytes(com.google.protobuf.ByteString value) { private java.lang.Object result_ = ""; /** - * - * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The result. */ public java.lang.String getResult() { java.lang.Object ref = result_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); result_ = s; return s; @@ -2802,22 +2486,21 @@ public java.lang.String getResult() { } } /** - * - * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for result. */ - public com.google.protobuf.ByteString getResultBytes() { + public com.google.protobuf.ByteString + getResultBytes() { java.lang.Object ref = result_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); result_ = b; return b; } else { @@ -2825,37 +2508,30 @@ public com.google.protobuf.ByteString getResultBytes() { } } /** - * - * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResult( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } result_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** - * - * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearResult() { @@ -2865,22 +2541,18 @@ public Builder clearResult() { return this; } /** - * - * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for result to set. * @return This builder for chaining. */ - public Builder setResultBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setResultBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); result_ = value; bitField0_ |= 0x00000020; @@ -2890,64 +2562,45 @@ public Builder setResultBytes(com.google.protobuf.ByteString value) { private com.google.cloud.workflows.executions.v1beta.Execution.Error error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution.Error, - com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder, - com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder> - errorBuilder_; + com.google.cloud.workflows.executions.v1beta.Execution.Error, com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder, com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder> errorBuilder_; /** - * - * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000040) != 0); } /** - * - * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The error. */ public com.google.cloud.workflows.executions.v1beta.Execution.Error getError() { if (errorBuilder_ == null) { - return error_ == null - ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() - : error_; + return error_ == null ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() : error_; } else { return errorBuilder_.getMessage(); } } /** - * - * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setError(com.google.cloud.workflows.executions.v1beta.Execution.Error value) { if (errorBuilder_ == null) { @@ -2963,17 +2616,13 @@ public Builder setError(com.google.cloud.workflows.executions.v1beta.Execution.E return this; } /** - * - * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder setError( com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder builderForValue) { @@ -2987,25 +2636,19 @@ public Builder setError( return this; } /** - * - * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder mergeError(com.google.cloud.workflows.executions.v1beta.Execution.Error value) { if (errorBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) - && error_ != null - && error_ - != com.google.cloud.workflows.executions.v1beta.Execution.Error - .getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) && + error_ != null && + error_ != com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance()) { getErrorBuilder().mergeFrom(value); } else { error_ = value; @@ -3018,17 +2661,13 @@ public Builder mergeError(com.google.cloud.workflows.executions.v1beta.Execution return this; } /** - * - * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public Builder clearError() { bitField0_ = (bitField0_ & ~0x00000040); @@ -3041,17 +2680,13 @@ public Builder clearError() { return this; } /** - * - * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ public com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder getErrorBuilder() { bitField0_ |= 0x00000040; @@ -3059,53 +2694,40 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder getE return getErrorFieldBuilder().getBuilder(); } /** - * - * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ - public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder - getErrorOrBuilder() { + public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null - ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() - : error_; + return error_ == null ? + com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() : error_; } } /** - * - * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution.Error, - com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder, - com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder> + com.google.cloud.workflows.executions.v1beta.Execution.Error, com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder, com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = - new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution.Error, - com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder, - com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder>( - getError(), getParentForChildren(), isClean()); + errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1beta.Execution.Error, com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder, com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder>( + getError(), + getParentForChildren(), + isClean()); error_ = null; } return errorBuilder_; @@ -3113,20 +2735,18 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder getE private java.lang.Object workflowRevisionId_ = ""; /** - * - * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The workflowRevisionId. */ public java.lang.String getWorkflowRevisionId() { java.lang.Object ref = workflowRevisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowRevisionId_ = s; return s; @@ -3135,21 +2755,20 @@ public java.lang.String getWorkflowRevisionId() { } } /** - * - * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for workflowRevisionId. */ - public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { + public com.google.protobuf.ByteString + getWorkflowRevisionIdBytes() { java.lang.Object ref = workflowRevisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); workflowRevisionId_ = b; return b; } else { @@ -3157,35 +2776,28 @@ public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { } } /** - * - * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The workflowRevisionId to set. * @return This builder for chaining. */ - public Builder setWorkflowRevisionId(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWorkflowRevisionId( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } workflowRevisionId_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** - * - * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearWorkflowRevisionId() { @@ -3195,30 +2807,26 @@ public Builder clearWorkflowRevisionId() { return this; } /** - * - * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @param value The bytes for workflowRevisionId to set. * @return This builder for chaining. */ - public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setWorkflowRevisionIdBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); workflowRevisionId_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3228,12 +2836,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.Execution) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.Execution) private static final com.google.cloud.workflows.executions.v1beta.Execution DEFAULT_INSTANCE; - static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.Execution(); } @@ -3242,27 +2850,27 @@ public static com.google.cloud.workflows.executions.v1beta.Execution getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Execution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Execution parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3277,4 +2885,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1beta.Execution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java similarity index 100% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java similarity index 71% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java index 5415f4729861..cbf20e318fa0 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; -public interface ExecutionOrBuilder - extends +public interface ExecutionOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.Execution) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Output only. The resource name of the execution.
    * Format:
@@ -33,13 +15,10 @@ public interface ExecutionOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ java.lang.String getName(); /** - * - * *
    * Output only. The resource name of the execution.
    * Format:
@@ -47,239 +26,178 @@ public interface ExecutionOrBuilder
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for name. */ - com.google.protobuf.ByteString getNameBytes(); + com.google.protobuf.ByteString + getNameBytes(); /** - * - * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the startTime field is set. */ boolean hasStartTime(); /** - * - * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** - * - * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** - * - * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the endTime field is set. */ boolean hasEndTime(); /** - * - * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** - * - * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** - * - * *
    * Output only. Current state of the execution.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The enum numeric value on the wire for state. */ int getStateValue(); /** - * - * *
    * Output only. Current state of the execution.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The state. */ com.google.cloud.workflows.executions.v1beta.Execution.State getState(); /** - * - * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
    * 
* * string argument = 5; - * * @return The argument. */ java.lang.String getArgument(); /** - * - * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
    * 
* * string argument = 5; - * * @return The bytes for argument. */ - com.google.protobuf.ByteString getArgumentBytes(); + com.google.protobuf.ByteString + getArgumentBytes(); /** - * - * *
    * Output only. Output of the execution represented as a JSON string. The
    * value can only be present if the execution's state is `SUCCEEDED`.
    * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The result. */ java.lang.String getResult(); /** - * - * *
    * Output only. Output of the execution represented as a JSON string. The
    * value can only be present if the execution's state is `SUCCEEDED`.
    * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for result. */ - com.google.protobuf.ByteString getResultBytes(); + com.google.protobuf.ByteString + getResultBytes(); /** - * - * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return Whether the error field is set. */ boolean hasError(); /** - * - * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return The error. */ com.google.cloud.workflows.executions.v1beta.Execution.Error getError(); /** - * - * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; */ com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder getErrorOrBuilder(); /** - * - * *
    * Output only. Revision of the workflow this execution is using.
    * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The workflowRevisionId. */ java.lang.String getWorkflowRevisionId(); /** - * - * *
    * Output only. Revision of the workflow this execution is using.
    * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The bytes for workflowRevisionId. */ - com.google.protobuf.ByteString getWorkflowRevisionIdBytes(); + com.google.protobuf.ByteString + getWorkflowRevisionIdBytes(); } diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java similarity index 67% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java index edbb22998b7d..a64347385c88 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java @@ -1,36 +1,18 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** - * - * *
  * Defines possible views for execution resource.
  * 
* * Protobuf enum {@code google.cloud.workflows.executions.v1beta.ExecutionView} */ -public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum { +public enum ExecutionView + implements com.google.protobuf.ProtocolMessageEnum { /** - * - * *
    * The default / unset value.
    * 
@@ -39,8 +21,6 @@ public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum { */ EXECUTION_VIEW_UNSPECIFIED(0), /** - * - * *
    * Includes only basic metadata about the execution.
    * Following fields are returned: name, start_time, end_time, state
@@ -51,8 +31,6 @@ public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   BASIC(1),
   /**
-   *
-   *
    * 
    * Includes all data.
    * 
@@ -64,8 +42,6 @@ public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
    * The default / unset value.
    * 
@@ -74,8 +50,6 @@ public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int EXECUTION_VIEW_UNSPECIFIED_VALUE = 0; /** - * - * *
    * Includes only basic metadata about the execution.
    * Following fields are returned: name, start_time, end_time, state
@@ -86,8 +60,6 @@ public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum {
    */
   public static final int BASIC_VALUE = 1;
   /**
-   *
-   *
    * 
    * Includes all data.
    * 
@@ -96,6 +68,7 @@ public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FULL_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -120,51 +93,49 @@ public static ExecutionView valueOf(int value) { */ public static ExecutionView forNumber(int value) { switch (value) { - case 0: - return EXECUTION_VIEW_UNSPECIFIED; - case 1: - return BASIC; - case 2: - return FULL; - default: - return null; + case 0: return EXECUTION_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 internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ExecutionView findValueByNumber(int number) { - return ExecutionView.forNumber(number); - } - }; - - public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap< + ExecutionView> internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap() { + public ExecutionView findValueByNumber(int number) { + return ExecutionView.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() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.getDescriptor() - .getEnumTypes() - .get(0); + public static final com.google.protobuf.Descriptors.EnumDescriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.getDescriptor().getEnumTypes().get(0); } private static final ExecutionView[] VALUES = values(); - public static ExecutionView valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ExecutionView 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; @@ -180,3 +151,4 @@ private ExecutionView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1beta.ExecutionView) } + diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java new file mode 100644 index 000000000000..def14827cac7 --- /dev/null +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java @@ -0,0 +1,208 @@ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1beta/executions.proto + +package com.google.cloud.workflows.executions.v1beta; + +public final class ExecutionsProto { + private ExecutionsProto() {} + 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_workflows_executions_v1beta_Execution_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_Execution_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor; + static final + com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor + getDescriptor() { + return descriptor; + } + private static com.google.protobuf.Descriptors.FileDescriptor + descriptor; + static { + java.lang.String[] descriptorData = { + "\n9google/cloud/workflows/executions/v1be" + + "ta/executions.proto\022(google.cloud.workfl" + + "ows.executions.v1beta\032\034google/api/annota" + + "tions.proto\032\027google/api/client.proto\032\037go" + + "ogle/api/field_behavior.proto\032\031google/ap" + + "i/resource.proto\032\037google/protobuf/timest" + + "amp.proto\"\377\004\n\tExecution\022\022\n\004name\030\001 \001(\tB\004\342" + + "A\001\003\0224\n\nstart_time\030\002 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\0222\n\010end_time\030\003 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\004\342A\001\003\022N\n\005state\030\004" + + " \001(\01629.google.cloud.workflows.executions" + + ".v1beta.Execution.StateB\004\342A\001\003\022\020\n\010argumen" + + "t\030\005 \001(\t\022\024\n\006result\030\006 \001(\tB\004\342A\001\003\022N\n\005error\030\007" + + " \001(\01329.google.cloud.workflows.executions" + + ".v1beta.Execution.ErrorB\004\342A\001\003\022\"\n\024workflo" + + "w_revision_id\030\010 \001(\tB\004\342A\001\003\032)\n\005Error\022\017\n\007pa" + + "yload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\"T\n\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tSUCC" + + "EEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202" + + "\001\n+workflowexecutions.googleapis.com/Exe" + + "cution\022Sprojects/{project}/locations/{lo" + + "cation}/workflows/{workflow}/executions/" + + "{execution}\"\307\001\n\025ListExecutionsRequest\022:\n" + + "\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!workflows.google" + + "apis.com/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" + + "page_token\030\003 \001(\t\022K\n\004view\030\004 \001(\01627.google." + + "cloud.workflows.executions.v1beta.Execut" + + "ionViewB\004\342A\001\001\"z\n\026ListExecutionsResponse\022" + + "G\n\nexecutions\030\001 \003(\01323.google.cloud.workf" + + "lows.executions.v1beta.Execution\022\027\n\017next" + + "_page_token\030\002 \001(\t\"\242\001\n\026CreateExecutionReq" + + "uest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!workflows" + + ".googleapis.com/Workflow\022L\n\texecution\030\002 " + + "\001(\01323.google.cloud.workflows.executions." + + "v1beta.ExecutionB\004\342A\001\002\"\246\001\n\023GetExecutionR" + + "equest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+workflowe" + + "xecutions.googleapis.com/Execution\022K\n\004vi" + + "ew\030\002 \001(\01627.google.cloud.workflows.execut" + + "ions.v1beta.ExecutionViewB\004\342A\001\001\"\\\n\026Cance" + + "lExecutionRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-" + + "\n+workflowexecutions.googleapis.com/Exec" + + "ution*D\n\rExecutionView\022\036\n\032EXECUTION_VIEW" + + "_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\n" + + "Executions\022\344\001\n\016ListExecutions\022?.google.c" + + "loud.workflows.executions.v1beta.ListExe" + + "cutionsRequest\032@.google.cloud.workflows." + + "executions.v1beta.ListExecutionsResponse" + + "\"O\332A\006parent\202\323\344\223\002@\022>/v1beta/{parent=proje" + + "cts/*/locations/*/workflows/*}/execution" + + "s\022\356\001\n\017CreateExecution\022@.google.cloud.wor" + + "kflows.executions.v1beta.CreateExecution" + + "Request\0323.google.cloud.workflows.executi" + + "ons.v1beta.Execution\"d\332A\020parent,executio" + + "n\202\323\344\223\002K\">/v1beta/{parent=projects/*/loca" + + "tions/*/workflows/*}/executions:\texecuti" + + "on\022\321\001\n\014GetExecution\022=.google.cloud.workf" + + "lows.executions.v1beta.GetExecutionReque" + + "st\0323.google.cloud.workflows.executions.v" + + "1beta.Execution\"M\332A\004name\202\323\344\223\002@\022>/v1beta/" + + "{name=projects/*/locations/*/workflows/*" + + "/executions/*}\022\341\001\n\017CancelExecution\022@.goo" + + "gle.cloud.workflows.executions.v1beta.Ca" + + "ncelExecutionRequest\0323.google.cloud.work" + + "flows.executions.v1beta.Execution\"W\332A\004na" + + "me\202\323\344\223\002J\"E/v1beta/{name=projects/*/locat" + + "ions/*/workflows/*/executions/*}:cancel:" + + "\001*\032U\312A!workflowexecutions.googleapis.com" + + "\322A.https://www.googleapis.com/auth/cloud" + + "-platformB\363\001\n,com.google.cloud.workflows" + + ".executions.v1betaB\017ExecutionsProtoP\001ZLc" + + "loud.google.com/go/workflows/executions/" + + "apiv1beta/executionspb;executionspb\352Aa\n!" + + "workflows.googleapis.com/Workflow\022 * Request for the * [GetExecution][google.cloud.workflows.executions.v1beta.Executions.GetExecution] @@ -29,16 +12,15 @@ * * Protobuf type {@code google.cloud.workflows.executions.v1beta.GetExecutionRequest} */ -public final class GetExecutionRequest extends com.google.protobuf.GeneratedMessageV3 - implements +public final class GetExecutionRequest extends + com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.GetExecutionRequest) GetExecutionRequestOrBuilder { - private static final long serialVersionUID = 0L; +private static final long serialVersionUID = 0L; // Use GetExecutionRequest.newBuilder() to construct. private GetExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private GetExecutionRequest() { name_ = ""; view_ = 0; @@ -46,42 +28,35 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetExecutionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor + getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto - .internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_fieldAccessorTable + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.class, - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.Builder.class); + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.class, com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; - @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** - * - * *
    * Required. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The name. */ @java.lang.Override @@ -90,33 +65,31 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** - * - * *
    * Required. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * - * string name = 1 [(.google.api.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 { @@ -127,48 +100,32 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** - * - * *
    * Optional. A view defining which fields should be filled in the returned execution.
    * The API will default to the FULL view.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. A view defining which fields should be filled in the returned execution.
    * The API will default to the FULL view.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); - return result == null - ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { + com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); + return result == null ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -180,13 +137,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } - if (view_ - != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -201,10 +157,9 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ - != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); + if (view_ != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -214,15 +169,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.workflows.executions.v1beta.GetExecutionRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest other = - (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) obj; + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest other = (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) obj; - if (!getName().equals(other.getName())) return false; + if (!getName() + .equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -245,104 +200,98 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest 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.workflows.executions.v1beta.GetExecutionRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseDelimitedFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest prototype) { + public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the
    * [GetExecution][google.cloud.workflows.executions.v1beta.Executions.GetExecution]
@@ -351,32 +300,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1beta.GetExecutionRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.GetExecutionRequest)
       com.google.cloud.workflows.executions.v1beta.GetExecutionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.class,
-              com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.class, com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.newBuilder()
-    private Builder() {}
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -387,14 +337,13 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest
-        getDefaultInstanceForType() {
+    public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest getDefaultInstanceForType() {
       return com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.getDefaultInstance();
     }
 
@@ -409,17 +358,13 @@ public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest build()
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result =
-          new com.google.cloud.workflows.executions.v1beta.GetExecutionRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.GetExecutionRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result) {
+    private void buildPartial0(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -433,50 +378,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1beta.GetExecutionRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.workflows.executions.v1beta.GetExecutionRequest other) {
-      if (other
-          == com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.getDefaultInstance())
-        return this;
+    public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest other) {
+      if (other == com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -511,25 +452,22 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                name_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                view_ = input.readEnum();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              name_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              view_ = input.readEnum();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -539,29 +477,24 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.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; @@ -570,25 +503,22 @@ public java.lang.String getName() { } } /** - * - * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.google.api.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 { @@ -596,43 +526,32 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setName( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string 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() { @@ -642,25 +561,19 @@ public Builder clearName() { return this; } /** - * - * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * - * string name = 1 [(.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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNameBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -670,35 +583,24 @@ public Builder setNameBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. A view defining which fields should be filled in the returned execution.
      * The API will default to the FULL view.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. A view defining which fields should be filled in the returned execution.
      * The API will default to the FULL view.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -709,39 +611,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * Optional. A view defining which fields should be filled in the returned execution.
      * The API will default to the FULL view.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); - return result == null - ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED - : result; + com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); + return result == null ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. A view defining which fields should be filled in the returned execution.
      * The API will default to the FULL view.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -755,17 +644,12 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie return this; } /** - * - * *
      * Optional. A view defining which fields should be filled in the returned execution.
      * The API will default to the FULL view.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { @@ -774,9 +658,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -786,43 +670,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.GetExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.GetExecutionRequest) - private static final com.google.cloud.workflows.executions.v1beta.GetExecutionRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.workflows.executions.v1beta.GetExecutionRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.GetExecutionRequest(); } - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest - getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -834,8 +716,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest - getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java similarity index 50% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java index 1a7e902f4010..02246254fe5e 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java @@ -1,88 +1,53 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; -public interface GetExecutionRequestOrBuilder - extends +public interface GetExecutionRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.GetExecutionRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * - * string name = 1 [(.google.api.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. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * - * string name = 1 [(.google.api.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. A view defining which fields should be filled in the returned execution.
    * The API will default to the FULL view.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Optional. A view defining which fields should be filled in the returned execution.
    * The API will default to the FULL view.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ com.google.cloud.workflows.executions.v1beta.ExecutionView getView(); diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java similarity index 65% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java index f80a3b52c464..88ea31f981dc 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** - * - * *
  * Request for the
  * [ListExecutions][google.cloud.workflows.executions.v1beta.Executions.ListExecutions]
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1beta.ListExecutionsRequest}
  */
-public final class ListExecutionsRequest extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListExecutionsRequest extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.ListExecutionsRequest)
     ListExecutionsRequestOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListExecutionsRequest.newBuilder() to construct.
   private ListExecutionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListExecutionsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -47,41 +29,34 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.class,
-            com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.Builder.class);
+            com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.class, com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
-   *
-   *
    * 
    * Required. Name of the workflow for which the executions should be listed.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The parent. */ @java.lang.Override @@ -90,32 +65,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. Name of the workflow for which the executions should be listed.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ @java.lang.Override - public com.google.protobuf.ByteString getParentBytes() { + public com.google.protobuf.ByteString + getParentBytes() { java.lang.Object ref = parent_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); parent_ = b; return b; } else { @@ -126,8 +99,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** - * - * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -137,7 +108,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -146,12 +116,9 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; - @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** - * - * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -161,7 +128,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -170,15 +136,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 page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -188,15 +153,16 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -207,48 +173,32 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int view_ = 0; /** - * - * *
    * Optional. A view defining which fields should be filled in the returned executions.
    * The API will default to the BASIC view.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
    * Optional. A view defining which fields should be filled in the returned executions.
    * The API will default to the BASIC view.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ - @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); - return result == null - ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED - : result; + @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { + com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); + return result == null ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED : result; } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -260,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -270,9 +221,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ - != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } getUnknownFields().writeTo(output); @@ -288,15 +237,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (view_ - != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED - .getNumber()) { - size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); + if (view_ != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream + .computeEnumSize(4, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -306,17 +255,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.workflows.executions.v1beta.ListExecutionsRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest other = - (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) obj; + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest other = (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) obj; - if (!getParent().equals(other.getParent())) return false; - if (getPageSize() != other.getPageSize()) return false; - if (!getPageToken().equals(other.getPageToken())) return false; + if (!getParent() + .equals(other.getParent())) return false; + if (getPageSize() + != other.getPageSize()) return false; + if (!getPageToken() + .equals(other.getPageToken())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -343,105 +294,98 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest 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.workflows.executions.v1beta.ListExecutionsRequest parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest prototype) { + public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Request for the
    * [ListExecutions][google.cloud.workflows.executions.v1beta.Executions.ListExecutions]
@@ -450,33 +394,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1beta.ListExecutionsRequest}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.ListExecutionsRequest)
       com.google.cloud.workflows.executions.v1beta.ListExecutionsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.class,
-              com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.class, com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -489,16 +433,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest
-        getDefaultInstanceForType() {
-      return com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest
-          .getDefaultInstance();
+    public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest getDefaultInstanceForType() {
+      return com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -512,17 +454,13 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest build(
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result =
-          new com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest(this);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result = new com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest(this);
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(
-        com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result) {
+    private void buildPartial0(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -542,51 +480,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) {
-        return mergeFrom(
-            (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest other) {
-      if (other
-          == com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest other) {
+      if (other == com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -629,37 +562,32 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                parent_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000001;
-                break;
-              } // case 10
-            case 16:
-              {
-                pageSize_ = input.readInt32();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 16
-            case 26:
-              {
-                pageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000004;
-                break;
-              } // case 26
-            case 32:
-              {
-                view_ = input.readEnum();
-                bitField0_ |= 0x00000008;
-                break;
-              } // case 32
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              parent_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000001;
+              break;
+            } // case 10
+            case 16: {
+              pageSize_ = input.readInt32();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 16
+            case 26: {
+              pageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000004;
+              break;
+            } // case 26
+            case 32: {
+              view_ = input.readEnum();
+              bitField0_ |= 0x00000008;
+              break;
+            } // case 32
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -669,28 +597,23 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
-     *
-     *
      * 
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * - * string parent = 1 [(.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; @@ -699,24 +622,21 @@ public java.lang.String getParent() { } } /** - * - * *
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * - * string parent = 1 [(.google.api.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 { @@ -724,41 +644,30 @@ public com.google.protobuf.ByteString getParentBytes() { } } /** - * - * *
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParent( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** - * - * *
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * - * string 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() { @@ -768,24 +677,18 @@ public Builder clearParent() { return this; } /** - * - * *
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * - * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setParentBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -793,10 +696,8 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -806,7 +707,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -814,8 +714,6 @@ public int getPageSize() { return pageSize_; } /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -825,7 +723,6 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -837,8 +734,6 @@ public Builder setPageSize(int value) { return this; } /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -848,7 +743,6 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -860,8 +754,6 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -871,13 +763,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; - * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -886,8 +778,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -897,14 +787,15 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString getPageTokenBytes() { + public com.google.protobuf.ByteString + getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8( + (java.lang.String) ref); pageToken_ = b; return b; } else { @@ -912,8 +803,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -923,22 +812,18 @@ public com.google.protobuf.ByteString getPageTokenBytes() {
      * 
* * string page_token = 3; - * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -948,7 +833,6 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -958,8 +842,6 @@ public Builder clearPageToken() { return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -969,14 +851,12 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; - * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -986,35 +866,24 @@ public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { private int view_ = 0; /** - * - * *
      * Optional. A view defining which fields should be filled in the returned executions.
      * The API will default to the BASIC view.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ - @java.lang.Override - public int getViewValue() { + @java.lang.Override public int getViewValue() { return view_; } /** - * - * *
      * Optional. A view defining which fields should be filled in the returned executions.
      * The API will default to the BASIC view.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -1025,39 +894,26 @@ public Builder setViewValue(int value) { return this; } /** - * - * *
      * Optional. A view defining which fields should be filled in the returned executions.
      * The API will default to the BASIC view.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); - return result == null - ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED - : result; + com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); + return result == null ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED : result; } /** - * - * *
      * Optional. A view defining which fields should be filled in the returned executions.
      * The API will default to the BASIC view.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @param value The view to set. * @return This builder for chaining. */ @@ -1071,17 +927,12 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie return this; } /** - * - * *
      * Optional. A view defining which fields should be filled in the returned executions.
      * The API will default to the BASIC view.
      * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { @@ -1090,9 +941,9 @@ public Builder clearView() { onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1102,43 +953,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.ListExecutionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.ListExecutionsRequest) - private static final com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest - DEFAULT_INSTANCE; - + private static final com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest(); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest - getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListExecutionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListExecutionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1150,8 +999,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest - getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java similarity index 64% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java index f24ebbb5f093..f135cef4a047 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; -public interface ListExecutionsRequestOrBuilder - extends +public interface ListExecutionsRequestOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.ListExecutionsRequest) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * Required. Name of the workflow for which the executions should be listed.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * 
* - * - * string parent = 1 [(.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. Name of the workflow for which the executions should be listed.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * 
* - * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * - * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } * @return The bytes for parent. */ - com.google.protobuf.ByteString getParentBytes(); + com.google.protobuf.ByteString + getParentBytes(); /** - * - * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -66,14 +39,11 @@ public interface ListExecutionsRequestOrBuilder
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ int getPageSize(); /** - * - * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -83,13 +53,10 @@ public interface ListExecutionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The pageToken. */ java.lang.String getPageToken(); /** - * - * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -99,38 +66,28 @@ public interface ListExecutionsRequestOrBuilder
    * 
* * string page_token = 3; - * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString getPageTokenBytes(); + com.google.protobuf.ByteString + getPageTokenBytes(); /** - * - * *
    * Optional. A view defining which fields should be filled in the returned executions.
    * The API will default to the BASIC view.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The enum numeric value on the wire for view. */ int getViewValue(); /** - * - * *
    * Optional. A view defining which fields should be filled in the returned executions.
    * The API will default to the BASIC view.
    * 
* - * - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; - * - * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return The view. */ com.google.cloud.workflows.executions.v1beta.ExecutionView getView(); diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java similarity index 70% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java index 6914bd5be8b0..92365635a1fa 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** - * - * *
  * Response for the
  * [ListExecutions][google.cloud.workflows.executions.v1beta.Executions.ListExecutions]
@@ -29,16 +12,15 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1beta.ListExecutionsResponse}
  */
-public final class ListExecutionsResponse extends com.google.protobuf.GeneratedMessageV3
-    implements
+public final class ListExecutionsResponse extends
+    com.google.protobuf.GeneratedMessageV3 implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.ListExecutionsResponse)
     ListExecutionsResponseOrBuilder {
-  private static final long serialVersionUID = 0L;
+private static final long serialVersionUID = 0L;
   // Use ListExecutionsResponse.newBuilder() to construct.
   private ListExecutionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
-
   private ListExecutionsResponse() {
     executions_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -46,32 +28,28 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor
+      getDescriptor() {
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-        .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.class,
-            com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.Builder.class);
+            com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.class, com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.Builder.class);
   }
 
   public static final int EXECUTIONS_FIELD_NUMBER = 1;
-
   @SuppressWarnings("serial")
   private java.util.List executions_;
   /**
-   *
-   *
    * 
    * The executions which match the request.
    * 
@@ -79,13 +57,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ @java.lang.Override - public java.util.List - getExecutionsList() { + public java.util.List getExecutionsList() { return executions_; } /** - * - * *
    * The executions which match the request.
    * 
@@ -93,13 +68,11 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getExecutionsOrBuilderList() { return executions_; } /** - * - * *
    * The executions which match the request.
    * 
@@ -111,8 +84,6 @@ public int getExecutionsCount() { return executions_.size(); } /** - * - * *
    * The executions which match the request.
    * 
@@ -124,8 +95,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int return executions_.get(index); } /** - * - * *
    * The executions which match the request.
    * 
@@ -139,19 +108,15 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; - @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ @java.lang.Override @@ -160,30 +125,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -192,7 +157,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -204,7 +168,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { for (int i = 0; i < executions_.size(); i++) { output.writeMessage(1, executions_.get(i)); } @@ -221,7 +186,8 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < executions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, executions_.get(i)); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(1, executions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -234,16 +200,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.workflows.executions.v1beta.ListExecutionsResponse)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse other = - (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) obj; + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse other = (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) obj; - if (!getExecutionsList().equals(other.getExecutionsList())) return false; - if (!getNextPageToken().equals(other.getNextPageToken())) return false; + if (!getExecutionsList() + .equals(other.getExecutionsList())) return false; + if (!getNextPageToken() + .equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -267,105 +234,98 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse 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.workflows.executions.v1beta.ListExecutionsResponse parseFrom( - java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( - byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom(byte[] data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( - byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( - java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse - parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseDelimitedFrom(java.io.InputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse - parseDelimitedFrom( - java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( - PARSER, input, extensionRegistry); + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3.parseWithIOException( - PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3 + .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { - return newBuilder(); - } - + public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - - public static Builder newBuilder( - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse prototype) { + public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } - @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE + ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** - * - * *
    * Response for the
    * [ListExecutions][google.cloud.workflows.executions.v1beta.Executions.ListExecutions]
@@ -374,33 +334,33 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1beta.ListExecutionsResponse}
    */
-  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
-      implements
+  public static final class Builder extends
+      com.google.protobuf.GeneratedMessageV3.Builder implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.ListExecutionsResponse)
       com.google.cloud.workflows.executions.v1beta.ListExecutionsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor
+        getDescriptor() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.class,
-              com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.Builder.class);
+              com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.class, com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.Builder.class);
     }
 
-    // Construct using
-    // com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.newBuilder()
-    private Builder() {}
+    // Construct using com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.newBuilder()
+    private Builder() {
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
-      super(parent);
     }
 
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+      super(parent);
+
+    }
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -417,16 +377,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
-          .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor
+        getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse
-        getDefaultInstanceForType() {
-      return com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse
-          .getDefaultInstance();
+    public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse getDefaultInstanceForType() {
+      return com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.getDefaultInstance();
     }
 
     @java.lang.Override
@@ -440,18 +398,14 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse build
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse buildPartial() {
-      com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse result =
-          new com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse(this);
+      com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse result = new com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) {
-        buildPartial0(result);
-      }
+      if (bitField0_ != 0) { buildPartial0(result); }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(
-        com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse result) {
+    private void buildPartialRepeatedFields(com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse result) {
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -463,8 +417,7 @@ private void buildPartialRepeatedFields(
       }
     }
 
-    private void buildPartial0(
-        com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse result) {
+    private void buildPartial0(com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -475,51 +428,46 @@ private void buildPartial0(
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) {
-        return mergeFrom(
-            (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse)other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(
-        com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse other) {
-      if (other
-          == com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse
-              .getDefaultInstance()) return this;
+    public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse other) {
+      if (other == com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.getDefaultInstance()) return this;
       if (executionsBuilder_ == null) {
         if (!other.executions_.isEmpty()) {
           if (executions_.isEmpty()) {
@@ -538,10 +486,9 @@ public Builder mergeFrom(
             executionsBuilder_ = null;
             executions_ = other.executions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            executionsBuilder_ =
-                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
-                    ? getExecutionsFieldBuilder()
-                    : null;
+            executionsBuilder_ = 
+              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
+                 getExecutionsFieldBuilder() : null;
           } else {
             executionsBuilder_.addAllMessages(other.executions_);
           }
@@ -578,33 +525,30 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10:
-              {
-                com.google.cloud.workflows.executions.v1beta.Execution m =
-                    input.readMessage(
-                        com.google.cloud.workflows.executions.v1beta.Execution.parser(),
-                        extensionRegistry);
-                if (executionsBuilder_ == null) {
-                  ensureExecutionsIsMutable();
-                  executions_.add(m);
-                } else {
-                  executionsBuilder_.addMessage(m);
-                }
-                break;
-              } // case 10
-            case 18:
-              {
-                nextPageToken_ = input.readStringRequireUtf8();
-                bitField0_ |= 0x00000002;
-                break;
-              } // case 18
-            default:
-              {
-                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                  done = true; // was an endgroup tag
-                }
-                break;
-              } // default:
+            case 10: {
+              com.google.cloud.workflows.executions.v1beta.Execution m =
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
+                      extensionRegistry);
+              if (executionsBuilder_ == null) {
+                ensureExecutionsIsMutable();
+                executions_.add(m);
+              } else {
+                executionsBuilder_.addMessage(m);
+              }
+              break;
+            } // case 10
+            case 18: {
+              nextPageToken_ = input.readStringRequireUtf8();
+              bitField0_ |= 0x00000002;
+              break;
+            } // case 18
+            default: {
+              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                done = true; // was an endgroup tag
+              }
+              break;
+            } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -614,38 +558,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
-
     private int bitField0_;
 
     private java.util.List executions_ =
-        java.util.Collections.emptyList();
-
+      java.util.Collections.emptyList();
     private void ensureExecutionsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        executions_ =
-            new java.util.ArrayList(
-                executions_);
+        executions_ = new java.util.ArrayList(executions_);
         bitField0_ |= 0x00000001;
-      }
+       }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-            com.google.cloud.workflows.executions.v1beta.Execution,
-            com.google.cloud.workflows.executions.v1beta.Execution.Builder,
-            com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder>
-        executionsBuilder_;
+        com.google.cloud.workflows.executions.v1beta.Execution, com.google.cloud.workflows.executions.v1beta.Execution.Builder, com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> executionsBuilder_;
 
     /**
-     *
-     *
      * 
      * The executions which match the request.
      * 
* * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ - public java.util.List - getExecutionsList() { + public java.util.List getExecutionsList() { if (executionsBuilder_ == null) { return java.util.Collections.unmodifiableList(executions_); } else { @@ -653,8 +587,6 @@ private void ensureExecutionsIsMutable() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -669,8 +601,6 @@ public int getExecutionsCount() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -685,8 +615,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int } } /** - * - * *
      * The executions which match the request.
      * 
@@ -708,8 +636,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -728,8 +654,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -750,8 +674,6 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1beta.Execut return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -773,8 +695,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -793,8 +713,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -813,8 +731,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -822,11 +738,11 @@ public Builder addExecutions( * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ public Builder addAllExecutions( - java.lang.Iterable - values) { + java.lang.Iterable values) { if (executionsBuilder_ == null) { ensureExecutionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll(values, executions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll( + values, executions_); onChanged(); } else { executionsBuilder_.addAllMessages(values); @@ -834,8 +750,6 @@ public Builder addAllExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -853,8 +767,6 @@ public Builder clearExecutions() { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -872,8 +784,6 @@ public Builder removeExecutions(int index) { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -885,8 +795,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti return getExecutionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The executions which match the request.
      * 
@@ -896,22 +804,19 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionsOrBuilder( int index) { if (executionsBuilder_ == null) { - return executions_.get(index); - } else { + return executions_.get(index); } else { return executionsBuilder_.getMessageOrBuilder(index); } } /** - * - * *
      * The executions which match the request.
      * 
* * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ - public java.util.List - getExecutionsOrBuilderList() { + public java.util.List + getExecutionsOrBuilderList() { if (executionsBuilder_ != null) { return executionsBuilder_.getMessageOrBuilderList(); } else { @@ -919,8 +824,6 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } } /** - * - * *
      * The executions which match the request.
      * 
@@ -928,12 +831,10 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ public com.google.cloud.workflows.executions.v1beta.Execution.Builder addExecutionsBuilder() { - return getExecutionsFieldBuilder() - .addBuilder(com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()); + return getExecutionsFieldBuilder().addBuilder( + com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()); } /** - * - * *
      * The executions which match the request.
      * 
@@ -942,36 +843,30 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder addExecuti */ public com.google.cloud.workflows.executions.v1beta.Execution.Builder addExecutionsBuilder( int index) { - return getExecutionsFieldBuilder() - .addBuilder( - index, com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()); + return getExecutionsFieldBuilder().addBuilder( + index, com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()); } /** - * - * *
      * The executions which match the request.
      * 
* * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ - public java.util.List - getExecutionsBuilderList() { + public java.util.List + getExecutionsBuilderList() { return getExecutionsFieldBuilder().getBuilderList(); } - private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution, - com.google.cloud.workflows.executions.v1beta.Execution.Builder, - com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> + com.google.cloud.workflows.executions.v1beta.Execution, com.google.cloud.workflows.executions.v1beta.Execution.Builder, com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> getExecutionsFieldBuilder() { if (executionsBuilder_ == null) { - executionsBuilder_ = - new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution, - com.google.cloud.workflows.executions.v1beta.Execution.Builder, - com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder>( - executions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); + executionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.workflows.executions.v1beta.Execution, com.google.cloud.workflows.executions.v1beta.Execution.Builder, com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder>( + executions_, + ((bitField0_ & 0x00000001) != 0), + getParentForChildren(), + isClean()); executions_ = null; } return executionsBuilder_; @@ -979,21 +874,19 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder addExecuti private java.lang.Object nextPageToken_ = ""; /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -1002,22 +895,21 @@ public java.lang.String getNextPageToken() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -1025,37 +917,30 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken(java.lang.String value) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageToken( + java.lang.String value) { + if (value == null) { throw new NullPointerException(); } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; - * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -1065,31 +950,27 @@ public Builder clearNextPageToken() { return this; } /** - * - * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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) { - if (value == null) { - throw new NullPointerException(); - } + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { + if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1099,43 +980,41 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } + // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.ListExecutionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.ListExecutionsResponse) - private static final com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse - DEFAULT_INSTANCE; - + private static final com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse(); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse - getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser PARSER = - new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListExecutionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser + PARSER = new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListExecutionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1147,8 +1026,9 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse - getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java similarity index 70% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java index 46d1ab9af93f..79c065a484ba 100644 --- a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java +++ b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2023 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; -public interface ListExecutionsResponseOrBuilder - extends +public interface ListExecutionsResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.ListExecutionsResponse) com.google.protobuf.MessageOrBuilder { /** - * - * *
    * The executions which match the request.
    * 
* * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ - java.util.List getExecutionsList(); + java.util.List + getExecutionsList(); /** - * - * *
    * The executions which match the request.
    * 
@@ -44,8 +25,6 @@ public interface ListExecutionsResponseOrBuilder */ com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int index); /** - * - * *
    * The executions which match the request.
    * 
@@ -54,51 +33,43 @@ public interface ListExecutionsResponseOrBuilder */ int getExecutionsCount(); /** - * - * *
    * The executions which match the request.
    * 
* * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ - java.util.List + java.util.List getExecutionsOrBuilderList(); /** - * - * *
    * The executions which match the request.
    * 
* * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ - com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionsOrBuilder(int index); + com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionsOrBuilder( + int index); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** - * - * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; - * * @return The bytes for nextPageToken. */ - com.google.protobuf.ByteString getNextPageTokenBytes(); + com.google.protobuf.ByteString + getNextPageTokenBytes(); } diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java similarity index 100% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto similarity index 100% rename from java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto rename to owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/AsyncCancelExecution.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/AsyncCancelExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/AsyncCancelExecution.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/AsyncCancelExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecution.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecution.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionExecutionname.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionExecutionname.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionExecutionname.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionExecutionname.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionString.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionString.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionString.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionString.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider1.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider1.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider1.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetEndpoint.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetEndpoint.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetEndpoint.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetEndpoint.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/AsyncCreateExecution.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/AsyncCreateExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/AsyncCreateExecution.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/AsyncCreateExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecution.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecution.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionStringExecution.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionStringExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionStringExecution.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionStringExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/AsyncGetExecution.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/AsyncGetExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/AsyncGetExecution.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/AsyncGetExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecution.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecution.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionExecutionname.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionExecutionname.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionExecutionname.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionExecutionname.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionString.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionString.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionString.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionString.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutions.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutions.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutions.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutions.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutionsPaged.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutionsPaged.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutionsPaged.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutionsPaged.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutions.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutions.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutions.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutions.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsString.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsString.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsString.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsString.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsWorkflowname.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsWorkflowname.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsWorkflowname.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsWorkflowname.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executionssettings/createexecution/SyncCreateExecution.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executionssettings/createexecution/SyncCreateExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executionssettings/createexecution/SyncCreateExecution.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executionssettings/createexecution/SyncCreateExecution.java diff --git a/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/stub/executionsstubsettings/createexecution/SyncCreateExecution.java b/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/stub/executionsstubsettings/createexecution/SyncCreateExecution.java similarity index 100% rename from java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/stub/executionsstubsettings/createexecution/SyncCreateExecution.java rename to owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/stub/executionsstubsettings/createexecution/SyncCreateExecution.java From 0f6334880ae64b0d618bb2a940e5b25b5cedb27c Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Wed, 16 Aug 2023 23:06:27 +0000 Subject: [PATCH 2/2] =?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 --- java-workflow-executions/README.md | 4 +- .../executions/v1/ExecutionsClient.java | 0 .../executions/v1/ExecutionsSettings.java | 1 - .../executions/v1/gapic_metadata.json | 0 .../workflows/executions/v1/package-info.java | 0 .../executions/v1/stub/ExecutionsStub.java | 0 .../v1/stub/ExecutionsStubSettings.java | 0 .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1/stub/GrpcExecutionsStub.java | 1 - .../HttpJsonExecutionsCallableFactory.java | 0 .../v1/stub/HttpJsonExecutionsStub.java | 0 .../executions/v1beta/ExecutionsClient.java | 0 .../executions/v1beta/ExecutionsSettings.java | 1 - .../executions/v1beta/gapic_metadata.json | 0 .../executions/v1beta/package-info.java | 0 .../v1beta/stub/ExecutionsStub.java | 0 .../v1beta/stub/ExecutionsStubSettings.java | 0 .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1beta/stub/GrpcExecutionsStub.java | 1 - .../HttpJsonExecutionsCallableFactory.java | 0 .../v1beta/stub/HttpJsonExecutionsStub.java | 0 .../reflect-config.json | 0 .../reflect-config.json | 0 .../v1/ExecutionsClientHttpJsonTest.java | 0 .../executions/v1/ExecutionsClientTest.java | 0 .../executions/v1/MockExecutions.java | 0 .../executions/v1/MockExecutionsImpl.java | 0 .../v1beta/ExecutionsClientHttpJsonTest.java | 0 .../v1beta/ExecutionsClientTest.java | 0 .../executions/v1beta/MockExecutions.java | 0 .../executions/v1beta/MockExecutionsImpl.java | 0 .../executions/v1/ExecutionsGrpc.java | 754 +++ .../executions/v1beta/ExecutionsGrpc.java | 758 +++ .../executions/v1/CancelExecutionRequest.java | 373 +- .../v1/CancelExecutionRequestOrBuilder.java | 58 + .../executions/v1/CreateExecutionRequest.java | 516 +- .../v1/CreateExecutionRequestOrBuilder.java | 99 + .../workflows/executions/v1/Execution.java | 5580 +++++++++++------ .../executions/v1/ExecutionName.java | 0 .../executions/v1/ExecutionOrBuilder.java | 215 +- .../executions/v1/ExecutionView.java | 86 +- .../executions/v1/ExecutionsProto.java | 374 ++ .../executions/v1/GetExecutionRequest.java | 454 +- .../v1/GetExecutionRequestOrBuilder.java | 49 +- .../executions/v1/ListExecutionsRequest.java | 711 ++- .../v1/ListExecutionsRequestOrBuilder.java | 79 +- .../executions/v1/ListExecutionsResponse.java | 491 +- .../v1/ListExecutionsResponseOrBuilder.java | 45 +- .../workflows/executions/v1/WorkflowName.java | 0 .../workflows/executions/v1/executions.proto | 0 .../v1beta/CancelExecutionRequest.java | 385 +- .../CancelExecutionRequestOrBuilder.java | 58 + .../v1beta/CreateExecutionRequest.java | 528 +- .../CreateExecutionRequestOrBuilder.java | 99 + .../executions/v1beta/Execution.java | 1520 +++-- .../executions/v1beta/ExecutionName.java | 0 .../executions/v1beta/ExecutionOrBuilder.java | 122 +- .../executions/v1beta/ExecutionView.java | 86 +- .../executions/v1beta/ExecutionsProto.java | 238 + .../v1beta/GetExecutionRequest.java | 467 +- .../v1beta/GetExecutionRequestOrBuilder.java | 49 +- .../v1beta/ListExecutionsRequest.java | 582 +- .../ListExecutionsRequestOrBuilder.java | 61 +- .../v1beta/ListExecutionsResponse.java | 512 +- .../ListExecutionsResponseOrBuilder.java | 45 +- .../executions/v1beta/WorkflowName.java | 0 .../executions/v1beta/executions.proto | 0 .../cancelexecution/AsyncCancelExecution.java | 0 .../cancelexecution/SyncCancelExecution.java | 0 .../SyncCancelExecutionExecutionname.java | 0 .../SyncCancelExecutionString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createexecution/AsyncCreateExecution.java | 0 .../createexecution/SyncCreateExecution.java | 0 .../SyncCreateExecutionStringExecution.java | 0 ...cCreateExecutionWorkflownameExecution.java | 0 .../getexecution/AsyncGetExecution.java | 0 .../getexecution/SyncGetExecution.java | 0 .../SyncGetExecutionExecutionname.java | 0 .../getexecution/SyncGetExecutionString.java | 0 .../listexecutions/AsyncListExecutions.java | 0 .../AsyncListExecutionsPaged.java | 0 .../listexecutions/SyncListExecutions.java | 0 .../SyncListExecutionsString.java | 0 .../SyncListExecutionsWorkflowname.java | 0 .../createexecution/SyncCreateExecution.java | 0 .../createexecution/SyncCreateExecution.java | 0 .../cancelexecution/AsyncCancelExecution.java | 0 .../cancelexecution/SyncCancelExecution.java | 0 .../SyncCancelExecutionExecutionname.java | 0 .../SyncCancelExecutionString.java | 0 .../SyncCreateSetCredentialsProvider.java | 0 .../SyncCreateSetCredentialsProvider1.java | 0 .../create/SyncCreateSetEndpoint.java | 0 .../createexecution/AsyncCreateExecution.java | 0 .../createexecution/SyncCreateExecution.java | 0 .../SyncCreateExecutionStringExecution.java | 0 ...cCreateExecutionWorkflownameExecution.java | 0 .../getexecution/AsyncGetExecution.java | 0 .../getexecution/SyncGetExecution.java | 0 .../SyncGetExecutionExecutionname.java | 0 .../getexecution/SyncGetExecutionString.java | 0 .../listexecutions/AsyncListExecutions.java | 0 .../AsyncListExecutionsPaged.java | 0 .../listexecutions/SyncListExecutions.java | 0 .../SyncListExecutionsString.java | 0 .../SyncListExecutionsWorkflowname.java | 0 .../createexecution/SyncCreateExecution.java | 0 .../createexecution/SyncCreateExecution.java | 0 .../executions/v1/ExecutionsGrpc.java | 599 -- .../v1/CancelExecutionRequestOrBuilder.java | 33 - .../v1/CreateExecutionRequestOrBuilder.java | 60 - .../executions/v1/ExecutionsProto.java | 318 - .../executions/v1beta/ExecutionsGrpc.java | 599 -- .../CancelExecutionRequestOrBuilder.java | 33 - .../CreateExecutionRequestOrBuilder.java | 60 - .../executions/v1beta/ExecutionsProto.java | 208 - 119 files changed, 10691 insertions(+), 6621 deletions(-) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java (99%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java (99%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java (99%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java (99%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1/reflect-config.json (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1beta/reflect-config.json (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java (100%) create mode 100644 java-workflow-executions/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java create mode 100644 java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java (61%) create mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java (60%) create mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java (68%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java (75%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java (67%) create mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequest.java (62%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java (50%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java (71%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java (74%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java (71%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java (70%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java (60%) create mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java (59%) create mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java (70%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java (71%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java (67%) create mode 100644 java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequest.java (61%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java (50%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java (65%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java (64%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java (70%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java (70%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/AsyncCancelExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionExecutionname.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionString.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/AsyncCreateExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionStringExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/AsyncGetExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionExecutionname.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionString.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutions.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutionsPaged.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutions.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsString.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsWorkflowname.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executionssettings/createexecution/SyncCreateExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1 => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1/stub/executionsstubsettings/createexecution/SyncCreateExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/AsyncCancelExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionExecutionname.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionString.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider1.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetEndpoint.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/AsyncCreateExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionStringExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/AsyncGetExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionExecutionname.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionString.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutions.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutionsPaged.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutions.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsString.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsWorkflowname.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executionssettings/createexecution/SyncCreateExecution.java (100%) rename {owl-bot-staging/java-workflow-executions/v1beta => java-workflow-executions}/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/stub/executionsstubsettings/createexecution/SyncCreateExecution.java (100%) delete mode 100644 owl-bot-staging/java-workflow-executions/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java delete mode 100644 owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java delete mode 100644 owl-bot-staging/java-workflow-executions/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java delete mode 100644 owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java diff --git a/java-workflow-executions/README.md b/java-workflow-executions/README.md index 3408143fd810..ea6b6ae189a1 100644 --- a/java-workflow-executions/README.md +++ b/java-workflow-executions/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.19.0 + 26.22.0 pom import @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-workflow-executions.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflow-executions/2.21.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-workflow-executions/2.23.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java similarity index 99% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java index 172631ce0cc6..bce0e9f58b53 100644 --- a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java +++ b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.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.workflows.executions.v1.stub.ExecutionsStubSettings; diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java similarity index 99% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java index 1d395613bad9..a311dcf8856b 100644 --- a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java +++ b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java @@ -35,7 +35,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/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java similarity index 99% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java index 77597b65e8fb..9f6375703eb4 100644 --- a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java +++ b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.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.workflows.executions.v1beta.stub.ExecutionsStubSettings; diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java similarity index 99% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java index 1c252af0d1a0..2a16e557f287 100644 --- a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java +++ b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java @@ -36,7 +36,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/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java b/java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java rename to java-workflow-executions/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1/reflect-config.json b/java-workflow-executions/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1/reflect-config.json similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1/reflect-config.json rename to java-workflow-executions/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1/reflect-config.json diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1beta/reflect-config.json b/java-workflow-executions/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1beta/reflect-config.json similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1beta/reflect-config.json rename to java-workflow-executions/google-cloud-workflow-executions/src/main/resources/META-INF/native-image/com.google.cloud.workflows.executions.v1beta/reflect-config.json diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java b/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java rename to java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java b/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java rename to java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java b/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java rename to java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java diff --git a/owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java b/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java rename to java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java b/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java rename to java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java b/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java rename to java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java b/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java rename to java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java b/java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java rename to java-workflow-executions/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java diff --git a/java-workflow-executions/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/java-workflow-executions/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java new file mode 100644 index 000000000000..74d2edbb6b23 --- /dev/null +++ b/java-workflow-executions/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java @@ -0,0 +1,754 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.workflows.executions.v1; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Executions is used to start and manage running instances of
+ * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/workflows/executions/v1/executions.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ExecutionsGrpc { + + private ExecutionsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.workflows.executions.v1.Executions"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1.ListExecutionsRequest, + com.google.cloud.workflows.executions.v1.ListExecutionsResponse> + getListExecutionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListExecutions", + requestType = com.google.cloud.workflows.executions.v1.ListExecutionsRequest.class, + responseType = com.google.cloud.workflows.executions.v1.ListExecutionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1.ListExecutionsRequest, + com.google.cloud.workflows.executions.v1.ListExecutionsResponse> + getListExecutionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1.ListExecutionsRequest, + com.google.cloud.workflows.executions.v1.ListExecutionsResponse> + getListExecutionsMethod; + if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { + ExecutionsGrpc.getListExecutionsMethod = + getListExecutionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListExecutions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.ListExecutionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.ListExecutionsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("ListExecutions")) + .build(); + } + } + } + return getListExecutionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1.CreateExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution> + getCreateExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateExecution", + requestType = com.google.cloud.workflows.executions.v1.CreateExecutionRequest.class, + responseType = com.google.cloud.workflows.executions.v1.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1.CreateExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution> + getCreateExecutionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1.CreateExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution> + getCreateExecutionMethod; + if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { + ExecutionsGrpc.getCreateExecutionMethod = + getCreateExecutionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.CreateExecutionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.Execution + .getDefaultInstance())) + .setSchemaDescriptor( + new ExecutionsMethodDescriptorSupplier("CreateExecution")) + .build(); + } + } + } + return getCreateExecutionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1.GetExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution> + getGetExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetExecution", + requestType = com.google.cloud.workflows.executions.v1.GetExecutionRequest.class, + responseType = com.google.cloud.workflows.executions.v1.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1.GetExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution> + getGetExecutionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1.GetExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution> + getGetExecutionMethod; + if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { + ExecutionsGrpc.getGetExecutionMethod = + getGetExecutionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.GetExecutionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.Execution + .getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("GetExecution")) + .build(); + } + } + } + return getGetExecutionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1.CancelExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution> + getCancelExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelExecution", + requestType = com.google.cloud.workflows.executions.v1.CancelExecutionRequest.class, + responseType = com.google.cloud.workflows.executions.v1.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1.CancelExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution> + getCancelExecutionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1.CancelExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution> + getCancelExecutionMethod; + if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { + ExecutionsGrpc.getCancelExecutionMethod = + getCancelExecutionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.CancelExecutionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1.Execution + .getDefaultInstance())) + .setSchemaDescriptor( + new ExecutionsMethodDescriptorSupplier("CancelExecution")) + .build(); + } + } + } + return getCancelExecutionMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ExecutionsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsStub(channel, callOptions); + } + }; + return ExecutionsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ExecutionsBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsBlockingStub(channel, callOptions); + } + }; + return ExecutionsBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ExecutionsFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsFutureStub(channel, callOptions); + } + }; + return ExecutionsFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + default void listExecutions( + com.google.cloud.workflows.executions.v1.ListExecutionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListExecutionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + default void createExecution( + com.google.cloud.workflows.executions.v1.CreateExecutionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateExecutionMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns an execution of the given name.
+     * 
+ */ + default void getExecution( + com.google.cloud.workflows.executions.v1.GetExecutionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetExecutionMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancels an execution of the given name.
+     * 
+ */ + default void cancelExecution( + com.google.cloud.workflows.executions.v1.CancelExecutionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelExecutionMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Executions. + * + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
+   * 
+ */ + public abstract static class ExecutionsImplBase implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return ExecutionsGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Executions. + * + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
+   * 
+ */ + public static final class ExecutionsStub extends io.grpc.stub.AbstractAsyncStub { + private ExecutionsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + public void listExecutions( + com.google.cloud.workflows.executions.v1.ListExecutionsRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListExecutionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + public void createExecution( + com.google.cloud.workflows.executions.v1.CreateExecutionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns an execution of the given name.
+     * 
+ */ + public void getExecution( + com.google.cloud.workflows.executions.v1.GetExecutionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetExecutionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Cancels an execution of the given name.
+     * 
+ */ + public void cancelExecution( + com.google.cloud.workflows.executions.v1.CancelExecutionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Executions. + * + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
+   * 
+ */ + public static final class ExecutionsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ExecutionsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + public com.google.cloud.workflows.executions.v1.ListExecutionsResponse listExecutions( + com.google.cloud.workflows.executions.v1.ListExecutionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListExecutionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + public com.google.cloud.workflows.executions.v1.Execution createExecution( + com.google.cloud.workflows.executions.v1.CreateExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateExecutionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns an execution of the given name.
+     * 
+ */ + public com.google.cloud.workflows.executions.v1.Execution getExecution( + com.google.cloud.workflows.executions.v1.GetExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetExecutionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Cancels an execution of the given name.
+     * 
+ */ + public com.google.cloud.workflows.executions.v1.Execution cancelExecution( + com.google.cloud.workflows.executions.v1.CancelExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelExecutionMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Executions. + * + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
+   * 
+ */ + public static final class ExecutionsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ExecutionsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.workflows.executions.v1.ListExecutionsResponse> + listExecutions(com.google.cloud.workflows.executions.v1.ListExecutionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.workflows.executions.v1.Execution> + createExecution(com.google.cloud.workflows.executions.v1.CreateExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns an execution of the given name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.workflows.executions.v1.Execution> + getExecution(com.google.cloud.workflows.executions.v1.GetExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Cancels an execution of the given name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.workflows.executions.v1.Execution> + cancelExecution(com.google.cloud.workflows.executions.v1.CancelExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_EXECUTIONS = 0; + private static final int METHODID_CREATE_EXECUTION = 1; + private static final int METHODID_GET_EXECUTION = 2; + private static final int METHODID_CANCEL_EXECUTION = 3; + + 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_EXECUTIONS: + serviceImpl.listExecutions( + (com.google.cloud.workflows.executions.v1.ListExecutionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.workflows.executions.v1.ListExecutionsResponse>) + responseObserver); + break; + case METHODID_CREATE_EXECUTION: + serviceImpl.createExecution( + (com.google.cloud.workflows.executions.v1.CreateExecutionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_EXECUTION: + serviceImpl.getExecution( + (com.google.cloud.workflows.executions.v1.GetExecutionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CANCEL_EXECUTION: + serviceImpl.cancelExecution( + (com.google.cloud.workflows.executions.v1.CancelExecutionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListExecutionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1.ListExecutionsRequest, + com.google.cloud.workflows.executions.v1.ListExecutionsResponse>( + service, METHODID_LIST_EXECUTIONS))) + .addMethod( + getCreateExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1.CreateExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution>( + service, METHODID_CREATE_EXECUTION))) + .addMethod( + getGetExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1.GetExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution>( + service, METHODID_GET_EXECUTION))) + .addMethod( + getCancelExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1.CancelExecutionRequest, + com.google.cloud.workflows.executions.v1.Execution>( + service, METHODID_CANCEL_EXECUTION))) + .build(); + } + + private abstract static class ExecutionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ExecutionsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Executions"); + } + } + + private static final class ExecutionsFileDescriptorSupplier + extends ExecutionsBaseDescriptorSupplier { + ExecutionsFileDescriptorSupplier() {} + } + + private static final class ExecutionsMethodDescriptorSupplier + extends ExecutionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ExecutionsMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ExecutionsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ExecutionsFileDescriptorSupplier()) + .addMethod(getListExecutionsMethod()) + .addMethod(getCreateExecutionMethod()) + .addMethod(getGetExecutionMethod()) + .addMethod(getCancelExecutionMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java b/java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java new file mode 100644 index 000000000000..8a560ab286d7 --- /dev/null +++ b/java-workflow-executions/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java @@ -0,0 +1,758 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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.workflows.executions.v1beta; + +import static io.grpc.MethodDescriptor.generateFullMethodName; + +/** + * + * + *
+ * Executions is used to start and manage running instances of
+ * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
+ * 
+ */ +@javax.annotation.Generated( + value = "by gRPC proto compiler", + comments = "Source: google/cloud/workflows/executions/v1beta/executions.proto") +@io.grpc.stub.annotations.GrpcGenerated +public final class ExecutionsGrpc { + + private ExecutionsGrpc() {} + + public static final String SERVICE_NAME = "google.cloud.workflows.executions.v1beta.Executions"; + + // Static method descriptors that strictly reflect the proto. + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest, + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse> + getListExecutionsMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "ListExecutions", + requestType = com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.class, + responseType = com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest, + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse> + getListExecutionsMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest, + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse> + getListExecutionsMethod; + if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { + ExecutionsGrpc.getListExecutionsMethod = + getListExecutionsMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListExecutions")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("ListExecutions")) + .build(); + } + } + } + return getListExecutionsMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution> + getCreateExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CreateExecution", + requestType = com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.class, + responseType = com.google.cloud.workflows.executions.v1beta.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution> + getCreateExecutionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution> + getCreateExecutionMethod; + if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { + ExecutionsGrpc.getCreateExecutionMethod = + getCreateExecutionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.Execution + .getDefaultInstance())) + .setSchemaDescriptor( + new ExecutionsMethodDescriptorSupplier("CreateExecution")) + .build(); + } + } + } + return getCreateExecutionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution> + getGetExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "GetExecution", + requestType = com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.class, + responseType = com.google.cloud.workflows.executions.v1beta.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution> + getGetExecutionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution> + getGetExecutionMethod; + if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { + ExecutionsGrpc.getGetExecutionMethod = + getGetExecutionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.Execution + .getDefaultInstance())) + .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("GetExecution")) + .build(); + } + } + } + return getGetExecutionMethod; + } + + private static volatile io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution> + getCancelExecutionMethod; + + @io.grpc.stub.annotations.RpcMethod( + fullMethodName = SERVICE_NAME + '/' + "CancelExecution", + requestType = com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.class, + responseType = com.google.cloud.workflows.executions.v1beta.Execution.class, + methodType = io.grpc.MethodDescriptor.MethodType.UNARY) + public static io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution> + getCancelExecutionMethod() { + io.grpc.MethodDescriptor< + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution> + getCancelExecutionMethod; + if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { + synchronized (ExecutionsGrpc.class) { + if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { + ExecutionsGrpc.getCancelExecutionMethod = + getCancelExecutionMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelExecution")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.cloud.workflows.executions.v1beta.Execution + .getDefaultInstance())) + .setSchemaDescriptor( + new ExecutionsMethodDescriptorSupplier("CancelExecution")) + .build(); + } + } + } + return getCancelExecutionMethod; + } + + /** Creates a new async stub that supports all call types for the service */ + public static ExecutionsStub newStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsStub(channel, callOptions); + } + }; + return ExecutionsStub.newStub(factory, channel); + } + + /** + * Creates a new blocking-style stub that supports unary and streaming output calls on the service + */ + public static ExecutionsBlockingStub newBlockingStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsBlockingStub(channel, callOptions); + } + }; + return ExecutionsBlockingStub.newStub(factory, channel); + } + + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ExecutionsFutureStub newFutureStub(io.grpc.Channel channel) { + io.grpc.stub.AbstractStub.StubFactory factory = + new io.grpc.stub.AbstractStub.StubFactory() { + @java.lang.Override + public ExecutionsFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsFutureStub(channel, callOptions); + } + }; + return ExecutionsFutureStub.newStub(factory, channel); + } + + /** + * + * + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
+   * 
+ */ + public interface AsyncService { + + /** + * + * + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + default void listExecutions( + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse> + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getListExecutionsMethod(), responseObserver); + } + + /** + * + * + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + default void createExecution( + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCreateExecutionMethod(), responseObserver); + } + + /** + * + * + *
+     * Returns an execution of the given name.
+     * 
+ */ + default void getExecution( + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getGetExecutionMethod(), responseObserver); + } + + /** + * + * + *
+     * Cancels an execution of the given name.
+     * 
+ */ + default void cancelExecution( + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall( + getCancelExecutionMethod(), responseObserver); + } + } + + /** + * Base class for the server implementation of the service Executions. + * + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
+   * 
+ */ + public abstract static class ExecutionsImplBase implements io.grpc.BindableService, AsyncService { + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + return ExecutionsGrpc.bindService(this); + } + } + + /** + * A stub to allow clients to do asynchronous rpc calls to service Executions. + * + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
+   * 
+ */ + public static final class ExecutionsStub extends io.grpc.stub.AbstractAsyncStub { + private ExecutionsStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + public void listExecutions( + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request, + io.grpc.stub.StreamObserver< + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse> + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getListExecutionsMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + public void createExecution( + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Returns an execution of the given name.
+     * 
+ */ + public void getExecution( + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getGetExecutionMethod(), getCallOptions()), + request, + responseObserver); + } + + /** + * + * + *
+     * Cancels an execution of the given name.
+     * 
+ */ + public void cancelExecution( + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request, + io.grpc.stub.StreamObserver + responseObserver) { + io.grpc.stub.ClientCalls.asyncUnaryCall( + getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), + request, + responseObserver); + } + } + + /** + * A stub to allow clients to do synchronous rpc calls to service Executions. + * + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
+   * 
+ */ + public static final class ExecutionsBlockingStub + extends io.grpc.stub.AbstractBlockingStub { + private ExecutionsBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsBlockingStub build( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsBlockingStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse listExecutions( + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getListExecutionsMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + public com.google.cloud.workflows.executions.v1beta.Execution createExecution( + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCreateExecutionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Returns an execution of the given name.
+     * 
+ */ + public com.google.cloud.workflows.executions.v1beta.Execution getExecution( + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getGetExecutionMethod(), getCallOptions(), request); + } + + /** + * + * + *
+     * Cancels an execution of the given name.
+     * 
+ */ + public com.google.cloud.workflows.executions.v1beta.Execution cancelExecution( + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request) { + return io.grpc.stub.ClientCalls.blockingUnaryCall( + getChannel(), getCancelExecutionMethod(), getCallOptions(), request); + } + } + + /** + * A stub to allow clients to do ListenableFuture-style rpc calls to service Executions. + * + *
+   * Executions is used to start and manage running instances of
+   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
+   * 
+ */ + public static final class ExecutionsFutureStub + extends io.grpc.stub.AbstractFutureStub { + private ExecutionsFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + super(channel, callOptions); + } + + @java.lang.Override + protected ExecutionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ExecutionsFutureStub(channel, callOptions); + } + + /** + * + * + *
+     * Returns a list of executions which belong to the workflow with
+     * the given name. The method returns executions of all workflow
+     * revisions. Returned executions are ordered by their start time (newest
+     * first).
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse> + listExecutions(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Creates a new execution using the latest revision of the given workflow.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.workflows.executions.v1beta.Execution> + createExecution( + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Returns an execution of the given name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.workflows.executions.v1beta.Execution> + getExecution(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request); + } + + /** + * + * + *
+     * Cancels an execution of the given name.
+     * 
+ */ + public com.google.common.util.concurrent.ListenableFuture< + com.google.cloud.workflows.executions.v1beta.Execution> + cancelExecution( + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request) { + return io.grpc.stub.ClientCalls.futureUnaryCall( + getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), request); + } + } + + private static final int METHODID_LIST_EXECUTIONS = 0; + private static final int METHODID_CREATE_EXECUTION = 1; + private static final int METHODID_GET_EXECUTION = 2; + private static final int METHODID_CANCEL_EXECUTION = 3; + + 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 AsyncService serviceImpl; + private final int methodId; + + MethodHandlers(AsyncService serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_LIST_EXECUTIONS: + serviceImpl.listExecutions( + (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) request, + (io.grpc.stub.StreamObserver< + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse>) + responseObserver); + break; + case METHODID_CREATE_EXECUTION: + serviceImpl.createExecution( + (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_GET_EXECUTION: + serviceImpl.getExecution( + (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + case METHODID_CANCEL_EXECUTION: + serviceImpl.cancelExecution( + (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) request, + (io.grpc.stub.StreamObserver) + responseObserver); + break; + default: + throw new AssertionError(); + } + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public io.grpc.stub.StreamObserver invoke( + io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + default: + throw new AssertionError(); + } + } + } + + public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { + return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) + .addMethod( + getListExecutionsMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest, + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse>( + service, METHODID_LIST_EXECUTIONS))) + .addMethod( + getCreateExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution>( + service, METHODID_CREATE_EXECUTION))) + .addMethod( + getGetExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution>( + service, METHODID_GET_EXECUTION))) + .addMethod( + getCancelExecutionMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest, + com.google.cloud.workflows.executions.v1beta.Execution>( + service, METHODID_CANCEL_EXECUTION))) + .build(); + } + + private abstract static class ExecutionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { + ExecutionsBaseDescriptorSupplier() {} + + @java.lang.Override + public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.getDescriptor(); + } + + @java.lang.Override + public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { + return getFileDescriptor().findServiceByName("Executions"); + } + } + + private static final class ExecutionsFileDescriptorSupplier + extends ExecutionsBaseDescriptorSupplier { + ExecutionsFileDescriptorSupplier() {} + } + + private static final class ExecutionsMethodDescriptorSupplier + extends ExecutionsBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { + private final String methodName; + + ExecutionsMethodDescriptorSupplier(String methodName) { + this.methodName = methodName; + } + + @java.lang.Override + public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { + return getServiceDescriptor().findMethodByName(methodName); + } + } + + private static volatile io.grpc.ServiceDescriptor serviceDescriptor; + + public static io.grpc.ServiceDescriptor getServiceDescriptor() { + io.grpc.ServiceDescriptor result = serviceDescriptor; + if (result == null) { + synchronized (ExecutionsGrpc.class) { + result = serviceDescriptor; + if (result == null) { + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ExecutionsFileDescriptorSupplier()) + .addMethod(getListExecutionsMethod()) + .addMethod(getCreateExecutionMethod()) + .addMethod(getGetExecutionMethod()) + .addMethod(getCancelExecutionMethod()) + .build(); + } + } + } + return result; + } +} diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java similarity index 61% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java index f3e7a924fedf..9b55168ce33b 100644 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** + * + * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution]
@@ -12,50 +29,58 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1.CancelExecutionRequest}
  */
-public final class CancelExecutionRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CancelExecutionRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.CancelExecutionRequest)
     CancelExecutionRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CancelExecutionRequest.newBuilder() to construct.
   private CancelExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CancelExecutionRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CancelExecutionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1.CancelExecutionRequest.class, com.google.cloud.workflows.executions.v1.CancelExecutionRequest.Builder.class);
+            com.google.cloud.workflows.executions.v1.CancelExecutionRequest.class,
+            com.google.cloud.workflows.executions.v1.CancelExecutionRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. Name of the execution to be cancelled.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * string name = 1 [(.google.api.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 @@ -64,31 +89,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the execution to be cancelled.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * string name = 1 [(.google.api.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 { @@ -97,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -133,15 +160,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.workflows.executions.v1.CancelExecutionRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.CancelExecutionRequest other = (com.google.cloud.workflows.executions.v1.CancelExecutionRequest) obj; + com.google.cloud.workflows.executions.v1.CancelExecutionRequest other = + (com.google.cloud.workflows.executions.v1.CancelExecutionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,98 +188,104 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest 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.workflows.executions.v1.CancelExecutionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.CancelExecutionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1.CancelExecutionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the
    * [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution]
@@ -261,33 +294,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1.CancelExecutionRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.CancelExecutionRequest)
       com.google.cloud.workflows.executions.v1.CancelExecutionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1.CancelExecutionRequest.class, com.google.cloud.workflows.executions.v1.CancelExecutionRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1.CancelExecutionRequest.class,
+              com.google.cloud.workflows.executions.v1.CancelExecutionRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.workflows.executions.v1.CancelExecutionRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -297,13 +329,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1.CancelExecutionRequest getDefaultInstanceForType() {
+    public com.google.cloud.workflows.executions.v1.CancelExecutionRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.workflows.executions.v1.CancelExecutionRequest.getDefaultInstance();
     }
 
@@ -318,13 +351,17 @@ public com.google.cloud.workflows.executions.v1.CancelExecutionRequest build() {
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1.CancelExecutionRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1.CancelExecutionRequest result = new com.google.cloud.workflows.executions.v1.CancelExecutionRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.workflows.executions.v1.CancelExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1.CancelExecutionRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.workflows.executions.v1.CancelExecutionRequest result) {
+    private void buildPartial0(
+        com.google.cloud.workflows.executions.v1.CancelExecutionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -335,46 +372,50 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.CancelExecut
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1.CancelExecutionRequest) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1.CancelExecutionRequest)other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1.CancelExecutionRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.workflows.executions.v1.CancelExecutionRequest other) {
-      if (other == com.google.cloud.workflows.executions.v1.CancelExecutionRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.workflows.executions.v1.CancelExecutionRequest other) {
+      if (other
+          == com.google.cloud.workflows.executions.v1.CancelExecutionRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -406,17 +447,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -426,24 +469,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.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; @@ -452,22 +500,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.google.api.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 { @@ -475,32 +526,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string 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() { @@ -510,28 +572,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -541,41 +609,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.CancelExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.CancelExecutionRequest) - private static final com.google.cloud.workflows.executions.v1.CancelExecutionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1.CancelExecutionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.CancelExecutionRequest(); } - public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1.CancelExecutionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +657,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1.CancelExecutionRequest getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.CancelExecutionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java new file mode 100644 index 000000000000..d0b57be0ece8 --- /dev/null +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1/executions.proto + +package com.google.cloud.workflows.executions.v1; + +public interface CancelExecutionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.CancelExecutionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the execution to be cancelled.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the execution to be cancelled.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java similarity index 60% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java index 5b7b08d97c95..aff268129b02 100644 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** + * + * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution]
@@ -12,50 +29,58 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1.CreateExecutionRequest}
  */
-public final class CreateExecutionRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateExecutionRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.CreateExecutionRequest)
     CreateExecutionRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateExecutionRequest.newBuilder() to construct.
   private CreateExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateExecutionRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateExecutionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1.CreateExecutionRequest.class, com.google.cloud.workflows.executions.v1.CreateExecutionRequest.Builder.class);
+            com.google.cloud.workflows.executions.v1.CreateExecutionRequest.class,
+            com.google.cloud.workflows.executions.v1.CreateExecutionRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Name of the workflow for which an execution should be created.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * The latest revision of the workflow will be used.
    * 
* - * string parent = 1 [(.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 @@ -64,31 +89,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. Name of the workflow for which an execution should be created.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * The latest revision of the workflow will be used.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -99,11 +126,16 @@ public java.lang.String getParent() { public static final int EXECUTION_FIELD_NUMBER = 2; private com.google.cloud.workflows.executions.v1.Execution execution_; /** + * + * *
    * Required. Execution to be created.
    * 
* - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the execution field is set. */ @java.lang.Override @@ -111,30 +143,44 @@ public boolean hasExecution() { return execution_ != null; } /** + * + * *
    * Required. Execution to be created.
    * 
* - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The execution. */ @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution getExecution() { - return execution_ == null ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() : execution_; + return execution_ == null + ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() + : execution_; } /** + * + * *
    * Required. Execution to be created.
    * 
* - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionOrBuilder() { - return execution_ == null ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() : execution_; + return execution_ == null + ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() + : execution_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,8 +192,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -167,8 +212,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (execution_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExecution()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExecution()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -178,19 +222,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.workflows.executions.v1.CreateExecutionRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.CreateExecutionRequest other = (com.google.cloud.workflows.executions.v1.CreateExecutionRequest) obj; + com.google.cloud.workflows.executions.v1.CreateExecutionRequest other = + (com.google.cloud.workflows.executions.v1.CreateExecutionRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasExecution() != other.hasExecution()) return false; if (hasExecution()) { - if (!getExecution() - .equals(other.getExecution())) return false; + if (!getExecution().equals(other.getExecution())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -215,98 +258,104 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest 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.workflows.executions.v1.CreateExecutionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.CreateExecutionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1.CreateExecutionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the
    * [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution]
@@ -315,33 +364,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1.CreateExecutionRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.CreateExecutionRequest)
       com.google.cloud.workflows.executions.v1.CreateExecutionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1.CreateExecutionRequest.class, com.google.cloud.workflows.executions.v1.CreateExecutionRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1.CreateExecutionRequest.class,
+              com.google.cloud.workflows.executions.v1.CreateExecutionRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.workflows.executions.v1.CreateExecutionRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -356,13 +404,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1.CreateExecutionRequest getDefaultInstanceForType() {
+    public com.google.cloud.workflows.executions.v1.CreateExecutionRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.workflows.executions.v1.CreateExecutionRequest.getDefaultInstance();
     }
 
@@ -377,21 +426,23 @@ public com.google.cloud.workflows.executions.v1.CreateExecutionRequest build() {
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1.CreateExecutionRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1.CreateExecutionRequest result = new com.google.cloud.workflows.executions.v1.CreateExecutionRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.workflows.executions.v1.CreateExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1.CreateExecutionRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.workflows.executions.v1.CreateExecutionRequest result) {
+    private void buildPartial0(
+        com.google.cloud.workflows.executions.v1.CreateExecutionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.execution_ = executionBuilder_ == null
-            ? execution_
-            : executionBuilder_.build();
+        result.execution_ = executionBuilder_ == null ? execution_ : executionBuilder_.build();
       }
     }
 
@@ -399,46 +450,50 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.CreateExecut
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1.CreateExecutionRequest) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1.CreateExecutionRequest)other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1.CreateExecutionRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.workflows.executions.v1.CreateExecutionRequest other) {
-      if (other == com.google.cloud.workflows.executions.v1.CreateExecutionRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.workflows.executions.v1.CreateExecutionRequest other) {
+      if (other
+          == com.google.cloud.workflows.executions.v1.CreateExecutionRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -473,24 +528,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getExecutionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getExecutionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -500,24 +556,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * string parent = 1 [(.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; @@ -526,22 +587,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -549,32 +613,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * string 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() { @@ -584,19 +659,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -606,39 +687,58 @@ public Builder setParentBytes( private com.google.cloud.workflows.executions.v1.Execution execution_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution, com.google.cloud.workflows.executions.v1.Execution.Builder, com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> executionBuilder_; + com.google.cloud.workflows.executions.v1.Execution, + com.google.cloud.workflows.executions.v1.Execution.Builder, + com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> + executionBuilder_; /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the execution field is set. */ public boolean hasExecution() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The execution. */ public com.google.cloud.workflows.executions.v1.Execution getExecution() { if (executionBuilder_ == null) { - return execution_ == null ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() : execution_; + return execution_ == null + ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() + : execution_; } else { return executionBuilder_.getMessage(); } } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExecution(com.google.cloud.workflows.executions.v1.Execution value) { if (executionBuilder_ == null) { @@ -654,11 +754,15 @@ public Builder setExecution(com.google.cloud.workflows.executions.v1.Execution v return this; } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExecution( com.google.cloud.workflows.executions.v1.Execution.Builder builderForValue) { @@ -672,17 +776,22 @@ public Builder setExecution( return this; } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeExecution(com.google.cloud.workflows.executions.v1.Execution value) { if (executionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - execution_ != null && - execution_ != com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && execution_ != null + && execution_ + != com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()) { getExecutionBuilder().mergeFrom(value); } else { execution_ = value; @@ -695,11 +804,15 @@ public Builder mergeExecution(com.google.cloud.workflows.executions.v1.Execution return this; } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearExecution() { bitField0_ = (bitField0_ & ~0x00000002); @@ -712,11 +825,15 @@ public Builder clearExecution() { return this; } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionBuilder() { bitField0_ |= 0x00000002; @@ -724,43 +841,55 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionBu return getExecutionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionOrBuilder() { if (executionBuilder_ != null) { return executionBuilder_.getMessageOrBuilder(); } else { - return execution_ == null ? - com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() : execution_; + return execution_ == null + ? com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance() + : execution_; } } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution, com.google.cloud.workflows.executions.v1.Execution.Builder, com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> + com.google.cloud.workflows.executions.v1.Execution, + com.google.cloud.workflows.executions.v1.Execution.Builder, + com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> getExecutionFieldBuilder() { if (executionBuilder_ == null) { - executionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution, com.google.cloud.workflows.executions.v1.Execution.Builder, com.google.cloud.workflows.executions.v1.ExecutionOrBuilder>( - getExecution(), - getParentForChildren(), - isClean()); + executionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution, + com.google.cloud.workflows.executions.v1.Execution.Builder, + com.google.cloud.workflows.executions.v1.ExecutionOrBuilder>( + getExecution(), getParentForChildren(), isClean()); execution_ = null; } return executionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -770,41 +899,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.CreateExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.CreateExecutionRequest) - private static final com.google.cloud.workflows.executions.v1.CreateExecutionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1.CreateExecutionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.CreateExecutionRequest(); } - public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1.CreateExecutionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -816,9 +947,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1.CreateExecutionRequest getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.CreateExecutionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java new file mode 100644 index 000000000000..2a4255718aa4 --- /dev/null +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1/executions.proto + +package com.google.cloud.workflows.executions.v1; + +public interface CreateExecutionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.CreateExecutionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the workflow for which an execution should be created.
+   * Format: projects/{project}/locations/{location}/workflows/{workflow}
+   * The latest revision of the workflow will be used.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Name of the workflow for which an execution should be created.
+   * Format: projects/{project}/locations/{location}/workflows/{workflow}
+   * The latest revision of the workflow will be used.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. Execution to be created.
+   * 
+ * + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the execution field is set. + */ + boolean hasExecution(); + /** + * + * + *
+   * Required. Execution to be created.
+   * 
+ * + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The execution. + */ + com.google.cloud.workflows.executions.v1.Execution getExecution(); + /** + * + * + *
+   * Required. Execution to be created.
+   * 
+ * + * + * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionOrBuilder(); +} diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java similarity index 68% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java index f21de0f28eda..1d91925be878 100644 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** + * + * *
  * A running instance of a
  * [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
@@ -11,15 +28,16 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1.Execution}
  */
-public final class Execution extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class Execution extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution)
     ExecutionOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use Execution.newBuilder() to construct.
   private Execution(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private Execution() {
     name_ = "";
     state_ = 0;
@@ -31,37 +49,39 @@ private Execution() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Execution();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1_Execution_descriptor;
   }
 
   @SuppressWarnings({"rawtypes"})
   @java.lang.Override
-  protected com.google.protobuf.MapField internalGetMapField(
-      int number) {
+  protected com.google.protobuf.MapField internalGetMapField(int number) {
     switch (number) {
       case 11:
         return internalGetLabels();
       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.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1_Execution_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1.Execution.class, com.google.cloud.workflows.executions.v1.Execution.Builder.class);
+            com.google.cloud.workflows.executions.v1.Execution.class,
+            com.google.cloud.workflows.executions.v1.Execution.Builder.class);
   }
 
   /**
+   *
+   *
    * 
    * Describes the current state of the execution. More states might be added
    * in the future.
@@ -69,9 +89,10 @@ protected com.google.protobuf.MapField internalGetMapField(
    *
    * Protobuf enum {@code google.cloud.workflows.executions.v1.Execution.State}
    */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid state.
      * 
@@ -80,6 +101,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The execution is in progress.
      * 
@@ -88,6 +111,8 @@ public enum State */ ACTIVE(1), /** + * + * *
      * The execution finished successfully.
      * 
@@ -96,6 +121,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * The execution failed with an error.
      * 
@@ -104,6 +131,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -112,6 +141,8 @@ public enum State */ CANCELLED(4), /** + * + * *
      * Execution data is unavailable. See the `state_error` field.
      * 
@@ -120,6 +151,8 @@ public enum State */ UNAVAILABLE(5), /** + * + * *
      * Request has been placed in the backlog for processing at a later time.
      * 
@@ -131,6 +164,8 @@ public enum State ; /** + * + * *
      * Invalid state.
      * 
@@ -139,6 +174,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The execution is in progress.
      * 
@@ -147,6 +184,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
      * The execution finished successfully.
      * 
@@ -155,6 +194,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * The execution failed with an error.
      * 
@@ -163,6 +204,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -171,6 +214,8 @@ public enum State */ public static final int CANCELLED_VALUE = 4; /** + * + * *
      * Execution data is unavailable. See the `state_error` field.
      * 
@@ -179,6 +224,8 @@ public enum State */ public static final int UNAVAILABLE_VALUE = 5; /** + * + * *
      * Request has been placed in the backlog for processing at a later time.
      * 
@@ -187,7 +234,6 @@ public enum State */ public static final int QUEUED_VALUE = 6; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -212,53 +258,59 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return ACTIVE; - case 2: return SUCCEEDED; - case 3: return FAILED; - case 4: return CANCELLED; - case 5: return UNAVAILABLE; - case 6: return QUEUED; - default: return null; + case 0: + return STATE_UNSPECIFIED; + case 1: + return ACTIVE; + case 2: + return SUCCEEDED; + case 3: + return FAILED; + case 4: + return CANCELLED; + case 5: + return UNAVAILABLE; + case 6: + return QUEUED; + 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() { - return com.google.cloud.workflows.executions.v1.Execution.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.Execution.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; @@ -276,6 +328,8 @@ private State(int value) { } /** + * + * *
    * Describes the level of platform logging to apply to calls and call
    * responses during workflow executions.
@@ -283,9 +337,10 @@ private State(int value) {
    *
    * Protobuf enum {@code google.cloud.workflows.executions.v1.Execution.CallLogLevel}
    */
-  public enum CallLogLevel
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * No call logging level specified.
      * 
@@ -294,6 +349,8 @@ public enum CallLogLevel */ CALL_LOG_LEVEL_UNSPECIFIED(0), /** + * + * *
      * Log all call steps within workflows, all call returns, and all exceptions
      * raised.
@@ -303,6 +360,8 @@ public enum CallLogLevel
      */
     LOG_ALL_CALLS(1),
     /**
+     *
+     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -311,6 +370,8 @@ public enum CallLogLevel */ LOG_ERRORS_ONLY(2), /** + * + * *
      * Explicitly log nothing.
      * 
@@ -322,6 +383,8 @@ public enum CallLogLevel ; /** + * + * *
      * No call logging level specified.
      * 
@@ -330,6 +393,8 @@ public enum CallLogLevel */ public static final int CALL_LOG_LEVEL_UNSPECIFIED_VALUE = 0; /** + * + * *
      * Log all call steps within workflows, all call returns, and all exceptions
      * raised.
@@ -339,6 +404,8 @@ public enum CallLogLevel
      */
     public static final int LOG_ALL_CALLS_VALUE = 1;
     /**
+     *
+     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -347,6 +414,8 @@ public enum CallLogLevel */ public static final int LOG_ERRORS_ONLY_VALUE = 2; /** + * + * *
      * Explicitly log nothing.
      * 
@@ -355,7 +424,6 @@ public enum CallLogLevel */ public static final int LOG_NONE_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -380,50 +448,53 @@ public static CallLogLevel valueOf(int value) { */ public static CallLogLevel forNumber(int value) { switch (value) { - case 0: return CALL_LOG_LEVEL_UNSPECIFIED; - case 1: return LOG_ALL_CALLS; - case 2: return LOG_ERRORS_ONLY; - case 3: return LOG_NONE; - default: return null; + case 0: + return CALL_LOG_LEVEL_UNSPECIFIED; + case 1: + return LOG_ALL_CALLS; + case 2: + return LOG_ERRORS_ONLY; + case 3: + return LOG_NONE; + 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< - CallLogLevel> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public CallLogLevel findValueByNumber(int number) { - return CallLogLevel.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 CallLogLevel findValueByNumber(int number) { + return CallLogLevel.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() { - return com.google.cloud.workflows.executions.v1.Execution.getDescriptor().getEnumTypes().get(1); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.Execution.getDescriptor() + .getEnumTypes() + .get(1); } private static final CallLogLevel[] VALUES = values(); - public static CallLogLevel valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static CallLogLevel 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; @@ -440,93 +511,122 @@ private CallLogLevel(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1.Execution.CallLogLevel) } - public interface StackTraceElementOrBuilder extends + public interface StackTraceElementOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.StackTraceElement) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * The step the error occurred at.
      * 
* * string step = 1; + * * @return The step. */ java.lang.String getStep(); /** + * + * *
      * The step the error occurred at.
      * 
* * string step = 1; + * * @return The bytes for step. */ - com.google.protobuf.ByteString - getStepBytes(); + com.google.protobuf.ByteString getStepBytes(); /** + * + * *
      * The routine where the error occurred.
      * 
* * string routine = 2; + * * @return The routine. */ java.lang.String getRoutine(); /** + * + * *
      * The routine where the error occurred.
      * 
* * string routine = 2; + * * @return The bytes for routine. */ - com.google.protobuf.ByteString - getRoutineBytes(); + com.google.protobuf.ByteString getRoutineBytes(); /** + * + * *
      * The source position information of the stack trace element.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * * @return Whether the position field is set. */ boolean hasPosition(); /** + * + * *
      * The source position information of the stack trace element.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * * @return The position. */ com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getPosition(); /** + * + * *
      * The source position information of the stack trace element.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * */ - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder getPositionOrBuilder(); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder + getPositionOrBuilder(); } /** + * + * *
    * A single stack element (frame) where an error occurred.
    * 
* * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTraceElement} */ - public static final class StackTraceElement extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StackTraceElement extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.StackTraceElement) StackTraceElementOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StackTraceElement.newBuilder() to construct. private StackTraceElement(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StackTraceElement() { step_ = ""; routine_ = ""; @@ -534,108 +634,127 @@ private StackTraceElement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StackTraceElement(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.class, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.class, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder.class); } - public interface PositionOrBuilder extends + public interface PositionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * The source code line number the current instruction was generated from.
        * 
* * int64 line = 1; + * * @return The line. */ long getLine(); /** + * + * *
        * The source code column position (of the line) the current instruction
        * was generated from.
        * 
* * int64 column = 2; + * * @return The column. */ long getColumn(); /** + * + * *
        * The number of bytes of source code making up this stack trace element.
        * 
* * int64 length = 3; + * * @return The length. */ long getLength(); } /** + * + * *
      * Position contains source position information about the stack trace
      * element such as line number, column number and length of the code block
      * in bytes.
      * 
* - * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position} + * Protobuf type {@code + * google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position} */ - public static final class Position extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Position extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) PositionOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Position.newBuilder() to construct. private Position(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } - private Position() { - } + + private Position() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Position(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.class, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.class, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .Builder.class); } public static final int LINE_FIELD_NUMBER = 1; private long line_ = 0L; /** + * + * *
        * The source code line number the current instruction was generated from.
        * 
* * int64 line = 1; + * * @return The line. */ @java.lang.Override @@ -646,12 +765,15 @@ public long getLine() { public static final int COLUMN_FIELD_NUMBER = 2; private long column_ = 0L; /** + * + * *
        * The source code column position (of the line) the current instruction
        * was generated from.
        * 
* * int64 column = 2; + * * @return The column. */ @java.lang.Override @@ -662,11 +784,14 @@ public long getColumn() { public static final int LENGTH_FIELD_NUMBER = 3; private long length_ = 0L; /** + * + * *
        * The number of bytes of source code making up this stack trace element.
        * 
* * int64 length = 3; + * * @return The length. */ @java.lang.Override @@ -675,6 +800,7 @@ public long getLength() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -686,8 +812,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (line_ != 0L) { output.writeInt64(1, line_); } @@ -707,16 +832,13 @@ public int getSerializedSize() { size = 0; if (line_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(1, line_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(1, line_); } if (column_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(2, column_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(2, column_); } if (length_ != 0L) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, length_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, length_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -726,19 +848,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.workflows.executions.v1.Execution.StackTraceElement.Position)) { + if (!(obj + instanceof + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position other = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) obj; + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position other = + (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) obj; - if (getLine() - != other.getLine()) return false; - if (getColumn() - != other.getColumn()) return false; - if (getLength() - != other.getLength()) return false; + if (getLine() != other.getLine()) return false; + if (getColumn() != other.getColumn()) return false; + if (getLength() != other.getLength()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -751,103 +873,113 @@ public int hashCode() { int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + LINE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLine()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLine()); hash = (37 * hash) + COLUMN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getColumn()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getColumn()); hash = (37 * hash) + LENGTH_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getLength()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getLength()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parseFrom( + com.google.protobuf.ByteString data, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parseFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parseFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -857,41 +989,47 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Position contains source position information about the stack trace
        * element such as line number, column number and length of the code block
        * in bytes.
        * 
* - * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position} + * Protobuf type {@code + * google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.class, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .class, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .Builder.class); } - // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder() - private Builder() { + // Construct using + // com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -903,19 +1041,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; } @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getDefaultInstanceForType() { - return com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance(); + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + getDefaultInstanceForType() { + return com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .getDefaultInstance(); } @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position build() { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position result = buildPartial(); + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + build() { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -923,14 +1065,20 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Posi } @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position buildPartial() { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position result = new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + buildPartial() { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position result = + new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position result) { + private void buildPartial0( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.line_ = line_; @@ -947,46 +1095,56 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.St public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { - if (other instanceof com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) { - return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position)other); + if (other + instanceof + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) { + return mergeFrom( + (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position other) { - if (other == com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position other) { + if (other + == com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .getDefaultInstance()) return this; if (other.getLine() != 0L) { setLine(other.getLine()); } @@ -1022,27 +1180,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - line_ = input.readInt64(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 16: { - column_ = input.readInt64(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 24: { - length_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + line_ = input.readInt64(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 16: + { + column_ = input.readInt64(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 24: + { + length_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1052,15 +1214,19 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private long line_ ; + private long line_; /** + * + * *
          * The source code line number the current instruction was generated from.
          * 
* * int64 line = 1; + * * @return The line. */ @java.lang.Override @@ -1068,11 +1234,14 @@ public long getLine() { return line_; } /** + * + * *
          * The source code line number the current instruction was generated from.
          * 
* * int64 line = 1; + * * @param value The line to set. * @return This builder for chaining. */ @@ -1084,11 +1253,14 @@ public Builder setLine(long value) { return this; } /** + * + * *
          * The source code line number the current instruction was generated from.
          * 
* * int64 line = 1; + * * @return This builder for chaining. */ public Builder clearLine() { @@ -1098,14 +1270,17 @@ public Builder clearLine() { return this; } - private long column_ ; + private long column_; /** + * + * *
          * The source code column position (of the line) the current instruction
          * was generated from.
          * 
* * int64 column = 2; + * * @return The column. */ @java.lang.Override @@ -1113,12 +1288,15 @@ public long getColumn() { return column_; } /** + * + * *
          * The source code column position (of the line) the current instruction
          * was generated from.
          * 
* * int64 column = 2; + * * @param value The column to set. * @return This builder for chaining. */ @@ -1130,12 +1308,15 @@ public Builder setColumn(long value) { return this; } /** + * + * *
          * The source code column position (of the line) the current instruction
          * was generated from.
          * 
* * int64 column = 2; + * * @return This builder for chaining. */ public Builder clearColumn() { @@ -1145,13 +1326,16 @@ public Builder clearColumn() { return this; } - private long length_ ; + private long length_; /** + * + * *
          * The number of bytes of source code making up this stack trace element.
          * 
* * int64 length = 3; + * * @return The length. */ @java.lang.Override @@ -1159,11 +1343,14 @@ public long getLength() { return length_; } /** + * + * *
          * The number of bytes of source code making up this stack trace element.
          * 
* * int64 length = 3; + * * @param value The length to set. * @return This builder for chaining. */ @@ -1175,11 +1362,14 @@ public Builder setLength(long value) { return this; } /** + * + * *
          * The number of bytes of source code making up this stack trace element.
          * 
* * int64 length = 3; + * * @return This builder for chaining. */ public Builder clearLength() { @@ -1188,6 +1378,7 @@ public Builder clearLength() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1200,41 +1391,46 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) - private static final com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .Position + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position(); + DEFAULT_INSTANCE = + new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position(); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Position parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Position parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1246,21 +1442,25 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int STEP_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object step_ = ""; /** + * + * *
      * The step the error occurred at.
      * 
* * string step = 1; + * * @return The step. */ @java.lang.Override @@ -1269,29 +1469,29 @@ public java.lang.String getStep() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); step_ = s; return s; } } /** + * + * *
      * The step the error occurred at.
      * 
* * string step = 1; + * * @return The bytes for step. */ @java.lang.Override - public com.google.protobuf.ByteString - getStepBytes() { + public com.google.protobuf.ByteString getStepBytes() { java.lang.Object ref = step_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); step_ = b; return b; } else { @@ -1300,14 +1500,18 @@ public java.lang.String getStep() { } public static final int ROUTINE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object routine_ = ""; /** + * + * *
      * The routine where the error occurred.
      * 
* * string routine = 2; + * * @return The routine. */ @java.lang.Override @@ -1316,29 +1520,29 @@ public java.lang.String getRoutine() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); routine_ = s; return s; } } /** + * + * *
      * The routine where the error occurred.
      * 
* * string routine = 2; + * * @return The bytes for routine. */ @java.lang.Override - public com.google.protobuf.ByteString - getRoutineBytes() { + public com.google.protobuf.ByteString getRoutineBytes() { java.lang.Object ref = routine_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); routine_ = b; return b; } else { @@ -1349,11 +1553,16 @@ public java.lang.String getRoutine() { public static final int POSITION_FIELD_NUMBER = 3; private com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position_; /** + * + * *
      * The source position information of the stack trace element.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * * @return Whether the position field is set. */ @java.lang.Override @@ -1361,30 +1570,48 @@ public boolean hasPosition() { return position_ != null; } /** + * + * *
      * The source position information of the stack trace element.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * * @return The position. */ @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getPosition() { - return position_ == null ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance() : position_; + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + getPosition() { + return position_ == null + ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .getDefaultInstance() + : position_; } /** + * + * *
      * The source position information of the stack trace element.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * */ @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder getPositionOrBuilder() { - return position_ == null ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance() : position_; + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder + getPositionOrBuilder() { + return position_ == null + ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .getDefaultInstance() + : position_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1396,8 +1623,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(step_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, step_); } @@ -1423,8 +1649,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, routine_); } if (position_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getPosition()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getPosition()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1434,21 +1659,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.workflows.executions.v1.Execution.StackTraceElement)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement other = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) obj; + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement other = + (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) obj; - if (!getStep() - .equals(other.getStep())) return false; - if (!getRoutine() - .equals(other.getRoutine())) return false; + if (!getStep().equals(other.getStep())) return false; + if (!getRoutine().equals(other.getRoutine())) return false; if (hasPosition() != other.hasPosition()) return false; if (hasPosition()) { - if (!getPosition() - .equals(other.getPosition())) return false; + if (!getPosition().equals(other.getPosition())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1475,89 +1698,95 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement 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.workflows.executions.v1.Execution.StackTraceElement parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -1567,39 +1796,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A single stack element (frame) where an error occurred.
      * 
* * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTraceElement} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.StackTraceElement) com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.class, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.class, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder.class); } - // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1615,19 +1847,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; } @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getDefaultInstanceForType() { - return com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.getDefaultInstance(); + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + getDefaultInstanceForType() { + return com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .getDefaultInstance(); } @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement build() { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1636,13 +1871,17 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement buil @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement buildPartial() { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = + new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result) { + private void buildPartial0( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.step_ = step_; @@ -1651,9 +1890,7 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.St result.routine_ = routine_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.position_ = positionBuilder_ == null - ? position_ - : positionBuilder_.build(); + result.position_ = positionBuilder_ == null ? position_ : positionBuilder_.build(); } } @@ -1661,46 +1898,53 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.St public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) { - return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.StackTraceElement)other); + return mergeFrom( + (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement other) { - if (other == com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement other) { + if (other + == com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .getDefaultInstance()) return this; if (!other.getStep().isEmpty()) { step_ = other.step_; bitField0_ |= 0x00000001; @@ -1740,29 +1984,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - step_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - routine_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getPositionFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + step_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + routine_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getPositionFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1772,22 +2018,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object step_ = ""; /** + * + * *
        * The step the error occurred at.
        * 
* * string step = 1; + * * @return The step. */ public java.lang.String getStep() { java.lang.Object ref = step_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); step_ = s; return s; @@ -1796,20 +2045,21 @@ public java.lang.String getStep() { } } /** + * + * *
        * The step the error occurred at.
        * 
* * string step = 1; + * * @return The bytes for step. */ - public com.google.protobuf.ByteString - getStepBytes() { + public com.google.protobuf.ByteString getStepBytes() { java.lang.Object ref = step_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); step_ = b; return b; } else { @@ -1817,28 +2067,35 @@ public java.lang.String getStep() { } } /** + * + * *
        * The step the error occurred at.
        * 
* * string step = 1; + * * @param value The step to set. * @return This builder for chaining. */ - public Builder setStep( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStep(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } step_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * The step the error occurred at.
        * 
* * string step = 1; + * * @return This builder for chaining. */ public Builder clearStep() { @@ -1848,17 +2105,21 @@ public Builder clearStep() { return this; } /** + * + * *
        * The step the error occurred at.
        * 
* * string step = 1; + * * @param value The bytes for step to set. * @return This builder for chaining. */ - public Builder setStepBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStepBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); step_ = value; bitField0_ |= 0x00000001; @@ -1868,18 +2129,20 @@ public Builder setStepBytes( private java.lang.Object routine_ = ""; /** + * + * *
        * The routine where the error occurred.
        * 
* * string routine = 2; + * * @return The routine. */ public java.lang.String getRoutine() { java.lang.Object ref = routine_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); routine_ = s; return s; @@ -1888,20 +2151,21 @@ public java.lang.String getRoutine() { } } /** + * + * *
        * The routine where the error occurred.
        * 
* * string routine = 2; + * * @return The bytes for routine. */ - public com.google.protobuf.ByteString - getRoutineBytes() { + public com.google.protobuf.ByteString getRoutineBytes() { java.lang.Object ref = routine_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); routine_ = b; return b; } else { @@ -1909,28 +2173,35 @@ public java.lang.String getRoutine() { } } /** + * + * *
        * The routine where the error occurred.
        * 
* * string routine = 2; + * * @param value The routine to set. * @return This builder for chaining. */ - public Builder setRoutine( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRoutine(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } routine_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * The routine where the error occurred.
        * 
* * string routine = 2; + * * @return This builder for chaining. */ public Builder clearRoutine() { @@ -1940,17 +2211,21 @@ public Builder clearRoutine() { return this; } /** + * + * *
        * The routine where the error occurred.
        * 
* * string routine = 2; + * * @param value The bytes for routine to set. * @return This builder for chaining. */ - public Builder setRoutineBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRoutineBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); routine_ = value; bitField0_ |= 0x00000002; @@ -1958,43 +2233,67 @@ public Builder setRoutineBytes( return this; } - private com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position_; + private com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + position_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder> positionBuilder_; + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .PositionOrBuilder> + positionBuilder_; /** + * + * *
        * The source position information of the stack trace element.
        * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * * @return Whether the position field is set. */ public boolean hasPosition() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * The source position information of the stack trace element.
        * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * * @return The position. */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position getPosition() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + getPosition() { if (positionBuilder_ == null) { - return position_ == null ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance() : position_; + return position_ == null + ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .getDefaultInstance() + : position_; } else { return positionBuilder_.getMessage(); } } /** + * + * *
        * The source position information of the stack trace element.
        * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * */ - public Builder setPosition(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position value) { + public Builder setPosition( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position value) { if (positionBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2008,14 +2307,19 @@ public Builder setPosition(com.google.cloud.workflows.executions.v1.Execution.St return this; } /** + * + * *
        * The source position information of the stack trace element.
        * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * */ public Builder setPosition( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder builderForValue) { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder + builderForValue) { if (positionBuilder_ == null) { position_ = builderForValue.build(); } else { @@ -2026,17 +2330,24 @@ public Builder setPosition( return this; } /** + * + * *
        * The source position information of the stack trace element.
        * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * */ - public Builder mergePosition(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position value) { + public Builder mergePosition( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position value) { if (positionBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - position_ != null && - position_ != com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && position_ != null + && position_ + != com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .getDefaultInstance()) { getPositionBuilder().mergeFrom(value); } else { position_ = value; @@ -2049,11 +2360,15 @@ public Builder mergePosition(com.google.cloud.workflows.executions.v1.Execution. return this; } /** + * + * *
        * The source position information of the stack trace element.
        * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * */ public Builder clearPosition() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2066,52 +2381,74 @@ public Builder clearPosition() { return this; } /** + * + * *
        * The source position information of the stack trace element.
        * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder getPositionBuilder() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder + getPositionBuilder() { bitField0_ |= 0x00000004; onChanged(); return getPositionFieldBuilder().getBuilder(); } /** + * + * *
        * The source position information of the stack trace element.
        * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder getPositionOrBuilder() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder + getPositionOrBuilder() { if (positionBuilder_ != null) { return positionBuilder_.getMessageOrBuilder(); } else { - return position_ == null ? - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.getDefaultInstance() : position_; + return position_ == null + ? com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .getDefaultInstance() + : position_; } } /** + * + * *
        * The source position information of the stack trace element.
        * 
* - * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * + * .google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position position = 3; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder> + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .PositionOrBuilder> getPositionFieldBuilder() { if (positionBuilder_ == null) { - positionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder>( - getPosition(), - getParentForChildren(), - isClean()); + positionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .Builder, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .PositionOrBuilder>(getPosition(), getParentForChildren(), isClean()); position_ = null; } return positionBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -2124,41 +2461,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.StackTraceElement) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.StackTraceElement) - private static final com.google.cloud.workflows.executions.v1.Execution.StackTraceElement DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackTraceElement parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackTraceElement parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2170,162 +2510,214 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface StackTraceOrBuilder extends + public interface StackTraceOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.StackTrace) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * An array of stack elements.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ - java.util.List + java.util.List getElementsList(); /** + * + * *
      * An array of stack elements.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getElements(int index); /** + * + * *
      * An array of stack elements.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ int getElementsCount(); /** + * + * *
      * An array of stack elements.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> getElementsOrBuilderList(); /** + * + * *
      * An array of stack elements.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ - com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder getElementsOrBuilder( - int index); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder + getElementsOrBuilder(int index); } /** + * + * *
    * A collection of stack elements (frames) where an error occurred.
    * 
* * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTrace} */ - public static final class StackTrace extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StackTrace extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.StackTrace) StackTraceOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StackTrace.newBuilder() to construct. private StackTrace(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StackTrace() { elements_ = 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 StackTrace(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StackTrace.class, com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.StackTrace.class, + com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder.class); } public static final int ELEMENTS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List elements_; + private java.util.List + elements_; /** + * + * *
      * An array of stack elements.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ @java.lang.Override - public java.util.List getElementsList() { + public java.util.List + getElementsList() { return elements_; } /** + * + * *
      * An array of stack elements.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ @java.lang.Override - public java.util.List + public java.util.List< + ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> getElementsOrBuilderList() { return elements_; } /** + * + * *
      * An array of stack elements.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ @java.lang.Override public int getElementsCount() { return elements_.size(); } /** + * + * *
      * An array of stack elements.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getElements(int index) { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getElements( + int index) { return elements_.get(index); } /** + * + * *
      * An array of stack elements.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder getElementsOrBuilder( - int index) { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder + getElementsOrBuilder(int index) { return elements_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -2337,8 +2729,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < elements_.size(); i++) { output.writeMessage(1, elements_.get(i)); } @@ -2352,8 +2743,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < elements_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, elements_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, elements_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -2363,15 +2753,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.workflows.executions.v1.Execution.StackTrace)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.Execution.StackTrace other = (com.google.cloud.workflows.executions.v1.Execution.StackTrace) obj; + com.google.cloud.workflows.executions.v1.Execution.StackTrace other = + (com.google.cloud.workflows.executions.v1.Execution.StackTrace) obj; - if (!getElementsList() - .equals(other.getElementsList())) return false; + if (!getElementsList().equals(other.getElementsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2393,89 +2783,94 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.Execution.StackTrace 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.workflows.executions.v1.Execution.StackTrace parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.StackTrace prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1.Execution.StackTrace prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -2485,39 +2880,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * A collection of stack elements (frames) where an error occurred.
      * 
* * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StackTrace} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.StackTrace) com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StackTrace.class, com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.StackTrace.class, + com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder.class); } // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2533,13 +2930,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; } @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTrace getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.Execution.StackTrace + getDefaultInstanceForType() { return com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance(); } @@ -2554,14 +2952,18 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTrace build() { @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.StackTrace buildPartial() { - com.google.cloud.workflows.executions.v1.Execution.StackTrace result = new com.google.cloud.workflows.executions.v1.Execution.StackTrace(this); + com.google.cloud.workflows.executions.v1.Execution.StackTrace result = + new com.google.cloud.workflows.executions.v1.Execution.StackTrace(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.workflows.executions.v1.Execution.StackTrace result) { + private void buildPartialRepeatedFields( + com.google.cloud.workflows.executions.v1.Execution.StackTrace result) { if (elementsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { elements_ = java.util.Collections.unmodifiableList(elements_); @@ -2573,7 +2975,8 @@ private void buildPartialRepeatedFields(com.google.cloud.workflows.executions.v1 } } - private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.StackTrace result) { + private void buildPartial0( + com.google.cloud.workflows.executions.v1.Execution.StackTrace result) { int from_bitField0_ = bitField0_; } @@ -2581,46 +2984,52 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.St public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.workflows.executions.v1.Execution.StackTrace) { - return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.StackTrace)other); + return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.StackTrace) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.StackTrace other) { - if (other == com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.workflows.executions.v1.Execution.StackTrace other) { + if (other + == com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance()) + return this; if (elementsBuilder_ == null) { if (!other.elements_.isEmpty()) { if (elements_.isEmpty()) { @@ -2639,9 +3048,10 @@ public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.Stac elementsBuilder_ = null; elements_ = other.elements_; bitField0_ = (bitField0_ & ~0x00000001); - elementsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getElementsFieldBuilder() : null; + elementsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getElementsFieldBuilder() + : null; } else { elementsBuilder_.addAllMessages(other.elements_); } @@ -2673,25 +3083,28 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement m = - input.readMessage( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.parser(), - extensionRegistry); - if (elementsBuilder_ == null) { - ensureElementsIsMutable(); - elements_.add(m); - } else { - elementsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement m = + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .parser(), + extensionRegistry); + if (elementsBuilder_ == null) { + ensureElementsIsMutable(); + elements_.add(m); + } else { + elementsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2701,28 +3114,40 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List elements_ = - java.util.Collections.emptyList(); + private java.util.List + elements_ = java.util.Collections.emptyList(); + private void ensureElementsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - elements_ = new java.util.ArrayList(elements_); + elements_ = + new java.util.ArrayList< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>(elements_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> elementsBuilder_; + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> + elementsBuilder_; /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ - public java.util.List getElementsList() { + public java.util.List + getElementsList() { if (elementsBuilder_ == null) { return java.util.Collections.unmodifiableList(elements_); } else { @@ -2730,11 +3155,15 @@ public java.util.List * An array of stack elements. *
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ public int getElementsCount() { if (elementsBuilder_ == null) { @@ -2744,13 +3173,18 @@ public int getElementsCount() { } } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getElements(int index) { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getElements( + int index) { if (elementsBuilder_ == null) { return elements_.get(index); } else { @@ -2758,11 +3192,15 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement getE } } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ public Builder setElements( int index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement value) { @@ -2779,14 +3217,20 @@ public Builder setElements( return this; } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ public Builder setElements( - int index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder builderForValue) { + int index, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder + builderForValue) { if (elementsBuilder_ == null) { ensureElementsIsMutable(); elements_.set(index, builderForValue.build()); @@ -2797,13 +3241,18 @@ public Builder setElements( return this; } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ - public Builder addElements(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement value) { + public Builder addElements( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement value) { if (elementsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -2817,11 +3266,15 @@ public Builder addElements(com.google.cloud.workflows.executions.v1.Execution.St return this; } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ public Builder addElements( int index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement value) { @@ -2838,14 +3291,19 @@ public Builder addElements( return this; } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ public Builder addElements( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder builderForValue) { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder + builderForValue) { if (elementsBuilder_ == null) { ensureElementsIsMutable(); elements_.add(builderForValue.build()); @@ -2856,14 +3314,20 @@ public Builder addElements( return this; } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ public Builder addElements( - int index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder builderForValue) { + int index, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder + builderForValue) { if (elementsBuilder_ == null) { ensureElementsIsMutable(); elements_.add(index, builderForValue.build()); @@ -2874,18 +3338,23 @@ public Builder addElements( return this; } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ public Builder addAllElements( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElement> + values) { if (elementsBuilder_ == null) { ensureElementsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, elements_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, elements_); onChanged(); } else { elementsBuilder_.addAllMessages(values); @@ -2893,11 +3362,15 @@ public Builder addAllElements( return this; } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ public Builder clearElements() { if (elementsBuilder_ == null) { @@ -2910,11 +3383,15 @@ public Builder clearElements() { return this; } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ public Builder removeElements(int index) { if (elementsBuilder_ == null) { @@ -2927,39 +3404,54 @@ public Builder removeElements(int index) { return this; } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder getElementsBuilder( - int index) { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder + getElementsBuilder(int index) { return getElementsFieldBuilder().getBuilder(index); } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder getElementsOrBuilder( - int index) { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder + getElementsOrBuilder(int index) { if (elementsBuilder_ == null) { - return elements_.get(index); } else { + return elements_.get(index); + } else { return elementsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ - public java.util.List - getElementsOrBuilderList() { + public java.util.List< + ? extends + com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> + getElementsOrBuilderList() { if (elementsBuilder_ != null) { return elementsBuilder_.getMessageOrBuilderList(); } else { @@ -2967,53 +3459,76 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBui } } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder addElementsBuilder() { - return getElementsFieldBuilder().addBuilder( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.getDefaultInstance()); + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder + addElementsBuilder() { + return getElementsFieldBuilder() + .addBuilder( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .getDefaultInstance()); } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder addElementsBuilder( - int index) { - return getElementsFieldBuilder().addBuilder( - index, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.getDefaultInstance()); + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder + addElementsBuilder(int index) { + return getElementsFieldBuilder() + .addBuilder( + index, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .getDefaultInstance()); } /** + * + * *
        * An array of stack elements.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.StackTraceElement elements = 1; + * */ - public java.util.List - getElementsBuilderList() { + public java.util.List< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder> + getElementsBuilderList() { return getElementsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> getElementsFieldBuilder() { if (elementsBuilder_ == null) { - elementsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement, com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder>( - elements_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + elementsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder, + com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder>( + elements_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); elements_ = null; } return elementsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -3026,41 +3541,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.StackTrace) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.StackTrace) - private static final com.google.cloud.workflows.executions.v1.Execution.StackTrace DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1.Execution.StackTrace + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.StackTrace(); } - public static com.google.cloud.workflows.executions.v1.Execution.StackTrace getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1.Execution.StackTrace + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StackTrace parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StackTrace parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3072,75 +3590,94 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTrace getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.Execution.StackTrace + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface ErrorOrBuilder extends + public interface ErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.Error) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Error message and data returned represented as a JSON string.
      * 
* * string payload = 1; + * * @return The payload. */ java.lang.String getPayload(); /** + * + * *
      * Error message and data returned represented as a JSON string.
      * 
* * string payload = 1; + * * @return The bytes for payload. */ - com.google.protobuf.ByteString - getPayloadBytes(); + com.google.protobuf.ByteString getPayloadBytes(); /** + * + * *
      * Human-readable stack trace string.
      * 
* * string context = 2; + * * @return The context. */ java.lang.String getContext(); /** + * + * *
      * Human-readable stack trace string.
      * 
* * string context = 2; + * * @return The bytes for context. */ - com.google.protobuf.ByteString - getContextBytes(); + com.google.protobuf.ByteString getContextBytes(); /** + * + * *
      * Stack trace with detailed information of where error was generated.
      * 
* * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + * * @return Whether the stackTrace field is set. */ boolean hasStackTrace(); /** + * + * *
      * Stack trace with detailed information of where error was generated.
      * 
* * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + * * @return The stackTrace. */ com.google.cloud.workflows.executions.v1.Execution.StackTrace getStackTrace(); /** + * + * *
      * Stack trace with detailed information of where error was generated.
      * 
@@ -3150,21 +3687,24 @@ public interface ErrorOrBuilder extends com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder getStackTraceOrBuilder(); } /** + * + * *
    * Error describes why the execution was abnormally terminated.
    * 
* * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Error} */ - public static final class Error extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Error extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.Error) ErrorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Error.newBuilder() to construct. private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Error() { payload_ = ""; context_ = ""; @@ -3172,33 +3712,38 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Error(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Error_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.Error.class, com.google.cloud.workflows.executions.v1.Execution.Error.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.Error.class, + com.google.cloud.workflows.executions.v1.Execution.Error.Builder.class); } public static final int PAYLOAD_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object payload_ = ""; /** + * + * *
      * Error message and data returned represented as a JSON string.
      * 
* * string payload = 1; + * * @return The payload. */ @java.lang.Override @@ -3207,29 +3752,29 @@ public java.lang.String getPayload() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); payload_ = s; return s; } } /** + * + * *
      * Error message and data returned represented as a JSON string.
      * 
* * string payload = 1; + * * @return The bytes for payload. */ @java.lang.Override - public com.google.protobuf.ByteString - getPayloadBytes() { + public com.google.protobuf.ByteString getPayloadBytes() { java.lang.Object ref = payload_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); payload_ = b; return b; } else { @@ -3238,14 +3783,18 @@ public java.lang.String getPayload() { } public static final int CONTEXT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object context_ = ""; /** + * + * *
      * Human-readable stack trace string.
      * 
* * string context = 2; + * * @return The context. */ @java.lang.Override @@ -3254,29 +3803,29 @@ public java.lang.String getContext() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); context_ = s; return s; } } /** + * + * *
      * Human-readable stack trace string.
      * 
* * string context = 2; + * * @return The bytes for context. */ @java.lang.Override - public com.google.protobuf.ByteString - getContextBytes() { + public com.google.protobuf.ByteString getContextBytes() { java.lang.Object ref = context_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); context_ = b; return b; } else { @@ -3287,11 +3836,14 @@ public java.lang.String getContext() { public static final int STACK_TRACE_FIELD_NUMBER = 3; private com.google.cloud.workflows.executions.v1.Execution.StackTrace stackTrace_; /** + * + * *
      * Stack trace with detailed information of where error was generated.
      * 
* * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + * * @return Whether the stackTrace field is set. */ @java.lang.Override @@ -3299,18 +3851,25 @@ public boolean hasStackTrace() { return stackTrace_ != null; } /** + * + * *
      * Stack trace with detailed information of where error was generated.
      * 
* * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + * * @return The stackTrace. */ @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.StackTrace getStackTrace() { - return stackTrace_ == null ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() : stackTrace_; + return stackTrace_ == null + ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() + : stackTrace_; } /** + * + * *
      * Stack trace with detailed information of where error was generated.
      * 
@@ -3318,11 +3877,15 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTrace getStackTra * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; */ @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder getStackTraceOrBuilder() { - return stackTrace_ == null ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() : stackTrace_; + public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder + getStackTraceOrBuilder() { + return stackTrace_ == null + ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() + : stackTrace_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3334,8 +3897,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, payload_); } @@ -3361,8 +3923,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, context_); } if (stackTrace_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getStackTrace()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getStackTrace()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -3372,21 +3933,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.workflows.executions.v1.Execution.Error)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.Execution.Error other = (com.google.cloud.workflows.executions.v1.Execution.Error) obj; + com.google.cloud.workflows.executions.v1.Execution.Error other = + (com.google.cloud.workflows.executions.v1.Execution.Error) obj; - if (!getPayload() - .equals(other.getPayload())) return false; - if (!getContext() - .equals(other.getContext())) return false; + if (!getPayload().equals(other.getPayload())) return false; + if (!getContext().equals(other.getContext())) return false; if (hasStackTrace() != other.hasStackTrace()) return false; if (hasStackTrace()) { - if (!getStackTrace() - .equals(other.getStackTrace())) return false; + if (!getStackTrace().equals(other.getStackTrace())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -3413,89 +3972,94 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.Execution.Error 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.workflows.executions.v1.Execution.Error parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.Error parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.Execution.Error parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.Execution.Error parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution.Error parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.Error prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1.Execution.Error prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -3505,39 +4069,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Error describes why the execution was abnormally terminated.
      * 
* * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Error} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.Error) com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Error_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.Error.class, com.google.cloud.workflows.executions.v1.Execution.Error.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.Error.class, + com.google.cloud.workflows.executions.v1.Execution.Error.Builder.class); } // Construct using com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -3553,9 +4119,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; } @java.lang.Override @@ -3574,8 +4140,11 @@ public com.google.cloud.workflows.executions.v1.Execution.Error build() { @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.Error buildPartial() { - com.google.cloud.workflows.executions.v1.Execution.Error result = new com.google.cloud.workflows.executions.v1.Execution.Error(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.workflows.executions.v1.Execution.Error result = + new com.google.cloud.workflows.executions.v1.Execution.Error(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -3589,9 +4158,8 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.Er result.context_ = context_; } if (((from_bitField0_ & 0x00000004) != 0)) { - result.stackTrace_ = stackTraceBuilder_ == null - ? stackTrace_ - : stackTraceBuilder_.build(); + result.stackTrace_ = + stackTraceBuilder_ == null ? stackTrace_ : stackTraceBuilder_.build(); } } @@ -3599,38 +4167,41 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.Er public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.workflows.executions.v1.Execution.Error) { - return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.Error)other); + return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.Error) other); } else { super.mergeFrom(other); return this; @@ -3638,7 +4209,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.Error other) { - if (other == com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance()) return this; + if (other == com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance()) + return this; if (!other.getPayload().isEmpty()) { payload_ = other.payload_; bitField0_ |= 0x00000001; @@ -3678,29 +4250,31 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - payload_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - context_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getStackTraceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + payload_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + context_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getStackTraceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3710,22 +4284,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object payload_ = ""; /** + * + * *
        * Error message and data returned represented as a JSON string.
        * 
* * string payload = 1; + * * @return The payload. */ public java.lang.String getPayload() { java.lang.Object ref = payload_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); payload_ = s; return s; @@ -3734,20 +4311,21 @@ public java.lang.String getPayload() { } } /** + * + * *
        * Error message and data returned represented as a JSON string.
        * 
* * string payload = 1; + * * @return The bytes for payload. */ - public com.google.protobuf.ByteString - getPayloadBytes() { + public com.google.protobuf.ByteString getPayloadBytes() { java.lang.Object ref = payload_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); payload_ = b; return b; } else { @@ -3755,28 +4333,35 @@ public java.lang.String getPayload() { } } /** + * + * *
        * Error message and data returned represented as a JSON string.
        * 
* * string payload = 1; + * * @param value The payload to set. * @return This builder for chaining. */ - public Builder setPayload( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPayload(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } payload_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Error message and data returned represented as a JSON string.
        * 
* * string payload = 1; + * * @return This builder for chaining. */ public Builder clearPayload() { @@ -3786,17 +4371,21 @@ public Builder clearPayload() { return this; } /** + * + * *
        * Error message and data returned represented as a JSON string.
        * 
* * string payload = 1; + * * @param value The bytes for payload to set. * @return This builder for chaining. */ - public Builder setPayloadBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPayloadBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); payload_ = value; bitField0_ |= 0x00000001; @@ -3806,18 +4395,20 @@ public Builder setPayloadBytes( private java.lang.Object context_ = ""; /** + * + * *
        * Human-readable stack trace string.
        * 
* * string context = 2; + * * @return The context. */ public java.lang.String getContext() { java.lang.Object ref = context_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); context_ = s; return s; @@ -3826,20 +4417,21 @@ public java.lang.String getContext() { } } /** + * + * *
        * Human-readable stack trace string.
        * 
* * string context = 2; + * * @return The bytes for context. */ - public com.google.protobuf.ByteString - getContextBytes() { + public com.google.protobuf.ByteString getContextBytes() { java.lang.Object ref = context_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); context_ = b; return b; } else { @@ -3847,28 +4439,35 @@ public java.lang.String getContext() { } } /** + * + * *
        * Human-readable stack trace string.
        * 
* * string context = 2; + * * @param value The context to set. * @return This builder for chaining. */ - public Builder setContext( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContext(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } context_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Human-readable stack trace string.
        * 
* * string context = 2; + * * @return This builder for chaining. */ public Builder clearContext() { @@ -3878,17 +4477,21 @@ public Builder clearContext() { return this; } /** + * + * *
        * Human-readable stack trace string.
        * 
* * string context = 2; + * * @param value The bytes for context to set. * @return This builder for chaining. */ - public Builder setContextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); context_ = value; bitField0_ |= 0x00000002; @@ -3898,41 +4501,55 @@ public Builder setContextBytes( private com.google.cloud.workflows.executions.v1.Execution.StackTrace stackTrace_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTrace, com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder> stackTraceBuilder_; + com.google.cloud.workflows.executions.v1.Execution.StackTrace, + com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder, + com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder> + stackTraceBuilder_; /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
* * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + * * @return Whether the stackTrace field is set. */ public boolean hasStackTrace() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
* * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; + * * @return The stackTrace. */ public com.google.cloud.workflows.executions.v1.Execution.StackTrace getStackTrace() { if (stackTraceBuilder_ == null) { - return stackTrace_ == null ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() : stackTrace_; + return stackTrace_ == null + ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() + : stackTrace_; } else { return stackTraceBuilder_.getMessage(); } } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
* * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; */ - public Builder setStackTrace(com.google.cloud.workflows.executions.v1.Execution.StackTrace value) { + public Builder setStackTrace( + com.google.cloud.workflows.executions.v1.Execution.StackTrace value) { if (stackTraceBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -3946,6 +4563,8 @@ public Builder setStackTrace(com.google.cloud.workflows.executions.v1.Execution. return this; } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -3964,17 +4583,22 @@ public Builder setStackTrace( return this; } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
* * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; */ - public Builder mergeStackTrace(com.google.cloud.workflows.executions.v1.Execution.StackTrace value) { + public Builder mergeStackTrace( + com.google.cloud.workflows.executions.v1.Execution.StackTrace value) { if (stackTraceBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - stackTrace_ != null && - stackTrace_ != com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && stackTrace_ != null + && stackTrace_ + != com.google.cloud.workflows.executions.v1.Execution.StackTrace + .getDefaultInstance()) { getStackTraceBuilder().mergeFrom(value); } else { stackTrace_ = value; @@ -3987,6 +4611,8 @@ public Builder mergeStackTrace(com.google.cloud.workflows.executions.v1.Executio return this; } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4004,33 +4630,42 @@ public Builder clearStackTrace() { return this; } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
* * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; */ - public com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder getStackTraceBuilder() { + public com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder + getStackTraceBuilder() { bitField0_ |= 0x00000004; onChanged(); return getStackTraceFieldBuilder().getBuilder(); } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
* * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; */ - public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder getStackTraceOrBuilder() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder + getStackTraceOrBuilder() { if (stackTraceBuilder_ != null) { return stackTraceBuilder_.getMessageOrBuilder(); } else { - return stackTrace_ == null ? - com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() : stackTrace_; + return stackTrace_ == null + ? com.google.cloud.workflows.executions.v1.Execution.StackTrace.getDefaultInstance() + : stackTrace_; } } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4038,18 +4673,22 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder ge * .google.cloud.workflows.executions.v1.Execution.StackTrace stack_trace = 3; */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTrace, com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder> + com.google.cloud.workflows.executions.v1.Execution.StackTrace, + com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder, + com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder> getStackTraceFieldBuilder() { if (stackTraceBuilder_ == null) { - stackTraceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StackTrace, com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder, com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder>( - getStackTrace(), - getParentForChildren(), - isClean()); + stackTraceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StackTrace, + com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder, + com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder>( + getStackTrace(), getParentForChildren(), isClean()); stackTrace_ = null; } return stackTraceBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4062,12 +4701,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.Error) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.Error) private static final com.google.cloud.workflows.executions.v1.Execution.Error DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.Error(); } @@ -4076,27 +4715,28 @@ public static com.google.cloud.workflows.executions.v1.Execution.Error getDefaul return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4111,14 +4751,16 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface StatusOrBuilder extends + public interface StatusOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.Status) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * A list of currently executing or last executed step names for the
      * workflow execution currently running. If the workflow has succeeded or
@@ -4129,11 +4771,14 @@ public interface StatusOrBuilder extends
      * ending with the most deeply nested step.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ - java.util.List + java.util.List getCurrentStepsList(); /** + * + * *
      * A list of currently executing or last executed step names for the
      * workflow execution currently running. If the workflow has succeeded or
@@ -4144,10 +4789,13 @@ public interface StatusOrBuilder extends
      * ending with the most deeply nested step.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ com.google.cloud.workflows.executions.v1.Execution.Status.Step getCurrentSteps(int index); /** + * + * *
      * A list of currently executing or last executed step names for the
      * workflow execution currently running. If the workflow has succeeded or
@@ -4158,10 +4806,13 @@ public interface StatusOrBuilder extends
      * ending with the most deeply nested step.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ int getCurrentStepsCount(); /** + * + * *
      * A list of currently executing or last executed step names for the
      * workflow execution currently running. If the workflow has succeeded or
@@ -4172,11 +4823,15 @@ public interface StatusOrBuilder extends
      * ending with the most deeply nested step.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ - java.util.List + java.util.List< + ? extends com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder> getCurrentStepsOrBuilderList(); /** + * + * *
      * A list of currently executing or last executed step names for the
      * workflow execution currently running. If the workflow has succeeded or
@@ -4187,111 +4842,130 @@ public interface StatusOrBuilder extends
      * ending with the most deeply nested step.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ - com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder getCurrentStepsOrBuilder( - int index); + com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder + getCurrentStepsOrBuilder(int index); } /** + * + * *
    * Represents the current status of this execution.
    * 
* * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Status} */ - public static final class Status extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Status extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.Status) StatusOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Status.newBuilder() to construct. private Status(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Status() { currentSteps_ = 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 Status(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Status_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Status_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.Status.class, com.google.cloud.workflows.executions.v1.Execution.Status.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.Status.class, + com.google.cloud.workflows.executions.v1.Execution.Status.Builder.class); } - public interface StepOrBuilder extends + public interface StepOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.Status.Step) com.google.protobuf.MessageOrBuilder { /** + * + * *
        * Name of a routine within the workflow.
        * 
* * string routine = 1; + * * @return The routine. */ java.lang.String getRoutine(); /** + * + * *
        * Name of a routine within the workflow.
        * 
* * string routine = 1; + * * @return The bytes for routine. */ - com.google.protobuf.ByteString - getRoutineBytes(); + com.google.protobuf.ByteString getRoutineBytes(); /** + * + * *
        * Name of a step within the routine.
        * 
* * string step = 2; + * * @return The step. */ java.lang.String getStep(); /** + * + * *
        * Name of a step within the routine.
        * 
* * string step = 2; + * * @return The bytes for step. */ - com.google.protobuf.ByteString - getStepBytes(); + com.google.protobuf.ByteString getStepBytes(); } /** + * + * *
      * Represents a step of the workflow this execution is running.
      * 
* * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Status.Step} */ - public static final class Step extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Step extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.Status.Step) StepOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Step.newBuilder() to construct. private Step(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Step() { routine_ = ""; step_ = ""; @@ -4299,33 +4973,38 @@ private Step() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Step(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.Status.Step.class, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.Status.Step.class, + com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder.class); } public static final int ROUTINE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object routine_ = ""; /** + * + * *
        * Name of a routine within the workflow.
        * 
* * string routine = 1; + * * @return The routine. */ @java.lang.Override @@ -4334,29 +5013,29 @@ public java.lang.String getRoutine() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); routine_ = s; return s; } } /** + * + * *
        * Name of a routine within the workflow.
        * 
* * string routine = 1; + * * @return The bytes for routine. */ @java.lang.Override - public com.google.protobuf.ByteString - getRoutineBytes() { + public com.google.protobuf.ByteString getRoutineBytes() { java.lang.Object ref = routine_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); routine_ = b; return b; } else { @@ -4365,14 +5044,18 @@ public java.lang.String getRoutine() { } public static final int STEP_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object step_ = ""; /** + * + * *
        * Name of a step within the routine.
        * 
* * string step = 2; + * * @return The step. */ @java.lang.Override @@ -4381,29 +5064,29 @@ public java.lang.String getStep() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); step_ = s; return s; } } /** + * + * *
        * Name of a step within the routine.
        * 
* * string step = 2; + * * @return The bytes for step. */ @java.lang.Override - public com.google.protobuf.ByteString - getStepBytes() { + public com.google.protobuf.ByteString getStepBytes() { java.lang.Object ref = step_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); step_ = b; return b; } else { @@ -4412,6 +5095,7 @@ public java.lang.String getStep() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4423,8 +5107,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(routine_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, routine_); } @@ -4454,17 +5137,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.workflows.executions.v1.Execution.Status.Step)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.Execution.Status.Step other = (com.google.cloud.workflows.executions.v1.Execution.Status.Step) obj; + com.google.cloud.workflows.executions.v1.Execution.Status.Step other = + (com.google.cloud.workflows.executions.v1.Execution.Status.Step) obj; - if (!getRoutine() - .equals(other.getRoutine())) return false; - if (!getStep() - .equals(other.getStep())) return false; + if (!getRoutine().equals(other.getRoutine())) return false; + if (!getStep().equals(other.getStep())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -4486,89 +5168,96 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.Execution.Status.Step 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.workflows.executions.v1.Execution.Status.Step parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step + parseDelimitedFrom( + java.io.InputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.Status.Step prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1.Execution.Status.Step prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -4578,39 +5267,42 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
        * Represents a step of the workflow this execution is running.
        * 
* * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Status.Step} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.Status.Step) com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.Status.Step.class, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.Status.Step.class, + com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder.class); } - // Construct using com.google.cloud.workflows.executions.v1.Execution.Status.Step.newBuilder() - private Builder() { - - } + // Construct using + // com.google.cloud.workflows.executions.v1.Execution.Status.Step.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -4621,14 +5313,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_descriptor; } @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.Status.Step getDefaultInstanceForType() { - return com.google.cloud.workflows.executions.v1.Execution.Status.Step.getDefaultInstance(); + public com.google.cloud.workflows.executions.v1.Execution.Status.Step + getDefaultInstanceForType() { + return com.google.cloud.workflows.executions.v1.Execution.Status.Step + .getDefaultInstance(); } @java.lang.Override @@ -4642,13 +5336,17 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.Step build() { @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.Status.Step buildPartial() { - com.google.cloud.workflows.executions.v1.Execution.Status.Step result = new com.google.cloud.workflows.executions.v1.Execution.Status.Step(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.workflows.executions.v1.Execution.Status.Step result = + new com.google.cloud.workflows.executions.v1.Execution.Status.Step(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.Status.Step result) { + private void buildPartial0( + com.google.cloud.workflows.executions.v1.Execution.Status.Step result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.routine_ = routine_; @@ -4662,46 +5360,53 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.St public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.workflows.executions.v1.Execution.Status.Step) { - return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.Status.Step)other); + return mergeFrom( + (com.google.cloud.workflows.executions.v1.Execution.Status.Step) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.Status.Step other) { - if (other == com.google.cloud.workflows.executions.v1.Execution.Status.Step.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.workflows.executions.v1.Execution.Status.Step other) { + if (other + == com.google.cloud.workflows.executions.v1.Execution.Status.Step + .getDefaultInstance()) return this; if (!other.getRoutine().isEmpty()) { routine_ = other.routine_; bitField0_ |= 0x00000001; @@ -4738,22 +5443,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - routine_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - step_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + routine_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + step_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -4763,22 +5471,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object routine_ = ""; /** + * + * *
          * Name of a routine within the workflow.
          * 
* * string routine = 1; + * * @return The routine. */ public java.lang.String getRoutine() { java.lang.Object ref = routine_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); routine_ = s; return s; @@ -4787,20 +5498,21 @@ public java.lang.String getRoutine() { } } /** + * + * *
          * Name of a routine within the workflow.
          * 
* * string routine = 1; + * * @return The bytes for routine. */ - public com.google.protobuf.ByteString - getRoutineBytes() { + public com.google.protobuf.ByteString getRoutineBytes() { java.lang.Object ref = routine_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); routine_ = b; return b; } else { @@ -4808,28 +5520,35 @@ public java.lang.String getRoutine() { } } /** + * + * *
          * Name of a routine within the workflow.
          * 
* * string routine = 1; + * * @param value The routine to set. * @return This builder for chaining. */ - public Builder setRoutine( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRoutine(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } routine_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
          * Name of a routine within the workflow.
          * 
* * string routine = 1; + * * @return This builder for chaining. */ public Builder clearRoutine() { @@ -4839,17 +5558,21 @@ public Builder clearRoutine() { return this; } /** + * + * *
          * Name of a routine within the workflow.
          * 
* * string routine = 1; + * * @param value The bytes for routine to set. * @return This builder for chaining. */ - public Builder setRoutineBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setRoutineBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); routine_ = value; bitField0_ |= 0x00000001; @@ -4859,18 +5582,20 @@ public Builder setRoutineBytes( private java.lang.Object step_ = ""; /** + * + * *
          * Name of a step within the routine.
          * 
* * string step = 2; + * * @return The step. */ public java.lang.String getStep() { java.lang.Object ref = step_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); step_ = s; return s; @@ -4879,20 +5604,21 @@ public java.lang.String getStep() { } } /** + * + * *
          * Name of a step within the routine.
          * 
* * string step = 2; + * * @return The bytes for step. */ - public com.google.protobuf.ByteString - getStepBytes() { + public com.google.protobuf.ByteString getStepBytes() { java.lang.Object ref = step_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); step_ = b; return b; } else { @@ -4900,28 +5626,35 @@ public java.lang.String getStep() { } } /** + * + * *
          * Name of a step within the routine.
          * 
* * string step = 2; + * * @param value The step to set. * @return This builder for chaining. */ - public Builder setStep( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStep(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } step_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
          * Name of a step within the routine.
          * 
* * string step = 2; + * * @return This builder for chaining. */ public Builder clearStep() { @@ -4931,23 +5664,28 @@ public Builder clearStep() { return this; } /** + * + * *
          * Name of a step within the routine.
          * 
* * string step = 2; + * * @param value The bytes for step to set. * @return This builder for chaining. */ - public Builder setStepBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setStepBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); step_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -4960,41 +5698,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.Status.Step) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.Status.Step) - private static final com.google.cloud.workflows.executions.v1.Execution.Status.Step DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1.Execution.Status.Step + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.Status.Step(); } - public static com.google.cloud.workflows.executions.v1.Execution.Status.Step getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1.Execution.Status.Step + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Step parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Step parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5006,16 +5747,20 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.Status.Step getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.Execution.Status.Step + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int CURRENT_STEPS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") - private java.util.List currentSteps_; + private java.util.List + currentSteps_; /** + * + * *
      * A list of currently executing or last executed step names for the
      * workflow execution currently running. If the workflow has succeeded or
@@ -5026,13 +5771,17 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.Step getDefault
      * ending with the most deeply nested step.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ @java.lang.Override - public java.util.List getCurrentStepsList() { + public java.util.List + getCurrentStepsList() { return currentSteps_; } /** + * + * *
      * A list of currently executing or last executed step names for the
      * workflow execution currently running. If the workflow has succeeded or
@@ -5043,14 +5792,18 @@ public java.util.List
      *
-     * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
+     * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
+     * 
      */
     @java.lang.Override
-    public java.util.List 
+    public java.util.List<
+            ? extends com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder>
         getCurrentStepsOrBuilderList() {
       return currentSteps_;
     }
     /**
+     *
+     *
      * 
      * A list of currently executing or last executed step names for the
      * workflow execution currently running. If the workflow has succeeded or
@@ -5061,13 +5814,16 @@ public java.util.List
      *
-     * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
+     * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1;
+     * 
      */
     @java.lang.Override
     public int getCurrentStepsCount() {
       return currentSteps_.size();
     }
     /**
+     *
+     *
      * 
      * A list of currently executing or last executed step names for the
      * workflow execution currently running. If the workflow has succeeded or
@@ -5078,13 +5834,17 @@ public int getCurrentStepsCount() {
      * ending with the most deeply nested step.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.Status.Step getCurrentSteps(int index) { + public com.google.cloud.workflows.executions.v1.Execution.Status.Step getCurrentSteps( + int index) { return currentSteps_.get(index); } /** + * + * *
      * A list of currently executing or last executed step names for the
      * workflow execution currently running. If the workflow has succeeded or
@@ -5095,15 +5855,17 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.Step getCurrent
      * ending with the most deeply nested step.
      * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder getCurrentStepsOrBuilder( - int index) { + public com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder + getCurrentStepsOrBuilder(int index) { return currentSteps_.get(index); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -5115,8 +5877,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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 < currentSteps_.size(); i++) { output.writeMessage(1, currentSteps_.get(i)); } @@ -5130,8 +5891,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < currentSteps_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, currentSteps_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, currentSteps_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -5141,15 +5901,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.workflows.executions.v1.Execution.Status)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.Execution.Status other = (com.google.cloud.workflows.executions.v1.Execution.Status) obj; + com.google.cloud.workflows.executions.v1.Execution.Status other = + (com.google.cloud.workflows.executions.v1.Execution.Status) obj; - if (!getCurrentStepsList() - .equals(other.getCurrentStepsList())) return false; + if (!getCurrentStepsList().equals(other.getCurrentStepsList())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -5171,89 +5931,94 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.Execution.Status 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.workflows.executions.v1.Execution.Status parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.Status parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.Execution.Status parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.Execution.Status parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution.Status parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.Status prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1.Execution.Status prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -5263,39 +6028,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Represents the current status of this execution.
      * 
* * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.Status} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.Status) com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Status_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Status_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.Status.class, com.google.cloud.workflows.executions.v1.Execution.Status.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.Status.class, + com.google.cloud.workflows.executions.v1.Execution.Status.Builder.class); } // Construct using com.google.cloud.workflows.executions.v1.Execution.Status.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -5311,9 +6078,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_Status_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_Status_descriptor; } @java.lang.Override @@ -5332,14 +6099,18 @@ public com.google.cloud.workflows.executions.v1.Execution.Status build() { @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.Status buildPartial() { - com.google.cloud.workflows.executions.v1.Execution.Status result = new com.google.cloud.workflows.executions.v1.Execution.Status(this); + com.google.cloud.workflows.executions.v1.Execution.Status result = + new com.google.cloud.workflows.executions.v1.Execution.Status(this); buildPartialRepeatedFields(result); - if (bitField0_ != 0) { buildPartial0(result); } + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartialRepeatedFields(com.google.cloud.workflows.executions.v1.Execution.Status result) { + private void buildPartialRepeatedFields( + com.google.cloud.workflows.executions.v1.Execution.Status result) { if (currentStepsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { currentSteps_ = java.util.Collections.unmodifiableList(currentSteps_); @@ -5359,38 +6130,41 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.St public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.workflows.executions.v1.Execution.Status) { - return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.Status)other); + return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.Status) other); } else { super.mergeFrom(other); return this; @@ -5398,7 +6172,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.Status other) { - if (other == com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance()) return this; + if (other == com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance()) + return this; if (currentStepsBuilder_ == null) { if (!other.currentSteps_.isEmpty()) { if (currentSteps_.isEmpty()) { @@ -5417,9 +6192,10 @@ public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.Stat currentStepsBuilder_ = null; currentSteps_ = other.currentSteps_; bitField0_ = (bitField0_ & ~0x00000001); - currentStepsBuilder_ = - com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? - getCurrentStepsFieldBuilder() : null; + currentStepsBuilder_ = + com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders + ? getCurrentStepsFieldBuilder() + : null; } else { currentStepsBuilder_.addAllMessages(other.currentSteps_); } @@ -5451,25 +6227,27 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - com.google.cloud.workflows.executions.v1.Execution.Status.Step m = - input.readMessage( - com.google.cloud.workflows.executions.v1.Execution.Status.Step.parser(), - extensionRegistry); - if (currentStepsBuilder_ == null) { - ensureCurrentStepsIsMutable(); - currentSteps_.add(m); - } else { - currentStepsBuilder_.addMessage(m); - } - break; - } // case 10 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + com.google.cloud.workflows.executions.v1.Execution.Status.Step m = + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.Status.Step.parser(), + extensionRegistry); + if (currentStepsBuilder_ == null) { + ensureCurrentStepsIsMutable(); + currentSteps_.add(m); + } else { + currentStepsBuilder_.addMessage(m); + } + break; + } // case 10 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -5479,21 +6257,30 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; - private java.util.List currentSteps_ = - java.util.Collections.emptyList(); + private java.util.List + currentSteps_ = java.util.Collections.emptyList(); + private void ensureCurrentStepsIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { - currentSteps_ = new java.util.ArrayList(currentSteps_); + currentSteps_ = + new java.util.ArrayList< + com.google.cloud.workflows.executions.v1.Execution.Status.Step>(currentSteps_); bitField0_ |= 0x00000001; - } + } } private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.Status.Step, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder, com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder> currentStepsBuilder_; + com.google.cloud.workflows.executions.v1.Execution.Status.Step, + com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder, + com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder> + currentStepsBuilder_; /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5504,9 +6291,12 @@ private void ensureCurrentStepsIsMutable() {
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ - public java.util.List getCurrentStepsList() { + public java.util.List + getCurrentStepsList() { if (currentStepsBuilder_ == null) { return java.util.Collections.unmodifiableList(currentSteps_); } else { @@ -5514,6 +6304,8 @@ public java.util.List * A list of currently executing or last executed step names for the * workflow execution currently running. If the workflow has succeeded or @@ -5524,7 +6316,9 @@ public java.util.List * - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ public int getCurrentStepsCount() { if (currentStepsBuilder_ == null) { @@ -5534,6 +6328,8 @@ public int getCurrentStepsCount() { } } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5544,9 +6340,12 @@ public int getCurrentStepsCount() {
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ - public com.google.cloud.workflows.executions.v1.Execution.Status.Step getCurrentSteps(int index) { + public com.google.cloud.workflows.executions.v1.Execution.Status.Step getCurrentSteps( + int index) { if (currentStepsBuilder_ == null) { return currentSteps_.get(index); } else { @@ -5554,6 +6353,8 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.Step getCurrent } } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5564,7 +6365,9 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.Step getCurrent
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ public Builder setCurrentSteps( int index, com.google.cloud.workflows.executions.v1.Execution.Status.Step value) { @@ -5581,6 +6384,8 @@ public Builder setCurrentSteps( return this; } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5591,10 +6396,13 @@ public Builder setCurrentSteps(
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ public Builder setCurrentSteps( - int index, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder builderForValue) { + int index, + com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder builderForValue) { if (currentStepsBuilder_ == null) { ensureCurrentStepsIsMutable(); currentSteps_.set(index, builderForValue.build()); @@ -5605,6 +6413,8 @@ public Builder setCurrentSteps( return this; } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5615,9 +6425,12 @@ public Builder setCurrentSteps(
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ - public Builder addCurrentSteps(com.google.cloud.workflows.executions.v1.Execution.Status.Step value) { + public Builder addCurrentSteps( + com.google.cloud.workflows.executions.v1.Execution.Status.Step value) { if (currentStepsBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -5631,6 +6444,8 @@ public Builder addCurrentSteps(com.google.cloud.workflows.executions.v1.Executio return this; } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5641,7 +6456,9 @@ public Builder addCurrentSteps(com.google.cloud.workflows.executions.v1.Executio
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ public Builder addCurrentSteps( int index, com.google.cloud.workflows.executions.v1.Execution.Status.Step value) { @@ -5658,6 +6475,8 @@ public Builder addCurrentSteps( return this; } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5668,7 +6487,9 @@ public Builder addCurrentSteps(
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ public Builder addCurrentSteps( com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder builderForValue) { @@ -5682,6 +6503,8 @@ public Builder addCurrentSteps( return this; } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5692,10 +6515,13 @@ public Builder addCurrentSteps(
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ public Builder addCurrentSteps( - int index, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder builderForValue) { + int index, + com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder builderForValue) { if (currentStepsBuilder_ == null) { ensureCurrentStepsIsMutable(); currentSteps_.add(index, builderForValue.build()); @@ -5706,6 +6532,8 @@ public Builder addCurrentSteps( return this; } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5716,14 +6544,17 @@ public Builder addCurrentSteps(
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ public Builder addAllCurrentSteps( - java.lang.Iterable values) { + java.lang.Iterable< + ? extends com.google.cloud.workflows.executions.v1.Execution.Status.Step> + values) { if (currentStepsBuilder_ == null) { ensureCurrentStepsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, currentSteps_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, currentSteps_); onChanged(); } else { currentStepsBuilder_.addAllMessages(values); @@ -5731,6 +6562,8 @@ public Builder addAllCurrentSteps( return this; } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5741,7 +6574,9 @@ public Builder addAllCurrentSteps(
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ public Builder clearCurrentSteps() { if (currentStepsBuilder_ == null) { @@ -5754,6 +6589,8 @@ public Builder clearCurrentSteps() { return this; } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5764,7 +6601,9 @@ public Builder clearCurrentSteps() {
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ public Builder removeCurrentSteps(int index) { if (currentStepsBuilder_ == null) { @@ -5777,6 +6616,8 @@ public Builder removeCurrentSteps(int index) { return this; } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5787,13 +6628,17 @@ public Builder removeCurrentSteps(int index) {
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ - public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder getCurrentStepsBuilder( - int index) { + public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder + getCurrentStepsBuilder(int index) { return getCurrentStepsFieldBuilder().getBuilder(index); } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5804,16 +6649,21 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder ge
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ - public com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder getCurrentStepsOrBuilder( - int index) { + public com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder + getCurrentStepsOrBuilder(int index) { if (currentStepsBuilder_ == null) { - return currentSteps_.get(index); } else { + return currentSteps_.get(index); + } else { return currentStepsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5824,10 +6674,13 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder g
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ - public java.util.List - getCurrentStepsOrBuilderList() { + public java.util.List< + ? extends com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder> + getCurrentStepsOrBuilderList() { if (currentStepsBuilder_ != null) { return currentStepsBuilder_.getMessageOrBuilderList(); } else { @@ -5835,6 +6688,8 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder g } } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5845,13 +6700,20 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder g
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ - public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder addCurrentStepsBuilder() { - return getCurrentStepsFieldBuilder().addBuilder( - com.google.cloud.workflows.executions.v1.Execution.Status.Step.getDefaultInstance()); + public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder + addCurrentStepsBuilder() { + return getCurrentStepsFieldBuilder() + .addBuilder( + com.google.cloud.workflows.executions.v1.Execution.Status.Step + .getDefaultInstance()); } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5862,14 +6724,21 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder ad
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ - public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder addCurrentStepsBuilder( - int index) { - return getCurrentStepsFieldBuilder().addBuilder( - index, com.google.cloud.workflows.executions.v1.Execution.Status.Step.getDefaultInstance()); + public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder + addCurrentStepsBuilder(int index) { + return getCurrentStepsFieldBuilder() + .addBuilder( + index, + com.google.cloud.workflows.executions.v1.Execution.Status.Step + .getDefaultInstance()); } /** + * + * *
        * A list of currently executing or last executed step names for the
        * workflow execution currently running. If the workflow has succeeded or
@@ -5880,18 +6749,26 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder ad
        * ending with the most deeply nested step.
        * 
* - * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * + * repeated .google.cloud.workflows.executions.v1.Execution.Status.Step current_steps = 1; + * */ - public java.util.List - getCurrentStepsBuilderList() { + public java.util.List + getCurrentStepsBuilderList() { return getCurrentStepsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.Status.Step, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder, com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder> + com.google.cloud.workflows.executions.v1.Execution.Status.Step, + com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder, + com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder> getCurrentStepsFieldBuilder() { if (currentStepsBuilder_ == null) { - currentStepsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.Status.Step, com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder, com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder>( + currentStepsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.Status.Step, + com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder, + com.google.cloud.workflows.executions.v1.Execution.Status.StepOrBuilder>( currentSteps_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), @@ -5900,6 +6777,7 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.Step.Builder ad } return currentStepsBuilder_; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -5912,12 +6790,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.Status) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.Status) private static final com.google.cloud.workflows.executions.v1.Execution.Status DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.Status(); } @@ -5926,27 +6804,28 @@ public static com.google.cloud.workflows.executions.v1.Execution.Status getDefau return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Status parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Status parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -5961,68 +6840,82 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.Execution.Status getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - public interface StateErrorOrBuilder extends + public interface StateErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution.StateError) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Provides specifics about the error.
      * 
* * string details = 1; + * * @return The details. */ java.lang.String getDetails(); /** + * + * *
      * Provides specifics about the error.
      * 
* * string details = 1; + * * @return The bytes for details. */ - com.google.protobuf.ByteString - getDetailsBytes(); + com.google.protobuf.ByteString getDetailsBytes(); /** + * + * *
      * The type of this state error.
      * 
* * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * * @return The enum numeric value on the wire for type. */ int getTypeValue(); /** + * + * *
      * The type of this state error.
      * 
* * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * * @return The type. */ com.google.cloud.workflows.executions.v1.Execution.StateError.Type getType(); } /** + * + * *
    * Describes an error related to the current state of the Execution resource.
    * 
* * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StateError} */ - public static final class StateError extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class StateError extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.Execution.StateError) StateErrorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use StateError.newBuilder() to construct. private StateError(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private StateError() { details_ = ""; type_ = 0; @@ -6030,34 +6923,38 @@ private StateError() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StateError(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StateError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StateError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StateError_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StateError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StateError.class, com.google.cloud.workflows.executions.v1.Execution.StateError.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.StateError.class, + com.google.cloud.workflows.executions.v1.Execution.StateError.Builder.class); } /** + * + * *
      * Describes the possible types of a state error.
      * 
* * Protobuf enum {@code google.cloud.workflows.executions.v1.Execution.StateError.Type} */ - public enum Type - implements com.google.protobuf.ProtocolMessageEnum { + public enum Type implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
        * No type specified.
        * 
@@ -6066,6 +6963,8 @@ public enum Type */ TYPE_UNSPECIFIED(0), /** + * + * *
        * Caused by an issue with KMS.
        * 
@@ -6077,6 +6976,8 @@ public enum Type ; /** + * + * *
        * No type specified.
        * 
@@ -6085,6 +6986,8 @@ public enum Type */ public static final int TYPE_UNSPECIFIED_VALUE = 0; /** + * + * *
        * Caused by an issue with KMS.
        * 
@@ -6093,7 +6996,6 @@ public enum Type */ public static final int KMS_ERROR_VALUE = 1; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -6118,48 +7020,49 @@ public static Type valueOf(int value) { */ public static Type forNumber(int value) { switch (value) { - case 0: return TYPE_UNSPECIFIED; - case 1: return KMS_ERROR; - default: return null; + case 0: + return TYPE_UNSPECIFIED; + case 1: + return KMS_ERROR; + 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() { - return com.google.cloud.workflows.executions.v1.Execution.StateError.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.Execution.StateError.getDescriptor() + .getEnumTypes() + .get(0); } 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; @@ -6177,14 +7080,18 @@ private Type(int value) { } public static final int DETAILS_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object details_ = ""; /** + * + * *
      * Provides specifics about the error.
      * 
* * string details = 1; + * * @return The details. */ @java.lang.Override @@ -6193,29 +7100,29 @@ public java.lang.String getDetails() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); details_ = s; return s; } } /** + * + * *
      * Provides specifics about the error.
      * 
* * string details = 1; + * * @return The bytes for details. */ @java.lang.Override - public com.google.protobuf.ByteString - getDetailsBytes() { + public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); details_ = b; return b; } else { @@ -6226,30 +7133,42 @@ public java.lang.String getDetails() { public static final int TYPE_FIELD_NUMBER = 2; private int type_ = 0; /** + * + * *
      * The type of this state error.
      * 
* * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
      * The type of this state error.
      * 
* * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * * @return The type. */ - @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.StateError.Type getType() { - com.google.cloud.workflows.executions.v1.Execution.StateError.Type result = com.google.cloud.workflows.executions.v1.Execution.StateError.Type.forNumber(type_); - return result == null ? com.google.cloud.workflows.executions.v1.Execution.StateError.Type.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.StateError.Type getType() { + com.google.cloud.workflows.executions.v1.Execution.StateError.Type result = + com.google.cloud.workflows.executions.v1.Execution.StateError.Type.forNumber(type_); + return result == null + ? com.google.cloud.workflows.executions.v1.Execution.StateError.Type.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -6261,12 +7180,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, details_); } - if (type_ != com.google.cloud.workflows.executions.v1.Execution.StateError.Type.TYPE_UNSPECIFIED.getNumber()) { + if (type_ + != com.google.cloud.workflows.executions.v1.Execution.StateError.Type.TYPE_UNSPECIFIED + .getNumber()) { output.writeEnum(2, type_); } getUnknownFields().writeTo(output); @@ -6281,9 +7201,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(details_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, details_); } - if (type_ != com.google.cloud.workflows.executions.v1.Execution.StateError.Type.TYPE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, type_); + if (type_ + != com.google.cloud.workflows.executions.v1.Execution.StateError.Type.TYPE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -6293,15 +7214,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.workflows.executions.v1.Execution.StateError)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.Execution.StateError other = (com.google.cloud.workflows.executions.v1.Execution.StateError) obj; + com.google.cloud.workflows.executions.v1.Execution.StateError other = + (com.google.cloud.workflows.executions.v1.Execution.StateError) obj; - if (!getDetails() - .equals(other.getDetails())) return false; + if (!getDetails().equals(other.getDetails())) return false; if (type_ != other.type_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -6324,89 +7245,94 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.Execution.StateError 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.workflows.executions.v1.Execution.StateError parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution.StateError parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.Execution.StateError parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution.StateError parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution.StateError prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1.Execution.StateError prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -6416,39 +7342,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Describes an error related to the current state of the Execution resource.
      * 
* * Protobuf type {@code google.cloud.workflows.executions.v1.Execution.StateError} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution.StateError) com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StateError_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StateError_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StateError_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StateError_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.Execution.StateError.class, com.google.cloud.workflows.executions.v1.Execution.StateError.Builder.class); + com.google.cloud.workflows.executions.v1.Execution.StateError.class, + com.google.cloud.workflows.executions.v1.Execution.StateError.Builder.class); } // Construct using com.google.cloud.workflows.executions.v1.Execution.StateError.newBuilder() - private Builder() { + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -6459,13 +7387,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_StateError_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_StateError_descriptor; } @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StateError getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.Execution.StateError + getDefaultInstanceForType() { return com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance(); } @@ -6480,13 +7409,17 @@ public com.google.cloud.workflows.executions.v1.Execution.StateError build() { @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.StateError buildPartial() { - com.google.cloud.workflows.executions.v1.Execution.StateError result = new com.google.cloud.workflows.executions.v1.Execution.StateError(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.workflows.executions.v1.Execution.StateError result = + new com.google.cloud.workflows.executions.v1.Execution.StateError(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.StateError result) { + private void buildPartial0( + com.google.cloud.workflows.executions.v1.Execution.StateError result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.details_ = details_; @@ -6500,46 +7433,52 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution.St public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.workflows.executions.v1.Execution.StateError) { - return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.StateError)other); + return mergeFrom((com.google.cloud.workflows.executions.v1.Execution.StateError) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution.StateError other) { - if (other == com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.cloud.workflows.executions.v1.Execution.StateError other) { + if (other + == com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance()) + return this; if (!other.getDetails().isEmpty()) { details_ = other.details_; bitField0_ |= 0x00000001; @@ -6574,22 +7513,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - details_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - type_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + details_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + type_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -6599,22 +7541,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object details_ = ""; /** + * + * *
        * Provides specifics about the error.
        * 
* * string details = 1; + * * @return The details. */ public java.lang.String getDetails() { java.lang.Object ref = details_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); details_ = s; return s; @@ -6623,20 +7568,21 @@ public java.lang.String getDetails() { } } /** + * + * *
        * Provides specifics about the error.
        * 
* * string details = 1; + * * @return The bytes for details. */ - public com.google.protobuf.ByteString - getDetailsBytes() { + public com.google.protobuf.ByteString getDetailsBytes() { java.lang.Object ref = details_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); details_ = b; return b; } else { @@ -6644,28 +7590,35 @@ public java.lang.String getDetails() { } } /** + * + * *
        * Provides specifics about the error.
        * 
* * string details = 1; + * * @param value The details to set. * @return This builder for chaining. */ - public Builder setDetails( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDetails(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } details_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Provides specifics about the error.
        * 
* * string details = 1; + * * @return This builder for chaining. */ public Builder clearDetails() { @@ -6675,17 +7628,21 @@ public Builder clearDetails() { return this; } /** + * + * *
        * Provides specifics about the error.
        * 
* * string details = 1; + * * @param value The bytes for details to set. * @return This builder for chaining. */ - public Builder setDetailsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDetailsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); details_ = value; bitField0_ |= 0x00000001; @@ -6695,22 +7652,29 @@ public Builder setDetailsBytes( private int type_ = 0; /** + * + * *
        * The type of this state error.
        * 
* * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * * @return The enum numeric value on the wire for type. */ - @java.lang.Override public int getTypeValue() { + @java.lang.Override + public int getTypeValue() { return type_; } /** + * + * *
        * The type of this state error.
        * 
* * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * * @param value The enum numeric value on the wire for type to set. * @return This builder for chaining. */ @@ -6721,28 +7685,38 @@ public Builder setTypeValue(int value) { return this; } /** + * + * *
        * The type of this state error.
        * 
* * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * * @return The type. */ @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.StateError.Type getType() { - com.google.cloud.workflows.executions.v1.Execution.StateError.Type result = com.google.cloud.workflows.executions.v1.Execution.StateError.Type.forNumber(type_); - return result == null ? com.google.cloud.workflows.executions.v1.Execution.StateError.Type.UNRECOGNIZED : result; + com.google.cloud.workflows.executions.v1.Execution.StateError.Type result = + com.google.cloud.workflows.executions.v1.Execution.StateError.Type.forNumber(type_); + return result == null + ? com.google.cloud.workflows.executions.v1.Execution.StateError.Type.UNRECOGNIZED + : result; } /** + * + * *
        * The type of this state error.
        * 
* * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * * @param value The type to set. * @return This builder for chaining. */ - public Builder setType(com.google.cloud.workflows.executions.v1.Execution.StateError.Type value) { + public Builder setType( + com.google.cloud.workflows.executions.v1.Execution.StateError.Type value) { if (value == null) { throw new NullPointerException(); } @@ -6752,11 +7726,14 @@ public Builder setType(com.google.cloud.workflows.executions.v1.Execution.StateE return this; } /** + * + * *
        * The type of this state error.
        * 
* * .google.cloud.workflows.executions.v1.Execution.StateError.Type type = 2; + * * @return This builder for chaining. */ public Builder clearType() { @@ -6765,6 +7742,7 @@ public Builder clearType() { onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -6777,41 +7755,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution.StateError) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution.StateError) - private static final com.google.cloud.workflows.executions.v1.Execution.StateError DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1.Execution.StateError + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution.StateError(); } - public static com.google.cloud.workflows.executions.v1.Execution.StateError getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1.Execution.StateError + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public StateError parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public StateError parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6823,16 +7804,19 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StateError getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.Execution.StateError + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -6840,6 +7824,7 @@ public com.google.cloud.workflows.executions.v1.Execution.StateError getDefaultI
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -6848,14 +7833,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; } } /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -6863,16 +7849,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -6883,11 +7868,15 @@ public java.lang.String getName() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -6895,11 +7884,15 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ @java.lang.Override @@ -6907,11 +7900,14 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -6921,11 +7917,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -6933,11 +7933,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -6945,11 +7949,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -6959,11 +7966,15 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int DURATION_FIELD_NUMBER = 12; private com.google.protobuf.Duration duration_; /** + * + * *
    * Output only. Measures the duration of the execution.
    * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the duration field is set. */ @java.lang.Override @@ -6971,11 +7982,15 @@ public boolean hasDuration() { return duration_ != null; } /** + * + * *
    * Output only. Measures the duration of the execution.
    * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The duration. */ @java.lang.Override @@ -6983,11 +7998,14 @@ public com.google.protobuf.Duration getDuration() { return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } /** + * + * *
    * Output only. Measures the duration of the execution.
    * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { @@ -6997,33 +8015,51 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int state_ = 0; /** + * + * *
    * Output only. Current state of the execution.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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. Current state of the execution.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.State getState() { - com.google.cloud.workflows.executions.v1.Execution.State result = com.google.cloud.workflows.executions.v1.Execution.State.forNumber(state_); - return result == null ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.State getState() { + com.google.cloud.workflows.executions.v1.Execution.State result = + com.google.cloud.workflows.executions.v1.Execution.State.forNumber(state_); + return result == null + ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED + : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object argument_ = ""; /** + * + * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
@@ -7034,6 +8070,7 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
    * 
* * string argument = 5; + * * @return The argument. */ @java.lang.Override @@ -7042,14 +8079,15 @@ public java.lang.String getArgument() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); argument_ = s; return s; } } /** + * + * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
@@ -7060,16 +8098,15 @@ public java.lang.String getArgument() {
    * 
* * string argument = 5; + * * @return The bytes for argument. */ @java.lang.Override - public com.google.protobuf.ByteString - getArgumentBytes() { + public com.google.protobuf.ByteString getArgumentBytes() { java.lang.Object ref = argument_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); argument_ = b; return b; } else { @@ -7078,15 +8115,19 @@ public java.lang.String getArgument() { } public static final int RESULT_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object result_ = ""; /** + * + * *
    * Output only. Output of the execution represented as a JSON string. The
    * value can only be present if the execution's state is `SUCCEEDED`.
    * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The result. */ @java.lang.Override @@ -7095,30 +8136,30 @@ public java.lang.String getResult() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); result_ = s; return s; } } /** + * + * *
    * Output only. Output of the execution represented as a JSON string. The
    * value can only be present if the execution's state is `SUCCEEDED`.
    * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for result. */ @java.lang.Override - public com.google.protobuf.ByteString - getResultBytes() { + public com.google.protobuf.ByteString getResultBytes() { java.lang.Object ref = result_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); result_ = b; return b; } else { @@ -7129,13 +8170,18 @@ public java.lang.String getResult() { public static final int ERROR_FIELD_NUMBER = 7; private com.google.cloud.workflows.executions.v1.Execution.Error error_; /** + * + * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the error field is set. */ @java.lang.Override @@ -7143,42 +8189,59 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The error. */ @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.Error getError() { - return error_ == null ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() : error_; + return error_ == null + ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() + : error_; } /** + * + * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErrorOrBuilder() { - return error_ == null ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() : error_; + return error_ == null + ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() + : error_; } public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object workflowRevisionId_ = ""; /** + * + * *
    * Output only. Revision of the workflow this execution is using.
    * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The workflowRevisionId. */ @java.lang.Override @@ -7187,29 +8250,29 @@ public java.lang.String getWorkflowRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowRevisionId_ = s; return s; } } /** + * + * *
    * Output only. Revision of the workflow this execution is using.
    * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for workflowRevisionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkflowRevisionIdBytes() { + public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { java.lang.Object ref = workflowRevisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workflowRevisionId_ = b; return b; } else { @@ -7220,38 +8283,54 @@ public java.lang.String getWorkflowRevisionId() { public static final int CALL_LOG_LEVEL_FIELD_NUMBER = 9; private int callLogLevel_ = 0; /** + * + * *
    * The call logging level associated to this execution.
    * 
* * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * * @return The enum numeric value on the wire for callLogLevel. */ - @java.lang.Override public int getCallLogLevelValue() { + @java.lang.Override + public int getCallLogLevelValue() { return callLogLevel_; } /** + * + * *
    * The call logging level associated to this execution.
    * 
* * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * * @return The callLogLevel. */ - @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.forNumber(callLogLevel_); - return result == null ? com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { + com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = + com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.forNumber(callLogLevel_); + return result == null + ? com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.UNRECOGNIZED + : result; } public static final int STATUS_FIELD_NUMBER = 10; private com.google.cloud.workflows.executions.v1.Execution.Status status_; /** + * + * *
    * Output only. Status tracks the current steps and progress data of this
    * execution.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the status field is set. */ @java.lang.Override @@ -7259,58 +8338,73 @@ public boolean hasStatus() { return status_ != null; } /** + * + * *
    * Output only. Status tracks the current steps and progress data of this
    * execution.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The status. */ @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.Status getStatus() { - return status_ == null ? com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance() + : status_; } /** + * + * *
    * Output only. Status tracks the current steps and progress data of this
    * execution.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder getStatusOrBuilder() { - return status_ == null ? com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance() + : status_; } public static final int LABELS_FIELD_NUMBER = 11; + private static final class LabelsDefaultEntryHolder { - static final com.google.protobuf.MapEntry< - java.lang.String, java.lang.String> defaultEntry = - com.google.protobuf.MapEntry - .newDefaultInstance( - com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_LabelsEntry_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.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_Execution_LabelsEntry_descriptor, + com.google.protobuf.WireFormat.FieldType.STRING, + "", + com.google.protobuf.WireFormat.FieldType.STRING, + ""); } + @SuppressWarnings("serial") - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
    * Labels associated with this execution.
    * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -7324,20 +8418,21 @@ public int getLabelsCount() {
    * map<string, string> labels = 11;
    */
   @java.lang.Override
-  public boolean containsLabels(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
+  public boolean containsLabels(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
     return internalGetLabels().getMap().containsKey(key);
   }
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Override
   @java.lang.Deprecated
   public java.util.Map getLabels() {
     return getLabelsMap();
   }
   /**
+   *
+   *
    * 
    * Labels associated with this execution.
    * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -7355,6 +8450,8 @@ public java.util.Map getLabelsMap() {
     return internalGetLabels().getMap();
   }
   /**
+   *
+   *
    * 
    * Labels associated with this execution.
    * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -7368,17 +8465,19 @@ public java.util.Map getLabelsMap() {
    * map<string, string> labels = 11;
    */
   @java.lang.Override
-  public /* nullable */
-java.lang.String getLabelsOrDefault(
+  public /* nullable */ java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+      java.lang.String defaultValue) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     return map.containsKey(key) ? map.get(key) : defaultValue;
   }
   /**
+   *
+   *
    * 
    * Labels associated with this execution.
    * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -7392,11 +8491,11 @@ java.lang.String getLabelsOrDefault(
    * map<string, string> labels = 11;
    */
   @java.lang.Override
-  public java.lang.String getLabelsOrThrow(
-      java.lang.String key) {
-    if (key == null) { throw new NullPointerException("map key"); }
-    java.util.Map map =
-        internalGetLabels().getMap();
+  public java.lang.String getLabelsOrThrow(java.lang.String key) {
+    if (key == null) {
+      throw new NullPointerException("map key");
+    }
+    java.util.Map map = internalGetLabels().getMap();
     if (!map.containsKey(key)) {
       throw new java.lang.IllegalArgumentException();
     }
@@ -7406,13 +8505,18 @@ public java.lang.String getLabelsOrThrow(
   public static final int STATE_ERROR_FIELD_NUMBER = 13;
   private com.google.cloud.workflows.executions.v1.Execution.StateError stateError_;
   /**
+   *
+   *
    * 
    * Output only. Error regarding the state of the Execution resource. For
    * example, this field will have error details if the execution data is
    * unavailable due to revoked KMS key permissions.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateError field is set. */ @java.lang.Override @@ -7420,34 +8524,49 @@ public boolean hasStateError() { return stateError_ != null; } /** + * + * *
    * Output only. Error regarding the state of the Execution resource. For
    * example, this field will have error details if the execution data is
    * unavailable due to revoked KMS key permissions.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateError. */ @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.StateError getStateError() { - return stateError_ == null ? com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance() : stateError_; + return stateError_ == null + ? com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance() + : stateError_; } /** + * + * *
    * Output only. Error regarding the state of the Execution resource. For
    * example, this field will have error details if the execution data is
    * unavailable due to revoked KMS key permissions.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override - public com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder getStateErrorOrBuilder() { - return stateError_ == null ? com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance() : stateError_; + public com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder + getStateErrorOrBuilder() { + return stateError_ == null + ? com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance() + : stateError_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -7459,8 +8578,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -7470,7 +8588,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (endTime_ != null) { output.writeMessage(3, getEndTime()); } - if (state_ != com.google.cloud.workflows.executions.v1.Execution.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.workflows.executions.v1.Execution.State.STATE_UNSPECIFIED.getNumber()) { output.writeEnum(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { @@ -7485,18 +8604,17 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, workflowRevisionId_); } - if (callLogLevel_ != com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.CALL_LOG_LEVEL_UNSPECIFIED.getNumber()) { + if (callLogLevel_ + != com.google.cloud.workflows.executions.v1.Execution.CallLogLevel + .CALL_LOG_LEVEL_UNSPECIFIED + .getNumber()) { output.writeEnum(9, callLogLevel_); } if (status_ != null) { output.writeMessage(10, getStatus()); } - com.google.protobuf.GeneratedMessageV3 - .serializeStringMapTo( - output, - internalGetLabels(), - LabelsDefaultEntryHolder.defaultEntry, - 11); + com.google.protobuf.GeneratedMessageV3.serializeStringMapTo( + output, internalGetLabels(), LabelsDefaultEntryHolder.defaultEntry, 11); if (duration_ != null) { output.writeMessage(12, getDuration()); } @@ -7516,16 +8634,14 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); } - if (state_ != com.google.cloud.workflows.executions.v1.Execution.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.cloud.workflows.executions.v1.Execution.State.STATE_UNSPECIFIED.getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, argument_); @@ -7534,37 +8650,35 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, result_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getError()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, workflowRevisionId_); } - if (callLogLevel_ != com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.CALL_LOG_LEVEL_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, callLogLevel_); + if (callLogLevel_ + != com.google.cloud.workflows.executions.v1.Execution.CallLogLevel + .CALL_LOG_LEVEL_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, callLogLevel_); } if (status_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(10, getStatus()); - } - for (java.util.Map.Entry entry - : internalGetLabels().getMap().entrySet()) { - com.google.protobuf.MapEntry - labels__ = LabelsDefaultEntryHolder.defaultEntry.newBuilderForType() - .setKey(entry.getKey()) - .setValue(entry.getValue()) - .build(); - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(11, labels__); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(10, getStatus()); + } + for (java.util.Map.Entry entry : + internalGetLabels().getMap().entrySet()) { + com.google.protobuf.MapEntry labels__ = + LabelsDefaultEntryHolder.defaultEntry + .newBuilderForType() + .setKey(entry.getKey()) + .setValue(entry.getValue()) + .build(); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(11, labels__); } if (duration_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(12, getDuration()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(12, getDuration()); } if (stateError_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(13, getStateError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(13, getStateError()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -7574,54 +8688,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.workflows.executions.v1.Execution)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.Execution other = (com.google.cloud.workflows.executions.v1.Execution) obj; + com.google.cloud.workflows.executions.v1.Execution other = + (com.google.cloud.workflows.executions.v1.Execution) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (hasDuration() != other.hasDuration()) return false; if (hasDuration()) { - if (!getDuration() - .equals(other.getDuration())) return false; + if (!getDuration().equals(other.getDuration())) return false; } if (state_ != other.state_) return false; - if (!getArgument() - .equals(other.getArgument())) return false; - if (!getResult() - .equals(other.getResult())) return false; + if (!getArgument().equals(other.getArgument())) return false; + if (!getResult().equals(other.getResult())) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) return false; } - if (!getWorkflowRevisionId() - .equals(other.getWorkflowRevisionId())) return false; + if (!getWorkflowRevisionId().equals(other.getWorkflowRevisionId())) return false; if (callLogLevel_ != other.callLogLevel_) 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 (!internalGetLabels().equals( - other.internalGetLabels())) return false; + if (!internalGetLabels().equals(other.internalGetLabels())) return false; if (hasStateError() != other.hasStateError()) return false; if (hasStateError()) { - if (!getStateError() - .equals(other.getStateError())) return false; + if (!getStateError().equals(other.getStateError())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -7680,98 +8784,103 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.Execution 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.workflows.executions.v1.Execution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.Execution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.Execution parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.Execution parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.Execution parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } + public static Builder newBuilder(com.google.cloud.workflows.executions.v1.Execution prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A running instance of a
    * [Workflow](/workflows/docs/reference/rest/v1/projects.locations.workflows).
@@ -7779,55 +8888,52 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1.Execution}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.Execution)
       com.google.cloud.workflows.executions.v1.ExecutionOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_Execution_descriptor;
     }
 
     @SuppressWarnings({"rawtypes"})
-    protected com.google.protobuf.MapField internalGetMapField(
-        int number) {
+    protected com.google.protobuf.MapField internalGetMapField(int number) {
       switch (number) {
         case 11:
           return internalGetLabels();
         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 11:
           return internalGetMutableLabels();
         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.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_Execution_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1.Execution.class, com.google.cloud.workflows.executions.v1.Execution.Builder.class);
+              com.google.cloud.workflows.executions.v1.Execution.class,
+              com.google.cloud.workflows.executions.v1.Execution.Builder.class);
     }
 
     // Construct using com.google.cloud.workflows.executions.v1.Execution.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -7873,9 +8979,9 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_Execution_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_Execution_descriptor;
     }
 
     @java.lang.Override
@@ -7894,8 +9000,11 @@ public com.google.cloud.workflows.executions.v1.Execution build() {
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1.Execution buildPartial() {
-      com.google.cloud.workflows.executions.v1.Execution result = new com.google.cloud.workflows.executions.v1.Execution(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.workflows.executions.v1.Execution result =
+          new com.google.cloud.workflows.executions.v1.Execution(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
@@ -7906,19 +9015,13 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution re
         result.name_ = name_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.startTime_ = startTimeBuilder_ == null
-            ? startTime_
-            : startTimeBuilder_.build();
+        result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000004) != 0)) {
-        result.endTime_ = endTimeBuilder_ == null
-            ? endTime_
-            : endTimeBuilder_.build();
+        result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000008) != 0)) {
-        result.duration_ = durationBuilder_ == null
-            ? duration_
-            : durationBuilder_.build();
+        result.duration_ = durationBuilder_ == null ? duration_ : durationBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000010) != 0)) {
         result.state_ = state_;
@@ -7930,9 +9033,7 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution re
         result.result_ = result_;
       }
       if (((from_bitField0_ & 0x00000080) != 0)) {
-        result.error_ = errorBuilder_ == null
-            ? error_
-            : errorBuilder_.build();
+        result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000100) != 0)) {
         result.workflowRevisionId_ = workflowRevisionId_;
@@ -7941,18 +9042,14 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution re
         result.callLogLevel_ = callLogLevel_;
       }
       if (((from_bitField0_ & 0x00000400) != 0)) {
-        result.status_ = statusBuilder_ == null
-            ? status_
-            : statusBuilder_.build();
+        result.status_ = statusBuilder_ == null ? status_ : statusBuilder_.build();
       }
       if (((from_bitField0_ & 0x00000800) != 0)) {
         result.labels_ = internalGetLabels();
         result.labels_.makeImmutable();
       }
       if (((from_bitField0_ & 0x00001000) != 0)) {
-        result.stateError_ = stateErrorBuilder_ == null
-            ? stateError_
-            : stateErrorBuilder_.build();
+        result.stateError_ = stateErrorBuilder_ == null ? stateError_ : stateErrorBuilder_.build();
       }
     }
 
@@ -7960,38 +9057,39 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.Execution re
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1.Execution) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1.Execution)other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1.Execution) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -7999,7 +9097,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution other) {
-      if (other == com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()) return this;
+      if (other == com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -8041,8 +9140,7 @@ public Builder mergeFrom(com.google.cloud.workflows.executions.v1.Execution othe
       if (other.hasStatus()) {
         mergeStatus(other.getStatus());
       }
-      internalGetMutableLabels().mergeFrom(
-          other.internalGetLabels());
+      internalGetMutableLabels().mergeFrom(other.internalGetLabels());
       bitField0_ |= 0x00000800;
       if (other.hasStateError()) {
         mergeStateError(other.getStateError());
@@ -8073,93 +9171,97 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getStartTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            case 26: {
-              input.readMessage(
-                  getEndTimeFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              state_ = input.readEnum();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 32
-            case 42: {
-              argument_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 42
-            case 50: {
-              result_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000040;
-              break;
-            } // case 50
-            case 58: {
-              input.readMessage(
-                  getErrorFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000080;
-              break;
-            } // case 58
-            case 66: {
-              workflowRevisionId_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000100;
-              break;
-            } // case 66
-            case 72: {
-              callLogLevel_ = input.readEnum();
-              bitField0_ |= 0x00000200;
-              break;
-            } // case 72
-            case 82: {
-              input.readMessage(
-                  getStatusFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000400;
-              break;
-            } // case 82
-            case 90: {
-              com.google.protobuf.MapEntry
-              labels__ = input.readMessage(
-                  LabelsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
-              internalGetMutableLabels().getMutableMap().put(
-                  labels__.getKey(), labels__.getValue());
-              bitField0_ |= 0x00000800;
-              break;
-            } // case 90
-            case 98: {
-              input.readMessage(
-                  getDurationFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 98
-            case 106: {
-              input.readMessage(
-                  getStateErrorFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00001000;
-              break;
-            } // case 106
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            case 26:
+              {
+                input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                state_ = input.readEnum();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 32
+            case 42:
+              {
+                argument_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 42
+            case 50:
+              {
+                result_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000040;
+                break;
+              } // case 50
+            case 58:
+              {
+                input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000080;
+                break;
+              } // case 58
+            case 66:
+              {
+                workflowRevisionId_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000100;
+                break;
+              } // case 66
+            case 72:
+              {
+                callLogLevel_ = input.readEnum();
+                bitField0_ |= 0x00000200;
+                break;
+              } // case 72
+            case 82:
+              {
+                input.readMessage(getStatusFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000400;
+                break;
+              } // case 82
+            case 90:
+              {
+                com.google.protobuf.MapEntry labels__ =
+                    input.readMessage(
+                        LabelsDefaultEntryHolder.defaultEntry.getParserForType(),
+                        extensionRegistry);
+                internalGetMutableLabels()
+                    .getMutableMap()
+                    .put(labels__.getKey(), labels__.getValue());
+                bitField0_ |= 0x00000800;
+                break;
+              } // case 90
+            case 98:
+              {
+                input.readMessage(getDurationFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 98
+            case 106:
+              {
+                input.readMessage(getStateErrorFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00001000;
+                break;
+              } // case 106
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -8169,10 +9271,13 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The resource name of the execution.
      * Format:
@@ -8180,13 +9285,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -8195,6 +9300,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -8202,15 +9309,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -8218,6 +9324,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -8225,18 +9333,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -8244,6 +9356,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -8253,6 +9366,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -8260,12 +9375,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -8275,24 +9392,35 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -8303,11 +9431,14 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -8323,14 +9454,16 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -8341,17 +9474,20 @@ public Builder setStartTime( return this; } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -8364,11 +9500,14 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -8381,11 +9520,14 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -8393,36 +9535,44 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -8430,24 +9580,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -8458,11 +9619,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -8478,14 +9642,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -8496,17 +9662,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -8519,11 +9688,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -8536,11 +9708,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -8548,36 +9723,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.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> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -8585,24 +9768,35 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private com.google.protobuf.Duration duration_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_; + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder> + durationBuilder_; /** + * + * *
      * Output only. Measures the duration of the execution.
      * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the duration field is set. */ public boolean hasDuration() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * *
      * Output only. Measures the duration of the execution.
      * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The duration. */ public com.google.protobuf.Duration getDuration() { @@ -8613,11 +9807,14 @@ public com.google.protobuf.Duration getDuration() { } } /** + * + * *
      * Output only. Measures the duration of the execution.
      * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { @@ -8633,14 +9830,16 @@ public Builder setDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Output only. Measures the duration of the execution.
      * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setDuration( - com.google.protobuf.Duration.Builder builderForValue) { + public Builder setDuration(com.google.protobuf.Duration.Builder builderForValue) { if (durationBuilder_ == null) { duration_ = builderForValue.build(); } else { @@ -8651,17 +9850,20 @@ public Builder setDuration( return this; } /** + * + * *
      * Output only. Measures the duration of the execution.
      * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeDuration(com.google.protobuf.Duration value) { if (durationBuilder_ == null) { - if (((bitField0_ & 0x00000008) != 0) && - duration_ != null && - duration_ != com.google.protobuf.Duration.getDefaultInstance()) { + if (((bitField0_ & 0x00000008) != 0) + && duration_ != null + && duration_ != com.google.protobuf.Duration.getDefaultInstance()) { getDurationBuilder().mergeFrom(value); } else { duration_ = value; @@ -8674,11 +9876,14 @@ public Builder mergeDuration(com.google.protobuf.Duration value) { return this; } /** + * + * *
      * Output only. Measures the duration of the execution.
      * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearDuration() { bitField0_ = (bitField0_ & ~0x00000008); @@ -8691,11 +9896,14 @@ public Builder clearDuration() { return this; } /** + * + * *
      * Output only. Measures the duration of the execution.
      * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Duration.Builder getDurationBuilder() { bitField0_ |= 0x00000008; @@ -8703,36 +9911,44 @@ public com.google.protobuf.Duration.Builder getDurationBuilder() { return getDurationFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Measures the duration of the execution.
      * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { if (durationBuilder_ != null) { return durationBuilder_.getMessageOrBuilder(); } else { - return duration_ == null ? - com.google.protobuf.Duration.getDefaultInstance() : duration_; + return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_; } } /** + * + * *
      * Output only. Measures the duration of the execution.
      * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ 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> getDurationFieldBuilder() { if (durationBuilder_ == null) { - durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>( - getDuration(), - getParentForChildren(), - isClean()); + durationBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Duration, + com.google.protobuf.Duration.Builder, + com.google.protobuf.DurationOrBuilder>( + getDuration(), getParentForChildren(), isClean()); duration_ = null; } return durationBuilder_; @@ -8740,22 +9956,33 @@ public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. Current state of the execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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. Current state of the execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -8766,24 +9993,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.State getState() { - com.google.cloud.workflows.executions.v1.Execution.State result = com.google.cloud.workflows.executions.v1.Execution.State.forNumber(state_); - return result == null ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED : result; + com.google.cloud.workflows.executions.v1.Execution.State result = + com.google.cloud.workflows.executions.v1.Execution.State.forNumber(state_); + return result == null + ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Current state of the execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -8797,11 +10037,16 @@ public Builder setState(com.google.cloud.workflows.executions.v1.Execution.State return this; } /** + * + * *
      * Output only. Current state of the execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -8813,6 +10058,8 @@ public Builder clearState() { private java.lang.Object argument_ = ""; /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -8823,13 +10070,13 @@ public Builder clearState() {
      * 
* * string argument = 5; + * * @return The argument. */ public java.lang.String getArgument() { java.lang.Object ref = argument_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); argument_ = s; return s; @@ -8838,6 +10085,8 @@ public java.lang.String getArgument() { } } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -8848,15 +10097,14 @@ public java.lang.String getArgument() {
      * 
* * string argument = 5; + * * @return The bytes for argument. */ - public com.google.protobuf.ByteString - getArgumentBytes() { + public com.google.protobuf.ByteString getArgumentBytes() { java.lang.Object ref = argument_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); argument_ = b; return b; } else { @@ -8864,6 +10112,8 @@ public java.lang.String getArgument() { } } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -8874,18 +10124,22 @@ public java.lang.String getArgument() {
      * 
* * string argument = 5; + * * @param value The argument to set. * @return This builder for chaining. */ - public Builder setArgument( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArgument(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } argument_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -8896,6 +10150,7 @@ public Builder setArgument(
      * 
* * string argument = 5; + * * @return This builder for chaining. */ public Builder clearArgument() { @@ -8905,6 +10160,8 @@ public Builder clearArgument() { return this; } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -8915,12 +10172,14 @@ public Builder clearArgument() {
      * 
* * string argument = 5; + * * @param value The bytes for argument to set. * @return This builder for chaining. */ - public Builder setArgumentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArgumentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); argument_ = value; bitField0_ |= 0x00000020; @@ -8930,19 +10189,21 @@ public Builder setArgumentBytes( private java.lang.Object result_ = ""; /** + * + * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The result. */ public java.lang.String getResult() { java.lang.Object ref = result_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); result_ = s; return s; @@ -8951,21 +10212,22 @@ public java.lang.String getResult() { } } /** + * + * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for result. */ - public com.google.protobuf.ByteString - getResultBytes() { + public com.google.protobuf.ByteString getResultBytes() { java.lang.Object ref = result_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); result_ = b; return b; } else { @@ -8973,30 +10235,37 @@ public java.lang.String getResult() { } } /** + * + * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResult(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } result_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearResult() { @@ -9006,18 +10275,22 @@ public Builder clearResult() { return this; } /** + * + * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for result to set. * @return This builder for chaining. */ - public Builder setResultBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResultBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); result_ = value; bitField0_ |= 0x00000040; @@ -9027,45 +10300,64 @@ public Builder setResultBytes( private com.google.cloud.workflows.executions.v1.Execution.Error error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.Error, com.google.cloud.workflows.executions.v1.Execution.Error.Builder, com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder> errorBuilder_; + com.google.cloud.workflows.executions.v1.Execution.Error, + com.google.cloud.workflows.executions.v1.Execution.Error.Builder, + com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder> + errorBuilder_; /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The error. */ public com.google.cloud.workflows.executions.v1.Execution.Error getError() { if (errorBuilder_ == null) { - return error_ == null ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() : error_; + return error_ == null + ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() + : error_; } else { return errorBuilder_.getMessage(); } } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setError(com.google.cloud.workflows.executions.v1.Execution.Error value) { if (errorBuilder_ == null) { @@ -9081,13 +10373,17 @@ public Builder setError(com.google.cloud.workflows.executions.v1.Execution.Error return this; } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setError( com.google.cloud.workflows.executions.v1.Execution.Error.Builder builderForValue) { @@ -9101,19 +10397,24 @@ public Builder setError( return this; } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeError(com.google.cloud.workflows.executions.v1.Execution.Error value) { if (errorBuilder_ == null) { - if (((bitField0_ & 0x00000080) != 0) && - error_ != null && - error_ != com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance()) { + if (((bitField0_ & 0x00000080) != 0) + && error_ != null + && error_ + != com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance()) { getErrorBuilder().mergeFrom(value); } else { error_ = value; @@ -9126,13 +10427,17 @@ public Builder mergeError(com.google.cloud.workflows.executions.v1.Execution.Err return this; } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearError() { bitField0_ = (bitField0_ & ~0x00000080); @@ -9145,13 +10450,17 @@ public Builder clearError() { return this; } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.workflows.executions.v1.Execution.Error.Builder getErrorBuilder() { bitField0_ |= 0x00000080; @@ -9159,40 +10468,52 @@ public com.google.cloud.workflows.executions.v1.Execution.Error.Builder getError return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? - com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() : error_; + return error_ == null + ? com.google.cloud.workflows.executions.v1.Execution.Error.getDefaultInstance() + : error_; } } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.Error, com.google.cloud.workflows.executions.v1.Execution.Error.Builder, com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder> + com.google.cloud.workflows.executions.v1.Execution.Error, + com.google.cloud.workflows.executions.v1.Execution.Error.Builder, + com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.Error, com.google.cloud.workflows.executions.v1.Execution.Error.Builder, com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder>( - getError(), - getParentForChildren(), - isClean()); + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.Error, + com.google.cloud.workflows.executions.v1.Execution.Error.Builder, + com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder>( + getError(), getParentForChildren(), isClean()); error_ = null; } return errorBuilder_; @@ -9200,18 +10521,20 @@ public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErro private java.lang.Object workflowRevisionId_ = ""; /** + * + * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The workflowRevisionId. */ public java.lang.String getWorkflowRevisionId() { java.lang.Object ref = workflowRevisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowRevisionId_ = s; return s; @@ -9220,20 +10543,21 @@ public java.lang.String getWorkflowRevisionId() { } } /** + * + * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for workflowRevisionId. */ - public com.google.protobuf.ByteString - getWorkflowRevisionIdBytes() { + public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { java.lang.Object ref = workflowRevisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workflowRevisionId_ = b; return b; } else { @@ -9241,28 +10565,35 @@ public java.lang.String getWorkflowRevisionId() { } } /** + * + * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The workflowRevisionId to set. * @return This builder for chaining. */ - public Builder setWorkflowRevisionId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkflowRevisionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } workflowRevisionId_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearWorkflowRevisionId() { @@ -9272,17 +10603,21 @@ public Builder clearWorkflowRevisionId() { return this; } /** + * + * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for workflowRevisionId to set. * @return This builder for chaining. */ - public Builder setWorkflowRevisionIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); workflowRevisionId_ = value; bitField0_ |= 0x00000100; @@ -9292,22 +10627,29 @@ public Builder setWorkflowRevisionIdBytes( private int callLogLevel_ = 0; /** + * + * *
      * The call logging level associated to this execution.
      * 
* * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * * @return The enum numeric value on the wire for callLogLevel. */ - @java.lang.Override public int getCallLogLevelValue() { + @java.lang.Override + public int getCallLogLevelValue() { return callLogLevel_; } /** + * + * *
      * The call logging level associated to this execution.
      * 
* * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * * @param value The enum numeric value on the wire for callLogLevel to set. * @return This builder for chaining. */ @@ -9318,28 +10660,38 @@ public Builder setCallLogLevelValue(int value) { return this; } /** + * + * *
      * The call logging level associated to this execution.
      * 
* * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * * @return The callLogLevel. */ @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.forNumber(callLogLevel_); - return result == null ? com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.UNRECOGNIZED : result; + com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = + com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.forNumber(callLogLevel_); + return result == null + ? com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.UNRECOGNIZED + : result; } /** + * + * *
      * The call logging level associated to this execution.
      * 
* * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * * @param value The callLogLevel to set. * @return This builder for chaining. */ - public Builder setCallLogLevel(com.google.cloud.workflows.executions.v1.Execution.CallLogLevel value) { + public Builder setCallLogLevel( + com.google.cloud.workflows.executions.v1.Execution.CallLogLevel value) { if (value == null) { throw new NullPointerException(); } @@ -9349,11 +10701,14 @@ public Builder setCallLogLevel(com.google.cloud.workflows.executions.v1.Executio return this; } /** + * + * *
      * The call logging level associated to this execution.
      * 
* * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * * @return This builder for chaining. */ public Builder clearCallLogLevel() { @@ -9365,42 +10720,61 @@ public Builder clearCallLogLevel() { private com.google.cloud.workflows.executions.v1.Execution.Status status_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.Status, com.google.cloud.workflows.executions.v1.Execution.Status.Builder, com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder> statusBuilder_; + com.google.cloud.workflows.executions.v1.Execution.Status, + com.google.cloud.workflows.executions.v1.Execution.Status.Builder, + com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder> + statusBuilder_; /** + * + * *
      * Output only. Status tracks the current steps and progress data of this
      * execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the status field is set. */ public boolean hasStatus() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * *
      * Output only. Status tracks the current steps and progress data of this
      * execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The status. */ public com.google.cloud.workflows.executions.v1.Execution.Status getStatus() { if (statusBuilder_ == null) { - return status_ == null ? com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance() + : status_; } else { return statusBuilder_.getMessage(); } } /** + * + * *
      * Output only. Status tracks the current steps and progress data of this
      * execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStatus(com.google.cloud.workflows.executions.v1.Execution.Status value) { if (statusBuilder_ == null) { @@ -9416,12 +10790,16 @@ public Builder setStatus(com.google.cloud.workflows.executions.v1.Execution.Stat return this; } /** + * + * *
      * Output only. Status tracks the current steps and progress data of this
      * execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStatus( com.google.cloud.workflows.executions.v1.Execution.Status.Builder builderForValue) { @@ -9435,18 +10813,23 @@ public Builder setStatus( return this; } /** + * + * *
      * Output only. Status tracks the current steps and progress data of this
      * execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStatus(com.google.cloud.workflows.executions.v1.Execution.Status value) { if (statusBuilder_ == null) { - if (((bitField0_ & 0x00000400) != 0) && - status_ != null && - status_ != com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance()) { + if (((bitField0_ & 0x00000400) != 0) + && status_ != null + && status_ + != com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance()) { getStatusBuilder().mergeFrom(value); } else { status_ = value; @@ -9459,12 +10842,16 @@ public Builder mergeStatus(com.google.cloud.workflows.executions.v1.Execution.St return this; } /** + * + * *
      * Output only. Status tracks the current steps and progress data of this
      * execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStatus() { bitField0_ = (bitField0_ & ~0x00000400); @@ -9477,12 +10864,16 @@ public Builder clearStatus() { return this; } /** + * + * *
      * Output only. Status tracks the current steps and progress data of this
      * execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.workflows.executions.v1.Execution.Status.Builder getStatusBuilder() { bitField0_ |= 0x00000400; @@ -9490,58 +10881,68 @@ public com.google.cloud.workflows.executions.v1.Execution.Status.Builder getStat return getStatusFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Status tracks the current steps and progress data of this
      * execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder getStatusOrBuilder() { if (statusBuilder_ != null) { return statusBuilder_.getMessageOrBuilder(); } else { - return status_ == null ? - com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance() : status_; + return status_ == null + ? com.google.cloud.workflows.executions.v1.Execution.Status.getDefaultInstance() + : status_; } } /** + * + * *
      * Output only. Status tracks the current steps and progress data of this
      * execution.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.Status, com.google.cloud.workflows.executions.v1.Execution.Status.Builder, com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder> + com.google.cloud.workflows.executions.v1.Execution.Status, + com.google.cloud.workflows.executions.v1.Execution.Status.Builder, + com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder> getStatusFieldBuilder() { if (statusBuilder_ == null) { - statusBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.Status, com.google.cloud.workflows.executions.v1.Execution.Status.Builder, com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder>( - getStatus(), - getParentForChildren(), - isClean()); + statusBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.Status, + com.google.cloud.workflows.executions.v1.Execution.Status.Builder, + com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder>( + getStatus(), getParentForChildren(), isClean()); status_ = null; } return statusBuilder_; } - private com.google.protobuf.MapField< - java.lang.String, java.lang.String> labels_; - private com.google.protobuf.MapField - internalGetLabels() { + private com.google.protobuf.MapField labels_; + + private com.google.protobuf.MapField internalGetLabels() { if (labels_ == null) { - return com.google.protobuf.MapField.emptyMapField( - LabelsDefaultEntryHolder.defaultEntry); + return com.google.protobuf.MapField.emptyMapField(LabelsDefaultEntryHolder.defaultEntry); } return labels_; } + private com.google.protobuf.MapField internalGetMutableLabels() { if (labels_ == null) { - labels_ = com.google.protobuf.MapField.newMapField( - LabelsDefaultEntryHolder.defaultEntry); + labels_ = com.google.protobuf.MapField.newMapField(LabelsDefaultEntryHolder.defaultEntry); } if (!labels_.isMutable()) { labels_ = labels_.copy(); @@ -9550,10 +10951,13 @@ public com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder getSta onChanged(); return labels_; } + public int getLabelsCount() { return internalGetLabels().getMap().size(); } /** + * + * *
      * Labels associated with this execution.
      * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -9567,20 +10971,21 @@ public int getLabelsCount() {
      * map<string, string> labels = 11;
      */
     @java.lang.Override
-    public boolean containsLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
+    public boolean containsLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
       return internalGetLabels().getMap().containsKey(key);
     }
-    /**
-     * Use {@link #getLabelsMap()} instead.
-     */
+    /** Use {@link #getLabelsMap()} instead. */
     @java.lang.Override
     @java.lang.Deprecated
     public java.util.Map getLabels() {
       return getLabelsMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this execution.
      * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -9598,6 +11003,8 @@ public java.util.Map getLabelsMap() {
       return internalGetLabels().getMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this execution.
      * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -9611,17 +11018,19 @@ public java.util.Map getLabelsMap() {
      * map<string, string> labels = 11;
      */
     @java.lang.Override
-    public /* nullable */
-java.lang.String getLabelsOrDefault(
+    public /* nullable */ java.lang.String getLabelsOrDefault(
         java.lang.String key,
         /* nullable */
-java.lang.String defaultValue) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+        java.lang.String defaultValue) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       return map.containsKey(key) ? map.get(key) : defaultValue;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this execution.
      * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -9635,23 +11044,25 @@ java.lang.String getLabelsOrDefault(
      * map<string, string> labels = 11;
      */
     @java.lang.Override
-    public java.lang.String getLabelsOrThrow(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      java.util.Map map =
-          internalGetLabels().getMap();
+    public java.lang.String getLabelsOrThrow(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      java.util.Map map = internalGetLabels().getMap();
       if (!map.containsKey(key)) {
         throw new java.lang.IllegalArgumentException();
       }
       return map.get(key);
     }
+
     public Builder clearLabels() {
       bitField0_ = (bitField0_ & ~0x00000800);
-      internalGetMutableLabels().getMutableMap()
-          .clear();
+      internalGetMutableLabels().getMutableMap().clear();
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this execution.
      * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -9664,23 +11075,22 @@ public Builder clearLabels() {
      *
      * map<string, string> labels = 11;
      */
-    public Builder removeLabels(
-        java.lang.String key) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      internalGetMutableLabels().getMutableMap()
-          .remove(key);
+    public Builder removeLabels(java.lang.String key) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      internalGetMutableLabels().getMutableMap().remove(key);
       return this;
     }
-    /**
-     * Use alternate mutation accessors instead.
-     */
+    /** Use alternate mutation accessors instead. */
     @java.lang.Deprecated
-    public java.util.Map
-        getMutableLabels() {
+    public java.util.Map getMutableLabels() {
       bitField0_ |= 0x00000800;
       return internalGetMutableLabels().getMutableMap();
     }
     /**
+     *
+     *
      * 
      * Labels associated with this execution.
      * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -9693,17 +11103,20 @@ public Builder removeLabels(
      *
      * map<string, string> labels = 11;
      */
-    public Builder putLabels(
-        java.lang.String key,
-        java.lang.String value) {
-      if (key == null) { throw new NullPointerException("map key"); }
-      if (value == null) { throw new NullPointerException("map value"); }
-      internalGetMutableLabels().getMutableMap()
-          .put(key, value);
+    public Builder putLabels(java.lang.String key, java.lang.String value) {
+      if (key == null) {
+        throw new NullPointerException("map key");
+      }
+      if (value == null) {
+        throw new NullPointerException("map value");
+      }
+      internalGetMutableLabels().getMutableMap().put(key, value);
       bitField0_ |= 0x00000800;
       return this;
     }
     /**
+     *
+     *
      * 
      * Labels associated with this execution.
      * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -9716,57 +11129,75 @@ public Builder putLabels(
      *
      * map<string, string> labels = 11;
      */
-    public Builder putAllLabels(
-        java.util.Map values) {
-      internalGetMutableLabels().getMutableMap()
-          .putAll(values);
+    public Builder putAllLabels(java.util.Map values) {
+      internalGetMutableLabels().getMutableMap().putAll(values);
       bitField0_ |= 0x00000800;
       return this;
     }
 
     private com.google.cloud.workflows.executions.v1.Execution.StateError stateError_;
     private com.google.protobuf.SingleFieldBuilderV3<
-        com.google.cloud.workflows.executions.v1.Execution.StateError, com.google.cloud.workflows.executions.v1.Execution.StateError.Builder, com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder> stateErrorBuilder_;
+            com.google.cloud.workflows.executions.v1.Execution.StateError,
+            com.google.cloud.workflows.executions.v1.Execution.StateError.Builder,
+            com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder>
+        stateErrorBuilder_;
     /**
+     *
+     *
      * 
      * Output only. Error regarding the state of the Execution resource. For
      * example, this field will have error details if the execution data is
      * unavailable due to revoked KMS key permissions.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateError field is set. */ public boolean hasStateError() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * *
      * Output only. Error regarding the state of the Execution resource. For
      * example, this field will have error details if the execution data is
      * unavailable due to revoked KMS key permissions.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateError. */ public com.google.cloud.workflows.executions.v1.Execution.StateError getStateError() { if (stateErrorBuilder_ == null) { - return stateError_ == null ? com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance() : stateError_; + return stateError_ == null + ? com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance() + : stateError_; } else { return stateErrorBuilder_.getMessage(); } } /** + * + * *
      * Output only. Error regarding the state of the Execution resource. For
      * example, this field will have error details if the execution data is
      * unavailable due to revoked KMS key permissions.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStateError(com.google.cloud.workflows.executions.v1.Execution.StateError value) { + public Builder setStateError( + com.google.cloud.workflows.executions.v1.Execution.StateError value) { if (stateErrorBuilder_ == null) { if (value == null) { throw new NullPointerException(); @@ -9780,13 +11211,17 @@ public Builder setStateError(com.google.cloud.workflows.executions.v1.Execution. return this; } /** + * + * *
      * Output only. Error regarding the state of the Execution resource. For
      * example, this field will have error details if the execution data is
      * unavailable due to revoked KMS key permissions.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStateError( com.google.cloud.workflows.executions.v1.Execution.StateError.Builder builderForValue) { @@ -9800,19 +11235,26 @@ public Builder setStateError( return this; } /** + * + * *
      * Output only. Error regarding the state of the Execution resource. For
      * example, this field will have error details if the execution data is
      * unavailable due to revoked KMS key permissions.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder mergeStateError(com.google.cloud.workflows.executions.v1.Execution.StateError value) { + public Builder mergeStateError( + com.google.cloud.workflows.executions.v1.Execution.StateError value) { if (stateErrorBuilder_ == null) { - if (((bitField0_ & 0x00001000) != 0) && - stateError_ != null && - stateError_ != com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance()) { + if (((bitField0_ & 0x00001000) != 0) + && stateError_ != null + && stateError_ + != com.google.cloud.workflows.executions.v1.Execution.StateError + .getDefaultInstance()) { getStateErrorBuilder().mergeFrom(value); } else { stateError_ = value; @@ -9825,13 +11267,17 @@ public Builder mergeStateError(com.google.cloud.workflows.executions.v1.Executio return this; } /** + * + * *
      * Output only. Error regarding the state of the Execution resource. For
      * example, this field will have error details if the execution data is
      * unavailable due to revoked KMS key permissions.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStateError() { bitField0_ = (bitField0_ & ~0x00001000); @@ -9844,61 +11290,79 @@ public Builder clearStateError() { return this; } /** + * + * *
      * Output only. Error regarding the state of the Execution resource. For
      * example, this field will have error details if the execution data is
      * unavailable due to revoked KMS key permissions.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.workflows.executions.v1.Execution.StateError.Builder getStateErrorBuilder() { + public com.google.cloud.workflows.executions.v1.Execution.StateError.Builder + getStateErrorBuilder() { bitField0_ |= 0x00001000; onChanged(); return getStateErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Error regarding the state of the Execution resource. For
      * example, this field will have error details if the execution data is
      * unavailable due to revoked KMS key permissions.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder getStateErrorOrBuilder() { + public com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder + getStateErrorOrBuilder() { if (stateErrorBuilder_ != null) { return stateErrorBuilder_.getMessageOrBuilder(); } else { - return stateError_ == null ? - com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance() : stateError_; + return stateError_ == null + ? com.google.cloud.workflows.executions.v1.Execution.StateError.getDefaultInstance() + : stateError_; } } /** + * + * *
      * Output only. Error regarding the state of the Execution resource. For
      * example, this field will have error details if the execution data is
      * unavailable due to revoked KMS key permissions.
      * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StateError, com.google.cloud.workflows.executions.v1.Execution.StateError.Builder, com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder> + com.google.cloud.workflows.executions.v1.Execution.StateError, + com.google.cloud.workflows.executions.v1.Execution.StateError.Builder, + com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder> getStateErrorFieldBuilder() { if (stateErrorBuilder_ == null) { - stateErrorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution.StateError, com.google.cloud.workflows.executions.v1.Execution.StateError.Builder, com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder>( - getStateError(), - getParentForChildren(), - isClean()); + stateErrorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution.StateError, + com.google.cloud.workflows.executions.v1.Execution.StateError.Builder, + com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder>( + getStateError(), getParentForChildren(), isClean()); stateError_ = null; } return stateErrorBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -9908,12 +11372,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.Execution) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.Execution) private static final com.google.cloud.workflows.executions.v1.Execution DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.Execution(); } @@ -9922,27 +11386,27 @@ public static com.google.cloud.workflows.executions.v1.Execution getDefaultInsta return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Execution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Execution parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -9957,6 +11421,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.Execution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java similarity index 75% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java index 8bc0fcfd6eb5..bf9ed7a5f057 100644 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; -public interface ExecutionOrBuilder extends +public interface ExecutionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.Execution) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -15,10 +33,13 @@ public interface ExecutionOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -26,112 +47,157 @@ public interface ExecutionOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Measures the duration of the execution.
    * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the duration field is set. */ boolean hasDuration(); /** + * + * *
    * Output only. Measures the duration of the execution.
    * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The duration. */ com.google.protobuf.Duration getDuration(); /** + * + * *
    * Output only. Measures the duration of the execution.
    * 
* - * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Duration duration = 12 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.DurationOrBuilder getDurationOrBuilder(); /** + * + * *
    * Output only. Current state of the execution.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the execution.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.workflows.executions.v1.Execution.State getState(); /** + * + * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
@@ -142,10 +208,13 @@ public interface ExecutionOrBuilder extends
    * 
* * string argument = 5; + * * @return The argument. */ java.lang.String getArgument(); /** + * + * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
@@ -156,136 +225,182 @@ public interface ExecutionOrBuilder extends
    * 
* * string argument = 5; + * * @return The bytes for argument. */ - com.google.protobuf.ByteString - getArgumentBytes(); + com.google.protobuf.ByteString getArgumentBytes(); /** + * + * *
    * Output only. Output of the execution represented as a JSON string. The
    * value can only be present if the execution's state is `SUCCEEDED`.
    * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The result. */ java.lang.String getResult(); /** + * + * *
    * Output only. Output of the execution represented as a JSON string. The
    * value can only be present if the execution's state is `SUCCEEDED`.
    * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for result. */ - com.google.protobuf.ByteString - getResultBytes(); + com.google.protobuf.ByteString getResultBytes(); /** + * + * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The error. */ com.google.cloud.workflows.executions.v1.Execution.Error getError(); /** + * + * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErrorOrBuilder(); /** + * + * *
    * Output only. Revision of the workflow this execution is using.
    * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The workflowRevisionId. */ java.lang.String getWorkflowRevisionId(); /** + * + * *
    * Output only. Revision of the workflow this execution is using.
    * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for workflowRevisionId. */ - com.google.protobuf.ByteString - getWorkflowRevisionIdBytes(); + com.google.protobuf.ByteString getWorkflowRevisionIdBytes(); /** + * + * *
    * The call logging level associated to this execution.
    * 
* * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * * @return The enum numeric value on the wire for callLogLevel. */ int getCallLogLevelValue(); /** + * + * *
    * The call logging level associated to this execution.
    * 
* * .google.cloud.workflows.executions.v1.Execution.CallLogLevel call_log_level = 9; + * * @return The callLogLevel. */ com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel(); /** + * + * *
    * Output only. Status tracks the current steps and progress data of this
    * execution.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the status field is set. */ boolean hasStatus(); /** + * + * *
    * Output only. Status tracks the current steps and progress data of this
    * execution.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The status. */ com.google.cloud.workflows.executions.v1.Execution.Status getStatus(); /** + * + * *
    * Output only. Status tracks the current steps and progress data of this
    * execution.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.Status status = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.workflows.executions.v1.Execution.StatusOrBuilder getStatusOrBuilder(); /** + * + * *
    * Labels associated with this execution.
    * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -300,6 +415,8 @@ public interface ExecutionOrBuilder extends
    */
   int getLabelsCount();
   /**
+   *
+   *
    * 
    * Labels associated with this execution.
    * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -312,15 +429,13 @@ public interface ExecutionOrBuilder extends
    *
    * map<string, string> labels = 11;
    */
-  boolean containsLabels(
-      java.lang.String key);
-  /**
-   * Use {@link #getLabelsMap()} instead.
-   */
+  boolean containsLabels(java.lang.String key);
+  /** Use {@link #getLabelsMap()} instead. */
   @java.lang.Deprecated
-  java.util.Map
-  getLabels();
+  java.util.Map getLabels();
   /**
+   *
+   *
    * 
    * Labels associated with this execution.
    * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -333,9 +448,10 @@ boolean containsLabels(
    *
    * map<string, string> labels = 11;
    */
-  java.util.Map
-  getLabelsMap();
+  java.util.Map getLabelsMap();
   /**
+   *
+   *
    * 
    * Labels associated with this execution.
    * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -349,11 +465,13 @@ boolean containsLabels(
    * map<string, string> labels = 11;
    */
   /* nullable */
-java.lang.String getLabelsOrDefault(
+  java.lang.String getLabelsOrDefault(
       java.lang.String key,
       /* nullable */
-java.lang.String defaultValue);
+      java.lang.String defaultValue);
   /**
+   *
+   *
    * 
    * Labels associated with this execution.
    * Labels can contain at most 64 entries. Keys and values can be no longer
@@ -366,39 +484,52 @@ java.lang.String getLabelsOrDefault(
    *
    * map<string, string> labels = 11;
    */
-  java.lang.String getLabelsOrThrow(
-      java.lang.String key);
+  java.lang.String getLabelsOrThrow(java.lang.String key);
 
   /**
+   *
+   *
    * 
    * Output only. Error regarding the state of the Execution resource. For
    * example, this field will have error details if the execution data is
    * unavailable due to revoked KMS key permissions.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the stateError field is set. */ boolean hasStateError(); /** + * + * *
    * Output only. Error regarding the state of the Execution resource. For
    * example, this field will have error details if the execution data is
    * unavailable due to revoked KMS key permissions.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The stateError. */ com.google.cloud.workflows.executions.v1.Execution.StateError getStateError(); /** + * + * *
    * Output only. Error regarding the state of the Execution resource. For
    * example, this field will have error details if the execution data is
    * unavailable due to revoked KMS key permissions.
    * 
* - * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1.Execution.StateError state_error = 13 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.workflows.executions.v1.Execution.StateErrorOrBuilder getStateErrorOrBuilder(); } diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java similarity index 67% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java index 359bbdbd1a56..7b57514760e2 100644 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java @@ -1,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** + * + * *
  * Defines possible views for execution resource.
  * 
* * Protobuf enum {@code google.cloud.workflows.executions.v1.ExecutionView} */ -public enum ExecutionView - implements com.google.protobuf.ProtocolMessageEnum { +public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default / unset value.
    * 
@@ -21,6 +39,8 @@ public enum ExecutionView */ EXECUTION_VIEW_UNSPECIFIED(0), /** + * + * *
    * Includes only basic metadata about the execution.
    * The following fields are returned: name, start_time, end_time, duration,
@@ -31,6 +51,8 @@ public enum ExecutionView
    */
   BASIC(1),
   /**
+   *
+   *
    * 
    * Includes all data.
    * 
@@ -42,6 +64,8 @@ public enum ExecutionView ; /** + * + * *
    * The default / unset value.
    * 
@@ -50,6 +74,8 @@ public enum ExecutionView */ public static final int EXECUTION_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Includes only basic metadata about the execution.
    * The following fields are returned: name, start_time, end_time, duration,
@@ -60,6 +86,8 @@ public enum ExecutionView
    */
   public static final int BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * Includes all data.
    * 
@@ -68,7 +96,6 @@ public enum ExecutionView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -93,49 +120,51 @@ public static ExecutionView valueOf(int value) { */ public static ExecutionView forNumber(int value) { switch (value) { - case 0: return EXECUTION_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return EXECUTION_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< - ExecutionView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ExecutionView findValueByNumber(int number) { - return ExecutionView.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 ExecutionView findValueByNumber(int number) { + return ExecutionView.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() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final ExecutionView[] VALUES = values(); - public static ExecutionView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ExecutionView 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; @@ -151,4 +180,3 @@ private ExecutionView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1.ExecutionView) } - diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java new file mode 100644 index 000000000000..f2de3267e0fa --- /dev/null +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java @@ -0,0 +1,374 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1/executions.proto + +package com.google.cloud.workflows.executions.v1; + +public final class ExecutionsProto { + private ExecutionsProto() {} + + 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_workflows_executions_v1_Execution_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_Error_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_Status_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_Status_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_StateError_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_StateError_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_Execution_LabelsEntry_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_Execution_LabelsEntry_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n5google/cloud/workflows/executions/v1/e" + + "xecutions.proto\022$google.cloud.workflows." + + "executions.v1\032\034google/api/annotations.pr" + + "oto\032\027google/api/client.proto\032\037google/api" + + "/field_behavior.proto\032\031google/api/resour" + + "ce.proto\032\036google/protobuf/duration.proto" + + "\032\037google/protobuf/timestamp.proto\"\307\016\n\tEx" + + "ecution\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\0224\n\nstart_tim" + + "e\030\002 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" + + "\003\0222\n\010end_time\030\003 \001(\0132\032.google.protobuf.Ti" + + "mestampB\004\342A\001\003\0221\n\010duration\030\014 \001(\0132\031.google" + + ".protobuf.DurationB\004\342A\001\003\022J\n\005state\030\004 \001(\0162" + + "5.google.cloud.workflows.executions.v1.E" + + "xecution.StateB\004\342A\001\003\022\020\n\010argument\030\005 \001(\t\022\024" + + "\n\006result\030\006 \001(\tB\004\342A\001\003\022J\n\005error\030\007 \001(\01325.go" + + "ogle.cloud.workflows.executions.v1.Execu" + + "tion.ErrorB\004\342A\001\003\022\"\n\024workflow_revision_id" + + "\030\010 \001(\tB\004\342A\001\003\022T\n\016call_log_level\030\t \001(\0162<.g" + + "oogle.cloud.workflows.executions.v1.Exec" + + "ution.CallLogLevel\022L\n\006status\030\n \001(\01326.goo" + + "gle.cloud.workflows.executions.v1.Execut" + + "ion.StatusB\004\342A\001\003\022K\n\006labels\030\013 \003(\0132;.googl" + + "e.cloud.workflows.executions.v1.Executio" + + "n.LabelsEntry\022U\n\013state_error\030\r \001(\0132:.goo" + + "gle.cloud.workflows.executions.v1.Execut" + + "ion.StateErrorB\004\342A\001\003\032\312\001\n\021StackTraceEleme" + + "nt\022\014\n\004step\030\001 \001(\t\022\017\n\007routine\030\002 \001(\t\022\\\n\010pos" + + "ition\030\003 \001(\0132J.google.cloud.workflows.exe" + + "cutions.v1.Execution.StackTraceElement.P" + + "osition\0328\n\010Position\022\014\n\004line\030\001 \001(\003\022\016\n\006col" + + "umn\030\002 \001(\003\022\016\n\006length\030\003 \001(\003\032a\n\nStackTrace\022" + + "S\n\010elements\030\001 \003(\0132A.google.cloud.workflo" + + "ws.executions.v1.Execution.StackTraceEle" + + "ment\032z\n\005Error\022\017\n\007payload\030\001 \001(\t\022\017\n\007contex" + + "t\030\002 \001(\t\022O\n\013stack_trace\030\003 \001(\0132:.google.cl" + + "oud.workflows.executions.v1.Execution.St" + + "ackTrace\032\203\001\n\006Status\022R\n\rcurrent_steps\030\001 \003" + + "(\0132;.google.cloud.workflows.executions.v" + + "1.Execution.Status.Step\032%\n\004Step\022\017\n\007routi" + + "ne\030\001 \001(\t\022\014\n\004step\030\002 \001(\t\032\231\001\n\nStateError\022\017\n" + + "\007details\030\001 \001(\t\022M\n\004type\030\002 \001(\0162?.google.cl" + + "oud.workflows.executions.v1.Execution.St" + + "ateError.Type\"+\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + + "D\020\000\022\r\n\tKMS_ERROR\020\001\032-\n\013LabelsEntry\022\013\n\003key" + + "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"q\n\005State\022\025\n\021ST" + + "ATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tSUCCEED" + + "ED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004\022\017\n\013UNAVA" + + "ILABLE\020\005\022\n\n\006QUEUED\020\006\"d\n\014CallLogLevel\022\036\n\032" + + "CALL_LOG_LEVEL_UNSPECIFIED\020\000\022\021\n\rLOG_ALL_" + + "CALLS\020\001\022\023\n\017LOG_ERRORS_ONLY\020\002\022\014\n\010LOG_NONE" + + "\020\003:\206\001\352A\202\001\n+workflowexecutions.googleapis" + + ".com/Execution\022Sprojects/{project}/locat" + + "ions/{location}/workflows/{workflow}/exe" + + "cutions/{execution}\"\361\001\n\025ListExecutionsRe" + + "quest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!workflow" + + "s.googleapis.com/Workflow\022\021\n\tpage_size\030\002" + + " \001(\005\022\022\n\npage_token\030\003 \001(\t\022G\n\004view\030\004 \001(\01623" + + ".google.cloud.workflows.executions.v1.Ex" + + "ecutionViewB\004\342A\001\001\022\024\n\006filter\030\005 \001(\tB\004\342A\001\001\022" + + "\026\n\010order_by\030\006 \001(\tB\004\342A\001\001\"v\n\026ListExecution" + + "sResponse\022C\n\nexecutions\030\001 \003(\0132/.google.c" + + "loud.workflows.executions.v1.Execution\022\027" + + "\n\017next_page_token\030\002 \001(\t\"\236\001\n\026CreateExecut" + + "ionRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!wor" + + "kflows.googleapis.com/Workflow\022H\n\texecut" + + "ion\030\002 \001(\0132/.google.cloud.workflows.execu" + + "tions.v1.ExecutionB\004\342A\001\002\"\242\001\n\023GetExecutio" + + "nRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+workflo" + + "wexecutions.googleapis.com/Execution\022G\n\004" + + "view\030\002 \001(\01623.google.cloud.workflows.exec" + + "utions.v1.ExecutionViewB\004\342A\001\001\"\\\n\026CancelE" + + "xecutionRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+" + + "workflowexecutions.googleapis.com/Execut" + + "ion*D\n\rExecutionView\022\036\n\032EXECUTION_VIEW_U" + + "NSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nEx" + + "ecutions\022\330\001\n\016ListExecutions\022;.google.clo" + + "ud.workflows.executions.v1.ListExecution" + + "sRequest\032<.google.cloud.workflows.execut" + + "ions.v1.ListExecutionsResponse\"K\332A\006paren" + + "t\202\323\344\223\002<\022:/v1/{parent=projects/*/location" + + "s/*/workflows/*}/executions\022\342\001\n\017CreateEx" + + "ecution\022<.google.cloud.workflows.executi" + + "ons.v1.CreateExecutionRequest\032/.google.c" + + "loud.workflows.executions.v1.Execution\"`" + + "\332A\020parent,execution\202\323\344\223\002G\":/v1/{parent=p" + + "rojects/*/locations/*/workflows/*}/execu" + + "tions:\texecution\022\305\001\n\014GetExecution\0229.goog" + + "le.cloud.workflows.executions.v1.GetExec" + + "utionRequest\032/.google.cloud.workflows.ex" + + "ecutions.v1.Execution\"I\332A\004name\202\323\344\223\002<\022:/v" + + "1/{name=projects/*/locations/*/workflows" + + "/*/executions/*}\022\325\001\n\017CancelExecution\022<.g" + + "oogle.cloud.workflows.executions.v1.Canc" + + "elExecutionRequest\032/.google.cloud.workfl" + + "ows.executions.v1.Execution\"S\332A\004name\202\323\344\223" + + "\002F\"A/v1/{name=projects/*/locations/*/wor" + + "kflows/*/executions/*}:cancel:\001*\032U\312A!wor" + + "kflowexecutions.googleapis.com\322A.https:/" + + "/www.googleapis.com/auth/cloud-platformB" + + "\353\001\n(com.google.cloud.workflows.execution" + + "s.v1B\017ExecutionsProtoP\001ZHcloud.google.co" + + "m/go/workflows/executions/apiv1/executio" + + "nspb;executionspb\352Aa\n!workflows.googleap" + + "is.com/Workflow\022 * Request for the * [GetExecution][google.cloud.workflows.executions.v1.Executions.GetExecution] @@ -12,15 +29,16 @@ * * Protobuf type {@code google.cloud.workflows.executions.v1.GetExecutionRequest} */ -public final class GetExecutionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetExecutionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.GetExecutionRequest) GetExecutionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetExecutionRequest.newBuilder() to construct. private GetExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetExecutionRequest() { name_ = ""; view_ = 0; @@ -28,35 +46,42 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetExecutionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_fieldAccessorTable + return com.google.cloud.workflows.executions.v1.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1.GetExecutionRequest.class, com.google.cloud.workflows.executions.v1.GetExecutionRequest.Builder.class); + com.google.cloud.workflows.executions.v1.GetExecutionRequest.class, + com.google.cloud.workflows.executions.v1.GetExecutionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * string name = 1 [(.google.api.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 @@ -65,31 +90,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * string name = 1 [(.google.api.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 { @@ -100,32 +127,48 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * Optional. A view defining which fields should be filled in the returned
    * execution. The API will default to the FULL view.
    * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. A view defining which fields should be filled in the returned
    * execution. The API will default to the FULL view.
    * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); - return result == null ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ExecutionView getView() { + com.google.cloud.workflows.executions.v1.ExecutionView result = + com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); + return result == null + ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,12 +180,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } - if (view_ != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -157,9 +201,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -169,15 +214,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.workflows.executions.v1.GetExecutionRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.GetExecutionRequest other = (com.google.cloud.workflows.executions.v1.GetExecutionRequest) obj; + com.google.cloud.workflows.executions.v1.GetExecutionRequest other = + (com.google.cloud.workflows.executions.v1.GetExecutionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -200,98 +245,104 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.GetExecutionRequest 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.workflows.executions.v1.GetExecutionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.GetExecutionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.GetExecutionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1.GetExecutionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the
    * [GetExecution][google.cloud.workflows.executions.v1.Executions.GetExecution]
@@ -300,33 +351,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1.GetExecutionRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.GetExecutionRequest)
       com.google.cloud.workflows.executions.v1.GetExecutionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1.GetExecutionRequest.class, com.google.cloud.workflows.executions.v1.GetExecutionRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1.GetExecutionRequest.class,
+              com.google.cloud.workflows.executions.v1.GetExecutionRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.workflows.executions.v1.GetExecutionRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -337,13 +387,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1.GetExecutionRequest getDefaultInstanceForType() {
+    public com.google.cloud.workflows.executions.v1.GetExecutionRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.workflows.executions.v1.GetExecutionRequest.getDefaultInstance();
     }
 
@@ -358,13 +409,17 @@ public com.google.cloud.workflows.executions.v1.GetExecutionRequest build() {
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1.GetExecutionRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1.GetExecutionRequest result = new com.google.cloud.workflows.executions.v1.GetExecutionRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.workflows.executions.v1.GetExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1.GetExecutionRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.workflows.executions.v1.GetExecutionRequest result) {
+    private void buildPartial0(
+        com.google.cloud.workflows.executions.v1.GetExecutionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -378,38 +433,39 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.GetExecution
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1.GetExecutionRequest) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1.GetExecutionRequest)other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1.GetExecutionRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -417,7 +473,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.workflows.executions.v1.GetExecutionRequest other) {
-      if (other == com.google.cloud.workflows.executions.v1.GetExecutionRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.workflows.executions.v1.GetExecutionRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -452,22 +510,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              view_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                view_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -477,24 +538,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.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; @@ -503,22 +569,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.google.api.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 { @@ -526,32 +595,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string 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() { @@ -561,19 +641,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -583,24 +669,35 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Optional. A view defining which fields should be filled in the returned
      * execution. The API will default to the FULL view.
      * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned
      * execution. The API will default to the FULL view.
      * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -611,26 +708,39 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned
      * execution. The API will default to the FULL view.
      * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); - return result == null ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED : result; + com.google.cloud.workflows.executions.v1.ExecutionView result = + com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); + return result == null + ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned
      * execution. The API will default to the FULL view.
      * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -644,12 +754,17 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va return this; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned
      * execution. The API will default to the FULL view.
      * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { @@ -658,9 +773,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -670,12 +785,13 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.GetExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.GetExecutionRequest) - private static final com.google.cloud.workflows.executions.v1.GetExecutionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1.GetExecutionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.GetExecutionRequest(); } @@ -684,27 +800,27 @@ public static com.google.cloud.workflows.executions.v1.GetExecutionRequest getDe return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -719,6 +835,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.GetExecutionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java index 9784ca803040..adc7d29e5811 100644 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java @@ -1,53 +1,88 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; -public interface GetExecutionRequestOrBuilder extends +public interface GetExecutionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.GetExecutionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * string name = 1 [(.google.api.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. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * string name = 1 [(.google.api.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. A view defining which fields should be filled in the returned
    * execution. The API will default to the FULL view.
    * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Optional. A view defining which fields should be filled in the returned
    * execution. The API will default to the FULL view.
    * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ com.google.cloud.workflows.executions.v1.ExecutionView getView(); diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java similarity index 71% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java index 7a5bc7759dca..0e4446f287c5 100644 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** + * + * *
  * Request for the
  * [ListExecutions][]
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1.ListExecutionsRequest}
  */
-public final class ListExecutionsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListExecutionsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.ListExecutionsRequest)
     ListExecutionsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListExecutionsRequest.newBuilder() to construct.
   private ListExecutionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListExecutionsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -31,34 +49,41 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1.ListExecutionsRequest.class, com.google.cloud.workflows.executions.v1.ListExecutionsRequest.Builder.class);
+            com.google.cloud.workflows.executions.v1.ListExecutionsRequest.class,
+            com.google.cloud.workflows.executions.v1.ListExecutionsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Name of the workflow for which the executions should be listed.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * 
* - * string parent = 1 [(.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 @@ -67,30 +92,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. Name of the workflow for which the executions should be listed.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * 
* - * string parent = 1 [(.google.api.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 { @@ -101,6 +128,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 1000 for
@@ -110,6 +139,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -118,9 +148,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -133,6 +166,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -141,14 +175,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 page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -161,16 +196,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -181,35 +215,53 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int view_ = 0; /** + * + * *
    * Optional. A view defining which fields should be filled in the returned
    * executions. The API will default to the BASIC view.
    * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. A view defining which fields should be filled in the returned
    * executions. The API will default to the BASIC view.
    * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); - return result == null ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ExecutionView getView() { + com.google.cloud.workflows.executions.v1.ExecutionView result = + com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); + return result == null + ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED + : result; } public static final int FILTER_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object filter_ = ""; /** + * + * *
    * Optional. Filters applied to the [Executions.ListExecutions] results.
    * The following fields are supported for filtering:
@@ -218,6 +270,7 @@ public java.lang.String getPageToken() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ @java.lang.Override @@ -226,14 +279,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; } } /** + * + * *
    * Optional. Filters applied to the [Executions.ListExecutions] results.
    * The following fields are supported for filtering:
@@ -242,16 +296,15 @@ public java.lang.String getFilter() {
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -260,9 +313,12 @@ public java.lang.String getFilter() { } public static final int ORDER_BY_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object orderBy_ = ""; /** + * + * *
    * Optional. The ordering applied to the [Executions.ListExecutions] results.
    * By default the ordering is based on descending start time.
@@ -271,6 +327,7 @@ public java.lang.String getFilter() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ @java.lang.Override @@ -279,14 +336,15 @@ public java.lang.String getOrderBy() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; } } /** + * + * *
    * Optional. The ordering applied to the [Executions.ListExecutions] results.
    * By default the ordering is based on descending start time.
@@ -295,16 +353,15 @@ public java.lang.String getOrderBy() {
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ @java.lang.Override - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -313,6 +370,7 @@ public java.lang.String getOrderBy() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -324,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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -335,7 +392,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { @@ -357,15 +416,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (view_ != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, view_); + if (view_ + != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(filter_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, filter_); @@ -381,24 +440,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.workflows.executions.v1.ListExecutionsRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.ListExecutionsRequest other = (com.google.cloud.workflows.executions.v1.ListExecutionsRequest) obj; + com.google.cloud.workflows.executions.v1.ListExecutionsRequest other = + (com.google.cloud.workflows.executions.v1.ListExecutionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (view_ != other.view_) return false; - if (!getFilter() - .equals(other.getFilter())) return false; - if (!getOrderBy() - .equals(other.getOrderBy())) return false; + if (!getFilter().equals(other.getFilter())) return false; + if (!getOrderBy().equals(other.getOrderBy())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -428,98 +483,104 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest 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.workflows.executions.v1.ListExecutionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.ListExecutionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1.ListExecutionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the
    * [ListExecutions][]
@@ -528,33 +589,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1.ListExecutionsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.ListExecutionsRequest)
       com.google.cloud.workflows.executions.v1.ListExecutionsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1.ListExecutionsRequest.class, com.google.cloud.workflows.executions.v1.ListExecutionsRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1.ListExecutionsRequest.class,
+              com.google.cloud.workflows.executions.v1.ListExecutionsRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.workflows.executions.v1.ListExecutionsRequest.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -569,13 +629,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1.ListExecutionsRequest getDefaultInstanceForType() {
+    public com.google.cloud.workflows.executions.v1.ListExecutionsRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.workflows.executions.v1.ListExecutionsRequest.getDefaultInstance();
     }
 
@@ -590,13 +651,17 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsRequest build() {
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1.ListExecutionsRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1.ListExecutionsRequest result = new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.workflows.executions.v1.ListExecutionsRequest result =
+          new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.workflows.executions.v1.ListExecutionsRequest result) {
+    private void buildPartial0(
+        com.google.cloud.workflows.executions.v1.ListExecutionsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -622,38 +687,39 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.ListExecutio
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1.ListExecutionsRequest) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1.ListExecutionsRequest)other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1.ListExecutionsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
@@ -661,7 +727,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
     }
 
     public Builder mergeFrom(com.google.cloud.workflows.executions.v1.ListExecutionsRequest other) {
-      if (other == com.google.cloud.workflows.executions.v1.ListExecutionsRequest.getDefaultInstance()) return this;
+      if (other
+          == com.google.cloud.workflows.executions.v1.ListExecutionsRequest.getDefaultInstance())
+        return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -714,42 +782,49 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              view_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            case 42: {
-              filter_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000010;
-              break;
-            } // case 42
-            case 50: {
-              orderBy_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000020;
-              break;
-            } // case 50
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                view_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            case 42:
+              {
+                filter_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000010;
+                break;
+              } // case 42
+            case 50:
+              {
+                orderBy_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000020;
+                break;
+              } // case 50
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -759,23 +834,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * string parent = 1 [(.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; @@ -784,21 +864,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * string parent = 1 [(.google.api.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 { @@ -806,30 +889,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * string 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() { @@ -839,18 +933,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -858,8 +958,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 1000 for
@@ -869,6 +971,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -876,6 +979,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 1000 for
@@ -885,6 +990,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -896,6 +1002,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 1000 for
@@ -905,6 +1013,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -916,6 +1025,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -928,13 +1039,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -943,6 +1054,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -955,15 +1068,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -971,6 +1083,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -983,18 +1097,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -1007,6 +1125,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -1016,6 +1135,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -1028,12 +1149,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -1043,24 +1166,35 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * Optional. A view defining which fields should be filled in the returned
      * executions. The API will default to the BASIC view.
      * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned
      * executions. The API will default to the BASIC view.
      * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -1071,26 +1205,39 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned
      * executions. The API will default to the BASIC view.
      * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); - return result == null ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED : result; + com.google.cloud.workflows.executions.v1.ExecutionView result = + com.google.cloud.workflows.executions.v1.ExecutionView.forNumber(view_); + return result == null + ? com.google.cloud.workflows.executions.v1.ExecutionView.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned
      * executions. The API will default to the BASIC view.
      * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -1104,12 +1251,17 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va return this; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned
      * executions. The API will default to the BASIC view.
      * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { @@ -1121,6 +1273,8 @@ public Builder clearView() { private java.lang.Object filter_ = ""; /** + * + * *
      * Optional. Filters applied to the [Executions.ListExecutions] results.
      * The following fields are supported for filtering:
@@ -1129,13 +1283,13 @@ public Builder clearView() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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; @@ -1144,6 +1298,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filters applied to the [Executions.ListExecutions] results.
      * The following fields are supported for filtering:
@@ -1152,15 +1308,14 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @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 { @@ -1168,6 +1323,8 @@ public java.lang.String getFilter() { } } /** + * + * *
      * Optional. Filters applied to the [Executions.ListExecutions] results.
      * The following fields are supported for filtering:
@@ -1176,18 +1333,22 @@ public java.lang.String getFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The filter to set. * @return This builder for chaining. */ - public Builder setFilter( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilter(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } filter_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Optional. Filters applied to the [Executions.ListExecutions] results.
      * The following fields are supported for filtering:
@@ -1196,6 +1357,7 @@ public Builder setFilter(
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearFilter() { @@ -1205,6 +1367,8 @@ public Builder clearFilter() { return this; } /** + * + * *
      * Optional. Filters applied to the [Executions.ListExecutions] results.
      * The following fields are supported for filtering:
@@ -1213,12 +1377,14 @@ public Builder clearFilter() {
      * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for filter to set. * @return This builder for chaining. */ - public Builder setFilterBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setFilterBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); filter_ = value; bitField0_ |= 0x00000010; @@ -1228,6 +1394,8 @@ public Builder setFilterBytes( private java.lang.Object orderBy_ = ""; /** + * + * *
      * Optional. The ordering applied to the [Executions.ListExecutions] results.
      * By default the ordering is based on descending start time.
@@ -1236,13 +1404,13 @@ public Builder setFilterBytes(
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ public java.lang.String getOrderBy() { java.lang.Object ref = orderBy_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); orderBy_ = s; return s; @@ -1251,6 +1419,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The ordering applied to the [Executions.ListExecutions] results.
      * By default the ordering is based on descending start time.
@@ -1259,15 +1429,14 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - public com.google.protobuf.ByteString - getOrderByBytes() { + public com.google.protobuf.ByteString getOrderByBytes() { java.lang.Object ref = orderBy_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); orderBy_ = b; return b; } else { @@ -1275,6 +1444,8 @@ public java.lang.String getOrderBy() { } } /** + * + * *
      * Optional. The ordering applied to the [Executions.ListExecutions] results.
      * By default the ordering is based on descending start time.
@@ -1283,18 +1454,22 @@ public java.lang.String getOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The orderBy to set. * @return This builder for chaining. */ - public Builder setOrderBy( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderBy(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } orderBy_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Optional. The ordering applied to the [Executions.ListExecutions] results.
      * By default the ordering is based on descending start time.
@@ -1303,6 +1478,7 @@ public Builder setOrderBy(
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return This builder for chaining. */ public Builder clearOrderBy() { @@ -1312,6 +1488,8 @@ public Builder clearOrderBy() { return this; } /** + * + * *
      * Optional. The ordering applied to the [Executions.ListExecutions] results.
      * By default the ordering is based on descending start time.
@@ -1320,21 +1498,23 @@ public Builder clearOrderBy() {
      * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @param value The bytes for orderBy to set. * @return This builder for chaining. */ - public Builder setOrderByBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOrderByBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); orderBy_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1344,41 +1524,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.ListExecutionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.ListExecutionsRequest) - private static final com.google.cloud.workflows.executions.v1.ListExecutionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1.ListExecutionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1.ListExecutionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListExecutionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListExecutionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1390,9 +1572,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1.ListExecutionsRequest getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.ListExecutionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java similarity index 74% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java index c26cb9c6832e..ab050cf1886b 100644 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; -public interface ListExecutionsRequestOrBuilder extends +public interface ListExecutionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.ListExecutionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the workflow for which the executions should be listed.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * 
* - * string parent = 1 [(.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. Name of the workflow for which the executions should be listed.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 1000 for
@@ -39,11 +66,14 @@ public interface ListExecutionsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -56,10 +86,13 @@ public interface ListExecutionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -72,33 +105,45 @@ public interface ListExecutionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. A view defining which fields should be filled in the returned
    * executions. The API will default to the BASIC view.
    * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Optional. A view defining which fields should be filled in the returned
    * executions. The API will default to the BASIC view.
    * 
* - * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ com.google.cloud.workflows.executions.v1.ExecutionView getView(); /** + * + * *
    * Optional. Filters applied to the [Executions.ListExecutions] results.
    * The following fields are supported for filtering:
@@ -107,10 +152,13 @@ public interface ListExecutionsRequestOrBuilder extends
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The filter. */ java.lang.String getFilter(); /** + * + * *
    * Optional. Filters applied to the [Executions.ListExecutions] results.
    * The following fields are supported for filtering:
@@ -119,12 +167,14 @@ public interface ListExecutionsRequestOrBuilder extends
    * 
* * string filter = 5 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for filter. */ - com.google.protobuf.ByteString - getFilterBytes(); + com.google.protobuf.ByteString getFilterBytes(); /** + * + * *
    * Optional. The ordering applied to the [Executions.ListExecutions] results.
    * By default the ordering is based on descending start time.
@@ -133,10 +183,13 @@ public interface ListExecutionsRequestOrBuilder extends
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The orderBy. */ java.lang.String getOrderBy(); /** + * + * *
    * Optional. The ordering applied to the [Executions.ListExecutions] results.
    * By default the ordering is based on descending start time.
@@ -145,8 +198,8 @@ public interface ListExecutionsRequestOrBuilder extends
    * 
* * string order_by = 6 [(.google.api.field_behavior) = OPTIONAL]; + * * @return The bytes for orderBy. */ - com.google.protobuf.ByteString - getOrderByBytes(); + com.google.protobuf.ByteString getOrderByBytes(); } diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java similarity index 71% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java index 7616bced18a6..68a23774a034 100644 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** + * + * *
  * Response for the
  * [ListExecutions][google.cloud.workflows.executions.v1.Executions.ListExecutions]
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1.ListExecutionsResponse}
  */
-public final class ListExecutionsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListExecutionsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1.ListExecutionsResponse)
     ListExecutionsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListExecutionsResponse.newBuilder() to construct.
   private ListExecutionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListExecutionsResponse() {
     executions_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -28,28 +46,32 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1.ListExecutionsResponse.class, com.google.cloud.workflows.executions.v1.ListExecutionsResponse.Builder.class);
+            com.google.cloud.workflows.executions.v1.ListExecutionsResponse.class,
+            com.google.cloud.workflows.executions.v1.ListExecutionsResponse.Builder.class);
   }
 
   public static final int EXECUTIONS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List executions_;
   /**
+   *
+   *
    * 
    * The executions which match the request.
    * 
@@ -61,6 +83,8 @@ public java.util.List getExe return executions_; } /** + * + * *
    * The executions which match the request.
    * 
@@ -68,11 +92,13 @@ public java.util.List getExe * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getExecutionsOrBuilderList() { return executions_; } /** + * + * *
    * The executions which match the request.
    * 
@@ -84,6 +110,8 @@ public int getExecutionsCount() { return executions_.size(); } /** + * + * *
    * The executions which match the request.
    * 
@@ -95,6 +123,8 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde return executions_.get(index); } /** + * + * *
    * The executions which match the request.
    * 
@@ -108,15 +138,19 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +159,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -157,6 +191,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,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 < executions_.size(); i++) { output.writeMessage(1, executions_.get(i)); } @@ -186,8 +220,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < executions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, executions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, executions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -200,17 +233,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.workflows.executions.v1.ListExecutionsResponse)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1.ListExecutionsResponse other = (com.google.cloud.workflows.executions.v1.ListExecutionsResponse) obj; + com.google.cloud.workflows.executions.v1.ListExecutionsResponse other = + (com.google.cloud.workflows.executions.v1.ListExecutionsResponse) obj; - if (!getExecutionsList() - .equals(other.getExecutionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getExecutionsList().equals(other.getExecutionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -234,98 +266,104 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse 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.workflows.executions.v1.ListExecutionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1.ListExecutionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1.ListExecutionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the
    * [ListExecutions][google.cloud.workflows.executions.v1.Executions.ListExecutions]
@@ -334,33 +372,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1.ListExecutionsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1.ListExecutionsResponse)
       com.google.cloud.workflows.executions.v1.ListExecutionsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1.ListExecutionsResponse.class, com.google.cloud.workflows.executions.v1.ListExecutionsResponse.Builder.class);
+              com.google.cloud.workflows.executions.v1.ListExecutionsResponse.class,
+              com.google.cloud.workflows.executions.v1.ListExecutionsResponse.Builder.class);
     }
 
     // Construct using com.google.cloud.workflows.executions.v1.ListExecutionsResponse.newBuilder()
-    private Builder() {
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -377,13 +414,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1.ListExecutionsResponse getDefaultInstanceForType() {
+    public com.google.cloud.workflows.executions.v1.ListExecutionsResponse
+        getDefaultInstanceForType() {
       return com.google.cloud.workflows.executions.v1.ListExecutionsResponse.getDefaultInstance();
     }
 
@@ -398,14 +436,18 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsResponse build() {
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1.ListExecutionsResponse buildPartial() {
-      com.google.cloud.workflows.executions.v1.ListExecutionsResponse result = new com.google.cloud.workflows.executions.v1.ListExecutionsResponse(this);
+      com.google.cloud.workflows.executions.v1.ListExecutionsResponse result =
+          new com.google.cloud.workflows.executions.v1.ListExecutionsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.workflows.executions.v1.ListExecutionsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.workflows.executions.v1.ListExecutionsResponse result) {
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -417,7 +459,8 @@ private void buildPartialRepeatedFields(com.google.cloud.workflows.executions.v1
       }
     }
 
-    private void buildPartial0(com.google.cloud.workflows.executions.v1.ListExecutionsResponse result) {
+    private void buildPartial0(
+        com.google.cloud.workflows.executions.v1.ListExecutionsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -428,46 +471,50 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1.ListExecutio
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1.ListExecutionsResponse) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1.ListExecutionsResponse)other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1.ListExecutionsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.workflows.executions.v1.ListExecutionsResponse other) {
-      if (other == com.google.cloud.workflows.executions.v1.ListExecutionsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.workflows.executions.v1.ListExecutionsResponse other) {
+      if (other
+          == com.google.cloud.workflows.executions.v1.ListExecutionsResponse.getDefaultInstance())
+        return this;
       if (executionsBuilder_ == null) {
         if (!other.executions_.isEmpty()) {
           if (executions_.isEmpty()) {
@@ -486,9 +533,10 @@ public Builder mergeFrom(com.google.cloud.workflows.executions.v1.ListExecutions
             executionsBuilder_ = null;
             executions_ = other.executions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            executionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getExecutionsFieldBuilder() : null;
+            executionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getExecutionsFieldBuilder()
+                    : null;
           } else {
             executionsBuilder_.addAllMessages(other.executions_);
           }
@@ -525,30 +573,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.workflows.executions.v1.Execution m =
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1.Execution.parser(),
-                      extensionRegistry);
-              if (executionsBuilder_ == null) {
-                ensureExecutionsIsMutable();
-                executions_.add(m);
-              } else {
-                executionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.workflows.executions.v1.Execution m =
+                    input.readMessage(
+                        com.google.cloud.workflows.executions.v1.Execution.parser(),
+                        extensionRegistry);
+                if (executionsBuilder_ == null) {
+                  ensureExecutionsIsMutable();
+                  executions_.add(m);
+                } else {
+                  executionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -558,21 +609,30 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List executions_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureExecutionsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        executions_ = new java.util.ArrayList(executions_);
+        executions_ =
+            new java.util.ArrayList(
+                executions_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.workflows.executions.v1.Execution, com.google.cloud.workflows.executions.v1.Execution.Builder, com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> executionsBuilder_;
+            com.google.cloud.workflows.executions.v1.Execution,
+            com.google.cloud.workflows.executions.v1.Execution.Builder,
+            com.google.cloud.workflows.executions.v1.ExecutionOrBuilder>
+        executionsBuilder_;
 
     /**
+     *
+     *
      * 
      * The executions which match the request.
      * 
@@ -587,6 +647,8 @@ public java.util.List getExe } } /** + * + * *
      * The executions which match the request.
      * 
@@ -601,6 +663,8 @@ public int getExecutionsCount() { } } /** + * + * *
      * The executions which match the request.
      * 
@@ -615,6 +679,8 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde } } /** + * + * *
      * The executions which match the request.
      * 
@@ -636,6 +702,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -654,6 +722,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -674,6 +744,8 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1.Execution return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -695,6 +767,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -713,6 +787,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -731,6 +807,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -741,8 +819,7 @@ public Builder addAllExecutions( java.lang.Iterable values) { if (executionsBuilder_ == null) { ensureExecutionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, executions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, executions_); onChanged(); } else { executionsBuilder_.addAllMessages(values); @@ -750,6 +827,8 @@ public Builder addAllExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -767,6 +846,8 @@ public Builder clearExecutions() { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -784,6 +865,8 @@ public Builder removeExecutions(int index) { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -795,6 +878,8 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionsB return getExecutionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The executions which match the request.
      * 
@@ -804,19 +889,22 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionsB public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionsOrBuilder( int index) { if (executionsBuilder_ == null) { - return executions_.get(index); } else { + return executions_.get(index); + } else { return executionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The executions which match the request.
      * 
* * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ - public java.util.List - getExecutionsOrBuilderList() { + public java.util.List + getExecutionsOrBuilderList() { if (executionsBuilder_ != null) { return executionsBuilder_.getMessageOrBuilderList(); } else { @@ -824,6 +912,8 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions } } /** + * + * *
      * The executions which match the request.
      * 
@@ -831,10 +921,12 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ public com.google.cloud.workflows.executions.v1.Execution.Builder addExecutionsBuilder() { - return getExecutionsFieldBuilder().addBuilder( - com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()); + return getExecutionsFieldBuilder() + .addBuilder(com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()); } /** + * + * *
      * The executions which match the request.
      * 
@@ -843,30 +935,36 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder addExecutionsB */ public com.google.cloud.workflows.executions.v1.Execution.Builder addExecutionsBuilder( int index) { - return getExecutionsFieldBuilder().addBuilder( - index, com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()); + return getExecutionsFieldBuilder() + .addBuilder( + index, com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance()); } /** + * + * *
      * The executions which match the request.
      * 
* * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ - public java.util.List - getExecutionsBuilderList() { + public java.util.List + getExecutionsBuilderList() { return getExecutionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution, com.google.cloud.workflows.executions.v1.Execution.Builder, com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> + com.google.cloud.workflows.executions.v1.Execution, + com.google.cloud.workflows.executions.v1.Execution.Builder, + com.google.cloud.workflows.executions.v1.ExecutionOrBuilder> getExecutionsFieldBuilder() { if (executionsBuilder_ == null) { - executionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1.Execution, com.google.cloud.workflows.executions.v1.Execution.Builder, com.google.cloud.workflows.executions.v1.ExecutionOrBuilder>( - executions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + executionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.workflows.executions.v1.Execution, + com.google.cloud.workflows.executions.v1.Execution.Builder, + com.google.cloud.workflows.executions.v1.ExecutionOrBuilder>( + executions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); executions_ = null; } return executionsBuilder_; @@ -874,19 +972,21 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder addExecutionsB private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -895,21 +995,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -917,30 +1018,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -950,27 +1058,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -980,41 +1092,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1.ListExecutionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1.ListExecutionsResponse) - private static final com.google.cloud.workflows.executions.v1.ListExecutionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1.ListExecutionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1.ListExecutionsResponse(); } - public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1.ListExecutionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListExecutionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListExecutionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1026,9 +1140,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1.ListExecutionsResponse getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1.ListExecutionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java index af9b0b7305cc..a53b5426e0bd 100644 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; -public interface ListExecutionsResponseOrBuilder extends +public interface ListExecutionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.ListExecutionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The executions which match the request.
    * 
* * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ - java.util.List - getExecutionsList(); + java.util.List getExecutionsList(); /** + * + * *
    * The executions which match the request.
    * 
@@ -25,6 +44,8 @@ public interface ListExecutionsResponseOrBuilder extends */ com.google.cloud.workflows.executions.v1.Execution getExecutions(int index); /** + * + * *
    * The executions which match the request.
    * 
@@ -33,43 +54,51 @@ public interface ListExecutionsResponseOrBuilder extends */ int getExecutionsCount(); /** + * + * *
    * The executions which match the request.
    * 
* * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ - java.util.List + java.util.List getExecutionsOrBuilderList(); /** + * + * *
    * The executions which match the request.
    * 
* * repeated .google.cloud.workflows.executions.v1.Execution executions = 1; */ - com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionsOrBuilder( - int index); + com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto b/java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java similarity index 60% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java index 1c1fbc2e3c95..adf677a43caf 100644 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** + * + * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1beta.Executions.CancelExecution]
@@ -12,50 +29,58 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1beta.CancelExecutionRequest}
  */
-public final class CancelExecutionRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CancelExecutionRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.CancelExecutionRequest)
     CancelExecutionRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CancelExecutionRequest.newBuilder() to construct.
   private CancelExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CancelExecutionRequest() {
     name_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CancelExecutionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.class, com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.Builder.class);
+            com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.class,
+            com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.Builder.class);
   }
 
   public static final int NAME_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object name_ = "";
   /**
+   *
+   *
    * 
    * Required. Name of the execution to be cancelled.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * string name = 1 [(.google.api.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 @@ -64,31 +89,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the execution to be cancelled.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * string name = 1 [(.google.api.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 { @@ -97,6 +124,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -108,8 +136,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -133,15 +160,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.workflows.executions.v1beta.CancelExecutionRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest other = (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) obj; + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest other = + (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -161,98 +188,105 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest 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.workflows.executions.v1beta.CancelExecutionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the
    * [CancelExecution][google.cloud.workflows.executions.v1beta.Executions.CancelExecution]
@@ -261,33 +295,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1beta.CancelExecutionRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.CancelExecutionRequest)
       com.google.cloud.workflows.executions.v1beta.CancelExecutionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.class, com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.class,
+              com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -297,14 +331,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest getDefaultInstanceForType() {
-      return com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.getDefaultInstance();
+    public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -318,13 +354,17 @@ public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest build
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result) {
+    private void buildPartial0(
+        com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -335,46 +375,51 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1beta.CancelEx
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest)other);
+        return mergeFrom(
+            (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest other) {
-      if (other == com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest other) {
+      if (other
+          == com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest
+              .getDefaultInstance()) return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -406,17 +451,19 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -426,24 +473,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.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; @@ -452,22 +504,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.google.api.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 { @@ -475,32 +530,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string 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() { @@ -510,28 +576,34 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the execution to be cancelled.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -541,41 +613,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.CancelExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.CancelExecutionRequest) - private static final com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest(); } - public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CancelExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CancelExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -587,9 +661,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java new file mode 100644 index 000000000000..9ad86af61ee3 --- /dev/null +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1beta/executions.proto + +package com.google.cloud.workflows.executions.v1beta; + +public interface CancelExecutionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.CancelExecutionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the execution to be cancelled.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The name. + */ + java.lang.String getName(); + /** + * + * + *
+   * Required. Name of the execution to be cancelled.
+   * Format:
+   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
+   * 
+ * + * + * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for name. + */ + com.google.protobuf.ByteString getNameBytes(); +} diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java similarity index 59% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java index 533658e51730..2900df3baab0 100644 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** + * + * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1beta.Executions.CreateExecution]
@@ -12,50 +29,58 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1beta.CreateExecutionRequest}
  */
-public final class CreateExecutionRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class CreateExecutionRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.CreateExecutionRequest)
     CreateExecutionRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use CreateExecutionRequest.newBuilder() to construct.
   private CreateExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private CreateExecutionRequest() {
     parent_ = "";
   }
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new CreateExecutionRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.class, com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.Builder.class);
+            com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.class,
+            com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Name of the workflow for which an execution should be created.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * The latest revision of the workflow will be used.
    * 
* - * string parent = 1 [(.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 @@ -64,31 +89,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. Name of the workflow for which an execution should be created.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * The latest revision of the workflow will be used.
    * 
* - * string parent = 1 [(.google.api.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 { @@ -99,11 +126,16 @@ public java.lang.String getParent() { public static final int EXECUTION_FIELD_NUMBER = 2; private com.google.cloud.workflows.executions.v1beta.Execution execution_; /** + * + * *
    * Required. Execution to be created.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the execution field is set. */ @java.lang.Override @@ -111,30 +143,44 @@ public boolean hasExecution() { return execution_ != null; } /** + * + * *
    * Required. Execution to be created.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The execution. */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution getExecution() { - return execution_ == null ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() : execution_; + return execution_ == null + ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() + : execution_; } /** + * + * *
    * Required. Execution to be created.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionOrBuilder() { - return execution_ == null ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() : execution_; + return execution_ == null + ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() + : execution_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -146,8 +192,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -167,8 +212,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (execution_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getExecution()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getExecution()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -178,19 +222,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.workflows.executions.v1beta.CreateExecutionRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest other = (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) obj; + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest other = + (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; + if (!getParent().equals(other.getParent())) return false; if (hasExecution() != other.hasExecution()) return false; if (hasExecution()) { - if (!getExecution() - .equals(other.getExecution())) return false; + if (!getExecution().equals(other.getExecution())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -215,98 +258,105 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest 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.workflows.executions.v1beta.CreateExecutionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the
    * [CreateExecution][google.cloud.workflows.executions.v1beta.Executions.CreateExecution]
@@ -315,33 +365,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1beta.CreateExecutionRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.CreateExecutionRequest)
       com.google.cloud.workflows.executions.v1beta.CreateExecutionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.class, com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.class,
+              com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -356,14 +406,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest getDefaultInstanceForType() {
-      return com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.getDefaultInstance();
+    public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -377,21 +429,23 @@ public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest build
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result) {
+    private void buildPartial0(
+        com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
       }
       if (((from_bitField0_ & 0x00000002) != 0)) {
-        result.execution_ = executionBuilder_ == null
-            ? execution_
-            : executionBuilder_.build();
+        result.execution_ = executionBuilder_ == null ? execution_ : executionBuilder_.build();
       }
     }
 
@@ -399,46 +453,51 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1beta.CreateEx
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest)other);
+        return mergeFrom(
+            (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest other) {
-      if (other == com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest other) {
+      if (other
+          == com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest
+              .getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -473,24 +532,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 18: {
-              input.readMessage(
-                  getExecutionFieldBuilder().getBuilder(),
-                  extensionRegistry);
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 18:
+              {
+                input.readMessage(getExecutionFieldBuilder().getBuilder(), extensionRegistry);
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -500,24 +560,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * string parent = 1 [(.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; @@ -526,22 +591,25 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * string parent = 1 [(.google.api.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 { @@ -549,32 +617,43 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * string 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() { @@ -584,19 +663,25 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Name of the workflow for which an execution should be created.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * The latest revision of the workflow will be used.
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -606,39 +691,58 @@ public Builder setParentBytes( private com.google.cloud.workflows.executions.v1beta.Execution execution_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution, com.google.cloud.workflows.executions.v1beta.Execution.Builder, com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> executionBuilder_; + com.google.cloud.workflows.executions.v1beta.Execution, + com.google.cloud.workflows.executions.v1beta.Execution.Builder, + com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> + executionBuilder_; /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return Whether the execution field is set. */ public boolean hasExecution() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * * @return The execution. */ public com.google.cloud.workflows.executions.v1beta.Execution getExecution() { if (executionBuilder_ == null) { - return execution_ == null ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() : execution_; + return execution_ == null + ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() + : execution_; } else { return executionBuilder_.getMessage(); } } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExecution(com.google.cloud.workflows.executions.v1beta.Execution value) { if (executionBuilder_ == null) { @@ -654,11 +758,15 @@ public Builder setExecution(com.google.cloud.workflows.executions.v1beta.Executi return this; } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder setExecution( com.google.cloud.workflows.executions.v1beta.Execution.Builder builderForValue) { @@ -672,17 +780,22 @@ public Builder setExecution( return this; } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder mergeExecution(com.google.cloud.workflows.executions.v1beta.Execution value) { if (executionBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - execution_ != null && - execution_ != com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && execution_ != null + && execution_ + != com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()) { getExecutionBuilder().mergeFrom(value); } else { execution_ = value; @@ -695,11 +808,15 @@ public Builder mergeExecution(com.google.cloud.workflows.executions.v1beta.Execu return this; } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public Builder clearExecution() { bitField0_ = (bitField0_ & ~0x00000002); @@ -712,11 +829,15 @@ public Builder clearExecution() { return this; } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecutionBuilder() { bitField0_ |= 0x00000002; @@ -724,43 +845,55 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti return getExecutionFieldBuilder().getBuilder(); } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionOrBuilder() { if (executionBuilder_ != null) { return executionBuilder_.getMessageOrBuilder(); } else { - return execution_ == null ? - com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() : execution_; + return execution_ == null + ? com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance() + : execution_; } } /** + * + * *
      * Required. Execution to be created.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution, com.google.cloud.workflows.executions.v1beta.Execution.Builder, com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> + com.google.cloud.workflows.executions.v1beta.Execution, + com.google.cloud.workflows.executions.v1beta.Execution.Builder, + com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> getExecutionFieldBuilder() { if (executionBuilder_ == null) { - executionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution, com.google.cloud.workflows.executions.v1beta.Execution.Builder, com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder>( - getExecution(), - getParentForChildren(), - isClean()); + executionBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1beta.Execution, + com.google.cloud.workflows.executions.v1beta.Execution.Builder, + com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder>( + getExecution(), getParentForChildren(), isClean()); execution_ = null; } return executionBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -770,41 +903,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.CreateExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.CreateExecutionRequest) - private static final com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest(); } - public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public CreateExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public CreateExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -816,9 +951,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java new file mode 100644 index 000000000000..3350e14c2109 --- /dev/null +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1beta/executions.proto + +package com.google.cloud.workflows.executions.v1beta; + +public interface CreateExecutionRequestOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.CreateExecutionRequest) + com.google.protobuf.MessageOrBuilder { + + /** + * + * + *
+   * Required. Name of the workflow for which an execution should be created.
+   * Format: projects/{project}/locations/{location}/workflows/{workflow}
+   * The latest revision of the workflow will be used.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The parent. + */ + java.lang.String getParent(); + /** + * + * + *
+   * Required. Name of the workflow for which an execution should be created.
+   * Format: projects/{project}/locations/{location}/workflows/{workflow}
+   * The latest revision of the workflow will be used.
+   * 
+ * + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * + * @return The bytes for parent. + */ + com.google.protobuf.ByteString getParentBytes(); + + /** + * + * + *
+   * Required. Execution to be created.
+   * 
+ * + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return Whether the execution field is set. + */ + boolean hasExecution(); + /** + * + * + *
+   * Required. Execution to be created.
+   * 
+ * + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + * + * @return The execution. + */ + com.google.cloud.workflows.executions.v1beta.Execution getExecution(); + /** + * + * + *
+   * Required. Execution to be created.
+   * 
+ * + * + * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; + * + */ + com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionOrBuilder(); +} diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java similarity index 70% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java index 41bab8b94d27..3e6e8b27e9dd 100644 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java @@ -1,24 +1,42 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** + * + * *
  * A running instance of a [Workflow][google.cloud.workflows.v1beta.Workflow].
  * 
* * Protobuf type {@code google.cloud.workflows.executions.v1beta.Execution} */ -public final class Execution extends - com.google.protobuf.GeneratedMessageV3 implements +public final class Execution extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.Execution) ExecutionOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Execution.newBuilder() to construct. private Execution(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Execution() { name_ = ""; state_ = 0; @@ -29,25 +47,28 @@ private Execution() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Execution(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1beta_Execution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_fieldAccessorTable + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1beta_Execution_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1beta.Execution.class, com.google.cloud.workflows.executions.v1beta.Execution.Builder.class); + com.google.cloud.workflows.executions.v1beta.Execution.class, + com.google.cloud.workflows.executions.v1beta.Execution.Builder.class); } /** + * + * *
    * Describes the current state of the execution. More states may be added
    * in the future.
@@ -55,9 +76,10 @@ protected java.lang.Object newInstance(
    *
    * Protobuf enum {@code google.cloud.workflows.executions.v1beta.Execution.State}
    */
-  public enum State
-      implements com.google.protobuf.ProtocolMessageEnum {
+  public enum State implements com.google.protobuf.ProtocolMessageEnum {
     /**
+     *
+     *
      * 
      * Invalid state.
      * 
@@ -66,6 +88,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The execution is in progress.
      * 
@@ -74,6 +98,8 @@ public enum State */ ACTIVE(1), /** + * + * *
      * The execution finished successfully.
      * 
@@ -82,6 +108,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * The execution failed with an error.
      * 
@@ -90,6 +118,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -101,6 +131,8 @@ public enum State ; /** + * + * *
      * Invalid state.
      * 
@@ -109,6 +141,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The execution is in progress.
      * 
@@ -117,6 +151,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
      * The execution finished successfully.
      * 
@@ -125,6 +161,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * The execution failed with an error.
      * 
@@ -133,6 +171,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -141,7 +181,6 @@ public enum State */ public static final int CANCELLED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -166,51 +205,55 @@ public static State valueOf(int value) { */ public static State forNumber(int value) { switch (value) { - case 0: return STATE_UNSPECIFIED; - case 1: return ACTIVE; - case 2: return SUCCEEDED; - case 3: return FAILED; - case 4: return CANCELLED; - default: return null; - } - } - - public static com.google.protobuf.Internal.EnumLiteMap - internalGetValueMap() { + case 0: + return STATE_UNSPECIFIED; + case 1: + return ACTIVE; + case 2: + return SUCCEEDED; + case 3: + return FAILED; + case 4: + return CANCELLED; + default: + return null; + } + } + + 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() { - return com.google.cloud.workflows.executions.v1beta.Execution.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.Execution.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; @@ -227,66 +270,80 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1beta.Execution.State) } - public interface ErrorOrBuilder extends + public interface ErrorOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.Execution.Error) com.google.protobuf.MessageOrBuilder { /** + * + * *
      * Error payload returned by the execution, represented as a JSON string.
      * 
* * string payload = 1; + * * @return The payload. */ java.lang.String getPayload(); /** + * + * *
      * Error payload returned by the execution, represented as a JSON string.
      * 
* * string payload = 1; + * * @return The bytes for payload. */ - com.google.protobuf.ByteString - getPayloadBytes(); + com.google.protobuf.ByteString getPayloadBytes(); /** + * + * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; + * * @return The context. */ java.lang.String getContext(); /** + * + * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; + * * @return The bytes for context. */ - com.google.protobuf.ByteString - getContextBytes(); + com.google.protobuf.ByteString getContextBytes(); } /** + * + * *
    * Error describes why the execution was abnormally terminated.
    * 
* * Protobuf type {@code google.cloud.workflows.executions.v1beta.Execution.Error} */ - public static final class Error extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class Error extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.Execution.Error) ErrorOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use Error.newBuilder() to construct. private Error(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private Error() { payload_ = ""; context_ = ""; @@ -294,33 +351,38 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Error(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_fieldAccessorTable + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1beta.Execution.Error.class, com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder.class); + com.google.cloud.workflows.executions.v1beta.Execution.Error.class, + com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder.class); } public static final int PAYLOAD_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object payload_ = ""; /** + * + * *
      * Error payload returned by the execution, represented as a JSON string.
      * 
* * string payload = 1; + * * @return The payload. */ @java.lang.Override @@ -329,29 +391,29 @@ public java.lang.String getPayload() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); payload_ = s; return s; } } /** + * + * *
      * Error payload returned by the execution, represented as a JSON string.
      * 
* * string payload = 1; + * * @return The bytes for payload. */ @java.lang.Override - public com.google.protobuf.ByteString - getPayloadBytes() { + public com.google.protobuf.ByteString getPayloadBytes() { java.lang.Object ref = payload_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); payload_ = b; return b; } else { @@ -360,14 +422,18 @@ public java.lang.String getPayload() { } public static final int CONTEXT_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object context_ = ""; /** + * + * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; + * * @return The context. */ @java.lang.Override @@ -376,29 +442,29 @@ public java.lang.String getContext() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); context_ = s; return s; } } /** + * + * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; + * * @return The bytes for context. */ @java.lang.Override - public com.google.protobuf.ByteString - getContextBytes() { + public com.google.protobuf.ByteString getContextBytes() { java.lang.Object ref = context_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); context_ = b; return b; } else { @@ -407,6 +473,7 @@ public java.lang.String getContext() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -418,8 +485,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, payload_); } @@ -449,17 +515,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.workflows.executions.v1beta.Execution.Error)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.Execution.Error other = (com.google.cloud.workflows.executions.v1beta.Execution.Error) obj; + com.google.cloud.workflows.executions.v1beta.Execution.Error other = + (com.google.cloud.workflows.executions.v1beta.Execution.Error) obj; - if (!getPayload() - .equals(other.getPayload())) return false; - if (!getContext() - .equals(other.getContext())) return false; + if (!getPayload().equals(other.getPayload())) return false; + if (!getContext().equals(other.getContext())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -481,89 +546,94 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.Execution.Error 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.workflows.executions.v1beta.Execution.Error parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.Execution.Error parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.Execution.Error prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1beta.Execution.Error prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override @@ -573,39 +643,41 @@ protected Builder newBuilderForType( return builder; } /** + * + * *
      * Error describes why the execution was abnormally terminated.
      * 
* * Protobuf type {@code google.cloud.workflows.executions.v1beta.Execution.Error} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder + extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.Execution.Error) com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_fieldAccessorTable + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1beta.Execution.Error.class, com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder.class); + com.google.cloud.workflows.executions.v1beta.Execution.Error.class, + com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder.class); } // Construct using com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -616,13 +688,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.Execution.Error getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.Execution.Error + getDefaultInstanceForType() { return com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance(); } @@ -637,13 +710,17 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Error build() { @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.Error buildPartial() { - com.google.cloud.workflows.executions.v1beta.Execution.Error result = new com.google.cloud.workflows.executions.v1beta.Execution.Error(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.workflows.executions.v1beta.Execution.Error result = + new com.google.cloud.workflows.executions.v1beta.Execution.Error(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.cloud.workflows.executions.v1beta.Execution.Error result) { + private void buildPartial0( + com.google.cloud.workflows.executions.v1beta.Execution.Error result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.payload_ = payload_; @@ -657,38 +734,41 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1beta.Executio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + int index, + java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.workflows.executions.v1beta.Execution.Error) { - return mergeFrom((com.google.cloud.workflows.executions.v1beta.Execution.Error)other); + return mergeFrom((com.google.cloud.workflows.executions.v1beta.Execution.Error) other); } else { super.mergeFrom(other); return this; @@ -696,7 +776,9 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.Execution.Error other) { - if (other == com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance()) return this; + if (other + == com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance()) + return this; if (!other.getPayload().isEmpty()) { payload_ = other.payload_; bitField0_ |= 0x00000001; @@ -733,22 +815,25 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - payload_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - context_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + payload_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + context_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -758,22 +843,25 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object payload_ = ""; /** + * + * *
        * Error payload returned by the execution, represented as a JSON string.
        * 
* * string payload = 1; + * * @return The payload. */ public java.lang.String getPayload() { java.lang.Object ref = payload_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); payload_ = s; return s; @@ -782,20 +870,21 @@ public java.lang.String getPayload() { } } /** + * + * *
        * Error payload returned by the execution, represented as a JSON string.
        * 
* * string payload = 1; + * * @return The bytes for payload. */ - public com.google.protobuf.ByteString - getPayloadBytes() { + public com.google.protobuf.ByteString getPayloadBytes() { java.lang.Object ref = payload_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); payload_ = b; return b; } else { @@ -803,28 +892,35 @@ public java.lang.String getPayload() { } } /** + * + * *
        * Error payload returned by the execution, represented as a JSON string.
        * 
* * string payload = 1; + * * @param value The payload to set. * @return This builder for chaining. */ - public Builder setPayload( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPayload(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } payload_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
        * Error payload returned by the execution, represented as a JSON string.
        * 
* * string payload = 1; + * * @return This builder for chaining. */ public Builder clearPayload() { @@ -834,17 +930,21 @@ public Builder clearPayload() { return this; } /** + * + * *
        * Error payload returned by the execution, represented as a JSON string.
        * 
* * string payload = 1; + * * @param value The bytes for payload to set. * @return This builder for chaining. */ - public Builder setPayloadBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPayloadBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); payload_ = value; bitField0_ |= 0x00000001; @@ -854,18 +954,20 @@ public Builder setPayloadBytes( private java.lang.Object context_ = ""; /** + * + * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; + * * @return The context. */ public java.lang.String getContext() { java.lang.Object ref = context_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); context_ = s; return s; @@ -874,20 +976,21 @@ public java.lang.String getContext() { } } /** + * + * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; + * * @return The bytes for context. */ - public com.google.protobuf.ByteString - getContextBytes() { + public com.google.protobuf.ByteString getContextBytes() { java.lang.Object ref = context_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); context_ = b; return b; } else { @@ -895,28 +998,35 @@ public java.lang.String getContext() { } } /** + * + * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; + * * @param value The context to set. * @return This builder for chaining. */ - public Builder setContext( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContext(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } context_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; + * * @return This builder for chaining. */ public Builder clearContext() { @@ -926,23 +1036,28 @@ public Builder clearContext() { return this; } /** + * + * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; + * * @param value The bytes for context to set. * @return This builder for chaining. */ - public Builder setContextBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setContextBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); context_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -955,41 +1070,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.Execution.Error) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.Execution.Error) - private static final com.google.cloud.workflows.executions.v1beta.Execution.Error DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1beta.Execution.Error + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.Execution.Error(); } - public static com.google.cloud.workflows.executions.v1beta.Execution.Error getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1beta.Execution.Error + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Error parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Error parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException() + .setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1001,16 +1119,19 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.Execution.Error getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.Execution.Error + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -1018,6 +1139,7 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Error getDefaultIn
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -1026,14 +1148,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; } } /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -1041,16 +1164,15 @@ public java.lang.String getName() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ @java.lang.Override - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1061,11 +1183,15 @@ public java.lang.String getName() { public static final int START_TIME_FIELD_NUMBER = 2; private com.google.protobuf.Timestamp startTime_; /** + * + * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ @java.lang.Override @@ -1073,11 +1199,15 @@ public boolean hasStartTime() { return startTime_ != null; } /** + * + * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ @java.lang.Override @@ -1085,11 +1215,14 @@ public com.google.protobuf.Timestamp getStartTime() { return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } /** + * + * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { @@ -1099,11 +1232,15 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { public static final int END_TIME_FIELD_NUMBER = 3; private com.google.protobuf.Timestamp endTime_; /** + * + * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ @java.lang.Override @@ -1111,11 +1248,15 @@ public boolean hasEndTime() { return endTime_ != null; } /** + * + * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ @java.lang.Override @@ -1123,11 +1264,14 @@ public com.google.protobuf.Timestamp getEndTime() { return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } /** + * + * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { @@ -1137,39 +1281,58 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int state_ = 0; /** + * + * *
    * Output only. Current state of the execution.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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. Current state of the execution.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ - @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.State getState() { - com.google.cloud.workflows.executions.v1beta.Execution.State result = com.google.cloud.workflows.executions.v1beta.Execution.State.forNumber(state_); - return result == null ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.workflows.executions.v1beta.Execution.State getState() { + com.google.cloud.workflows.executions.v1beta.Execution.State result = + com.google.cloud.workflows.executions.v1beta.Execution.State.forNumber(state_); + return result == null + ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED + : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object argument_ = ""; /** + * + * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
    * 
* * string argument = 5; + * * @return The argument. */ @java.lang.Override @@ -1178,30 +1341,30 @@ public java.lang.String getArgument() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); argument_ = s; return s; } } /** + * + * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
    * 
* * string argument = 5; + * * @return The bytes for argument. */ @java.lang.Override - public com.google.protobuf.ByteString - getArgumentBytes() { + public com.google.protobuf.ByteString getArgumentBytes() { java.lang.Object ref = argument_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); argument_ = b; return b; } else { @@ -1210,15 +1373,19 @@ public java.lang.String getArgument() { } public static final int RESULT_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object result_ = ""; /** + * + * *
    * Output only. Output of the execution represented as a JSON string. The
    * value can only be present if the execution's state is `SUCCEEDED`.
    * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The result. */ @java.lang.Override @@ -1227,30 +1394,30 @@ public java.lang.String getResult() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); result_ = s; return s; } } /** + * + * *
    * Output only. Output of the execution represented as a JSON string. The
    * value can only be present if the execution's state is `SUCCEEDED`.
    * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for result. */ @java.lang.Override - public com.google.protobuf.ByteString - getResultBytes() { + public com.google.protobuf.ByteString getResultBytes() { java.lang.Object ref = result_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); result_ = b; return b; } else { @@ -1261,13 +1428,18 @@ public java.lang.String getResult() { public static final int ERROR_FIELD_NUMBER = 7; private com.google.cloud.workflows.executions.v1beta.Execution.Error error_; /** + * + * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the error field is set. */ @java.lang.Override @@ -1275,42 +1447,59 @@ public boolean hasError() { return error_ != null; } /** + * + * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The error. */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.Error getError() { - return error_ == null ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() : error_; + return error_ == null + ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() + : error_; } /** + * + * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder getErrorOrBuilder() { - return error_ == null ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() : error_; + return error_ == null + ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() + : error_; } public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object workflowRevisionId_ = ""; /** + * + * *
    * Output only. Revision of the workflow this execution is using.
    * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The workflowRevisionId. */ @java.lang.Override @@ -1319,29 +1508,29 @@ public java.lang.String getWorkflowRevisionId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowRevisionId_ = s; return s; } } /** + * + * *
    * Output only. Revision of the workflow this execution is using.
    * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for workflowRevisionId. */ @java.lang.Override - public com.google.protobuf.ByteString - getWorkflowRevisionIdBytes() { + public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { java.lang.Object ref = workflowRevisionId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workflowRevisionId_ = b; return b; } else { @@ -1350,6 +1539,7 @@ public java.lang.String getWorkflowRevisionId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1361,8 +1551,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1372,7 +1561,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (endTime_ != null) { output.writeMessage(3, getEndTime()); } - if (state_ != com.google.cloud.workflows.executions.v1beta.Execution.State.STATE_UNSPECIFIED.getNumber()) { + if (state_ + != com.google.cloud.workflows.executions.v1beta.Execution.State.STATE_UNSPECIFIED + .getNumber()) { output.writeEnum(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { @@ -1400,16 +1591,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getStartTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); } if (endTime_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getEndTime()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getEndTime()); } - if (state_ != com.google.cloud.workflows.executions.v1beta.Execution.State.STATE_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, state_); + if (state_ + != com.google.cloud.workflows.executions.v1beta.Execution.State.STATE_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, state_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, argument_); @@ -1418,8 +1608,7 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, result_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(7, getError()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getError()); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, workflowRevisionId_); @@ -1432,37 +1621,31 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.workflows.executions.v1beta.Execution)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.Execution other = (com.google.cloud.workflows.executions.v1beta.Execution) obj; + com.google.cloud.workflows.executions.v1beta.Execution other = + (com.google.cloud.workflows.executions.v1beta.Execution) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (hasStartTime() != other.hasStartTime()) return false; if (hasStartTime()) { - if (!getStartTime() - .equals(other.getStartTime())) return false; + if (!getStartTime().equals(other.getStartTime())) return false; } if (hasEndTime() != other.hasEndTime()) return false; if (hasEndTime()) { - if (!getEndTime() - .equals(other.getEndTime())) return false; + if (!getEndTime().equals(other.getEndTime())) return false; } if (state_ != other.state_) return false; - if (!getArgument() - .equals(other.getArgument())) return false; - if (!getResult() - .equals(other.getResult())) return false; + if (!getArgument().equals(other.getArgument())) return false; + if (!getResult().equals(other.getResult())) return false; if (hasError() != other.hasError()) return false; if (hasError()) { - if (!getError() - .equals(other.getError())) return false; + if (!getError().equals(other.getError())) return false; } - if (!getWorkflowRevisionId() - .equals(other.getWorkflowRevisionId())) return false; + if (!getWorkflowRevisionId().equals(other.getWorkflowRevisionId())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -1502,131 +1685,136 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.Execution 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.workflows.executions.v1beta.Execution parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.Execution parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.Execution parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1beta.Execution parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.Execution parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.Execution prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1beta.Execution prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * A running instance of a [Workflow][google.cloud.workflows.v1beta.Workflow].
    * 
* * Protobuf type {@code google.cloud.workflows.executions.v1beta.Execution} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builder implements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.Execution) com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1beta_Execution_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_fieldAccessorTable + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1beta_Execution_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1beta.Execution.class, com.google.cloud.workflows.executions.v1beta.Execution.Builder.class); + com.google.cloud.workflows.executions.v1beta.Execution.class, + com.google.cloud.workflows.executions.v1beta.Execution.Builder.class); } // Construct using com.google.cloud.workflows.executions.v1beta.Execution.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1655,9 +1843,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_Execution_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1beta_Execution_descriptor; } @java.lang.Override @@ -1676,8 +1864,11 @@ public com.google.cloud.workflows.executions.v1beta.Execution build() { @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution buildPartial() { - com.google.cloud.workflows.executions.v1beta.Execution result = new com.google.cloud.workflows.executions.v1beta.Execution(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.cloud.workflows.executions.v1beta.Execution result = + new com.google.cloud.workflows.executions.v1beta.Execution(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } @@ -1688,14 +1879,10 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1beta.Executio result.name_ = name_; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.startTime_ = startTimeBuilder_ == null - ? startTime_ - : startTimeBuilder_.build(); + result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.endTime_ = endTimeBuilder_ == null - ? endTime_ - : endTimeBuilder_.build(); + result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.state_ = state_; @@ -1707,9 +1894,7 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1beta.Executio result.result_ = result_; } if (((from_bitField0_ & 0x00000040) != 0)) { - result.error_ = errorBuilder_ == null - ? error_ - : errorBuilder_.build(); + result.error_ = errorBuilder_ == null ? error_ : errorBuilder_.build(); } if (((from_bitField0_ & 0x00000080) != 0)) { result.workflowRevisionId_ = workflowRevisionId_; @@ -1720,38 +1905,39 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1beta.Executio public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.workflows.executions.v1beta.Execution) { - return mergeFrom((com.google.cloud.workflows.executions.v1beta.Execution)other); + return mergeFrom((com.google.cloud.workflows.executions.v1beta.Execution) other); } else { super.mergeFrom(other); return this; @@ -1759,7 +1945,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.Execution other) { - if (other == com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()) return this; + if (other == com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()) + return this; if (!other.getName().isEmpty()) { name_ = other.name_; bitField0_ |= 0x00000001; @@ -1818,58 +2005,61 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - name_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getStartTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getEndTimeFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - state_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - argument_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - result_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - input.readMessage( - getErrorFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - workflowRevisionId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + name_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getStartTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getEndTimeFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + state_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + argument_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + result_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + input.readMessage(getErrorFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + workflowRevisionId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + default: + { + if (!super.parseUnknownField(input, extensionRegistry, tag)) { + done = true; // was an endgroup tag + } + break; + } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -1879,10 +2069,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1890,13 +2083,13 @@ public Builder mergeFrom(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; @@ -1905,6 +2098,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1912,15 +2107,14 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - public com.google.protobuf.ByteString - getNameBytes() { + public com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); name_ = b; return b; } else { @@ -1928,6 +2122,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1935,18 +2131,22 @@ public java.lang.String getName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The name to set. * @return This builder for chaining. */ - public Builder setName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1954,6 +2154,7 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { @@ -1963,6 +2164,8 @@ public Builder clearName() { return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1970,12 +2173,14 @@ public Builder clearName() {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -1985,24 +2190,35 @@ public Builder setNameBytes( private com.google.protobuf.Timestamp startTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + startTimeBuilder_; /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ public boolean hasStartTime() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2013,11 +2229,14 @@ public com.google.protobuf.Timestamp getStartTime() { } } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { @@ -2033,14 +2252,16 @@ public Builder setStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setStartTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { @@ -2051,17 +2272,20 @@ public Builder setStartTime( return this; } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - startTime_ != null && - startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && startTime_ != null + && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; @@ -2074,11 +2298,14 @@ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000002); @@ -2091,11 +2318,14 @@ public Builder clearStartTime() { return this; } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000002; @@ -2103,36 +2333,44 @@ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { return getStartTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { if (startTimeBuilder_ != null) { return startTimeBuilder_.getMessageOrBuilder(); } else { - return startTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; + return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } } /** + * + * *
      * Output only. Marks the beginning of execution.
      * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_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> getStartTimeFieldBuilder() { if (startTimeBuilder_ == null) { - startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getStartTime(), - getParentForChildren(), - isClean()); + startTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getStartTime(), getParentForChildren(), isClean()); startTime_ = null; } return startTimeBuilder_; @@ -2140,24 +2378,35 @@ public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() { private com.google.protobuf.Timestamp endTime_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_; + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder> + endTimeBuilder_; /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ public boolean hasEndTime() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2168,11 +2417,14 @@ public com.google.protobuf.Timestamp getEndTime() { } } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { @@ -2188,14 +2440,16 @@ public Builder setEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public Builder setEndTime( - com.google.protobuf.Timestamp.Builder builderForValue) { + public Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { @@ -2206,17 +2460,20 @@ public Builder setEndTime( return this; } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - endTime_ != null && - endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && endTime_ != null + && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; @@ -2229,11 +2486,14 @@ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { return this; } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000004); @@ -2246,11 +2506,14 @@ public Builder clearEndTime() { return this; } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000004; @@ -2258,36 +2521,44 @@ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { return getEndTimeFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { if (endTimeBuilder_ != null) { return endTimeBuilder_.getMessageOrBuilder(); } else { - return endTime_ == null ? - com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; + return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } } /** + * + * *
      * Output only. Marks the end of execution, successful or not.
      * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.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> getEndTimeFieldBuilder() { if (endTimeBuilder_ == null) { - endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>( - getEndTime(), - getParentForChildren(), - isClean()); + endTimeBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.protobuf.Timestamp, + com.google.protobuf.Timestamp.Builder, + com.google.protobuf.TimestampOrBuilder>( + getEndTime(), getParentForChildren(), isClean()); endTime_ = null; } return endTimeBuilder_; @@ -2295,22 +2566,33 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { private int state_ = 0; /** + * + * *
      * Output only. Current state of the execution.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @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. Current state of the execution.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The enum numeric value on the wire for state to set. * @return This builder for chaining. */ @@ -2321,24 +2603,37 @@ public Builder setStateValue(int value) { return this; } /** + * + * *
      * Output only. Current state of the execution.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.State getState() { - com.google.cloud.workflows.executions.v1beta.Execution.State result = com.google.cloud.workflows.executions.v1beta.Execution.State.forNumber(state_); - return result == null ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED : result; + com.google.cloud.workflows.executions.v1beta.Execution.State result = + com.google.cloud.workflows.executions.v1beta.Execution.State.forNumber(state_); + return result == null + ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED + : result; } /** + * + * *
      * Output only. Current state of the execution.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @param value The state to set. * @return This builder for chaining. */ @@ -2352,11 +2647,16 @@ public Builder setState(com.google.cloud.workflows.executions.v1beta.Execution.S return this; } /** + * + * *
      * Output only. Current state of the execution.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { @@ -2368,19 +2668,21 @@ public Builder clearState() { private java.lang.Object argument_ = ""; /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
      * 
* * string argument = 5; + * * @return The argument. */ public java.lang.String getArgument() { java.lang.Object ref = argument_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); argument_ = s; return s; @@ -2389,21 +2691,22 @@ public java.lang.String getArgument() { } } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
      * 
* * string argument = 5; + * * @return The bytes for argument. */ - public com.google.protobuf.ByteString - getArgumentBytes() { + public com.google.protobuf.ByteString getArgumentBytes() { java.lang.Object ref = argument_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); argument_ = b; return b; } else { @@ -2411,30 +2714,37 @@ public java.lang.String getArgument() { } } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
      * 
* * string argument = 5; + * * @param value The argument to set. * @return This builder for chaining. */ - public Builder setArgument( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArgument(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } argument_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
      * 
* * string argument = 5; + * * @return This builder for chaining. */ public Builder clearArgument() { @@ -2444,18 +2754,22 @@ public Builder clearArgument() { return this; } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
      * 
* * string argument = 5; + * * @param value The bytes for argument to set. * @return This builder for chaining. */ - public Builder setArgumentBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setArgumentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); argument_ = value; bitField0_ |= 0x00000010; @@ -2465,19 +2779,21 @@ public Builder setArgumentBytes( private java.lang.Object result_ = ""; /** + * + * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The result. */ public java.lang.String getResult() { java.lang.Object ref = result_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); result_ = s; return s; @@ -2486,21 +2802,22 @@ public java.lang.String getResult() { } } /** + * + * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for result. */ - public com.google.protobuf.ByteString - getResultBytes() { + public com.google.protobuf.ByteString getResultBytes() { java.lang.Object ref = result_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); result_ = b; return b; } else { @@ -2508,30 +2825,37 @@ public java.lang.String getResult() { } } /** + * + * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The result to set. * @return This builder for chaining. */ - public Builder setResult( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResult(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } result_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearResult() { @@ -2541,18 +2865,22 @@ public Builder clearResult() { return this; } /** + * + * *
      * Output only. Output of the execution represented as a JSON string. The
      * value can only be present if the execution's state is `SUCCEEDED`.
      * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for result to set. * @return This builder for chaining. */ - public Builder setResultBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setResultBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); result_ = value; bitField0_ |= 0x00000020; @@ -2562,45 +2890,64 @@ public Builder setResultBytes( private com.google.cloud.workflows.executions.v1beta.Execution.Error error_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution.Error, com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder, com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder> errorBuilder_; + com.google.cloud.workflows.executions.v1beta.Execution.Error, + com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder, + com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder> + errorBuilder_; /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the error field is set. */ public boolean hasError() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The error. */ public com.google.cloud.workflows.executions.v1beta.Execution.Error getError() { if (errorBuilder_ == null) { - return error_ == null ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() : error_; + return error_ == null + ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() + : error_; } else { return errorBuilder_.getMessage(); } } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setError(com.google.cloud.workflows.executions.v1beta.Execution.Error value) { if (errorBuilder_ == null) { @@ -2616,13 +2963,17 @@ public Builder setError(com.google.cloud.workflows.executions.v1beta.Execution.E return this; } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder setError( com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder builderForValue) { @@ -2636,19 +2987,25 @@ public Builder setError( return this; } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder mergeError(com.google.cloud.workflows.executions.v1beta.Execution.Error value) { if (errorBuilder_ == null) { - if (((bitField0_ & 0x00000040) != 0) && - error_ != null && - error_ != com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance()) { + if (((bitField0_ & 0x00000040) != 0) + && error_ != null + && error_ + != com.google.cloud.workflows.executions.v1beta.Execution.Error + .getDefaultInstance()) { getErrorBuilder().mergeFrom(value); } else { error_ = value; @@ -2661,13 +3018,17 @@ public Builder mergeError(com.google.cloud.workflows.executions.v1beta.Execution return this; } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public Builder clearError() { bitField0_ = (bitField0_ & ~0x00000040); @@ -2680,13 +3041,17 @@ public Builder clearError() { return this; } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ public com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder getErrorBuilder() { bitField0_ |= 0x00000040; @@ -2694,40 +3059,53 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder getE return getErrorFieldBuilder().getBuilder(); } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ - public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder getErrorOrBuilder() { + public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder + getErrorOrBuilder() { if (errorBuilder_ != null) { return errorBuilder_.getMessageOrBuilder(); } else { - return error_ == null ? - com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() : error_; + return error_ == null + ? com.google.cloud.workflows.executions.v1beta.Execution.Error.getDefaultInstance() + : error_; } } /** + * + * *
      * Output only. The error which caused the execution to finish prematurely.
      * The value is only present if the execution's state is `FAILED`
      * or `CANCELLED`.
      * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ private com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution.Error, com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder, com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder> + com.google.cloud.workflows.executions.v1beta.Execution.Error, + com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder, + com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder> getErrorFieldBuilder() { if (errorBuilder_ == null) { - errorBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution.Error, com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder, com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder>( - getError(), - getParentForChildren(), - isClean()); + errorBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.cloud.workflows.executions.v1beta.Execution.Error, + com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder, + com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder>( + getError(), getParentForChildren(), isClean()); error_ = null; } return errorBuilder_; @@ -2735,18 +3113,20 @@ public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder get private java.lang.Object workflowRevisionId_ = ""; /** + * + * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The workflowRevisionId. */ public java.lang.String getWorkflowRevisionId() { java.lang.Object ref = workflowRevisionId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); workflowRevisionId_ = s; return s; @@ -2755,20 +3135,21 @@ public java.lang.String getWorkflowRevisionId() { } } /** + * + * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for workflowRevisionId. */ - public com.google.protobuf.ByteString - getWorkflowRevisionIdBytes() { + public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { java.lang.Object ref = workflowRevisionId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); workflowRevisionId_ = b; return b; } else { @@ -2776,28 +3157,35 @@ public java.lang.String getWorkflowRevisionId() { } } /** + * + * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The workflowRevisionId to set. * @return This builder for chaining. */ - public Builder setWorkflowRevisionId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkflowRevisionId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } workflowRevisionId_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearWorkflowRevisionId() { @@ -2807,26 +3195,30 @@ public Builder clearWorkflowRevisionId() { return this; } /** + * + * *
      * Output only. Revision of the workflow this execution is using.
      * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @param value The bytes for workflowRevisionId to set. * @return This builder for chaining. */ - public Builder setWorkflowRevisionIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); workflowRevisionId_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2836,12 +3228,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.Execution) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.Execution) private static final com.google.cloud.workflows.executions.v1beta.Execution DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.Execution(); } @@ -2850,27 +3242,27 @@ public static com.google.cloud.workflows.executions.v1beta.Execution getDefaultI return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public Execution parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public Execution parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2885,6 +3277,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1beta.Execution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java similarity index 71% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java index cbf20e318fa0..5415f4729861 100644 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; -public interface ExecutionOrBuilder extends +public interface ExecutionOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.Execution) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -15,10 +33,13 @@ public interface ExecutionOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ java.lang.String getName(); /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -26,178 +47,239 @@ public interface ExecutionOrBuilder extends
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for name. */ - com.google.protobuf.ByteString - getNameBytes(); + com.google.protobuf.ByteString getNameBytes(); /** + * + * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the startTime field is set. */ boolean hasStartTime(); /** + * + * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The startTime. */ com.google.protobuf.Timestamp getStartTime(); /** + * + * *
    * Output only. Marks the beginning of execution.
    * 
* - * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder(); /** + * + * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the endTime field is set. */ boolean hasEndTime(); /** + * + * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The endTime. */ com.google.protobuf.Timestamp getEndTime(); /** + * + * *
    * Output only. Marks the end of execution, successful or not.
    * 
* - * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder(); /** + * + * *
    * Output only. Current state of the execution.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The enum numeric value on the wire for state. */ int getStateValue(); /** + * + * *
    * Output only. Current state of the execution.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The state. */ com.google.cloud.workflows.executions.v1beta.Execution.State getState(); /** + * + * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
    * 
* * string argument = 5; + * * @return The argument. */ java.lang.String getArgument(); /** + * + * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
    * 
* * string argument = 5; + * * @return The bytes for argument. */ - com.google.protobuf.ByteString - getArgumentBytes(); + com.google.protobuf.ByteString getArgumentBytes(); /** + * + * *
    * Output only. Output of the execution represented as a JSON string. The
    * value can only be present if the execution's state is `SUCCEEDED`.
    * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The result. */ java.lang.String getResult(); /** + * + * *
    * Output only. Output of the execution represented as a JSON string. The
    * value can only be present if the execution's state is `SUCCEEDED`.
    * 
* * string result = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for result. */ - com.google.protobuf.ByteString - getResultBytes(); + com.google.protobuf.ByteString getResultBytes(); /** + * + * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return Whether the error field is set. */ boolean hasError(); /** + * + * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return The error. */ com.google.cloud.workflows.executions.v1beta.Execution.Error getError(); /** + * + * *
    * Output only. The error which caused the execution to finish prematurely.
    * The value is only present if the execution's state is `FAILED`
    * or `CANCELLED`.
    * 
* - * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * .google.cloud.workflows.executions.v1beta.Execution.Error error = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * */ com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder getErrorOrBuilder(); /** + * + * *
    * Output only. Revision of the workflow this execution is using.
    * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The workflowRevisionId. */ java.lang.String getWorkflowRevisionId(); /** + * + * *
    * Output only. Revision of the workflow this execution is using.
    * 
* * string workflow_revision_id = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The bytes for workflowRevisionId. */ - com.google.protobuf.ByteString - getWorkflowRevisionIdBytes(); + com.google.protobuf.ByteString getWorkflowRevisionIdBytes(); } diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java similarity index 67% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java index a64347385c88..edbb22998b7d 100644 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java @@ -1,18 +1,36 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** + * + * *
  * Defines possible views for execution resource.
  * 
* * Protobuf enum {@code google.cloud.workflows.executions.v1beta.ExecutionView} */ -public enum ExecutionView - implements com.google.protobuf.ProtocolMessageEnum { +public enum ExecutionView implements com.google.protobuf.ProtocolMessageEnum { /** + * + * *
    * The default / unset value.
    * 
@@ -21,6 +39,8 @@ public enum ExecutionView */ EXECUTION_VIEW_UNSPECIFIED(0), /** + * + * *
    * Includes only basic metadata about the execution.
    * Following fields are returned: name, start_time, end_time, state
@@ -31,6 +51,8 @@ public enum ExecutionView
    */
   BASIC(1),
   /**
+   *
+   *
    * 
    * Includes all data.
    * 
@@ -42,6 +64,8 @@ public enum ExecutionView ; /** + * + * *
    * The default / unset value.
    * 
@@ -50,6 +74,8 @@ public enum ExecutionView */ public static final int EXECUTION_VIEW_UNSPECIFIED_VALUE = 0; /** + * + * *
    * Includes only basic metadata about the execution.
    * Following fields are returned: name, start_time, end_time, state
@@ -60,6 +86,8 @@ public enum ExecutionView
    */
   public static final int BASIC_VALUE = 1;
   /**
+   *
+   *
    * 
    * Includes all data.
    * 
@@ -68,7 +96,6 @@ public enum ExecutionView */ public static final int FULL_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -93,49 +120,51 @@ public static ExecutionView valueOf(int value) { */ public static ExecutionView forNumber(int value) { switch (value) { - case 0: return EXECUTION_VIEW_UNSPECIFIED; - case 1: return BASIC; - case 2: return FULL; - default: return null; + case 0: + return EXECUTION_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< - ExecutionView> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public ExecutionView findValueByNumber(int number) { - return ExecutionView.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 ExecutionView findValueByNumber(int number) { + return ExecutionView.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() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.getDescriptor() + .getEnumTypes() + .get(0); } private static final ExecutionView[] VALUES = values(); - public static ExecutionView valueOf( - com.google.protobuf.Descriptors.EnumValueDescriptor desc) { + public static ExecutionView 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; @@ -151,4 +180,3 @@ private ExecutionView(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1beta.ExecutionView) } - diff --git a/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java new file mode 100644 index 000000000000..3450d699fc2d --- /dev/null +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java @@ -0,0 +1,238 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/workflows/executions/v1beta/executions.proto + +package com.google.cloud.workflows.executions.v1beta; + +public final class ExecutionsProto { + private ExecutionsProto() {} + + 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_workflows_executions_v1beta_Execution_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_Execution_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_fieldAccessorTable; + static final com.google.protobuf.Descriptors.Descriptor + internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor; + static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable + internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_fieldAccessorTable; + + public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + return descriptor; + } + + private static com.google.protobuf.Descriptors.FileDescriptor descriptor; + + static { + java.lang.String[] descriptorData = { + "\n9google/cloud/workflows/executions/v1be" + + "ta/executions.proto\022(google.cloud.workfl" + + "ows.executions.v1beta\032\034google/api/annota" + + "tions.proto\032\027google/api/client.proto\032\037go" + + "ogle/api/field_behavior.proto\032\031google/ap" + + "i/resource.proto\032\037google/protobuf/timest" + + "amp.proto\"\377\004\n\tExecution\022\022\n\004name\030\001 \001(\tB\004\342" + + "A\001\003\0224\n\nstart_time\030\002 \001(\0132\032.google.protobu" + + "f.TimestampB\004\342A\001\003\0222\n\010end_time\030\003 \001(\0132\032.go" + + "ogle.protobuf.TimestampB\004\342A\001\003\022N\n\005state\030\004" + + " \001(\01629.google.cloud.workflows.executions" + + ".v1beta.Execution.StateB\004\342A\001\003\022\020\n\010argumen" + + "t\030\005 \001(\t\022\024\n\006result\030\006 \001(\tB\004\342A\001\003\022N\n\005error\030\007" + + " \001(\01329.google.cloud.workflows.executions" + + ".v1beta.Execution.ErrorB\004\342A\001\003\022\"\n\024workflo" + + "w_revision_id\030\010 \001(\tB\004\342A\001\003\032)\n\005Error\022\017\n\007pa" + + "yload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\"T\n\005State\022\025\n" + + "\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tSUCC" + + "EEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202" + + "\001\n+workflowexecutions.googleapis.com/Exe" + + "cution\022Sprojects/{project}/locations/{lo" + + "cation}/workflows/{workflow}/executions/" + + "{execution}\"\307\001\n\025ListExecutionsRequest\022:\n" + + "\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!workflows.google" + + "apis.com/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" + + "page_token\030\003 \001(\t\022K\n\004view\030\004 \001(\01627.google." + + "cloud.workflows.executions.v1beta.Execut" + + "ionViewB\004\342A\001\001\"z\n\026ListExecutionsResponse\022" + + "G\n\nexecutions\030\001 \003(\01323.google.cloud.workf" + + "lows.executions.v1beta.Execution\022\027\n\017next" + + "_page_token\030\002 \001(\t\"\242\001\n\026CreateExecutionReq" + + "uest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!workflows" + + ".googleapis.com/Workflow\022L\n\texecution\030\002 " + + "\001(\01323.google.cloud.workflows.executions." + + "v1beta.ExecutionB\004\342A\001\002\"\246\001\n\023GetExecutionR" + + "equest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+workflowe" + + "xecutions.googleapis.com/Execution\022K\n\004vi" + + "ew\030\002 \001(\01627.google.cloud.workflows.execut" + + "ions.v1beta.ExecutionViewB\004\342A\001\001\"\\\n\026Cance" + + "lExecutionRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-" + + "\n+workflowexecutions.googleapis.com/Exec" + + "ution*D\n\rExecutionView\022\036\n\032EXECUTION_VIEW" + + "_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\n" + + "Executions\022\344\001\n\016ListExecutions\022?.google.c" + + "loud.workflows.executions.v1beta.ListExe" + + "cutionsRequest\032@.google.cloud.workflows." + + "executions.v1beta.ListExecutionsResponse" + + "\"O\332A\006parent\202\323\344\223\002@\022>/v1beta/{parent=proje" + + "cts/*/locations/*/workflows/*}/execution" + + "s\022\356\001\n\017CreateExecution\022@.google.cloud.wor" + + "kflows.executions.v1beta.CreateExecution" + + "Request\0323.google.cloud.workflows.executi" + + "ons.v1beta.Execution\"d\332A\020parent,executio" + + "n\202\323\344\223\002K\">/v1beta/{parent=projects/*/loca" + + "tions/*/workflows/*}/executions:\texecuti" + + "on\022\321\001\n\014GetExecution\022=.google.cloud.workf" + + "lows.executions.v1beta.GetExecutionReque" + + "st\0323.google.cloud.workflows.executions.v" + + "1beta.Execution\"M\332A\004name\202\323\344\223\002@\022>/v1beta/" + + "{name=projects/*/locations/*/workflows/*" + + "/executions/*}\022\341\001\n\017CancelExecution\022@.goo" + + "gle.cloud.workflows.executions.v1beta.Ca" + + "ncelExecutionRequest\0323.google.cloud.work" + + "flows.executions.v1beta.Execution\"W\332A\004na" + + "me\202\323\344\223\002J\"E/v1beta/{name=projects/*/locat" + + "ions/*/workflows/*/executions/*}:cancel:" + + "\001*\032U\312A!workflowexecutions.googleapis.com" + + "\322A.https://www.googleapis.com/auth/cloud" + + "-platformB\363\001\n,com.google.cloud.workflows" + + ".executions.v1betaB\017ExecutionsProtoP\001ZLc" + + "loud.google.com/go/workflows/executions/" + + "apiv1beta/executionspb;executionspb\352Aa\n!" + + "workflows.googleapis.com/Workflow\022 * Request for the * [GetExecution][google.cloud.workflows.executions.v1beta.Executions.GetExecution] @@ -12,15 +29,16 @@ * * Protobuf type {@code google.cloud.workflows.executions.v1beta.GetExecutionRequest} */ -public final class GetExecutionRequest extends - com.google.protobuf.GeneratedMessageV3 implements +public final class GetExecutionRequest extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.GetExecutionRequest) GetExecutionRequestOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use GetExecutionRequest.newBuilder() to construct. private GetExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } + private GetExecutionRequest() { name_ = ""; view_ = 0; @@ -28,35 +46,42 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetExecutionRequest(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_fieldAccessorTable + return com.google.cloud.workflows.executions.v1beta.ExecutionsProto + .internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.class, com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.Builder.class); + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.class, + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.Builder.class); } public static final int NAME_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object name_ = ""; /** + * + * *
    * Required. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * string name = 1 [(.google.api.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 @@ -65,31 +90,33 @@ public java.lang.String getName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); name_ = s; return s; } } /** + * + * *
    * Required. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * string name = 1 [(.google.api.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 { @@ -100,32 +127,48 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int view_ = 0; /** + * + * *
    * Optional. A view defining which fields should be filled in the returned execution.
    * The API will default to the FULL view.
    * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. A view defining which fields should be filled in the returned execution.
    * The API will default to the FULL view.
    * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); - return result == null ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { + com.google.cloud.workflows.executions.v1beta.ExecutionView result = + com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); + return result == null + ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -137,12 +180,13 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } - if (view_ != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(2, view_); } getUnknownFields().writeTo(output); @@ -157,9 +201,10 @@ public int getSerializedSize() { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } - if (view_ != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, view_); + if (view_ + != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -169,15 +214,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.workflows.executions.v1beta.GetExecutionRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest other = (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) obj; + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest other = + (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) obj; - if (!getName() - .equals(other.getName())) return false; + if (!getName().equals(other.getName())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -200,98 +245,104 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest 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.workflows.executions.v1beta.GetExecutionRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1beta.GetExecutionRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the
    * [GetExecution][google.cloud.workflows.executions.v1beta.Executions.GetExecution]
@@ -300,33 +351,32 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1beta.GetExecutionRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.GetExecutionRequest)
       com.google.cloud.workflows.executions.v1beta.GetExecutionRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.class, com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.class,
+              com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.Builder.class);
     }
 
     // Construct using com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.newBuilder()
-    private Builder() {
-
-    }
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -337,13 +387,14 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest getDefaultInstanceForType() {
+    public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest
+        getDefaultInstanceForType() {
       return com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.getDefaultInstance();
     }
 
@@ -358,13 +409,17 @@ public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest build()
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.GetExecutionRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1beta.GetExecutionRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result) {
+    private void buildPartial0(
+        com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.name_ = name_;
@@ -378,46 +433,50 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1beta.GetExecu
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1beta.GetExecutionRequest)other);
+        return mergeFrom((com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest other) {
-      if (other == com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.workflows.executions.v1beta.GetExecutionRequest other) {
+      if (other
+          == com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.getDefaultInstance())
+        return this;
       if (!other.getName().isEmpty()) {
         name_ = other.name_;
         bitField0_ |= 0x00000001;
@@ -452,22 +511,25 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              name_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              view_ = input.readEnum();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                name_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                view_ = input.readEnum();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -477,24 +539,29 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.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; @@ -503,22 +570,25 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.google.api.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 { @@ -526,32 +596,43 @@ public java.lang.String getName() { } } /** + * + * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } name_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string 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() { @@ -561,19 +642,25 @@ public Builder clearName() { return this; } /** + * + * *
      * Required. Name of the execution to be retrieved.
      * Format:
      * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
      * 
* - * string name = 1 [(.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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); name_ = value; bitField0_ |= 0x00000001; @@ -583,24 +670,35 @@ public Builder setNameBytes( private int view_ = 0; /** + * + * *
      * Optional. A view defining which fields should be filled in the returned execution.
      * The API will default to the FULL view.
      * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned execution.
      * The API will default to the FULL view.
      * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -611,26 +709,39 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned execution.
      * The API will default to the FULL view.
      * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); - return result == null ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED : result; + com.google.cloud.workflows.executions.v1beta.ExecutionView result = + com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); + return result == null + ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned execution.
      * The API will default to the FULL view.
      * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -644,12 +755,17 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie return this; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned execution.
      * The API will default to the FULL view.
      * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { @@ -658,9 +774,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -670,41 +786,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.GetExecutionRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.GetExecutionRequest) - private static final com.google.cloud.workflows.executions.v1beta.GetExecutionRequest DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1beta.GetExecutionRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.GetExecutionRequest(); } - public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1beta.GetExecutionRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public GetExecutionRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public GetExecutionRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -716,9 +834,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java similarity index 50% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java index 02246254fe5e..1a7e902f4010 100644 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java @@ -1,53 +1,88 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; -public interface GetExecutionRequestOrBuilder extends +public interface GetExecutionRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.GetExecutionRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * string name = 1 [(.google.api.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. Name of the execution to be retrieved.
    * Format:
    * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
    * 
* - * string name = 1 [(.google.api.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. A view defining which fields should be filled in the returned execution.
    * The API will default to the FULL view.
    * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Optional. A view defining which fields should be filled in the returned execution.
    * The API will default to the FULL view.
    * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 2 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ com.google.cloud.workflows.executions.v1beta.ExecutionView getView(); diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java similarity index 65% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java index 88ea31f981dc..f80a3b52c464 100644 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** + * + * *
  * Request for the
  * [ListExecutions][google.cloud.workflows.executions.v1beta.Executions.ListExecutions]
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1beta.ListExecutionsRequest}
  */
-public final class ListExecutionsRequest extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListExecutionsRequest extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.ListExecutionsRequest)
     ListExecutionsRequestOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListExecutionsRequest.newBuilder() to construct.
   private ListExecutionsRequest(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListExecutionsRequest() {
     parent_ = "";
     pageToken_ = "";
@@ -29,34 +47,41 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.class, com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.Builder.class);
+            com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.class,
+            com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.Builder.class);
   }
 
   public static final int PARENT_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private volatile java.lang.Object parent_ = "";
   /**
+   *
+   *
    * 
    * Required. Name of the workflow for which the executions should be listed.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * 
* - * string parent = 1 [(.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 @@ -65,30 +90,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. Name of the workflow for which the executions should be listed.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * 
* - * string parent = 1 [(.google.api.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 { @@ -99,6 +126,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_ = 0; /** + * + * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -108,6 +137,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -116,9 +146,12 @@ public int getPageSize() { } public static final int PAGE_TOKEN_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object pageToken_ = ""; /** + * + * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -128,6 +161,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -136,14 +170,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 page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -153,16 +188,15 @@ public java.lang.String getPageToken() {
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ @java.lang.Override - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -173,32 +207,48 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int view_ = 0; /** + * + * *
    * Optional. A view defining which fields should be filled in the returned executions.
    * The API will default to the BASIC view.
    * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
    * Optional. A view defining which fields should be filled in the returned executions.
    * The API will default to the BASIC view.
    * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ - @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); - return result == null ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED : result; + @java.lang.Override + public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { + com.google.cloud.workflows.executions.v1beta.ExecutionView result = + com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); + return result == null + ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -210,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(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -221,7 +270,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, pageToken_); } - if (view_ != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { + if (view_ + != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED + .getNumber()) { output.writeEnum(4, view_); } getUnknownFields().writeTo(output); @@ -237,15 +288,15 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream - .computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(pageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, pageToken_); } - if (view_ != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, view_); + if (view_ + != com.google.cloud.workflows.executions.v1beta.ExecutionView.EXECUTION_VIEW_UNSPECIFIED + .getNumber()) { + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, view_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -255,19 +306,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.workflows.executions.v1beta.ListExecutionsRequest)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest other = (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) obj; + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest other = + (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) obj; - if (!getParent() - .equals(other.getParent())) return false; - if (getPageSize() - != other.getPageSize()) return false; - if (!getPageToken() - .equals(other.getPageToken())) return false; + if (!getParent().equals(other.getParent())) return false; + if (getPageSize() != other.getPageSize()) return false; + if (!getPageToken().equals(other.getPageToken())) return false; if (view_ != other.view_) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -294,98 +343,105 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest 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.workflows.executions.v1beta.ListExecutionsRequest parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Request for the
    * [ListExecutions][google.cloud.workflows.executions.v1beta.Executions.ListExecutions]
@@ -394,33 +450,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1beta.ListExecutionsRequest}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.ListExecutionsRequest)
       com.google.cloud.workflows.executions.v1beta.ListExecutionsRequestOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.class, com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.Builder.class);
+              com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.class,
+              com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.Builder.class);
     }
 
-    // Construct using com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.newBuilder()
-    private Builder() {
-
-    }
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.newBuilder()
+    private Builder() {}
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -433,14 +489,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest getDefaultInstanceForType() {
-      return com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.getDefaultInstance();
+    public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest
+        getDefaultInstanceForType() {
+      return com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -454,13 +512,17 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest build(
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest buildPartial() {
-      com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result = new com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest(this);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result =
+          new com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest(this);
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartial0(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result) {
+    private void buildPartial0(
+        com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000001) != 0)) {
         result.parent_ = parent_;
@@ -480,46 +542,51 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1beta.ListExec
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest)other);
+        return mergeFrom(
+            (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest other) {
-      if (other == com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest other) {
+      if (other
+          == com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest
+              .getDefaultInstance()) return this;
       if (!other.getParent().isEmpty()) {
         parent_ = other.parent_;
         bitField0_ |= 0x00000001;
@@ -562,32 +629,37 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              parent_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000001;
-              break;
-            } // case 10
-            case 16: {
-              pageSize_ = input.readInt32();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 16
-            case 26: {
-              pageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000004;
-              break;
-            } // case 26
-            case 32: {
-              view_ = input.readEnum();
-              bitField0_ |= 0x00000008;
-              break;
-            } // case 32
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                parent_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000001;
+                break;
+              } // case 10
+            case 16:
+              {
+                pageSize_ = input.readInt32();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 16
+            case 26:
+              {
+                pageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000004;
+                break;
+              } // case 26
+            case 32:
+              {
+                view_ = input.readEnum();
+                bitField0_ |= 0x00000008;
+                break;
+              } // case 32
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -597,23 +669,28 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.lang.Object parent_ = "";
     /**
+     *
+     *
      * 
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * string parent = 1 [(.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; @@ -622,21 +699,24 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * string parent = 1 [(.google.api.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 { @@ -644,30 +724,41 @@ public java.lang.String getParent() { } } /** + * + * *
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParent(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } parent_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * *
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * string 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() { @@ -677,18 +768,24 @@ public Builder clearParent() { return this; } /** + * + * *
      * Required. Name of the workflow for which the executions should be listed.
      * Format: projects/{project}/locations/{location}/workflows/{workflow}
      * 
* - * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setParentBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); parent_ = value; bitField0_ |= 0x00000001; @@ -696,8 +793,10 @@ public Builder setParentBytes( return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -707,6 +806,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -714,6 +814,8 @@ public int getPageSize() { return pageSize_; } /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -723,6 +825,7 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ @@ -734,6 +837,8 @@ public Builder setPageSize(int value) { return this; } /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -743,6 +848,7 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { @@ -754,6 +860,8 @@ public Builder clearPageSize() { private java.lang.Object pageToken_ = ""; /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -763,13 +871,13 @@ public Builder clearPageSize() {
      * 
* * string page_token = 3; + * * @return The pageToken. */ public java.lang.String getPageToken() { java.lang.Object ref = pageToken_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); pageToken_ = s; return s; @@ -778,6 +886,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -787,15 +897,14 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - public com.google.protobuf.ByteString - getPageTokenBytes() { + public com.google.protobuf.ByteString getPageTokenBytes() { java.lang.Object ref = pageToken_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); pageToken_ = b; return b; } else { @@ -803,6 +912,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -812,18 +923,22 @@ public java.lang.String getPageToken() {
      * 
* * string page_token = 3; + * * @param value The pageToken to set. * @return This builder for chaining. */ - public Builder setPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } pageToken_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -833,6 +948,7 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { @@ -842,6 +958,8 @@ public Builder clearPageToken() { return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -851,12 +969,14 @@ public Builder clearPageToken() {
      * 
* * string page_token = 3; + * * @param value The bytes for pageToken to set. * @return This builder for chaining. */ - public Builder setPageTokenBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); pageToken_ = value; bitField0_ |= 0x00000004; @@ -866,24 +986,35 @@ public Builder setPageTokenBytes( private int view_ = 0; /** + * + * *
      * Optional. A view defining which fields should be filled in the returned executions.
      * The API will default to the BASIC view.
      * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ - @java.lang.Override public int getViewValue() { + @java.lang.Override + public int getViewValue() { return view_; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned executions.
      * The API will default to the BASIC view.
      * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The enum numeric value on the wire for view to set. * @return This builder for chaining. */ @@ -894,26 +1025,39 @@ public Builder setViewValue(int value) { return this; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned executions.
      * The API will default to the BASIC view.
      * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); - return result == null ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED : result; + com.google.cloud.workflows.executions.v1beta.ExecutionView result = + com.google.cloud.workflows.executions.v1beta.ExecutionView.forNumber(view_); + return result == null + ? com.google.cloud.workflows.executions.v1beta.ExecutionView.UNRECOGNIZED + : result; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned executions.
      * The API will default to the BASIC view.
      * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @param value The view to set. * @return This builder for chaining. */ @@ -927,12 +1071,17 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie return this; } /** + * + * *
      * Optional. A view defining which fields should be filled in the returned executions.
      * The API will default to the BASIC view.
      * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { @@ -941,9 +1090,9 @@ public Builder clearView() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -953,41 +1102,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.ListExecutionsRequest) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.ListExecutionsRequest) - private static final com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest(); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListExecutionsRequest parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListExecutionsRequest parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -999,9 +1150,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java index f135cef4a047..f24ebbb5f093 100644 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; -public interface ListExecutionsRequestOrBuilder extends +public interface ListExecutionsRequestOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.ListExecutionsRequest) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * Required. Name of the workflow for which the executions should be listed.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * 
* - * string parent = 1 [(.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. Name of the workflow for which the executions should be listed.
    * Format: projects/{project}/locations/{location}/workflows/{workflow}
    * 
* - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } + * + * * @return The bytes for parent. */ - com.google.protobuf.ByteString - getParentBytes(); + com.google.protobuf.ByteString getParentBytes(); /** + * + * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -39,11 +66,14 @@ public interface ListExecutionsRequestOrBuilder extends
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ int getPageSize(); /** + * + * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -53,10 +83,13 @@ public interface ListExecutionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The pageToken. */ java.lang.String getPageToken(); /** + * + * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -66,28 +99,38 @@ public interface ListExecutionsRequestOrBuilder extends
    * 
* * string page_token = 3; + * * @return The bytes for pageToken. */ - com.google.protobuf.ByteString - getPageTokenBytes(); + com.google.protobuf.ByteString getPageTokenBytes(); /** + * + * *
    * Optional. A view defining which fields should be filled in the returned executions.
    * The API will default to the BASIC view.
    * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The enum numeric value on the wire for view. */ int getViewValue(); /** + * + * *
    * Optional. A view defining which fields should be filled in the returned executions.
    * The API will default to the BASIC view.
    * 
* - * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * .google.cloud.workflows.executions.v1beta.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return The view. */ com.google.cloud.workflows.executions.v1beta.ExecutionView getView(); diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java similarity index 70% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java index 92365635a1fa..6914bd5be8b0 100644 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** + * + * *
  * Response for the
  * [ListExecutions][google.cloud.workflows.executions.v1beta.Executions.ListExecutions]
@@ -12,15 +29,16 @@
  *
  * Protobuf type {@code google.cloud.workflows.executions.v1beta.ListExecutionsResponse}
  */
-public final class ListExecutionsResponse extends
-    com.google.protobuf.GeneratedMessageV3 implements
+public final class ListExecutionsResponse extends com.google.protobuf.GeneratedMessageV3
+    implements
     // @@protoc_insertion_point(message_implements:google.cloud.workflows.executions.v1beta.ListExecutionsResponse)
     ListExecutionsResponseOrBuilder {
-private static final long serialVersionUID = 0L;
+  private static final long serialVersionUID = 0L;
   // Use ListExecutionsResponse.newBuilder() to construct.
   private ListExecutionsResponse(com.google.protobuf.GeneratedMessageV3.Builder builder) {
     super(builder);
   }
+
   private ListExecutionsResponse() {
     executions_ = java.util.Collections.emptyList();
     nextPageToken_ = "";
@@ -28,28 +46,32 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
-  public static final com.google.protobuf.Descriptors.Descriptor
-      getDescriptor() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor;
+  public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor;
   }
 
   @java.lang.Override
   protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
       internalGetFieldAccessorTable() {
-    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_fieldAccessorTable
+    return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+        .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_fieldAccessorTable
         .ensureFieldAccessorsInitialized(
-            com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.class, com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.Builder.class);
+            com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.class,
+            com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.Builder.class);
   }
 
   public static final int EXECUTIONS_FIELD_NUMBER = 1;
+
   @SuppressWarnings("serial")
   private java.util.List executions_;
   /**
+   *
+   *
    * 
    * The executions which match the request.
    * 
@@ -57,10 +79,13 @@ protected java.lang.Object newInstance( * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ @java.lang.Override - public java.util.List getExecutionsList() { + public java.util.List + getExecutionsList() { return executions_; } /** + * + * *
    * The executions which match the request.
    * 
@@ -68,11 +93,13 @@ public java.util.List ge * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ @java.lang.Override - public java.util.List + public java.util.List getExecutionsOrBuilderList() { return executions_; } /** + * + * *
    * The executions which match the request.
    * 
@@ -84,6 +111,8 @@ public int getExecutionsCount() { return executions_.size(); } /** + * + * *
    * The executions which match the request.
    * 
@@ -95,6 +124,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int return executions_.get(index); } /** + * + * *
    * The executions which match the request.
    * 
@@ -108,15 +139,19 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object nextPageToken_ = ""; /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ @java.lang.Override @@ -125,30 +160,30 @@ public java.lang.String getNextPageToken() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); nextPageToken_ = s; return s; } } /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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 { @@ -157,6 +192,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -168,8 +204,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < executions_.size(); i++) { output.writeMessage(1, executions_.get(i)); } @@ -186,8 +221,7 @@ public int getSerializedSize() { size = 0; for (int i = 0; i < executions_.size(); i++) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, executions_.get(i)); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, executions_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); @@ -200,17 +234,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.workflows.executions.v1beta.ListExecutionsResponse)) { return super.equals(obj); } - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse other = (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) obj; + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse other = + (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) obj; - if (!getExecutionsList() - .equals(other.getExecutionsList())) return false; - if (!getNextPageToken() - .equals(other.getNextPageToken())) return false; + if (!getExecutionsList().equals(other.getExecutionsList())) return false; + if (!getNextPageToken().equals(other.getNextPageToken())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -234,98 +267,105 @@ public int hashCode() { } public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse 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.workflows.executions.v1beta.ListExecutionsResponse parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse + parseDelimitedFrom( + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse prototype) { + + public static Builder newBuilder( + com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * *
    * Response for the
    * [ListExecutions][google.cloud.workflows.executions.v1beta.Executions.ListExecutions]
@@ -334,33 +374,33 @@ protected Builder newBuilderForType(
    *
    * Protobuf type {@code google.cloud.workflows.executions.v1beta.ListExecutionsResponse}
    */
-  public static final class Builder extends
-      com.google.protobuf.GeneratedMessageV3.Builder implements
+  public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder
+      implements
       // @@protoc_insertion_point(builder_implements:google.cloud.workflows.executions.v1beta.ListExecutionsResponse)
       com.google.cloud.workflows.executions.v1beta.ListExecutionsResponseOrBuilder {
-    public static final com.google.protobuf.Descriptors.Descriptor
-        getDescriptor() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor;
+    public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor;
     }
 
     @java.lang.Override
     protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
         internalGetFieldAccessorTable() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_fieldAccessorTable
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_fieldAccessorTable
           .ensureFieldAccessorsInitialized(
-              com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.class, com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.Builder.class);
+              com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.class,
+              com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.Builder.class);
     }
 
-    // Construct using com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.newBuilder()
-    private Builder() {
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.newBuilder()
+    private Builder() {}
 
-    }
-
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
-
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -377,14 +417,16 @@ public Builder clear() {
     }
 
     @java.lang.Override
-    public com.google.protobuf.Descriptors.Descriptor
-        getDescriptorForType() {
-      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor;
+    public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+      return com.google.cloud.workflows.executions.v1beta.ExecutionsProto
+          .internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor;
     }
 
     @java.lang.Override
-    public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse getDefaultInstanceForType() {
-      return com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.getDefaultInstance();
+    public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse
+        getDefaultInstanceForType() {
+      return com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse
+          .getDefaultInstance();
     }
 
     @java.lang.Override
@@ -398,14 +440,18 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse build
 
     @java.lang.Override
     public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse buildPartial() {
-      com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse result = new com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse(this);
+      com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse result =
+          new com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse(this);
       buildPartialRepeatedFields(result);
-      if (bitField0_ != 0) { buildPartial0(result); }
+      if (bitField0_ != 0) {
+        buildPartial0(result);
+      }
       onBuilt();
       return result;
     }
 
-    private void buildPartialRepeatedFields(com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse result) {
+    private void buildPartialRepeatedFields(
+        com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse result) {
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
           executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -417,7 +463,8 @@ private void buildPartialRepeatedFields(com.google.cloud.workflows.executions.v1
       }
     }
 
-    private void buildPartial0(com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse result) {
+    private void buildPartial0(
+        com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse result) {
       int from_bitField0_ = bitField0_;
       if (((from_bitField0_ & 0x00000002) != 0)) {
         result.nextPageToken_ = nextPageToken_;
@@ -428,46 +475,51 @@ private void buildPartial0(com.google.cloud.workflows.executions.v1beta.ListExec
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) {
-        return mergeFrom((com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse)other);
+        return mergeFrom(
+            (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) other);
       } else {
         super.mergeFrom(other);
         return this;
       }
     }
 
-    public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse other) {
-      if (other == com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.getDefaultInstance()) return this;
+    public Builder mergeFrom(
+        com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse other) {
+      if (other
+          == com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse
+              .getDefaultInstance()) return this;
       if (executionsBuilder_ == null) {
         if (!other.executions_.isEmpty()) {
           if (executions_.isEmpty()) {
@@ -486,9 +538,10 @@ public Builder mergeFrom(com.google.cloud.workflows.executions.v1beta.ListExecut
             executionsBuilder_ = null;
             executions_ = other.executions_;
             bitField0_ = (bitField0_ & ~0x00000001);
-            executionsBuilder_ = 
-              com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
-                 getExecutionsFieldBuilder() : null;
+            executionsBuilder_ =
+                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
+                    ? getExecutionsFieldBuilder()
+                    : null;
           } else {
             executionsBuilder_.addAllMessages(other.executions_);
           }
@@ -525,30 +578,33 @@ public Builder mergeFrom(
             case 0:
               done = true;
               break;
-            case 10: {
-              com.google.cloud.workflows.executions.v1beta.Execution m =
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
-                      extensionRegistry);
-              if (executionsBuilder_ == null) {
-                ensureExecutionsIsMutable();
-                executions_.add(m);
-              } else {
-                executionsBuilder_.addMessage(m);
-              }
-              break;
-            } // case 10
-            case 18: {
-              nextPageToken_ = input.readStringRequireUtf8();
-              bitField0_ |= 0x00000002;
-              break;
-            } // case 18
-            default: {
-              if (!super.parseUnknownField(input, extensionRegistry, tag)) {
-                done = true; // was an endgroup tag
-              }
-              break;
-            } // default:
+            case 10:
+              {
+                com.google.cloud.workflows.executions.v1beta.Execution m =
+                    input.readMessage(
+                        com.google.cloud.workflows.executions.v1beta.Execution.parser(),
+                        extensionRegistry);
+                if (executionsBuilder_ == null) {
+                  ensureExecutionsIsMutable();
+                  executions_.add(m);
+                } else {
+                  executionsBuilder_.addMessage(m);
+                }
+                break;
+              } // case 10
+            case 18:
+              {
+                nextPageToken_ = input.readStringRequireUtf8();
+                bitField0_ |= 0x00000002;
+                break;
+              } // case 18
+            default:
+              {
+                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
+                  done = true; // was an endgroup tag
+                }
+                break;
+              } // default:
           } // switch (tag)
         } // while (!done)
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -558,28 +614,38 @@ public Builder mergeFrom(
       } // finally
       return this;
     }
+
     private int bitField0_;
 
     private java.util.List executions_ =
-      java.util.Collections.emptyList();
+        java.util.Collections.emptyList();
+
     private void ensureExecutionsIsMutable() {
       if (!((bitField0_ & 0x00000001) != 0)) {
-        executions_ = new java.util.ArrayList(executions_);
+        executions_ =
+            new java.util.ArrayList(
+                executions_);
         bitField0_ |= 0x00000001;
-       }
+      }
     }
 
     private com.google.protobuf.RepeatedFieldBuilderV3<
-        com.google.cloud.workflows.executions.v1beta.Execution, com.google.cloud.workflows.executions.v1beta.Execution.Builder, com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> executionsBuilder_;
+            com.google.cloud.workflows.executions.v1beta.Execution,
+            com.google.cloud.workflows.executions.v1beta.Execution.Builder,
+            com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder>
+        executionsBuilder_;
 
     /**
+     *
+     *
      * 
      * The executions which match the request.
      * 
* * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ - public java.util.List getExecutionsList() { + public java.util.List + getExecutionsList() { if (executionsBuilder_ == null) { return java.util.Collections.unmodifiableList(executions_); } else { @@ -587,6 +653,8 @@ public java.util.List ge } } /** + * + * *
      * The executions which match the request.
      * 
@@ -601,6 +669,8 @@ public int getExecutionsCount() { } } /** + * + * *
      * The executions which match the request.
      * 
@@ -615,6 +685,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int } } /** + * + * *
      * The executions which match the request.
      * 
@@ -636,6 +708,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -654,6 +728,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -674,6 +750,8 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1beta.Execut return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -695,6 +773,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -713,6 +793,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -731,6 +813,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -738,11 +822,11 @@ public Builder addExecutions( * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ public Builder addAllExecutions( - java.lang.Iterable values) { + java.lang.Iterable + values) { if (executionsBuilder_ == null) { ensureExecutionsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, executions_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, executions_); onChanged(); } else { executionsBuilder_.addAllMessages(values); @@ -750,6 +834,8 @@ public Builder addAllExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -767,6 +853,8 @@ public Builder clearExecutions() { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -784,6 +872,8 @@ public Builder removeExecutions(int index) { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -795,6 +885,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti return getExecutionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The executions which match the request.
      * 
@@ -804,19 +896,22 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionsOrBuilder( int index) { if (executionsBuilder_ == null) { - return executions_.get(index); } else { + return executions_.get(index); + } else { return executionsBuilder_.getMessageOrBuilder(index); } } /** + * + * *
      * The executions which match the request.
      * 
* * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ - public java.util.List - getExecutionsOrBuilderList() { + public java.util.List + getExecutionsOrBuilderList() { if (executionsBuilder_ != null) { return executionsBuilder_.getMessageOrBuilderList(); } else { @@ -824,6 +919,8 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } } /** + * + * *
      * The executions which match the request.
      * 
@@ -831,10 +928,12 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ public com.google.cloud.workflows.executions.v1beta.Execution.Builder addExecutionsBuilder() { - return getExecutionsFieldBuilder().addBuilder( - com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()); + return getExecutionsFieldBuilder() + .addBuilder(com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()); } /** + * + * *
      * The executions which match the request.
      * 
@@ -843,30 +942,36 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder addExecuti */ public com.google.cloud.workflows.executions.v1beta.Execution.Builder addExecutionsBuilder( int index) { - return getExecutionsFieldBuilder().addBuilder( - index, com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()); + return getExecutionsFieldBuilder() + .addBuilder( + index, com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance()); } /** + * + * *
      * The executions which match the request.
      * 
* * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ - public java.util.List - getExecutionsBuilderList() { + public java.util.List + getExecutionsBuilderList() { return getExecutionsFieldBuilder().getBuilderList(); } + private com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution, com.google.cloud.workflows.executions.v1beta.Execution.Builder, com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> + com.google.cloud.workflows.executions.v1beta.Execution, + com.google.cloud.workflows.executions.v1beta.Execution.Builder, + com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder> getExecutionsFieldBuilder() { if (executionsBuilder_ == null) { - executionsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< - com.google.cloud.workflows.executions.v1beta.Execution, com.google.cloud.workflows.executions.v1beta.Execution.Builder, com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder>( - executions_, - ((bitField0_ & 0x00000001) != 0), - getParentForChildren(), - isClean()); + executionsBuilder_ = + new com.google.protobuf.RepeatedFieldBuilderV3< + com.google.cloud.workflows.executions.v1beta.Execution, + com.google.cloud.workflows.executions.v1beta.Execution.Builder, + com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder>( + executions_, ((bitField0_ & 0x00000001) != 0), getParentForChildren(), isClean()); executions_ = null; } return executionsBuilder_; @@ -874,19 +979,21 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder addExecuti private java.lang.Object nextPageToken_ = ""; /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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; @@ -895,21 +1002,22 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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 { @@ -917,30 +1025,37 @@ public java.lang.String getNextPageToken() { } } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @param value The nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageToken( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageToken(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * string next_page_token = 2; + * * @return This builder for chaining. */ public Builder clearNextPageToken() { @@ -950,27 +1065,31 @@ public Builder clearNextPageToken() { return this; } /** + * + * *
      * A token, which can be sent as `page_token` to retrieve the next page.
      * If this field is omitted, there are no subsequent pages.
      * 
* * 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) { - if (value == null) { throw new NullPointerException(); } + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); nextPageToken_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -980,41 +1099,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.cloud.workflows.executions.v1beta.ListExecutionsResponse) } // @@protoc_insertion_point(class_scope:google.cloud.workflows.executions.v1beta.ListExecutionsResponse) - private static final com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse DEFAULT_INSTANCE; + private static final com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse(); } - public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse getDefaultInstance() { + public static com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser() { - @java.lang.Override - public ListExecutionsResponse parsePartialFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { - Builder builder = newBuilder(); - try { - builder.mergeFrom(input, extensionRegistry); - } catch (com.google.protobuf.InvalidProtocolBufferException e) { - throw e.setUnfinishedMessage(builder.buildPartial()); - } catch (com.google.protobuf.UninitializedMessageException e) { - throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); - } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(builder.buildPartial()); - } - return builder.buildPartial(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser() { + @java.lang.Override + public ListExecutionsResponse parsePartialFrom( + com.google.protobuf.CodedInputStream input, + com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { + Builder builder = newBuilder(); + try { + builder.mergeFrom(input, extensionRegistry); + } catch (com.google.protobuf.InvalidProtocolBufferException e) { + throw e.setUnfinishedMessage(builder.buildPartial()); + } catch (com.google.protobuf.UninitializedMessageException e) { + throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); + } catch (java.io.IOException e) { + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(builder.buildPartial()); + } + return builder.buildPartial(); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1026,9 +1147,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse getDefaultInstanceForType() { + public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java similarity index 70% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java index 79c065a484ba..46d1ab9af93f 100644 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java +++ b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; -public interface ListExecutionsResponseOrBuilder extends +public interface ListExecutionsResponseOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.ListExecutionsResponse) com.google.protobuf.MessageOrBuilder { /** + * + * *
    * The executions which match the request.
    * 
* * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ - java.util.List - getExecutionsList(); + java.util.List getExecutionsList(); /** + * + * *
    * The executions which match the request.
    * 
@@ -25,6 +44,8 @@ public interface ListExecutionsResponseOrBuilder extends */ com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int index); /** + * + * *
    * The executions which match the request.
    * 
@@ -33,43 +54,51 @@ public interface ListExecutionsResponseOrBuilder extends */ int getExecutionsCount(); /** + * + * *
    * The executions which match the request.
    * 
* * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ - java.util.List + java.util.List getExecutionsOrBuilderList(); /** + * + * *
    * The executions which match the request.
    * 
* * repeated .google.cloud.workflows.executions.v1beta.Execution executions = 1; */ - com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionsOrBuilder( - int index); + com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionsOrBuilder(int index); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * string next_page_token = 2; + * * @return The nextPageToken. */ java.lang.String getNextPageToken(); /** + * + * *
    * A token, which can be sent as `page_token` to retrieve the next page.
    * If this field is omitted, there are no subsequent pages.
    * 
* * 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/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto b/java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto rename to java-workflow-executions/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/AsyncCancelExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/AsyncCancelExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/AsyncCancelExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/AsyncCancelExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionExecutionname.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionExecutionname.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionExecutionname.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionExecutionname.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionString.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionString.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionString.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/cancelexecution/SyncCancelExecutionString.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider1.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider1.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetEndpoint.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetEndpoint.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/AsyncCreateExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/AsyncCreateExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/AsyncCreateExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/AsyncCreateExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionStringExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionStringExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionStringExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionStringExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/AsyncGetExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/AsyncGetExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/AsyncGetExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/AsyncGetExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionExecutionname.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionExecutionname.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionExecutionname.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionExecutionname.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionString.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionString.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionString.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/getexecution/SyncGetExecutionString.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutions.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutions.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutions.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutions.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutionsPaged.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutionsPaged.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutionsPaged.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/AsyncListExecutionsPaged.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutions.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutions.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutions.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutions.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsString.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsString.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsString.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsString.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsWorkflowname.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsWorkflowname.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsWorkflowname.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executions/listexecutions/SyncListExecutionsWorkflowname.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executionssettings/createexecution/SyncCreateExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executionssettings/createexecution/SyncCreateExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executionssettings/createexecution/SyncCreateExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/executionssettings/createexecution/SyncCreateExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/stub/executionsstubsettings/createexecution/SyncCreateExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/stub/executionsstubsettings/createexecution/SyncCreateExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1/samples/snippets/generated/com/google/cloud/workflows/executions/v1/stub/executionsstubsettings/createexecution/SyncCreateExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1/stub/executionsstubsettings/createexecution/SyncCreateExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/AsyncCancelExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/AsyncCancelExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/AsyncCancelExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/AsyncCancelExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionExecutionname.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionExecutionname.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionExecutionname.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionExecutionname.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionString.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionString.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionString.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/cancelexecution/SyncCancelExecutionString.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider1.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider1.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider1.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetCredentialsProvider1.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetEndpoint.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetEndpoint.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetEndpoint.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/create/SyncCreateSetEndpoint.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/AsyncCreateExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/AsyncCreateExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/AsyncCreateExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/AsyncCreateExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionStringExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionStringExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionStringExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionStringExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/createexecution/SyncCreateExecutionWorkflownameExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/AsyncGetExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/AsyncGetExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/AsyncGetExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/AsyncGetExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionExecutionname.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionExecutionname.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionExecutionname.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionExecutionname.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionString.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionString.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionString.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/getexecution/SyncGetExecutionString.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutions.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutions.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutions.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutions.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutionsPaged.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutionsPaged.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutionsPaged.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/AsyncListExecutionsPaged.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutions.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutions.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutions.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutions.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsString.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsString.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsString.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsString.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsWorkflowname.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsWorkflowname.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsWorkflowname.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executions/listexecutions/SyncListExecutionsWorkflowname.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executionssettings/createexecution/SyncCreateExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executionssettings/createexecution/SyncCreateExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executionssettings/createexecution/SyncCreateExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/executionssettings/createexecution/SyncCreateExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/stub/executionsstubsettings/createexecution/SyncCreateExecution.java b/java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/stub/executionsstubsettings/createexecution/SyncCreateExecution.java similarity index 100% rename from owl-bot-staging/java-workflow-executions/v1beta/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/stub/executionsstubsettings/createexecution/SyncCreateExecution.java rename to java-workflow-executions/samples/snippets/generated/com/google/cloud/workflows/executions/v1beta/stub/executionsstubsettings/createexecution/SyncCreateExecution.java diff --git a/owl-bot-staging/java-workflow-executions/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/owl-bot-staging/java-workflow-executions/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java deleted file mode 100644 index fab8ae0731a6..000000000000 --- a/owl-bot-staging/java-workflow-executions/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java +++ /dev/null @@ -1,599 +0,0 @@ -package com.google.cloud.workflows.executions.v1; - -import static io.grpc.MethodDescriptor.generateFullMethodName; - -/** - *
- * Executions is used to start and manage running instances of
- * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
- * 
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/workflows/executions/v1/executions.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ExecutionsGrpc { - - private ExecutionsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.workflows.executions.v1.Executions"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListExecutionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListExecutions", - requestType = com.google.cloud.workflows.executions.v1.ListExecutionsRequest.class, - responseType = com.google.cloud.workflows.executions.v1.ListExecutionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListExecutionsMethod() { - io.grpc.MethodDescriptor getListExecutionsMethod; - if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { - ExecutionsGrpc.getListExecutionsMethod = getListExecutionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListExecutions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.ListExecutionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.ListExecutionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("ListExecutions")) - .build(); - } - } - } - return getListExecutionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateExecution", - requestType = com.google.cloud.workflows.executions.v1.CreateExecutionRequest.class, - responseType = com.google.cloud.workflows.executions.v1.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateExecutionMethod() { - io.grpc.MethodDescriptor getCreateExecutionMethod; - if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { - ExecutionsGrpc.getCreateExecutionMethod = getCreateExecutionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.CreateExecutionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("CreateExecution")) - .build(); - } - } - } - return getCreateExecutionMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetExecution", - requestType = com.google.cloud.workflows.executions.v1.GetExecutionRequest.class, - responseType = com.google.cloud.workflows.executions.v1.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetExecutionMethod() { - io.grpc.MethodDescriptor getGetExecutionMethod; - if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { - ExecutionsGrpc.getGetExecutionMethod = getGetExecutionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.GetExecutionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("GetExecution")) - .build(); - } - } - } - return getGetExecutionMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelExecution", - requestType = com.google.cloud.workflows.executions.v1.CancelExecutionRequest.class, - responseType = com.google.cloud.workflows.executions.v1.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelExecutionMethod() { - io.grpc.MethodDescriptor getCancelExecutionMethod; - if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { - ExecutionsGrpc.getCancelExecutionMethod = getCancelExecutionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.CancelExecutionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1.Execution.getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("CancelExecution")) - .build(); - } - } - } - return getCancelExecutionMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ExecutionsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsStub(channel, callOptions); - } - }; - return ExecutionsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ExecutionsBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsBlockingStub(channel, callOptions); - } - }; - return ExecutionsBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ExecutionsFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsFutureStub(channel, callOptions); - } - }; - return ExecutionsFutureStub.newStub(factory, channel); - } - - /** - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - default void listExecutions(com.google.cloud.workflows.executions.v1.ListExecutionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), responseObserver); - } - - /** - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - default void createExecution(com.google.cloud.workflows.executions.v1.CreateExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), responseObserver); - } - - /** - *
-     * Returns an execution of the given name.
-     * 
- */ - default void getExecution(com.google.cloud.workflows.executions.v1.GetExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), responseObserver); - } - - /** - *
-     * Cancels an execution of the given name.
-     * 
- */ - default void cancelExecution(com.google.cloud.workflows.executions.v1.CancelExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service Executions. - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
-   * 
- */ - public static abstract class ExecutionsImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return ExecutionsGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service Executions. - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
-   * 
- */ - public static final class ExecutionsStub - extends io.grpc.stub.AbstractAsyncStub { - private ExecutionsStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsStub(channel, callOptions); - } - - /** - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - public void listExecutions(com.google.cloud.workflows.executions.v1.ListExecutionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - public void createExecution(com.google.cloud.workflows.executions.v1.CreateExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns an execution of the given name.
-     * 
- */ - public void getExecution(com.google.cloud.workflows.executions.v1.GetExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Cancels an execution of the given name.
-     * 
- */ - public void cancelExecution(com.google.cloud.workflows.executions.v1.CancelExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service Executions. - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
-   * 
- */ - public static final class ExecutionsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ExecutionsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsBlockingStub(channel, callOptions); - } - - /** - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - public com.google.cloud.workflows.executions.v1.ListExecutionsResponse listExecutions(com.google.cloud.workflows.executions.v1.ListExecutionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListExecutionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - public com.google.cloud.workflows.executions.v1.Execution createExecution(com.google.cloud.workflows.executions.v1.CreateExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateExecutionMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns an execution of the given name.
-     * 
- */ - public com.google.cloud.workflows.executions.v1.Execution getExecution(com.google.cloud.workflows.executions.v1.GetExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetExecutionMethod(), getCallOptions(), request); - } - - /** - *
-     * Cancels an execution of the given name.
-     * 
- */ - public com.google.cloud.workflows.executions.v1.Execution cancelExecution(com.google.cloud.workflows.executions.v1.CancelExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelExecutionMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service Executions. - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1.Workflow] called executions.
-   * 
- */ - public static final class ExecutionsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ExecutionsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsFutureStub(channel, callOptions); - } - - /** - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listExecutions( - com.google.cloud.workflows.executions.v1.ListExecutionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createExecution( - com.google.cloud.workflows.executions.v1.CreateExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns an execution of the given name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getExecution( - com.google.cloud.workflows.executions.v1.GetExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request); - } - - /** - *
-     * Cancels an execution of the given name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelExecution( - com.google.cloud.workflows.executions.v1.CancelExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_EXECUTIONS = 0; - private static final int METHODID_CREATE_EXECUTION = 1; - private static final int METHODID_GET_EXECUTION = 2; - private static final int METHODID_CANCEL_EXECUTION = 3; - - 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_EXECUTIONS: - serviceImpl.listExecutions((com.google.cloud.workflows.executions.v1.ListExecutionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_EXECUTION: - serviceImpl.createExecution((com.google.cloud.workflows.executions.v1.CreateExecutionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_EXECUTION: - serviceImpl.getExecution((com.google.cloud.workflows.executions.v1.GetExecutionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_EXECUTION: - serviceImpl.cancelExecution((com.google.cloud.workflows.executions.v1.CancelExecutionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListExecutionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1.ListExecutionsRequest, - com.google.cloud.workflows.executions.v1.ListExecutionsResponse>( - service, METHODID_LIST_EXECUTIONS))) - .addMethod( - getCreateExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1.CreateExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution>( - service, METHODID_CREATE_EXECUTION))) - .addMethod( - getGetExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1.GetExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution>( - service, METHODID_GET_EXECUTION))) - .addMethod( - getCancelExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1.CancelExecutionRequest, - com.google.cloud.workflows.executions.v1.Execution>( - service, METHODID_CANCEL_EXECUTION))) - .build(); - } - - private static abstract class ExecutionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ExecutionsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.workflows.executions.v1.ExecutionsProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Executions"); - } - } - - private static final class ExecutionsFileDescriptorSupplier - extends ExecutionsBaseDescriptorSupplier { - ExecutionsFileDescriptorSupplier() {} - } - - private static final class ExecutionsMethodDescriptorSupplier - extends ExecutionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ExecutionsMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ExecutionsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ExecutionsFileDescriptorSupplier()) - .addMethod(getListExecutionsMethod()) - .addMethod(getCreateExecutionMethod()) - .addMethod(getGetExecutionMethod()) - .addMethod(getCancelExecutionMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index 274df6c45434..000000000000 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1/executions.proto - -package com.google.cloud.workflows.executions.v1; - -public interface CancelExecutionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.CancelExecutionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the execution to be cancelled.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the execution to be cancelled.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index e519bd4fab18..000000000000 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1/executions.proto - -package com.google.cloud.workflows.executions.v1; - -public interface CreateExecutionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1.CreateExecutionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the workflow for which an execution should be created.
-   * Format: projects/{project}/locations/{location}/workflows/{workflow}
-   * The latest revision of the workflow will be used.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. Name of the workflow for which an execution should be created.
-   * Format: projects/{project}/locations/{location}/workflows/{workflow}
-   * The latest revision of the workflow will be used.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. Execution to be created.
-   * 
- * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the execution field is set. - */ - boolean hasExecution(); - /** - *
-   * Required. Execution to be created.
-   * 
- * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The execution. - */ - com.google.cloud.workflows.executions.v1.Execution getExecution(); - /** - *
-   * Required. Execution to be created.
-   * 
- * - * .google.cloud.workflows.executions.v1.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionOrBuilder(); -} diff --git a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java deleted file mode 100644 index 5c1a45efb3d2..000000000000 --- a/owl-bot-staging/java-workflow-executions/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java +++ /dev/null @@ -1,318 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1/executions.proto - -package com.google.cloud.workflows.executions.v1; - -public final class ExecutionsProto { - private ExecutionsProto() {} - 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_workflows_executions_v1_Execution_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_StackTraceElement_Position_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_StackTrace_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_Execution_Error_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_Error_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_Execution_Status_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_Status_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_Status_Step_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_Execution_StateError_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_StateError_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_Execution_LabelsEntry_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_Execution_LabelsEntry_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_ListExecutionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_ListExecutionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_CreateExecutionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_GetExecutionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1_CancelExecutionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n5google/cloud/workflows/executions/v1/e" + - "xecutions.proto\022$google.cloud.workflows." + - "executions.v1\032\034google/api/annotations.pr" + - "oto\032\027google/api/client.proto\032\037google/api" + - "/field_behavior.proto\032\031google/api/resour" + - "ce.proto\032\036google/protobuf/duration.proto" + - "\032\037google/protobuf/timestamp.proto\"\307\016\n\tEx" + - "ecution\022\022\n\004name\030\001 \001(\tB\004\342A\001\003\0224\n\nstart_tim" + - "e\030\002 \001(\0132\032.google.protobuf.TimestampB\004\342A\001" + - "\003\0222\n\010end_time\030\003 \001(\0132\032.google.protobuf.Ti" + - "mestampB\004\342A\001\003\0221\n\010duration\030\014 \001(\0132\031.google" + - ".protobuf.DurationB\004\342A\001\003\022J\n\005state\030\004 \001(\0162" + - "5.google.cloud.workflows.executions.v1.E" + - "xecution.StateB\004\342A\001\003\022\020\n\010argument\030\005 \001(\t\022\024" + - "\n\006result\030\006 \001(\tB\004\342A\001\003\022J\n\005error\030\007 \001(\01325.go" + - "ogle.cloud.workflows.executions.v1.Execu" + - "tion.ErrorB\004\342A\001\003\022\"\n\024workflow_revision_id" + - "\030\010 \001(\tB\004\342A\001\003\022T\n\016call_log_level\030\t \001(\0162<.g" + - "oogle.cloud.workflows.executions.v1.Exec" + - "ution.CallLogLevel\022L\n\006status\030\n \001(\01326.goo" + - "gle.cloud.workflows.executions.v1.Execut" + - "ion.StatusB\004\342A\001\003\022K\n\006labels\030\013 \003(\0132;.googl" + - "e.cloud.workflows.executions.v1.Executio" + - "n.LabelsEntry\022U\n\013state_error\030\r \001(\0132:.goo" + - "gle.cloud.workflows.executions.v1.Execut" + - "ion.StateErrorB\004\342A\001\003\032\312\001\n\021StackTraceEleme" + - "nt\022\014\n\004step\030\001 \001(\t\022\017\n\007routine\030\002 \001(\t\022\\\n\010pos" + - "ition\030\003 \001(\0132J.google.cloud.workflows.exe" + - "cutions.v1.Execution.StackTraceElement.P" + - "osition\0328\n\010Position\022\014\n\004line\030\001 \001(\003\022\016\n\006col" + - "umn\030\002 \001(\003\022\016\n\006length\030\003 \001(\003\032a\n\nStackTrace\022" + - "S\n\010elements\030\001 \003(\0132A.google.cloud.workflo" + - "ws.executions.v1.Execution.StackTraceEle" + - "ment\032z\n\005Error\022\017\n\007payload\030\001 \001(\t\022\017\n\007contex" + - "t\030\002 \001(\t\022O\n\013stack_trace\030\003 \001(\0132:.google.cl" + - "oud.workflows.executions.v1.Execution.St" + - "ackTrace\032\203\001\n\006Status\022R\n\rcurrent_steps\030\001 \003" + - "(\0132;.google.cloud.workflows.executions.v" + - "1.Execution.Status.Step\032%\n\004Step\022\017\n\007routi" + - "ne\030\001 \001(\t\022\014\n\004step\030\002 \001(\t\032\231\001\n\nStateError\022\017\n" + - "\007details\030\001 \001(\t\022M\n\004type\030\002 \001(\0162?.google.cl" + - "oud.workflows.executions.v1.Execution.St" + - "ateError.Type\"+\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + - "D\020\000\022\r\n\tKMS_ERROR\020\001\032-\n\013LabelsEntry\022\013\n\003key" + - "\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"q\n\005State\022\025\n\021ST" + - "ATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tSUCCEED" + - "ED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004\022\017\n\013UNAVA" + - "ILABLE\020\005\022\n\n\006QUEUED\020\006\"d\n\014CallLogLevel\022\036\n\032" + - "CALL_LOG_LEVEL_UNSPECIFIED\020\000\022\021\n\rLOG_ALL_" + - "CALLS\020\001\022\023\n\017LOG_ERRORS_ONLY\020\002\022\014\n\010LOG_NONE" + - "\020\003:\206\001\352A\202\001\n+workflowexecutions.googleapis" + - ".com/Execution\022Sprojects/{project}/locat" + - "ions/{location}/workflows/{workflow}/exe" + - "cutions/{execution}\"\361\001\n\025ListExecutionsRe" + - "quest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!workflow" + - "s.googleapis.com/Workflow\022\021\n\tpage_size\030\002" + - " \001(\005\022\022\n\npage_token\030\003 \001(\t\022G\n\004view\030\004 \001(\01623" + - ".google.cloud.workflows.executions.v1.Ex" + - "ecutionViewB\004\342A\001\001\022\024\n\006filter\030\005 \001(\tB\004\342A\001\001\022" + - "\026\n\010order_by\030\006 \001(\tB\004\342A\001\001\"v\n\026ListExecution" + - "sResponse\022C\n\nexecutions\030\001 \003(\0132/.google.c" + - "loud.workflows.executions.v1.Execution\022\027" + - "\n\017next_page_token\030\002 \001(\t\"\236\001\n\026CreateExecut" + - "ionRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!wor" + - "kflows.googleapis.com/Workflow\022H\n\texecut" + - "ion\030\002 \001(\0132/.google.cloud.workflows.execu" + - "tions.v1.ExecutionB\004\342A\001\002\"\242\001\n\023GetExecutio" + - "nRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+workflo" + - "wexecutions.googleapis.com/Execution\022G\n\004" + - "view\030\002 \001(\01623.google.cloud.workflows.exec" + - "utions.v1.ExecutionViewB\004\342A\001\001\"\\\n\026CancelE" + - "xecutionRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+" + - "workflowexecutions.googleapis.com/Execut" + - "ion*D\n\rExecutionView\022\036\n\032EXECUTION_VIEW_U" + - "NSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nEx" + - "ecutions\022\330\001\n\016ListExecutions\022;.google.clo" + - "ud.workflows.executions.v1.ListExecution" + - "sRequest\032<.google.cloud.workflows.execut" + - "ions.v1.ListExecutionsResponse\"K\332A\006paren" + - "t\202\323\344\223\002<\022:/v1/{parent=projects/*/location" + - "s/*/workflows/*}/executions\022\342\001\n\017CreateEx" + - "ecution\022<.google.cloud.workflows.executi" + - "ons.v1.CreateExecutionRequest\032/.google.c" + - "loud.workflows.executions.v1.Execution\"`" + - "\332A\020parent,execution\202\323\344\223\002G\":/v1/{parent=p" + - "rojects/*/locations/*/workflows/*}/execu" + - "tions:\texecution\022\305\001\n\014GetExecution\0229.goog" + - "le.cloud.workflows.executions.v1.GetExec" + - "utionRequest\032/.google.cloud.workflows.ex" + - "ecutions.v1.Execution\"I\332A\004name\202\323\344\223\002<\022:/v" + - "1/{name=projects/*/locations/*/workflows" + - "/*/executions/*}\022\325\001\n\017CancelExecution\022<.g" + - "oogle.cloud.workflows.executions.v1.Canc" + - "elExecutionRequest\032/.google.cloud.workfl" + - "ows.executions.v1.Execution\"S\332A\004name\202\323\344\223" + - "\002F\"A/v1/{name=projects/*/locations/*/wor" + - "kflows/*/executions/*}:cancel:\001*\032U\312A!wor" + - "kflowexecutions.googleapis.com\322A.https:/" + - "/www.googleapis.com/auth/cloud-platformB" + - "\353\001\n(com.google.cloud.workflows.execution" + - "s.v1B\017ExecutionsProtoP\001ZHcloud.google.co" + - "m/go/workflows/executions/apiv1/executio" + - "nspb;executionspb\352Aa\n!workflows.googleap" + - "is.com/Workflow\022 - * Executions is used to start and manage running instances of - * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions. - *
- */ -@javax.annotation.Generated( - value = "by gRPC proto compiler", - comments = "Source: google/cloud/workflows/executions/v1beta/executions.proto") -@io.grpc.stub.annotations.GrpcGenerated -public final class ExecutionsGrpc { - - private ExecutionsGrpc() {} - - public static final String SERVICE_NAME = "google.cloud.workflows.executions.v1beta.Executions"; - - // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptor getListExecutionsMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "ListExecutions", - requestType = com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.class, - responseType = com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getListExecutionsMethod() { - io.grpc.MethodDescriptor getListExecutionsMethod; - if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getListExecutionsMethod = ExecutionsGrpc.getListExecutionsMethod) == null) { - ExecutionsGrpc.getListExecutionsMethod = getListExecutionsMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListExecutions")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("ListExecutions")) - .build(); - } - } - } - return getListExecutionsMethod; - } - - private static volatile io.grpc.MethodDescriptor getCreateExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CreateExecution", - requestType = com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.class, - responseType = com.google.cloud.workflows.executions.v1beta.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCreateExecutionMethod() { - io.grpc.MethodDescriptor getCreateExecutionMethod; - if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getCreateExecutionMethod = ExecutionsGrpc.getCreateExecutionMethod) == null) { - ExecutionsGrpc.getCreateExecutionMethod = getCreateExecutionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("CreateExecution")) - .build(); - } - } - } - return getCreateExecutionMethod; - } - - private static volatile io.grpc.MethodDescriptor getGetExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "GetExecution", - requestType = com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.class, - responseType = com.google.cloud.workflows.executions.v1beta.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getGetExecutionMethod() { - io.grpc.MethodDescriptor getGetExecutionMethod; - if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getGetExecutionMethod = ExecutionsGrpc.getGetExecutionMethod) == null) { - ExecutionsGrpc.getGetExecutionMethod = getGetExecutionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("GetExecution")) - .build(); - } - } - } - return getGetExecutionMethod; - } - - private static volatile io.grpc.MethodDescriptor getCancelExecutionMethod; - - @io.grpc.stub.annotations.RpcMethod( - fullMethodName = SERVICE_NAME + '/' + "CancelExecution", - requestType = com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.class, - responseType = com.google.cloud.workflows.executions.v1beta.Execution.class, - methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getCancelExecutionMethod() { - io.grpc.MethodDescriptor getCancelExecutionMethod; - if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { - synchronized (ExecutionsGrpc.class) { - if ((getCancelExecutionMethod = ExecutionsGrpc.getCancelExecutionMethod) == null) { - ExecutionsGrpc.getCancelExecutionMethod = getCancelExecutionMethod = - io.grpc.MethodDescriptor.newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CancelExecution")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.cloud.workflows.executions.v1beta.Execution.getDefaultInstance())) - .setSchemaDescriptor(new ExecutionsMethodDescriptorSupplier("CancelExecution")) - .build(); - } - } - } - return getCancelExecutionMethod; - } - - /** - * Creates a new async stub that supports all call types for the service - */ - public static ExecutionsStub newStub(io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsStub(channel, callOptions); - } - }; - return ExecutionsStub.newStub(factory, channel); - } - - /** - * Creates a new blocking-style stub that supports unary and streaming output calls on the service - */ - public static ExecutionsBlockingStub newBlockingStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsBlockingStub(channel, callOptions); - } - }; - return ExecutionsBlockingStub.newStub(factory, channel); - } - - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ExecutionsFutureStub newFutureStub( - io.grpc.Channel channel) { - io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory() { - @java.lang.Override - public ExecutionsFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsFutureStub(channel, callOptions); - } - }; - return ExecutionsFutureStub.newStub(factory, channel); - } - - /** - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
-   * 
- */ - public interface AsyncService { - - /** - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - default void listExecutions(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), responseObserver); - } - - /** - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - default void createExecution(com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), responseObserver); - } - - /** - *
-     * Returns an execution of the given name.
-     * 
- */ - default void getExecution(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), responseObserver); - } - - /** - *
-     * Cancels an execution of the given name.
-     * 
- */ - default void cancelExecution(com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); - } - } - - /** - * Base class for the server implementation of the service Executions. - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
-   * 
- */ - public static abstract class ExecutionsImplBase - implements io.grpc.BindableService, AsyncService { - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - return ExecutionsGrpc.bindService(this); - } - } - - /** - * A stub to allow clients to do asynchronous rpc calls to service Executions. - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
-   * 
- */ - public static final class ExecutionsStub - extends io.grpc.stub.AbstractAsyncStub { - private ExecutionsStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsStub(channel, callOptions); - } - - /** - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - public void listExecutions(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - public void createExecution(com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Returns an execution of the given name.
-     * 
- */ - public void getExecution(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request, responseObserver); - } - - /** - *
-     * Cancels an execution of the given name.
-     * 
- */ - public void cancelExecution(com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request, - io.grpc.stub.StreamObserver responseObserver) { - io.grpc.stub.ClientCalls.asyncUnaryCall( - getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), request, responseObserver); - } - } - - /** - * A stub to allow clients to do synchronous rpc calls to service Executions. - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
-   * 
- */ - public static final class ExecutionsBlockingStub - extends io.grpc.stub.AbstractBlockingStub { - private ExecutionsBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsBlockingStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsBlockingStub(channel, callOptions); - } - - /** - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse listExecutions(com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getListExecutionsMethod(), getCallOptions(), request); - } - - /** - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - public com.google.cloud.workflows.executions.v1beta.Execution createExecution(com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCreateExecutionMethod(), getCallOptions(), request); - } - - /** - *
-     * Returns an execution of the given name.
-     * 
- */ - public com.google.cloud.workflows.executions.v1beta.Execution getExecution(com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getGetExecutionMethod(), getCallOptions(), request); - } - - /** - *
-     * Cancels an execution of the given name.
-     * 
- */ - public com.google.cloud.workflows.executions.v1beta.Execution cancelExecution(com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request) { - return io.grpc.stub.ClientCalls.blockingUnaryCall( - getChannel(), getCancelExecutionMethod(), getCallOptions(), request); - } - } - - /** - * A stub to allow clients to do ListenableFuture-style rpc calls to service Executions. - *
-   * Executions is used to start and manage running instances of
-   * [Workflows][google.cloud.workflows.v1beta.Workflow] called executions.
-   * 
- */ - public static final class ExecutionsFutureStub - extends io.grpc.stub.AbstractFutureStub { - private ExecutionsFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - super(channel, callOptions); - } - - @java.lang.Override - protected ExecutionsFutureStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ExecutionsFutureStub(channel, callOptions); - } - - /** - *
-     * Returns a list of executions which belong to the workflow with
-     * the given name. The method returns executions of all workflow
-     * revisions. Returned executions are ordered by their start time (newest
-     * first).
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture listExecutions( - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getListExecutionsMethod(), getCallOptions()), request); - } - - /** - *
-     * Creates a new execution using the latest revision of the given workflow.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture createExecution( - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCreateExecutionMethod(), getCallOptions()), request); - } - - /** - *
-     * Returns an execution of the given name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture getExecution( - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getGetExecutionMethod(), getCallOptions()), request); - } - - /** - *
-     * Cancels an execution of the given name.
-     * 
- */ - public com.google.common.util.concurrent.ListenableFuture cancelExecution( - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest request) { - return io.grpc.stub.ClientCalls.futureUnaryCall( - getChannel().newCall(getCancelExecutionMethod(), getCallOptions()), request); - } - } - - private static final int METHODID_LIST_EXECUTIONS = 0; - private static final int METHODID_CREATE_EXECUTION = 1; - private static final int METHODID_GET_EXECUTION = 2; - private static final int METHODID_CANCEL_EXECUTION = 3; - - 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 AsyncService serviceImpl; - private final int methodId; - - MethodHandlers(AsyncService serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_LIST_EXECUTIONS: - serviceImpl.listExecutions((com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CREATE_EXECUTION: - serviceImpl.createExecution((com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_GET_EXECUTION: - serviceImpl.getExecution((com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - case METHODID_CANCEL_EXECUTION: - serviceImpl.cancelExecution((com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) request, - (io.grpc.stub.StreamObserver) responseObserver); - break; - default: - throw new AssertionError(); - } - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public io.grpc.stub.StreamObserver invoke( - io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - default: - throw new AssertionError(); - } - } - } - - public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { - return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) - .addMethod( - getListExecutionsMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest, - com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse>( - service, METHODID_LIST_EXECUTIONS))) - .addMethod( - getCreateExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution>( - service, METHODID_CREATE_EXECUTION))) - .addMethod( - getGetExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1beta.GetExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution>( - service, METHODID_GET_EXECUTION))) - .addMethod( - getCancelExecutionMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest, - com.google.cloud.workflows.executions.v1beta.Execution>( - service, METHODID_CANCEL_EXECUTION))) - .build(); - } - - private static abstract class ExecutionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { - ExecutionsBaseDescriptorSupplier() {} - - @java.lang.Override - public com.google.protobuf.Descriptors.FileDescriptor getFileDescriptor() { - return com.google.cloud.workflows.executions.v1beta.ExecutionsProto.getDescriptor(); - } - - @java.lang.Override - public com.google.protobuf.Descriptors.ServiceDescriptor getServiceDescriptor() { - return getFileDescriptor().findServiceByName("Executions"); - } - } - - private static final class ExecutionsFileDescriptorSupplier - extends ExecutionsBaseDescriptorSupplier { - ExecutionsFileDescriptorSupplier() {} - } - - private static final class ExecutionsMethodDescriptorSupplier - extends ExecutionsBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoMethodDescriptorSupplier { - private final String methodName; - - ExecutionsMethodDescriptorSupplier(String methodName) { - this.methodName = methodName; - } - - @java.lang.Override - public com.google.protobuf.Descriptors.MethodDescriptor getMethodDescriptor() { - return getServiceDescriptor().findMethodByName(methodName); - } - } - - private static volatile io.grpc.ServiceDescriptor serviceDescriptor; - - public static io.grpc.ServiceDescriptor getServiceDescriptor() { - io.grpc.ServiceDescriptor result = serviceDescriptor; - if (result == null) { - synchronized (ExecutionsGrpc.class) { - result = serviceDescriptor; - if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ExecutionsFileDescriptorSupplier()) - .addMethod(getListExecutionsMethod()) - .addMethod(getCreateExecutionMethod()) - .addMethod(getGetExecutionMethod()) - .addMethod(getCancelExecutionMethod()) - .build(); - } - } - } - return result; - } -} diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index aafcee78af00..000000000000 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java +++ /dev/null @@ -1,33 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1beta/executions.proto - -package com.google.cloud.workflows.executions.v1beta; - -public interface CancelExecutionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.CancelExecutionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the execution to be cancelled.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The name. - */ - java.lang.String getName(); - /** - *
-   * Required. Name of the execution to be cancelled.
-   * Format:
-   * projects/{project}/locations/{location}/workflows/{workflow}/executions/{execution}
-   * 
- * - * string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for name. - */ - com.google.protobuf.ByteString - getNameBytes(); -} diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index 94408fcf838e..000000000000 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java +++ /dev/null @@ -1,60 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1beta/executions.proto - -package com.google.cloud.workflows.executions.v1beta; - -public interface CreateExecutionRequestOrBuilder extends - // @@protoc_insertion_point(interface_extends:google.cloud.workflows.executions.v1beta.CreateExecutionRequest) - com.google.protobuf.MessageOrBuilder { - - /** - *
-   * Required. Name of the workflow for which an execution should be created.
-   * Format: projects/{project}/locations/{location}/workflows/{workflow}
-   * The latest revision of the workflow will be used.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The parent. - */ - java.lang.String getParent(); - /** - *
-   * Required. Name of the workflow for which an execution should be created.
-   * Format: projects/{project}/locations/{location}/workflows/{workflow}
-   * The latest revision of the workflow will be used.
-   * 
- * - * string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... } - * @return The bytes for parent. - */ - com.google.protobuf.ByteString - getParentBytes(); - - /** - *
-   * Required. Execution to be created.
-   * 
- * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return Whether the execution field is set. - */ - boolean hasExecution(); - /** - *
-   * Required. Execution to be created.
-   * 
- * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - * @return The execution. - */ - com.google.cloud.workflows.executions.v1beta.Execution getExecution(); - /** - *
-   * Required. Execution to be created.
-   * 
- * - * .google.cloud.workflows.executions.v1beta.Execution execution = 2 [(.google.api.field_behavior) = REQUIRED]; - */ - com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecutionOrBuilder(); -} diff --git a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java deleted file mode 100644 index def14827cac7..000000000000 --- a/owl-bot-staging/java-workflow-executions/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java +++ /dev/null @@ -1,208 +0,0 @@ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/workflows/executions/v1beta/executions.proto - -package com.google.cloud.workflows.executions.v1beta; - -public final class ExecutionsProto { - private ExecutionsProto() {} - 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_workflows_executions_v1beta_Execution_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_Execution_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_Execution_Error_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_ListExecutionsResponse_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_CreateExecutionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_GetExecutionRequest_fieldAccessorTable; - static final com.google.protobuf.Descriptors.Descriptor - internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_descriptor; - static final - com.google.protobuf.GeneratedMessageV3.FieldAccessorTable - internal_static_google_cloud_workflows_executions_v1beta_CancelExecutionRequest_fieldAccessorTable; - - public static com.google.protobuf.Descriptors.FileDescriptor - getDescriptor() { - return descriptor; - } - private static com.google.protobuf.Descriptors.FileDescriptor - descriptor; - static { - java.lang.String[] descriptorData = { - "\n9google/cloud/workflows/executions/v1be" + - "ta/executions.proto\022(google.cloud.workfl" + - "ows.executions.v1beta\032\034google/api/annota" + - "tions.proto\032\027google/api/client.proto\032\037go" + - "ogle/api/field_behavior.proto\032\031google/ap" + - "i/resource.proto\032\037google/protobuf/timest" + - "amp.proto\"\377\004\n\tExecution\022\022\n\004name\030\001 \001(\tB\004\342" + - "A\001\003\0224\n\nstart_time\030\002 \001(\0132\032.google.protobu" + - "f.TimestampB\004\342A\001\003\0222\n\010end_time\030\003 \001(\0132\032.go" + - "ogle.protobuf.TimestampB\004\342A\001\003\022N\n\005state\030\004" + - " \001(\01629.google.cloud.workflows.executions" + - ".v1beta.Execution.StateB\004\342A\001\003\022\020\n\010argumen" + - "t\030\005 \001(\t\022\024\n\006result\030\006 \001(\tB\004\342A\001\003\022N\n\005error\030\007" + - " \001(\01329.google.cloud.workflows.executions" + - ".v1beta.Execution.ErrorB\004\342A\001\003\022\"\n\024workflo" + - "w_revision_id\030\010 \001(\tB\004\342A\001\003\032)\n\005Error\022\017\n\007pa" + - "yload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\"T\n\005State\022\025\n" + - "\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001\022\r\n\tSUCC" + - "EEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202" + - "\001\n+workflowexecutions.googleapis.com/Exe" + - "cution\022Sprojects/{project}/locations/{lo" + - "cation}/workflows/{workflow}/executions/" + - "{execution}\"\307\001\n\025ListExecutionsRequest\022:\n" + - "\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!workflows.google" + - "apis.com/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\n" + - "page_token\030\003 \001(\t\022K\n\004view\030\004 \001(\01627.google." + - "cloud.workflows.executions.v1beta.Execut" + - "ionViewB\004\342A\001\001\"z\n\026ListExecutionsResponse\022" + - "G\n\nexecutions\030\001 \003(\01323.google.cloud.workf" + - "lows.executions.v1beta.Execution\022\027\n\017next" + - "_page_token\030\002 \001(\t\"\242\001\n\026CreateExecutionReq" + - "uest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!workflows" + - ".googleapis.com/Workflow\022L\n\texecution\030\002 " + - "\001(\01323.google.cloud.workflows.executions." + - "v1beta.ExecutionB\004\342A\001\002\"\246\001\n\023GetExecutionR" + - "equest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-\n+workflowe" + - "xecutions.googleapis.com/Execution\022K\n\004vi" + - "ew\030\002 \001(\01627.google.cloud.workflows.execut" + - "ions.v1beta.ExecutionViewB\004\342A\001\001\"\\\n\026Cance" + - "lExecutionRequest\022B\n\004name\030\001 \001(\tB4\342A\001\002\372A-" + - "\n+workflowexecutions.googleapis.com/Exec" + - "ution*D\n\rExecutionView\022\036\n\032EXECUTION_VIEW" + - "_UNSPECIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\n" + - "Executions\022\344\001\n\016ListExecutions\022?.google.c" + - "loud.workflows.executions.v1beta.ListExe" + - "cutionsRequest\032@.google.cloud.workflows." + - "executions.v1beta.ListExecutionsResponse" + - "\"O\332A\006parent\202\323\344\223\002@\022>/v1beta/{parent=proje" + - "cts/*/locations/*/workflows/*}/execution" + - "s\022\356\001\n\017CreateExecution\022@.google.cloud.wor" + - "kflows.executions.v1beta.CreateExecution" + - "Request\0323.google.cloud.workflows.executi" + - "ons.v1beta.Execution\"d\332A\020parent,executio" + - "n\202\323\344\223\002K\">/v1beta/{parent=projects/*/loca" + - "tions/*/workflows/*}/executions:\texecuti" + - "on\022\321\001\n\014GetExecution\022=.google.cloud.workf" + - "lows.executions.v1beta.GetExecutionReque" + - "st\0323.google.cloud.workflows.executions.v" + - "1beta.Execution\"M\332A\004name\202\323\344\223\002@\022>/v1beta/" + - "{name=projects/*/locations/*/workflows/*" + - "/executions/*}\022\341\001\n\017CancelExecution\022@.goo" + - "gle.cloud.workflows.executions.v1beta.Ca" + - "ncelExecutionRequest\0323.google.cloud.work" + - "flows.executions.v1beta.Execution\"W\332A\004na" + - "me\202\323\344\223\002J\"E/v1beta/{name=projects/*/locat" + - "ions/*/workflows/*/executions/*}:cancel:" + - "\001*\032U\312A!workflowexecutions.googleapis.com" + - "\322A.https://www.googleapis.com/auth/cloud" + - "-platformB\363\001\n,com.google.cloud.workflows" + - ".executions.v1betaB\017ExecutionsProtoP\001ZLc" + - "loud.google.com/go/workflows/executions/" + - "apiv1beta/executionspb;executionspb\352Aa\n!" + - "workflows.googleapis.com/Workflow\022