From 71cba6a219df8c789fcbd3f7d53f433b6a442b47 Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Tue, 24 May 2022 00:49:01 +0000 Subject: [PATCH 1/7] chore(deps): upgrade gapic-generator-java to 2.8.0 and update gax-java to 2.18.1 PiperOrigin-RevId: 450543911 Source-Link: https://github.com/googleapis/googleapis/commit/55283447ab72f10b6c2571d770af0498b593e84f Source-Link: https://github.com/googleapis/googleapis-gen/commit/9f6775cab1958982b88967a43e5e806af0f135db Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiOWY2Nzc1Y2FiMTk1ODk4MmI4ODk2N2E0M2U1ZTgwNmFmMGYxMzVkYiJ9 --- .../executions/v1/ExecutionsGrpc.java | 739 ---- .../executions/v1beta/ExecutionsGrpc.java | 743 ---- .../executions/v1/ExecutionsClient.java | 20 +- .../executions/v1/ExecutionsSettings.java | 7 +- .../executions/v1/gapic_metadata.json | 0 .../workflows/executions/v1/package-info.java | 0 .../executions/v1/stub/ExecutionsStub.java | 0 .../v1/stub/ExecutionsStubSettings.java | 7 +- .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1/stub/GrpcExecutionsStub.java | 1 + .../executions/v1/ExecutionsClientTest.java | 0 .../executions/v1/MockExecutions.java | 0 .../executions/v1/MockExecutionsImpl.java | 0 .../executions/v1/ExecutionsGrpc.java | 578 +++ .../executions/v1/CancelExecutionRequest.java | 363 +- .../v1/CancelExecutionRequestOrBuilder.java | 33 + .../executions/v1/CreateExecutionRequest.java | 510 +-- .../v1/CreateExecutionRequestOrBuilder.java | 60 + .../workflows/executions/v1/Execution.java | 3451 ++++++----------- .../executions/v1/ExecutionName.java | 0 .../executions/v1/ExecutionOrBuilder.java | 128 +- .../executions/v1/ExecutionView.java | 86 +- .../executions/v1/ExecutionsProto.java | 253 ++ .../executions/v1/GetExecutionRequest.java | 449 +-- .../v1/GetExecutionRequestOrBuilder.java | 49 +- .../executions/v1/ListExecutionsRequest.java | 573 ++- .../v1/ListExecutionsRequestOrBuilder.java | 61 +- .../executions/v1/ListExecutionsResponse.java | 470 +-- .../v1/ListExecutionsResponseOrBuilder.java | 45 +- .../workflows/executions/v1/WorkflowName.java | 0 .../workflows/executions/v1/executions.proto | 0 .../executions/v1beta/ExecutionsClient.java | 19 +- .../executions/v1beta/ExecutionsSettings.java | 7 +- .../executions/v1beta/gapic_metadata.json | 0 .../executions/v1beta/package-info.java | 0 .../v1beta/stub/ExecutionsStub.java | 0 .../v1beta/stub/ExecutionsStubSettings.java | 7 +- .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1beta/stub/GrpcExecutionsStub.java | 1 + .../v1beta/ExecutionsClientTest.java | 0 .../executions/v1beta/MockExecutions.java | 0 .../executions/v1beta/MockExecutionsImpl.java | 0 .../executions/v1beta/ExecutionsGrpc.java | 578 +++ .../v1beta/CancelExecutionRequest.java | 375 +- .../CancelExecutionRequestOrBuilder.java | 33 + .../v1beta/CreateExecutionRequest.java | 522 +-- .../CreateExecutionRequestOrBuilder.java | 60 + .../executions/v1beta/Execution.java | 1549 +++----- .../executions/v1beta/ExecutionName.java | 0 .../executions/v1beta/ExecutionOrBuilder.java | 122 +- .../executions/v1beta/ExecutionView.java | 86 +- .../executions/v1beta/ExecutionsProto.java | 208 + .../v1beta/GetExecutionRequest.java | 463 +-- .../v1beta/GetExecutionRequestOrBuilder.java | 49 +- .../v1beta/ListExecutionsRequest.java | 588 ++- .../ListExecutionsRequestOrBuilder.java | 61 +- .../v1beta/ListExecutionsResponse.java | 492 +-- .../ListExecutionsResponseOrBuilder.java | 45 +- .../executions/v1beta/WorkflowName.java | 0 .../executions/v1beta/executions.proto | 0 .../v1/CancelExecutionRequestOrBuilder.java | 58 - .../v1/CreateExecutionRequestOrBuilder.java | 99 - .../executions/v1/ExecutionsProto.java | 293 -- .../CancelExecutionRequestOrBuilder.java | 58 - .../CreateExecutionRequestOrBuilder.java | 99 - .../executions/v1beta/ExecutionsProto.java | 238 -- 66 files changed, 5662 insertions(+), 9074 deletions(-) delete mode 100644 grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java delete mode 100644 grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java (97%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java (96%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java (97%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java (99%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java (68%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java (100%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java (74%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequest.java (64%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java (50%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java (68%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java (64%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java (73%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java (70%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java (100%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/proto/google/cloud/workflows/executions/v1/executions.proto (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java (97%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java (96%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java (97%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java (99%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java (100%) create mode 100644 owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java (63%) create mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java (62%) create mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java (71%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java (100%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java (71%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequest.java (63%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java (50%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java (67%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java (64%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java (72%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java (70%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java (100%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto (100%) delete mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java delete mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java delete mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java delete mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java delete mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java delete mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java diff --git a/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java deleted file mode 100644 index 01ed5871..00000000 --- a/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.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 abstract static class ExecutionsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCancelExecutionMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_CANCEL_EXECUTION))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - 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/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java b/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java deleted file mode 100644 index ebfd50b8..00000000 --- a/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java +++ /dev/null @@ -1,743 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.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 abstract static class ExecutionsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCancelExecutionMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_CANCEL_EXECUTION))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - 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/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java similarity index 97% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java index af1133bc..60d9ca3b 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java +++ b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java @@ -18,7 +18,6 @@ import com.google.api.core.ApiFuture; import com.google.api.core.ApiFutures; -import com.google.api.core.BetaApi; import com.google.api.gax.core.BackgroundResource; import com.google.api.gax.paging.AbstractFixedSizeCollection; import com.google.api.gax.paging.AbstractPage; @@ -58,13 +57,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -123,7 +122,6 @@ public static final ExecutionsClient create(ExecutionsSettings settings) throws * Constructs an instance of ExecutionsClient, using the given stub for making calls. This is for * advanced usage - prefer using create(ExecutionsSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final ExecutionsClient create(ExecutionsStub stub) { return new ExecutionsClient(stub); } @@ -137,7 +135,6 @@ protected ExecutionsClient(ExecutionsSettings settings) throws IOException { this.stub = ((ExecutionsStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected ExecutionsClient(ExecutionsStub stub) { this.settings = null; this.stub = stub; @@ -147,7 +144,6 @@ public final ExecutionsSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ExecutionsStub getStub() { return stub; } @@ -665,10 +661,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListExecutionsPagedResponse extends AbstractPagedListResponse< - ListExecutionsRequest, - ListExecutionsResponse, - Execution, - ListExecutionsPage, + ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, ListExecutionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -718,10 +711,7 @@ public ApiFuture createPageAsync( public static class ListExecutionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListExecutionsRequest, - ListExecutionsResponse, - Execution, - ListExecutionsPage, + ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, ListExecutionsFixedSizeCollection> { private ListExecutionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java similarity index 96% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java index 4bef877f..14622b58 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java +++ b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java @@ -27,6 +27,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; @@ -41,10 +42,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java similarity index 97% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java index 3614293f..403f3756 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java @@ -61,10 +61,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -177,7 +177,6 @@ public UnaryCallSettings cancelExecutionSetti return cancelExecutionSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ExecutionsStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java similarity index 99% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java index 203d4698..6fe8aed5 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java +++ b/owl-bot-staging/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/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java new file mode 100644 index 00000000..17090128 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java @@ -0,0 +1,578 @@ +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 static abstract class ExecutionsImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_CANCEL_EXECUTION))) + .build(); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + 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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java similarity index 64% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java index ac476a4b..b68d8b7d 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution]
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CancelExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,20 +55,19 @@ private CancelExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,43 +75,36 @@ private CancelExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -138,33 +113,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 { @@ -173,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +182,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,104 +210,96 @@ 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]
@@ -343,23 +308,21 @@ 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()
@@ -367,15 +330,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -385,14 +349,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();
     }
 
@@ -407,8 +370,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.CancelExecutionRequest result = new com.google.cloud.workflows.executions.v1.CancelExecutionRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -418,50 +380,46 @@ public com.google.cloud.workflows.executions.v1.CancelExecutionRequest buildPart
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -485,9 +443,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.CancelExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.CancelExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -499,24 +455,20 @@ public Builder mergeFrom(
 
     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; @@ -525,25 +477,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 { @@ -551,80 +500,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -634,32 +570,30 @@ 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 { - return new CancelExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,8 +605,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java new file mode 100644 index 00000000..274df6c4 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java similarity index 62% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java index 63083170..697b5aa7 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution]
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CreateExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,37 +55,32 @@ private CreateExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
+            parent_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.workflows.executions.v1.Execution.Builder subBuilder = null;
+            if (execution_ != null) {
+              subBuilder = execution_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.workflows.executions.v1.Execution.Builder subBuilder = null;
-              if (execution_ != null) {
-                subBuilder = execution_.toBuilder();
-              }
-              execution_ =
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1.Execution.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(execution_);
-                execution_ = subBuilder.buildPartial();
-              }
-
-              break;
+            execution_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(execution_);
+              execution_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -110,43 +88,36 @@ private CreateExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -155,33 +126,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 { @@ -192,16 +161,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 @@ -209,34 +173,23 @@ 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() { @@ -244,7 +197,6 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -276,7 +229,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,18 +240,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -322,104 +277,96 @@ 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]
@@ -428,23 +375,21 @@ 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()
@@ -452,15 +397,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -476,14 +422,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();
     }
 
@@ -498,8 +443,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.CreateExecutionRequest result = new com.google.cloud.workflows.executions.v1.CreateExecutionRequest(this);
       result.parent_ = parent_;
       if (executionBuilder_ == null) {
         result.execution_ = execution_;
@@ -514,50 +458,46 @@ public com.google.cloud.workflows.executions.v1.CreateExecutionRequest buildPart
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -584,9 +524,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.CreateExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.CreateExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -598,24 +536,20 @@ public Builder mergeFrom(
 
     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; @@ -624,25 +558,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 { @@ -650,73 +581,60 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -724,58 +642,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 executionBuilder_ != null || 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. */ 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) { @@ -791,15 +690,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) { @@ -813,23 +708,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 (execution_ != null) { execution_ = - com.google.cloud.workflows.executions.v1.Execution.newBuilder(execution_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.newBuilder(execution_).mergeFrom(value).buildPartial(); } else { execution_ = value; } @@ -841,15 +730,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() { if (executionBuilder_ == null) { @@ -863,71 +748,55 @@ 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() { - + onChanged(); 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); } @@ -937,32 +806,30 @@ 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 { - return new CreateExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -974,8 +841,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java new file mode 100644 index 00000000..e519bd4f --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java similarity index 68% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java index d5e50984..d1d0604b 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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).
@@ -28,16 +11,15 @@
  *
  * 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;
@@ -49,15 +31,16 @@ private Execution() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Execution();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Execution(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,102 +59,88 @@ private Execution(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (startTime_ != null) {
+              subBuilder = startTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(startTime_);
+              startTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (endTime_ != null) {
+              subBuilder = endTime_.toBuilder();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
-
-              state_ = rawValue;
-              break;
+            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(endTime_);
+              endTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              argument_ = s;
-              break;
-            }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
 
-              result_ = s;
-              break;
-            }
-          case 58:
-            {
-              com.google.cloud.workflows.executions.v1.Execution.Error.Builder subBuilder = null;
-              if (error_ != null) {
-                subBuilder = error_.toBuilder();
-              }
-              error_ =
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1.Execution.Error.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(error_);
-                error_ = subBuilder.buildPartial();
-              }
+            state_ = rawValue;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            argument_ = s;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              workflowRevisionId_ = s;
-              break;
+            result_ = s;
+            break;
+          }
+          case 58: {
+            com.google.cloud.workflows.executions.v1.Execution.Error.Builder subBuilder = null;
+            if (error_ != null) {
+              subBuilder = error_.toBuilder();
             }
-          case 72:
-            {
-              int rawValue = input.readEnum();
-
-              callLogLevel_ = rawValue;
-              break;
+            error_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.Error.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            workflowRevisionId_ = s;
+            break;
+          }
+          case 72: {
+            int rawValue = input.readEnum();
+
+            callLogLevel_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -179,31 +148,27 @@ private Execution(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   }
 
   @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.
@@ -211,10 +176,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 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.
      * 
@@ -223,8 +187,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The execution is in progress.
      * 
@@ -233,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
      * The execution finished successfully.
      * 
@@ -243,8 +203,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(2), /** - * - * *
      * The execution failed with an error.
      * 
@@ -253,8 +211,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -266,8 +222,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid state.
      * 
@@ -276,8 +230,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The execution is in progress.
      * 
@@ -286,8 +238,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The execution finished successfully.
      * 
@@ -296,8 +246,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 2; /** - * - * *
      * The execution failed with an error.
      * 
@@ -306,8 +254,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -316,6 +262,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( @@ -340,55 +287,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.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; @@ -406,8 +349,6 @@ private State(int value) { } /** - * - * *
    * Describes the level of platform logging to apply to calls and call
    * responses during workflow executions.
@@ -415,10 +356,9 @@ 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 specified.
      * 
@@ -427,8 +367,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { */ CALL_LOG_LEVEL_UNSPECIFIED(0), /** - * - * *
      * Log all call steps within workflows, all call returns, and all exceptions
      * raised.
@@ -438,8 +376,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum {
      */
     LOG_ALL_CALLS(1),
     /**
-     *
-     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -451,8 +387,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * No call logging specified.
      * 
@@ -461,8 +395,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CALL_LOG_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Log all call steps within workflows, all call returns, and all exceptions
      * raised.
@@ -472,8 +404,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int LOG_ALL_CALLS_VALUE = 1;
     /**
-     *
-     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -482,6 +412,7 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOG_ERRORS_ONLY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -506,51 +437,49 @@ 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; - default: - return null; + 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() { + 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); + } + }; - 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() { + 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; @@ -567,122 +496,93 @@ 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_ = ""; @@ -690,15 +590,16 @@ private StackTraceElement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StackTraceElement(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StackTraceElement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -717,47 +618,38 @@ private StackTraceElement( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - step_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + step_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - routine_ = s; - break; + routine_ = s; + break; + } + case 26: { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder subBuilder = null; + if (position_ != null) { + subBuilder = position_.toBuilder(); } - case 26: - { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .Builder - subBuilder = null; - if (position_ != null) { - subBuilder = position_.toBuilder(); - } - position_ = - input.readMessage( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .Position.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(position_); - position_ = subBuilder.buildPartial(); - } - - break; + position_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(position_); + position_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -765,108 +657,94 @@ private StackTraceElement( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Position( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -885,28 +763,28 @@ private Position( case 0: done = true; break; - case 8: - { - line_ = input.readInt64(); - break; - } - case 16: - { - column_ = input.readInt64(); - break; - } - case 24: - { - length_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + line_ = input.readInt64(); + break; + } + case 16: { + + column_ = input.readInt64(); + break; + } + case 24: { + + length_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -914,41 +792,34 @@ private Position( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
        * The source code line number the current instruction was generated from.
        * 
* * int64 line = 1; - * * @return The line. */ @java.lang.Override @@ -959,15 +830,12 @@ public long getLine() { public static final int COLUMN_FIELD_NUMBER = 2; 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 @@ -978,14 +846,11 @@ public long getColumn() { public static final int LENGTH_FIELD_NUMBER = 3; 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 @@ -994,7 +859,6 @@ public long getLength() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1006,7 +870,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1026,13 +891,16 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1042,19 +910,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; - - if (getLine() != other.getLine()) return false; - if (getColumn() != other.getColumn()) return false; - if (getLength() != other.getLength()) return false; + 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1067,113 +935,101 @@ 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) + unknownFields.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 @@ -1183,54 +1039,46 @@ 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() + // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1244,23 +1092,19 @@ 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); } @@ -1268,11 +1112,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @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); + 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); result.line_ = line_; result.column_ = column_; result.length_ = length_; @@ -1284,56 +1125,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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()); } @@ -1358,14 +1189,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parsedMessage = null; + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1375,16 +1203,13 @@ public Builder mergeFrom( return this; } - 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 @@ -1392,52 +1217,43 @@ 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; 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() { - + line_ = 0L; onChanged(); 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 @@ -1445,53 +1261,44 @@ 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; 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() { - + column_ = 0L; onChanged(); 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 @@ -1499,41 +1306,34 @@ 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; 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() { - + length_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1546,34 +1346,30 @@ 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 { - return new Position(input, extensionRegistry); - } - }; + 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 { + return new Position(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1585,23 +1381,20 @@ 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; private volatile java.lang.Object step_; /** - * - * *
      * The step the error occurred at.
      * 
* * string step = 1; - * * @return The step. */ @java.lang.Override @@ -1610,29 +1403,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 { @@ -1643,14 +1436,11 @@ public com.google.protobuf.ByteString getStepBytes() { public static final int ROUTINE_FIELD_NUMBER = 2; private volatile java.lang.Object routine_; /** - * - * *
      * The routine where the error occurred.
      * 
* * string routine = 2; - * * @return The routine. */ @java.lang.Override @@ -1659,29 +1449,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 { @@ -1692,16 +1482,11 @@ public com.google.protobuf.ByteString getRoutineBytes() { 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 @@ -1709,45 +1494,30 @@ 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() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder getPositionOrBuilder() { return getPosition(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1759,7 +1529,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1785,7 +1556,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1795,19 +1567,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1834,95 +1608,87 @@ 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 @@ -1932,49 +1698,44 @@ 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() + // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1992,22 +1753,19 @@ 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); } @@ -2016,8 +1774,7 @@ 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); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(this); result.step_ = step_; result.routine_ = routine_; if (positionBuilder_ == null) { @@ -2033,53 +1790,46 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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_; onChanged(); @@ -2110,9 +1860,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2124,20 +1872,18 @@ public Builder mergeFrom( 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; @@ -2146,21 +1892,20 @@ 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 { @@ -2168,61 +1913,54 @@ public com.google.protobuf.ByteString getStepBytes() { } } /** - * - * *
        * 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) { + public Builder setStep( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + step_ = value; onChanged(); return this; } /** - * - * *
        * The step the error occurred at.
        * 
* * string step = 1; - * * @return This builder for chaining. */ public Builder clearStep() { - + step_ = getDefaultInstance().getStep(); 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) { + public Builder setStepBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + step_ = value; onChanged(); return this; @@ -2230,20 +1968,18 @@ public Builder setStepBytes(com.google.protobuf.ByteString value) { 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; @@ -2252,21 +1988,20 @@ 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 { @@ -2274,127 +2009,96 @@ public com.google.protobuf.ByteString getRoutineBytes() { } } /** - * - * *
        * 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) { + public Builder setRoutine( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + routine_ = value; onChanged(); return this; } /** - * - * *
        * The routine where the error occurred.
        * 
* * string routine = 2; - * * @return This builder for chaining. */ public Builder clearRoutine() { - + routine_ = getDefaultInstance().getRoutine(); 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) { + public Builder setRoutineBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + routine_ = value; onChanged(); 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 positionBuilder_ != null || 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. */ - 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(); @@ -2408,19 +2112,14 @@ 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 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(); onChanged(); @@ -2431,25 +2130,17 @@ 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 (position_ != null) { position_ = - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .newBuilder(position_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder(position_).mergeFrom(value).buildPartial(); } else { position_ = value; } @@ -2461,15 +2152,11 @@ public Builder mergePosition( 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() { if (positionBuilder_ == null) { @@ -2483,74 +2170,52 @@ 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() { + 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) { @@ -2563,32 +2228,30 @@ 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 { - return new StackTraceElement(input, extensionRegistry); - } - }; + 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 { + return new StackTraceElement(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2600,116 +2263,92 @@ 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< - ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> + java.util.List 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StackTrace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2729,28 +2368,22 @@ private StackTrace( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - elements_ = - new java.util.ArrayList< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>(); - mutable_bitField0_ |= 0x00000001; - } - elements_.add( - input.readMessage( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + elements_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + elements_.add( + input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2758,7 +2391,8 @@ private StackTrace( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { elements_ = java.util.Collections.unmodifiableList(elements_); @@ -2767,108 +2401,80 @@ private StackTrace( makeExtensionsImmutable(); } } - - 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; - 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< - ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> + public java.util.List 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; @@ -2880,7 +2486,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -2894,7 +2501,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2904,15 +2512,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2934,94 +2542,87 @@ 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 @@ -3031,32 +2632,27 @@ 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() @@ -3064,17 +2660,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getElementsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3088,14 +2684,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_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(); } @@ -3110,8 +2705,7 @@ 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); int from_bitField0_ = bitField0_; if (elementsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3130,52 +2724,46 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTrace buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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()) { @@ -3194,10 +2782,9 @@ public Builder mergeFrom( 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_); } @@ -3222,9 +2809,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1.Execution.StackTrace) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTrace) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3233,40 +2818,28 @@ public Builder mergeFrom( } 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< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>(elements_); + 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_; + 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 { @@ -3274,15 +2847,11 @@ private void ensureElementsIsMutable() { } } /** - * - * *
        * 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) { @@ -3292,18 +2861,13 @@ 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 { @@ -3311,15 +2875,11 @@ 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) { @@ -3336,20 +2896,14 @@ 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()); @@ -3360,18 +2914,13 @@ 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(); @@ -3385,15 +2934,11 @@ 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 value) { @@ -3410,19 +2955,14 @@ 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()); @@ -3433,20 +2973,14 @@ 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()); @@ -3457,23 +2991,18 @@ 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< - ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElement> - values) { + java.lang.Iterable 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); @@ -3481,15 +3010,11 @@ 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) { @@ -3502,15 +3027,11 @@ 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) { @@ -3523,54 +3044,39 @@ 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< - ? extends - com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> - getElementsOrBuilderList() { + public java.util.List + getElementsOrBuilderList() { if (elementsBuilder_ != null) { return elementsBuilder_.getMessageOrBuilderList(); } else { @@ -3578,76 +3084,53 @@ public Builder removeElements(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; */ - 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< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder> - getElementsBuilderList() { + 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> + 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) { @@ -3660,32 +3143,30 @@ 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 { - return new StackTrace(input, extensionRegistry); - } - }; + 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 { + return new StackTrace(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3697,94 +3178,75 @@ 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.
      * 
@@ -3794,24 +3256,21 @@ public interface ErrorOrBuilder 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_ = ""; @@ -3819,15 +3278,16 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3846,45 +3306,38 @@ private Error( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - payload_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + payload_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - context_ = s; - break; + context_ = s; + break; + } + case 26: { + com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder subBuilder = null; + if (stackTrace_ != null) { + subBuilder = stackTrace_.toBuilder(); } - case 26: - { - com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder subBuilder = - null; - if (stackTrace_ != null) { - subBuilder = stackTrace_.toBuilder(); - } - stackTrace_ = - input.readMessage( - com.google.cloud.workflows.executions.v1.Execution.StackTrace.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stackTrace_); - stackTrace_ = subBuilder.buildPartial(); - } - - break; + stackTrace_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTrace.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stackTrace_); + stackTrace_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3892,39 +3345,34 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -3933,29 +3381,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 { @@ -3966,14 +3414,11 @@ public com.google.protobuf.ByteString getPayloadBytes() { public static final int CONTEXT_FIELD_NUMBER = 2; private volatile java.lang.Object context_; /** - * - * *
      * Human-readable stack trace string.
      * 
* * string context = 2; - * * @return The context. */ @java.lang.Override @@ -3982,29 +3427,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 { @@ -4015,14 +3460,11 @@ public com.google.protobuf.ByteString getContextBytes() { 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 @@ -4030,25 +3472,18 @@ 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.
      * 
@@ -4056,13 +3491,11 @@ 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() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder getStackTraceOrBuilder() { return getStackTrace(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4074,7 +3507,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -4100,7 +3534,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4110,19 +3545,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4149,94 +3586,87 @@ 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 @@ -4246,32 +3676,27 @@ 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() @@ -4279,15 +3704,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4305,9 +3731,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 @@ -4326,8 +3752,7 @@ 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); + com.google.cloud.workflows.executions.v1.Execution.Error result = new com.google.cloud.workflows.executions.v1.Execution.Error(this); result.payload_ = payload_; result.context_ = context_; if (stackTraceBuilder_ == null) { @@ -4343,41 +3768,38 @@ public com.google.cloud.workflows.executions.v1.Execution.Error buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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; @@ -4385,8 +3807,7 @@ 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_; onChanged(); @@ -4417,8 +3838,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1.Execution.Error) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4430,20 +3850,18 @@ public Builder mergeFrom( 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; @@ -4452,21 +3870,20 @@ 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 { @@ -4474,61 +3891,54 @@ public com.google.protobuf.ByteString getPayloadBytes() { } } /** - * - * *
        * 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) { + public Builder setPayload( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; 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(); 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) { + public Builder setPayloadBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + payload_ = value; onChanged(); return this; @@ -4536,20 +3946,18 @@ public Builder setPayloadBytes(com.google.protobuf.ByteString value) { 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; @@ -4558,21 +3966,20 @@ 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 { @@ -4580,61 +3987,54 @@ public com.google.protobuf.ByteString getContextBytes() { } } /** - * - * *
        * 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) { + public Builder setContext( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + context_ = value; onChanged(); return this; } /** - * - * *
        * Human-readable stack trace string.
        * 
* * string context = 2; - * * @return This builder for chaining. */ public Builder clearContext() { - + context_ = getDefaultInstance().getContext(); 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) { + public Builder setContextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + context_ = value; onChanged(); return this; @@ -4642,55 +4042,41 @@ public Builder setContextBytes(com.google.protobuf.ByteString value) { 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 stackTraceBuilder_ != null || 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. */ 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(); @@ -4704,8 +4090,6 @@ public Builder setStackTrace( return this; } /** - * - * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4724,23 +4108,17 @@ 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 (stackTrace_ != null) { stackTrace_ = - com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder( - stackTrace_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder(stackTrace_).mergeFrom(value).buildPartial(); } else { stackTrace_ = value; } @@ -4752,8 +4130,6 @@ public Builder mergeStackTrace( return this; } /** - * - * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4772,42 +4148,33 @@ 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() { + 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.
        * 
@@ -4815,22 +4182,18 @@ public Builder clearStackTrace() { * .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) { @@ -4843,12 +4206,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(); } @@ -4857,16 +4220,16 @@ 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 { - return new Error(input, extensionRegistry); - } - }; + 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 { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4881,13 +4244,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The resource name of the execution.
    * Format:
@@ -4895,7 +4257,6 @@ public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstan
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -4904,15 +4265,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:
@@ -4920,15 +4280,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 { @@ -4939,15 +4300,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 @@ -4955,15 +4312,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 @@ -4971,14 +4324,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() { @@ -4988,15 +4338,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 @@ -5004,15 +4350,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 @@ -5020,14 +4362,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() { @@ -5037,50 +4376,33 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.State result = - com.google.cloud.workflows.executions.v1.Execution.State.valueOf(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.valueOf(state_); + return result == null ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; private volatile java.lang.Object argument_; /** - * - * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
@@ -5090,7 +4412,6 @@ public com.google.cloud.workflows.executions.v1.Execution.State getState() {
    * 
* * string argument = 5; - * * @return The argument. */ @java.lang.Override @@ -5099,15 +4420,14 @@ 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.
@@ -5117,15 +4437,16 @@ 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 { @@ -5136,15 +4457,12 @@ public com.google.protobuf.ByteString getArgumentBytes() { public static final int RESULT_FIELD_NUMBER = 6; 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 @@ -5153,30 +4471,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 { @@ -5187,18 +4505,13 @@ public com.google.protobuf.ByteString getResultBytes() { 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 @@ -5206,38 +4519,27 @@ 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() { @@ -5247,14 +4549,11 @@ public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErro public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; 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 @@ -5263,29 +4562,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 { @@ -5296,43 +4595,31 @@ public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { public static final int CALL_LOG_LEVEL_FIELD_NUMBER = 9; private int callLogLevel_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.valueOf(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.valueOf(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; @@ -5344,7 +4631,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -5354,8 +4642,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.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_)) { @@ -5370,10 +4657,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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_); } unknownFields.writeTo(output); @@ -5389,14 +4673,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.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_); @@ -5405,16 +4691,15 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5424,31 +4709,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.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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -5491,103 +4782,96 @@ 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).
@@ -5595,23 +4879,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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;
     }
 
     @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()
@@ -5619,15 +4901,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5665,9 +4948,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
@@ -5686,8 +4969,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.Execution result = new com.google.cloud.workflows.executions.v1.Execution(this);
       result.name_ = name_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -5717,39 +4999,38 @@ public com.google.cloud.workflows.executions.v1.Execution buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -5757,8 +5038,7 @@ 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_;
         onChanged();
@@ -5809,8 +5089,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.Execution) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.Execution) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -5822,8 +5101,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The resource name of the execution.
      * Format:
@@ -5831,13 +5108,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; @@ -5846,8 +5123,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5855,14 +5130,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 { @@ -5870,8 +5146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5879,22 +5153,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5902,18 +5174,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5921,16 +5190,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -5938,35 +5207,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -5977,14 +5235,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) { @@ -6000,16 +5255,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(); onChanged(); @@ -6020,20 +5273,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -6045,14 +5295,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() { if (startTimeBuilder_ == null) { @@ -6066,59 +5313,48 @@ 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() { - + onChanged(); 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_; @@ -6126,35 +5362,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -6165,14 +5390,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) { @@ -6188,16 +5410,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(); onChanged(); @@ -6208,20 +5428,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -6233,14 +5450,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() { if (endTimeBuilder_ == null) { @@ -6254,59 +5468,48 @@ 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() { - + 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]; - * + * .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_; @@ -6314,75 +5517,51 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { 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. */ public Builder setStateValue(int value) { - + state_ = value; 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]; - * - * + * .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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.State result = - com.google.cloud.workflows.executions.v1.Execution.State.valueOf(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.valueOf(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. */ @@ -6390,26 +5569,21 @@ public Builder setState(com.google.cloud.workflows.executions.v1.Execution.State if (value == null) { throw new NullPointerException(); } - + 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]; - * - * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -6417,8 +5591,6 @@ public Builder clearState() { private java.lang.Object argument_ = ""; /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6428,13 +5600,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; @@ -6443,8 +5615,6 @@ public java.lang.String getArgument() { } } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6454,14 +5624,15 @@ 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 { @@ -6469,8 +5640,6 @@ public com.google.protobuf.ByteString getArgumentBytes() { } } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6480,22 +5649,20 @@ public com.google.protobuf.ByteString getArgumentBytes() {
      * 
* * string argument = 5; - * * @param value The argument to set. * @return This builder for chaining. */ - public Builder setArgument(java.lang.String value) { + public Builder setArgument( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + argument_ = value; onChanged(); return this; } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6505,18 +5672,15 @@ public Builder setArgument(java.lang.String value) {
      * 
* * string argument = 5; - * * @return This builder for chaining. */ public Builder clearArgument() { - + argument_ = getDefaultInstance().getArgument(); onChanged(); return this; } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6526,16 +5690,16 @@ 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) { + public Builder setArgumentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + argument_ = value; onChanged(); return this; @@ -6543,21 +5707,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; @@ -6566,22 +5728,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 { @@ -6589,64 +5750,57 @@ 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) { + public Builder setResult( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + result_ = value; 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(); 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) { + public Builder setResultBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + result_ = value; onChanged(); return this; @@ -6654,64 +5808,45 @@ public Builder setResultBytes(com.google.protobuf.ByteString value) { 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 errorBuilder_ != null || 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. */ 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) { @@ -6727,17 +5862,13 @@ 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) { @@ -6751,25 +5882,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.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 (error_ != null) { error_ = - com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder(error_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -6781,17 +5906,13 @@ 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() { if (errorBuilder_ == null) { @@ -6805,70 +5926,54 @@ 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() { - + 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]; - * + * .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_; @@ -6876,20 +5981,18 @@ 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; @@ -6898,21 +6001,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 { @@ -6920,61 +6022,54 @@ 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) { + public Builder setWorkflowRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workflowRevisionId_ = value; 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(); 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) { + public Builder setWorkflowRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; onChanged(); return this; @@ -6982,100 +6077,80 @@ public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) 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. */ public Builder setCallLogLevelValue(int value) { - + callLogLevel_ = value; 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.valueOf(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.valueOf(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(); } - + 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() { - + callLogLevel_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7085,12 +6160,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(); } @@ -7099,16 +6174,16 @@ 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 { - return new Execution(input, extensionRegistry); - } - }; + 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 { + return new Execution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7123,4 +6198,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.Execution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java similarity index 100% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java similarity index 74% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java index 15a0f193..b9041052 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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:
@@ -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,119 +26,85 @@ 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.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.
@@ -169,13 +114,10 @@ public interface ExecutionOrBuilder
    * 
* * 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.
@@ -185,131 +127,101 @@ public interface ExecutionOrBuilder
    * 
* * 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(); diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java similarity index 67% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java index a85f1bd6..573c7a5a 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,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.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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java new file mode 100644 index 00000000..ecc80ce6 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java @@ -0,0 +1,253 @@ +// 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\"\237\t\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340A\003\0223\n\nst" + + "art_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022I\n\005state\030\004 \001(\01625.goog" + + "le.cloud.workflows.executions.v1.Executi" + + "on.StateB\003\340A\003\022\020\n\010argument\030\005 \001(\t\022\023\n\006resul" + + "t\030\006 \001(\tB\003\340A\003\022I\n\005error\030\007 \001(\01325.google.clo" + + "ud.workflows.executions.v1.Execution.Err" + + "orB\003\340A\003\022!\n\024workflow_revision_id\030\010 \001(\tB\003\340" + + "A\003\022T\n\016call_log_level\030\t \001(\0162<.google.clou" + + "d.workflows.executions.v1.Execution.Call" + + "LogLevel\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(\0132" + + "J.google.cloud.workflows.executions.v1.E" + + "xecution.StackTraceElement.Position\0328\n\010P" + + "osition\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\010elements\030" + + "\001 \003(\0132A.google.cloud.workflows.execution" + + "s.v1.Execution.StackTraceElement\032z\n\005Erro" + + "r\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\022O\n\013s" + + "tack_trace\030\003 \001(\0132:.google.cloud.workflow" + + "s.executions.v1.Execution.StackTrace\"T\n\005" + + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" + + "\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED" + + "\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LEVEL_UNS" + + "PECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017LOG_ERR" + + "ORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecutions.go" + + "ogleapis.com/Execution\022Sprojects/{projec" + + "t}/locations/{location}/workflows/{workf" + + "low}/executions/{execution}\"\301\001\n\025ListExec" + + "utionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!w" + + "orkflows.googleapis.com/Workflow\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view\030" + + "\004 \001(\01623.google.cloud.workflows.execution" + + "s.v1.ExecutionViewB\003\340A\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\"\234\001\n\026CreateExecut" + + "ionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!work" + + "flows.googleapis.com/Workflow\022G\n\texecuti" + + "on\030\002 \001(\0132/.google.cloud.workflows.execut" + + "ions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecutionR" + + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowex" + + "ecutions.googleapis.com/Execution\022F\n\004vie" + + "w\030\002 \001(\01623.google.cloud.workflows.executi" + + "ons.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExecu" + + "tionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workf" + + "lowexecutions.googleapis.com/Execution*D" + + "\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPEC" + + "IFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecuti" + + "ons\022\330\001\n\016ListExecutions\022;.google.cloud.wo" + + "rkflows.executions.v1.ListExecutionsRequ" + + "est\032<.google.cloud.workflows.executions." + + "v1.ListExecutionsResponse\"K\202\323\344\223\002<\022:/v1/{" + + "parent=projects/*/locations/*/workflows/" + + "*}/executions\332A\006parent\022\342\001\n\017CreateExecuti" + + "on\022<.google.cloud.workflows.executions.v" + + "1.CreateExecutionRequest\032/.google.cloud." + + "workflows.executions.v1.Execution\"`\202\323\344\223\002" + + "G\":/v1/{parent=projects/*/locations/*/wo" + + "rkflows/*}/executions:\texecution\332A\020paren" + + "t,execution\022\305\001\n\014GetExecution\0229.google.cl" + + "oud.workflows.executions.v1.GetExecution" + + "Request\032/.google.cloud.workflows.executi" + + "ons.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=proj" + + "ects/*/locations/*/workflows/*/execution" + + "s/*}\332A\004name\022\325\001\n\017CancelExecution\022<.google" + + ".cloud.workflows.executions.v1.CancelExe" + + "cutionRequest\032/.google.cloud.workflows.e" + + "xecutions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{nam" + + "e=projects/*/locations/*/workflows/*/exe" + + "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" + + "executions.googleapis.com\322A.https://www." + + "googleapis.com/auth/cloud-platformB\361\001\n(c" + + "om.google.cloud.workflows.executions.v1B" + + "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" + + "nproto/googleapis/cloud/workflows/execut" + + "ions/v1;executions\352Aa\n!workflows.googlea" + + "pis.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,15 +28,16 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,27 +56,25 @@ private GetExecutionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,43 +82,36 @@ private GetExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -146,33 +120,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 { @@ -183,49 +155,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int 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.
    * 
* - * - * .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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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; @@ -237,13 +193,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_); } unknownFields.writeTo(output); @@ -258,10 +213,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -271,15 +225,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -302,104 +256,96 @@ 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]
@@ -408,23 +354,21 @@ 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()
@@ -432,15 +376,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -452,14 +397,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();
     }
 
@@ -474,8 +418,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.GetExecutionRequest result = new com.google.cloud.workflows.executions.v1.GetExecutionRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -486,39 +429,38 @@ public com.google.cloud.workflows.executions.v1.GetExecutionRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -526,9 +468,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_;
         onChanged();
@@ -555,8 +495,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.GetExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.GetExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -568,24 +507,20 @@ public Builder mergeFrom(
 
     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; @@ -594,25 +529,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 { @@ -620,73 +552,60 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -694,79 +613,55 @@ 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.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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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. */ @@ -774,34 +669,29 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -811,13 +701,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(); } @@ -826,16 +715,16 @@ 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 { - return new GetExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,4 +739,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.GetExecutionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java index 23c574a0..bdcb228c 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java @@ -1,88 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java similarity index 68% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java index ef40afe4..d92d512c 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Request for the
  * [ListExecutions][]
@@ -29,16 +12,15 @@
  *
  * 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_ = "";
@@ -47,15 +29,16 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListExecutionsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,39 +57,36 @@ private ListExecutionsRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 16:
-            {
-              pageSize_ = input.readInt32();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parent_ = s;
+            break;
+          }
+          case 16: {
 
-              pageToken_ = s;
-              break;
-            }
-          case 32:
-            {
-              int rawValue = input.readEnum();
+            pageSize_ = input.readInt32();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              view_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pageToken_ = s;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            view_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,42 +94,35 @@ private ListExecutionsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -158,32 +131,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 { @@ -194,8 +165,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -205,7 +174,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -216,8 +184,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -226,7 +192,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -235,15 +200,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.
@@ -252,15 +216,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 { @@ -271,49 +236,33 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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; @@ -325,7 +274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,9 +285,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.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } unknownFields.writeTo(output); @@ -353,15 +301,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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -371,17 +319,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -408,104 +358,96 @@ 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][]
@@ -514,23 +456,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -538,15 +478,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -562,14 +503,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_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();
     }
 
@@ -584,8 +524,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.ListExecutionsRequest result = new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -598,39 +537,38 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsRequest buildParti
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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;
@@ -638,9 +576,7 @@ 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_;
         onChanged();
@@ -674,9 +610,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.ListExecutionsRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.ListExecutionsRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -688,23 +622,19 @@ public Builder mergeFrom(
 
     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; @@ -713,24 +643,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 { @@ -738,79 +665,64 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -820,7 +732,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -828,8 +739,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
@@ -839,19 +748,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -861,11 +767,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -873,8 +778,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.
@@ -883,13 +786,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; @@ -898,8 +801,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -908,14 +809,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 { @@ -923,8 +825,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -933,22 +833,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -957,18 +855,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -977,16 +872,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -994,79 +889,55 @@ 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.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. */ public Builder setViewValue(int value) { - + view_ = value; 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]; - * - * + * .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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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. */ @@ -1074,34 +945,29 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va if (value == null) { throw new NullPointerException(); } - + 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]; - * - * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1111,32 +977,30 @@ 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 { - return new ListExecutionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,8 +1012,9 @@ 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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java index bfc5dc1a..846e2292 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 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.
@@ -82,13 +52,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.
@@ -97,38 +64,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.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(); diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java similarity index 73% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java index 1054df8d..187cc9ae 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,15 +28,16 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListExecutionsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,33 +57,28 @@ private ListExecutionsResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                executions_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              executions_.add(
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1.Execution.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              executions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            executions_.add(
+                input.readMessage(com.google.cloud.workflows.executions.v1.Execution.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -108,7 +86,8 @@ private ListExecutionsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -117,27 +96,22 @@ private ListExecutionsResponse(
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private java.util.List executions_;
   /**
-   *
-   *
    * 
    * The executions which match the request.
    * 
@@ -149,8 +123,6 @@ public java.util.List getExe return executions_; } /** - * - * *
    * The executions which match the request.
    * 
@@ -158,13 +130,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.
    * 
@@ -176,8 +146,6 @@ public int getExecutionsCount() { return executions_.size(); } /** - * - * *
    * The executions which match the request.
    * 
@@ -189,8 +157,6 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde return executions_.get(index); } /** - * - * *
    * The executions which match the request.
    * 
@@ -206,15 +172,12 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -223,30 +186,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 { @@ -255,7 +218,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -284,7 +247,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_); @@ -297,16 +261,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,104 +295,96 @@ 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]
@@ -436,23 +393,21 @@ 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()
@@ -460,17 +415,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getExecutionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -486,14 +441,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();
     }
 
@@ -508,8 +462,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -529,50 +482,46 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsResponse buildPart
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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()) {
@@ -591,10 +540,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_);
           }
@@ -623,9 +571,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.ListExecutionsResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.ListExecutionsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -634,30 +580,21 @@ public Builder mergeFrom(
       }
       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.
      * 
@@ -672,8 +609,6 @@ public java.util.List getExe } } /** - * - * *
      * The executions which match the request.
      * 
@@ -688,8 +623,6 @@ public int getExecutionsCount() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -704,8 +637,6 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde } } /** - * - * *
      * The executions which match the request.
      * 
@@ -727,8 +658,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -747,8 +676,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -769,8 +696,6 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1.Execution return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -792,8 +717,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -812,8 +735,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -832,8 +753,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -844,7 +763,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); @@ -852,8 +772,6 @@ public Builder addAllExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -871,8 +789,6 @@ public Builder clearExecutions() { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -890,8 +806,6 @@ public Builder removeExecutions(int index) { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -903,8 +817,6 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionsB return getExecutionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The executions which match the request.
      * 
@@ -914,22 +826,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 { @@ -937,8 +846,6 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions } } /** - * - * *
      * The executions which match the request.
      * 
@@ -946,12 +853,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.
      * 
@@ -960,36 +865,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_; @@ -997,21 +896,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; @@ -1020,22 +917,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 { @@ -1043,71 +939,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1117,32 +1006,30 @@ 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 { - return new ListExecutionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1154,8 +1041,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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java index 8283508a..af9b0b73 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java similarity index 100% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java diff --git a/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto similarity index 100% rename from proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java similarity index 97% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java index 2be349f7..8a809ddd 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java +++ b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java @@ -58,13 +58,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -124,7 +124,6 @@ public static final ExecutionsClient create(ExecutionsSettings settings) throws * Constructs an instance of ExecutionsClient, using the given stub for making calls. This is for * advanced usage - prefer using create(ExecutionsSettings). */ - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public static final ExecutionsClient create(ExecutionsStub stub) { return new ExecutionsClient(stub); } @@ -138,7 +137,6 @@ protected ExecutionsClient(ExecutionsSettings settings) throws IOException { this.stub = ((ExecutionsStubSettings) settings.getStubSettings()).createStub(); } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") protected ExecutionsClient(ExecutionsStub stub) { this.settings = null; this.stub = stub; @@ -148,7 +146,6 @@ public final ExecutionsSettings getSettings() { return settings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ExecutionsStub getStub() { return stub; } @@ -666,10 +663,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListExecutionsPagedResponse extends AbstractPagedListResponse< - ListExecutionsRequest, - ListExecutionsResponse, - Execution, - ListExecutionsPage, + ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, ListExecutionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -719,10 +713,7 @@ public ApiFuture createPageAsync( public static class ListExecutionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListExecutionsRequest, - ListExecutionsResponse, - Execution, - ListExecutionsPage, + ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, ListExecutionsFixedSizeCollection> { private ListExecutionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java similarity index 96% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java index 0db5f1a1..70dca782 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java +++ b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java @@ -27,6 +27,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; @@ -41,10 +42,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java similarity index 97% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java index 1aac28d2..f8be6d29 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java +++ b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java @@ -61,10 +61,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -178,7 +178,6 @@ public UnaryCallSettings cancelExecutionSetti return cancelExecutionSettings; } - @BetaApi("A restructuring of stub classes is planned, so this may break in the future") public ExecutionsStub createStub() throws IOException { if (getTransportChannelProvider() .getTransportName() diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java similarity index 99% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java index 7954ed6e..672084c9 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java +++ b/owl-bot-staging/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/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java diff --git a/owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java b/owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java new file mode 100644 index 00000000..9d2d0d4a --- /dev/null +++ b/owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java @@ -0,0 +1,578 @@ +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 static abstract class ExecutionsImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_CANCEL_EXECUTION))) + .build(); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + 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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java similarity index 63% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java index 97bf582c..f90bfc03 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** - * - * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1beta.Executions.CancelExecution]
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CancelExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,20 +55,19 @@ private CancelExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,43 +75,36 @@ private CancelExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -138,33 +113,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 { @@ -173,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +182,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,105 +210,96 @@ 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]
@@ -344,40 +308,38 @@ 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()
+    // Construct using com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -387,16 +349,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
@@ -410,8 +370,7 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -421,51 +380,46 @@ public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest build
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -489,9 +443,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -503,24 +455,20 @@ public Builder mergeFrom(
 
     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; @@ -529,25 +477,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 { @@ -555,80 +500,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -638,32 +570,30 @@ 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 { - return new CancelExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -675,8 +605,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java new file mode 100644 index 00000000..aafcee78 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java similarity index 62% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java index edaad805..6d41c501 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** - * - * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1beta.Executions.CreateExecution]
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CreateExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,37 +55,32 @@ private CreateExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
+            parent_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.workflows.executions.v1beta.Execution.Builder subBuilder = null;
+            if (execution_ != null) {
+              subBuilder = execution_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.workflows.executions.v1beta.Execution.Builder subBuilder = null;
-              if (execution_ != null) {
-                subBuilder = execution_.toBuilder();
-              }
-              execution_ =
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(execution_);
-                execution_ = subBuilder.buildPartial();
-              }
-
-              break;
+            execution_ = input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(execution_);
+              execution_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -110,43 +88,36 @@ private CreateExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -155,33 +126,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 { @@ -192,16 +161,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 @@ -209,34 +173,23 @@ 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() { @@ -244,7 +197,6 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -276,7 +229,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,18 +240,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -322,105 +277,96 @@ 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]
@@ -429,40 +375,38 @@ 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()
+    // Construct using com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -478,16 +422,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
@@ -501,8 +443,7 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest(this);
       result.parent_ = parent_;
       if (executionBuilder_ == null) {
         result.execution_ = execution_;
@@ -517,51 +458,46 @@ public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest build
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -588,9 +524,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -602,24 +536,20 @@ public Builder mergeFrom(
 
     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; @@ -628,25 +558,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 { @@ -654,73 +581,60 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -728,58 +642,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 executionBuilder_ != null || 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. */ 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) { @@ -795,15 +690,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) { @@ -817,23 +708,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 (execution_ != null) { execution_ = - com.google.cloud.workflows.executions.v1beta.Execution.newBuilder(execution_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1beta.Execution.newBuilder(execution_).mergeFrom(value).buildPartial(); } else { execution_ = value; } @@ -845,15 +730,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() { if (executionBuilder_ == null) { @@ -867,71 +748,55 @@ 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() { - + onChanged(); 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); } @@ -941,32 +806,30 @@ 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 { - return new CreateExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -978,8 +841,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java new file mode 100644 index 00000000..94408fcf --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java similarity index 71% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java index e20fba48..63ba78e8 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,15 +29,16 @@ private Execution() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Execution(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Execution( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,96 +57,82 @@ private Execution( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 32: - { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - argument_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 32: { + int rawValue = input.readEnum(); - result_ = s; - break; - } - case 58: - { - com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder subBuilder = - null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = - input.readMessage( - com.google.cloud.workflows.executions.v1beta.Execution.Error.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } + state_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); + argument_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - workflowRevisionId_ = s; - break; + result_ = s; + break; + } + case 58: { + com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + error_ = input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.Error.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + workflowRevisionId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -171,31 +140,27 @@ private Execution( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
@@ -203,10 +168,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.
      * 
@@ -215,8 +179,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The execution is in progress.
      * 
@@ -225,8 +187,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
      * The execution finished successfully.
      * 
@@ -235,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(2), /** - * - * *
      * The execution failed with an error.
      * 
@@ -245,8 +203,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -258,8 +214,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid state.
      * 
@@ -268,8 +222,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The execution is in progress.
      * 
@@ -278,8 +230,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The execution finished successfully.
      * 
@@ -288,8 +238,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 2; /** - * - * *
      * The execution failed with an error.
      * 
@@ -298,8 +246,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -308,6 +254,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( @@ -332,55 +279,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; @@ -397,80 +340,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_ = ""; @@ -478,15 +407,16 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -505,27 +435,25 @@ private Error( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - payload_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + payload_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - context_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + context_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -533,39 +461,34 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -574,29 +497,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 { @@ -607,14 +530,11 @@ public com.google.protobuf.ByteString getPayloadBytes() { public static final int CONTEXT_FIELD_NUMBER = 2; private volatile java.lang.Object context_; /** - * - * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; - * * @return The context. */ @java.lang.Override @@ -623,29 +543,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 { @@ -654,7 +574,6 @@ public com.google.protobuf.ByteString getContextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -666,7 +585,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -696,16 +616,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -727,94 +648,87 @@ 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 @@ -824,32 +738,27 @@ 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() @@ -857,15 +766,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -877,14 +787,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(); } @@ -899,8 +808,7 @@ 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); + com.google.cloud.workflows.executions.v1beta.Execution.Error result = new com.google.cloud.workflows.executions.v1beta.Execution.Error(this); result.payload_ = payload_; result.context_ = context_; onBuilt(); @@ -911,41 +819,38 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Error buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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; @@ -953,9 +858,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_; onChanged(); @@ -983,9 +886,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1beta.Execution.Error) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1beta.Execution.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -997,20 +898,18 @@ public Builder mergeFrom( 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; @@ -1019,21 +918,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 { @@ -1041,61 +939,54 @@ 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) { + public Builder setPayload( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; 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() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); 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) { + public Builder setPayloadBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + payload_ = value; onChanged(); return this; @@ -1103,20 +994,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; @@ -1125,21 +1014,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 { @@ -1147,66 +1035,58 @@ 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) { + public Builder setContext( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + context_ = value; onChanged(); return this; } /** - * - * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; - * * @return This builder for chaining. */ public Builder clearContext() { - + context_ = getDefaultInstance().getContext(); onChanged(); 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) { + public Builder setContextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + context_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1219,32 +1099,30 @@ 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 { - return new Error(input, extensionRegistry); - } - }; + 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 { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1256,17 +1134,15 @@ 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; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The resource name of the execution.
    * Format:
@@ -1274,7 +1150,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -1283,15 +1158,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:
@@ -1299,15 +1173,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 { @@ -1318,15 +1193,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 @@ -1334,15 +1205,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 @@ -1350,14 +1217,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() { @@ -1367,15 +1231,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 @@ -1383,15 +1243,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 @@ -1399,14 +1255,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() { @@ -1416,57 +1269,39 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.Execution.State result = - com.google.cloud.workflows.executions.v1beta.Execution.State.valueOf(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.valueOf(state_); + return result == null ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; 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 @@ -1475,30 +1310,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 { @@ -1509,15 +1344,12 @@ public com.google.protobuf.ByteString getArgumentBytes() { public static final int RESULT_FIELD_NUMBER = 6; 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 @@ -1526,30 +1358,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 { @@ -1560,18 +1392,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 @@ -1579,38 +1406,27 @@ 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() { @@ -1620,14 +1436,11 @@ public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder get public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; 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 @@ -1636,29 +1449,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 { @@ -1667,7 +1480,6 @@ public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1679,7 +1491,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1689,9 +1502,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_)) { @@ -1719,15 +1530,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_); @@ -1736,7 +1548,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_); @@ -1749,31 +1562,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1813,127 +1632,117 @@ 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() @@ -1941,15 +1750,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1985,9 +1795,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 @@ -2006,8 +1816,7 @@ 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); + com.google.cloud.workflows.executions.v1beta.Execution result = new com.google.cloud.workflows.executions.v1beta.Execution(this); result.name_ = name_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; @@ -2036,39 +1845,38 @@ public com.google.cloud.workflows.executions.v1beta.Execution buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -2076,8 +1884,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_; onChanged(); @@ -2125,8 +1932,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1beta.Execution) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1beta.Execution) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2138,8 +1944,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2147,13 +1951,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; @@ -2162,8 +1966,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2171,14 +1973,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 { @@ -2186,8 +1989,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2195,22 +1996,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2218,18 +2017,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2237,16 +2033,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2254,35 +2050,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2293,14 +2078,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) { @@ -2316,16 +2098,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(); onChanged(); @@ -2336,20 +2116,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2361,14 +2138,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() { if (startTimeBuilder_ == null) { @@ -2382,59 +2156,48 @@ 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() { - + onChanged(); 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_; @@ -2442,35 +2205,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2481,14 +2233,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) { @@ -2504,16 +2253,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(); onChanged(); @@ -2524,20 +2271,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -2549,14 +2293,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() { if (endTimeBuilder_ == null) { @@ -2570,59 +2311,48 @@ 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() { - + 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]; - * + * .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_; @@ -2630,75 +2360,51 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.Execution.State result = - com.google.cloud.workflows.executions.v1beta.Execution.State.valueOf(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.valueOf(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. */ @@ -2706,26 +2412,21 @@ public Builder setState(com.google.cloud.workflows.executions.v1beta.Execution.S if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2733,21 +2434,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; @@ -2756,22 +2455,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 { @@ -2779,64 +2477,57 @@ 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) { + public Builder setArgument( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + argument_ = value; 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() { - + argument_ = getDefaultInstance().getArgument(); onChanged(); 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) { + public Builder setArgumentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + argument_ = value; onChanged(); return this; @@ -2844,21 +2535,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; @@ -2867,22 +2556,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 { @@ -2890,64 +2578,57 @@ 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) { + public Builder setResult( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + result_ = value; 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(); 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) { + public Builder setResultBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + result_ = value; onChanged(); return this; @@ -2955,64 +2636,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 errorBuilder_ != null || 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. */ 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) { @@ -3028,17 +2690,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) { @@ -3052,25 +2710,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 (error_ != null) { error_ = - com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder(error_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -3082,17 +2734,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() { if (errorBuilder_ == null) { @@ -3106,71 +2754,54 @@ 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() { - + 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.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_; @@ -3178,20 +2809,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; @@ -3200,21 +2829,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 { @@ -3222,68 +2850,61 @@ 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) { + public Builder setWorkflowRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workflowRevisionId_ = value; 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(); 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) { + public Builder setWorkflowRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3293,12 +2914,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(); } @@ -3307,16 +2928,16 @@ 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 { - return new Execution(input, extensionRegistry); - } - }; + 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 { + return new Execution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3331,4 +2952,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1beta.Execution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java similarity index 100% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java similarity index 71% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java index e936b9a7..cbf20e31 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java similarity index 67% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java index 74af5f69..a6434738 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java new file mode 100644 index 00000000..06de9176 --- /dev/null +++ b/owl-bot-staging/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\"\370\004\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340" + + "A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022M\n\005state\030\004 \001(" + + "\01629.google.cloud.workflows.executions.v1" + + "beta.Execution.StateB\003\340A\003\022\020\n\010argument\030\005 " + + "\001(\t\022\023\n\006result\030\006 \001(\tB\003\340A\003\022M\n\005error\030\007 \001(\0132" + + "9.google.cloud.workflows.executions.v1be" + + "ta.Execution.ErrorB\003\340A\003\022!\n\024workflow_revi" + + "sion_id\030\010 \001(\tB\003\340A\003\032)\n\005Error\022\017\n\007payload\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\tSUCCEEDED\020\002" + + "\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202\001\n+work" + + "flowexecutions.googleapis.com/Execution\022" + + "Sprojects/{project}/locations/{location}" + + "/workflows/{workflow}/executions/{execut" + + "ion}\"\305\001\n\025ListExecutionsRequest\0229\n\006parent" + + "\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapis.com" + + "/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\022J\n\004view\030\004 \001(\01627.google.cloud.wo" + + "rkflows.executions.v1beta.ExecutionViewB" + + "\003\340A\001\"z\n\026ListExecutionsResponse\022G\n\nexecut" + + "ions\030\001 \003(\01323.google.cloud.workflows.exec" + + "utions.v1beta.Execution\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\240\001\n\026CreateExecutionRequest\0229\n\006p" + + "arent\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapi" + + "s.com/Workflow\022K\n\texecution\030\002 \001(\01323.goog" + + "le.cloud.workflows.executions.v1beta.Exe" + + "cutionB\003\340A\002\"\244\001\n\023GetExecutionRequest\022A\n\004n" + + "ame\030\001 \001(\tB3\340A\002\372A-\n+workflowexecutions.go" + + "ogleapis.com/Execution\022J\n\004view\030\002 \001(\01627.g" + + "oogle.cloud.workflows.executions.v1beta." + + "ExecutionViewB\003\340A\001\"[\n\026CancelExecutionReq" + + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowexec" + + "utions.googleapis.com/Execution*D\n\rExecu" + + "tionView\022\036\n\032EXECUTION_VIEW_UNSPECIFIED\020\000" + + "\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\nExecutions\022\344\001\n" + + "\016ListExecutions\022?.google.cloud.workflows" + + ".executions.v1beta.ListExecutionsRequest" + + "\032@.google.cloud.workflows.executions.v1b" + + "eta.ListExecutionsResponse\"O\202\323\344\223\002@\022>/v1b" + + "eta/{parent=projects/*/locations/*/workf" + + "lows/*}/executions\332A\006parent\022\356\001\n\017CreateEx" + + "ecution\022@.google.cloud.workflows.executi" + + "ons.v1beta.CreateExecutionRequest\0323.goog" + + "le.cloud.workflows.executions.v1beta.Exe" + + "cution\"d\202\323\344\223\002K\">/v1beta/{parent=projects" + + "/*/locations/*/workflows/*}/executions:\t" + + "execution\332A\020parent,execution\022\321\001\n\014GetExec" + + "ution\022=.google.cloud.workflows.execution" + + "s.v1beta.GetExecutionRequest\0323.google.cl" + + "oud.workflows.executions.v1beta.Executio" + + "n\"M\202\323\344\223\002@\022>/v1beta/{name=projects/*/loca" + + "tions/*/workflows/*/executions/*}\332A\004name" + + "\022\341\001\n\017CancelExecution\022@.google.cloud.work" + + "flows.executions.v1beta.CancelExecutionR" + + "equest\0323.google.cloud.workflows.executio" + + "ns.v1beta.Execution\"W\202\323\344\223\002J\"E/v1beta/{na" + + "me=projects/*/locations/*/workflows/*/ex" + + "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" + + "wexecutions.googleapis.com\322A.https://www" + + ".googleapis.com/auth/cloud-platformB\371\001\n," + + "com.google.cloud.workflows.executions.v1" + + "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" + + "rg/genproto/googleapis/cloud/workflows/e" + + "xecutions/v1beta;executions\352Aa\n!workflow" + + "s.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,15 +28,16 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,27 +56,25 @@ private GetExecutionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,43 +82,36 @@ private GetExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -146,33 +120,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 { @@ -183,49 +155,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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; @@ -237,13 +193,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_); } unknownFields.writeTo(output); @@ -258,10 +213,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -271,15 +225,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -302,104 +256,96 @@ 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]
@@ -408,23 +354,21 @@ 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()
@@ -432,15 +376,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -452,14 +397,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();
     }
 
@@ -474,8 +418,7 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.GetExecutionRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -486,50 +429,46 @@ public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest buildPar
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -556,9 +495,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -570,24 +507,20 @@ public Builder mergeFrom(
 
     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; @@ -596,25 +529,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 { @@ -622,73 +552,60 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -696,79 +613,55 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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. */ @@ -776,34 +669,29 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -813,32 +701,30 @@ 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 { - return new GetExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,8 +736,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java index a1c7f5dd..02246254 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java @@ -1,88 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java similarity index 67% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java index 58e24987..80658267 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,15 +29,16 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListExecutionsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,39 +57,36 @@ private ListExecutionsRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 16:
-            {
-              pageSize_ = input.readInt32();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parent_ = s;
+            break;
+          }
+          case 16: {
 
-              pageToken_ = s;
-              break;
-            }
-          case 32:
-            {
-              int rawValue = input.readEnum();
+            pageSize_ = input.readInt32();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              view_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pageToken_ = s;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            view_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,42 +94,35 @@ private ListExecutionsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -158,32 +131,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 { @@ -194,8 +165,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -205,7 +174,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -216,8 +184,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -226,7 +192,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -235,15 +200,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.
@@ -252,15 +216,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 { @@ -271,49 +236,33 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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; @@ -325,7 +274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,9 +285,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_); } unknownFields.writeTo(output); @@ -353,15 +301,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -371,17 +319,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -408,105 +358,96 @@ 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]
@@ -515,40 +456,38 @@ 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()
+    // Construct using com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -564,16 +503,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
@@ -587,8 +524,7 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result = new com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -601,51 +537,46 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest buildP
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -679,9 +610,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -693,23 +622,19 @@ public Builder mergeFrom(
 
     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; @@ -718,24 +643,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 { @@ -743,79 +665,64 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -825,7 +732,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -833,8 +739,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
@@ -844,19 +748,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -866,11 +767,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -878,8 +778,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.
@@ -888,13 +786,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; @@ -903,8 +801,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -913,14 +809,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 { @@ -928,8 +825,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -938,22 +833,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -962,18 +855,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -982,16 +872,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -999,79 +889,55 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; 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.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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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. */ @@ -1079,34 +945,29 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie if (value == null) { throw new NullPointerException(); } - + 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.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() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,32 +977,30 @@ 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 { - return new ListExecutionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,8 +1012,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java index bb32cb76..e547072c 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
@@ -82,13 +52,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.
@@ -97,38 +64,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java similarity index 72% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java index 96da4bf2..6dec1160 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,15 +28,16 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListExecutionsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,34 +57,28 @@ private ListExecutionsResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                executions_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.workflows.executions.v1beta.Execution>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              executions_.add(
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              executions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            executions_.add(
+                input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,7 +86,8 @@ private ListExecutionsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -118,27 +96,22 @@ private ListExecutionsResponse(
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private java.util.List executions_;
   /**
-   *
-   *
    * 
    * The executions which match the request.
    * 
@@ -146,13 +119,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.
    * 
@@ -160,13 +130,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.
    * 
@@ -178,8 +146,6 @@ public int getExecutionsCount() { return executions_.size(); } /** - * - * *
    * The executions which match the request.
    * 
@@ -191,8 +157,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int return executions_.get(index); } /** - * - * *
    * The executions which match the request.
    * 
@@ -208,15 +172,12 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -225,30 +186,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 { @@ -257,7 +218,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -286,7 +247,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_); @@ -299,16 +261,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,105 +295,96 @@ 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]
@@ -439,42 +393,39 @@ 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()
+    // Construct using com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getExecutionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -490,16 +441,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
@@ -513,8 +462,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -534,51 +482,46 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse build
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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()) {
@@ -597,10 +540,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_);
           }
@@ -629,9 +571,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -640,38 +580,28 @@ public Builder mergeFrom(
       }
       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 { @@ -679,8 +609,6 @@ private void ensureExecutionsIsMutable() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -695,8 +623,6 @@ public int getExecutionsCount() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -711,8 +637,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int } } /** - * - * *
      * The executions which match the request.
      * 
@@ -734,8 +658,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -754,8 +676,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -776,8 +696,6 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1beta.Execut return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -799,8 +717,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -819,8 +735,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -839,8 +753,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -848,11 +760,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); @@ -860,8 +772,6 @@ public Builder addAllExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -879,8 +789,6 @@ public Builder clearExecutions() { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -898,8 +806,6 @@ public Builder removeExecutions(int index) { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -911,8 +817,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti return getExecutionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The executions which match the request.
      * 
@@ -922,22 +826,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 { @@ -945,8 +846,6 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } } /** - * - * *
      * The executions which match the request.
      * 
@@ -954,12 +853,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.
      * 
@@ -968,36 +865,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_; @@ -1005,21 +896,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; @@ -1028,22 +917,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 { @@ -1051,71 +939,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1125,32 +1006,30 @@ 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 { - return new ListExecutionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,8 +1041,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java index 38dd3b5d..79c065a4 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java similarity index 100% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto similarity index 100% rename from proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index 877a2bd4..00000000 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index ed2726d9..00000000 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java deleted file mode 100644 index b7570155..00000000 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java +++ /dev/null @@ -1,293 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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\"\237\t\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340A\003\0223\n\nst" - + "art_time\030\002 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\022I\n\005state\030\004 \001(\01625.goog" - + "le.cloud.workflows.executions.v1.Executi" - + "on.StateB\003\340A\003\022\020\n\010argument\030\005 \001(\t\022\023\n\006resul" - + "t\030\006 \001(\tB\003\340A\003\022I\n\005error\030\007 \001(\01325.google.clo" - + "ud.workflows.executions.v1.Execution.Err" - + "orB\003\340A\003\022!\n\024workflow_revision_id\030\010 \001(\tB\003\340" - + "A\003\022T\n\016call_log_level\030\t \001(\0162<.google.clou" - + "d.workflows.executions.v1.Execution.Call" - + "LogLevel\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(\0132" - + "J.google.cloud.workflows.executions.v1.E" - + "xecution.StackTraceElement.Position\0328\n\010P" - + "osition\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\010elements\030" - + "\001 \003(\0132A.google.cloud.workflows.execution" - + "s.v1.Execution.StackTraceElement\032z\n\005Erro" - + "r\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\022O\n\013s" - + "tack_trace\030\003 \001(\0132:.google.cloud.workflow" - + "s.executions.v1.Execution.StackTrace\"T\n\005" - + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" - + "\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED" - + "\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LEVEL_UNS" - + "PECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017LOG_ERR" - + "ORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecutions.go" - + "ogleapis.com/Execution\022Sprojects/{projec" - + "t}/locations/{location}/workflows/{workf" - + "low}/executions/{execution}\"\301\001\n\025ListExec" - + "utionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!w" - + "orkflows.googleapis.com/Workflow\022\021\n\tpage" - + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view\030" - + "\004 \001(\01623.google.cloud.workflows.execution" - + "s.v1.ExecutionViewB\003\340A\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\"\234\001\n\026CreateExecut" - + "ionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!work" - + "flows.googleapis.com/Workflow\022G\n\texecuti" - + "on\030\002 \001(\0132/.google.cloud.workflows.execut" - + "ions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecutionR" - + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowex" - + "ecutions.googleapis.com/Execution\022F\n\004vie" - + "w\030\002 \001(\01623.google.cloud.workflows.executi" - + "ons.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExecu" - + "tionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workf" - + "lowexecutions.googleapis.com/Execution*D" - + "\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPEC" - + "IFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecuti" - + "ons\022\330\001\n\016ListExecutions\022;.google.cloud.wo" - + "rkflows.executions.v1.ListExecutionsRequ" - + "est\032<.google.cloud.workflows.executions." - + "v1.ListExecutionsResponse\"K\202\323\344\223\002<\022:/v1/{" - + "parent=projects/*/locations/*/workflows/" - + "*}/executions\332A\006parent\022\342\001\n\017CreateExecuti" - + "on\022<.google.cloud.workflows.executions.v" - + "1.CreateExecutionRequest\032/.google.cloud." - + "workflows.executions.v1.Execution\"`\202\323\344\223\002" - + "G\":/v1/{parent=projects/*/locations/*/wo" - + "rkflows/*}/executions:\texecution\332A\020paren" - + "t,execution\022\305\001\n\014GetExecution\0229.google.cl" - + "oud.workflows.executions.v1.GetExecution" - + "Request\032/.google.cloud.workflows.executi" - + "ons.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=proj" - + "ects/*/locations/*/workflows/*/execution" - + "s/*}\332A\004name\022\325\001\n\017CancelExecution\022<.google" - + ".cloud.workflows.executions.v1.CancelExe" - + "cutionRequest\032/.google.cloud.workflows.e" - + "xecutions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{nam" - + "e=projects/*/locations/*/workflows/*/exe" - + "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" - + "executions.googleapis.com\322A.https://www." - + "googleapis.com/auth/cloud-platformB\361\001\n(c" - + "om.google.cloud.workflows.executions.v1B" - + "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" - + "nproto/googleapis/cloud/workflows/execut" - + "ions/v1;executions\352Aa\n!workflows.googlea" - + "pis.com/Workflow\022 - * 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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index 7b68f64e..00000000 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java deleted file mode 100644 index 53b978e9..00000000 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java +++ /dev/null @@ -1,238 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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\"\370\004\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340" - + "A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\022M\n\005state\030\004 \001(" - + "\01629.google.cloud.workflows.executions.v1" - + "beta.Execution.StateB\003\340A\003\022\020\n\010argument\030\005 " - + "\001(\t\022\023\n\006result\030\006 \001(\tB\003\340A\003\022M\n\005error\030\007 \001(\0132" - + "9.google.cloud.workflows.executions.v1be" - + "ta.Execution.ErrorB\003\340A\003\022!\n\024workflow_revi" - + "sion_id\030\010 \001(\tB\003\340A\003\032)\n\005Error\022\017\n\007payload\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\tSUCCEEDED\020\002" - + "\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202\001\n+work" - + "flowexecutions.googleapis.com/Execution\022" - + "Sprojects/{project}/locations/{location}" - + "/workflows/{workflow}/executions/{execut" - + "ion}\"\305\001\n\025ListExecutionsRequest\0229\n\006parent" - + "\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapis.com" - + "/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" - + "en\030\003 \001(\t\022J\n\004view\030\004 \001(\01627.google.cloud.wo" - + "rkflows.executions.v1beta.ExecutionViewB" - + "\003\340A\001\"z\n\026ListExecutionsResponse\022G\n\nexecut" - + "ions\030\001 \003(\01323.google.cloud.workflows.exec" - + "utions.v1beta.Execution\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"\240\001\n\026CreateExecutionRequest\0229\n\006p" - + "arent\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapi" - + "s.com/Workflow\022K\n\texecution\030\002 \001(\01323.goog" - + "le.cloud.workflows.executions.v1beta.Exe" - + "cutionB\003\340A\002\"\244\001\n\023GetExecutionRequest\022A\n\004n" - + "ame\030\001 \001(\tB3\340A\002\372A-\n+workflowexecutions.go" - + "ogleapis.com/Execution\022J\n\004view\030\002 \001(\01627.g" - + "oogle.cloud.workflows.executions.v1beta." - + "ExecutionViewB\003\340A\001\"[\n\026CancelExecutionReq" - + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowexec" - + "utions.googleapis.com/Execution*D\n\rExecu" - + "tionView\022\036\n\032EXECUTION_VIEW_UNSPECIFIED\020\000" - + "\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\nExecutions\022\344\001\n" - + "\016ListExecutions\022?.google.cloud.workflows" - + ".executions.v1beta.ListExecutionsRequest" - + "\032@.google.cloud.workflows.executions.v1b" - + "eta.ListExecutionsResponse\"O\202\323\344\223\002@\022>/v1b" - + "eta/{parent=projects/*/locations/*/workf" - + "lows/*}/executions\332A\006parent\022\356\001\n\017CreateEx" - + "ecution\022@.google.cloud.workflows.executi" - + "ons.v1beta.CreateExecutionRequest\0323.goog" - + "le.cloud.workflows.executions.v1beta.Exe" - + "cution\"d\202\323\344\223\002K\">/v1beta/{parent=projects" - + "/*/locations/*/workflows/*}/executions:\t" - + "execution\332A\020parent,execution\022\321\001\n\014GetExec" - + "ution\022=.google.cloud.workflows.execution" - + "s.v1beta.GetExecutionRequest\0323.google.cl" - + "oud.workflows.executions.v1beta.Executio" - + "n\"M\202\323\344\223\002@\022>/v1beta/{name=projects/*/loca" - + "tions/*/workflows/*/executions/*}\332A\004name" - + "\022\341\001\n\017CancelExecution\022@.google.cloud.work" - + "flows.executions.v1beta.CancelExecutionR" - + "equest\0323.google.cloud.workflows.executio" - + "ns.v1beta.Execution\"W\202\323\344\223\002J\"E/v1beta/{na" - + "me=projects/*/locations/*/workflows/*/ex" - + "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" - + "wexecutions.googleapis.com\322A.https://www" - + ".googleapis.com/auth/cloud-platformB\371\001\n," - + "com.google.cloud.workflows.executions.v1" - + "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" - + "rg/genproto/googleapis/cloud/workflows/e" - + "xecutions/v1beta;executions\352Aa\n!workflow" - + "s.googleapis.com/Workflow\022 Date: Tue, 24 May 2022 00:51:09 +0000 Subject: [PATCH 2/7] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../executions/v1/ExecutionsClient.java | 16 +- .../executions/v1/ExecutionsSettings.java | 7 +- .../executions/v1/gapic_metadata.json | 0 .../workflows/executions/v1/package-info.java | 0 .../executions/v1/stub/ExecutionsStub.java | 0 .../v1/stub/ExecutionsStubSettings.java | 6 +- .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1/stub/GrpcExecutionsStub.java | 1 - .../executions/v1beta/ExecutionsClient.java | 16 +- .../executions/v1beta/ExecutionsSettings.java | 7 +- .../executions/v1beta/gapic_metadata.json | 0 .../executions/v1beta/package-info.java | 0 .../v1beta/stub/ExecutionsStub.java | 0 .../v1beta/stub/ExecutionsStubSettings.java | 6 +- .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1beta/stub/GrpcExecutionsStub.java | 1 - .../executions/v1/ExecutionsClientTest.java | 0 .../executions/v1/MockExecutions.java | 0 .../executions/v1/MockExecutionsImpl.java | 0 .../v1beta/ExecutionsClientTest.java | 0 .../executions/v1beta/MockExecutions.java | 0 .../executions/v1beta/MockExecutionsImpl.java | 0 .../executions/v1/ExecutionsGrpc.java | 739 ++++ .../executions/v1beta/ExecutionsGrpc.java | 743 ++++ .../executions/v1/ExecutionsGrpc.java | 578 --- .../v1/CancelExecutionRequestOrBuilder.java | 33 - .../v1/CreateExecutionRequestOrBuilder.java | 60 - .../executions/v1/ExecutionsProto.java | 253 -- .../executions/v1beta/ExecutionsGrpc.java | 578 --- .../CancelExecutionRequestOrBuilder.java | 33 - .../CreateExecutionRequestOrBuilder.java | 60 - .../executions/v1beta/ExecutionsProto.java | 208 - .../executions/v1/CancelExecutionRequest.java | 363 +- .../v1/CancelExecutionRequestOrBuilder.java | 58 + .../executions/v1/CreateExecutionRequest.java | 510 ++- .../v1/CreateExecutionRequestOrBuilder.java | 99 + .../workflows/executions/v1/Execution.java | 3451 +++++++++++------ .../executions/v1/ExecutionName.java | 0 .../executions/v1/ExecutionOrBuilder.java | 128 +- .../executions/v1/ExecutionView.java | 86 +- .../executions/v1/ExecutionsProto.java | 293 ++ .../executions/v1/GetExecutionRequest.java | 449 ++- .../v1/GetExecutionRequestOrBuilder.java | 49 +- .../executions/v1/ListExecutionsRequest.java | 573 +-- .../v1/ListExecutionsRequestOrBuilder.java | 61 +- .../executions/v1/ListExecutionsResponse.java | 470 ++- .../v1/ListExecutionsResponseOrBuilder.java | 45 +- .../workflows/executions/v1/WorkflowName.java | 0 .../workflows/executions/v1/executions.proto | 0 .../v1beta/CancelExecutionRequest.java | 375 +- .../CancelExecutionRequestOrBuilder.java | 58 + .../v1beta/CreateExecutionRequest.java | 522 ++- .../CreateExecutionRequestOrBuilder.java | 99 + .../executions/v1beta/Execution.java | 1549 +++++--- .../executions/v1beta/ExecutionName.java | 0 .../executions/v1beta/ExecutionOrBuilder.java | 122 +- .../executions/v1beta/ExecutionView.java | 86 +- .../executions/v1beta/ExecutionsProto.java | 238 ++ .../v1beta/GetExecutionRequest.java | 463 ++- .../v1beta/GetExecutionRequestOrBuilder.java | 49 +- .../v1beta/ListExecutionsRequest.java | 588 +-- .../ListExecutionsRequestOrBuilder.java | 61 +- .../v1beta/ListExecutionsResponse.java | 492 ++- .../ListExecutionsResponseOrBuilder.java | 45 +- .../executions/v1beta/WorkflowName.java | 0 .../executions/v1beta/executions.proto | 0 66 files changed, 9065 insertions(+), 5662 deletions(-) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java (98%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java (96%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java (99%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java (98%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java (96%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java (98%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java (100%) create mode 100644 grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java create mode 100644 grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java delete mode 100644 owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java delete mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java (64%) create mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java (62%) create mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java (67%) create mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/proto/google/cloud/workflows/executions/v1/executions.proto (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java (63%) create mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java (62%) create mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java (71%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java (71%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java (67%) create mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequest.java (63%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java (50%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java (67%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java (72%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto (100%) diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java index 60d9ca3b..a81edc38 100644 --- a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java @@ -57,13 +57,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -661,7 +661,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListExecutionsPagedResponse extends AbstractPagedListResponse< - ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, + ListExecutionsRequest, + ListExecutionsResponse, + Execution, + ListExecutionsPage, ListExecutionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -711,7 +714,10 @@ public ApiFuture createPageAsync( public static class ListExecutionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, + ListExecutionsRequest, + ListExecutionsResponse, + Execution, + ListExecutionsPage, ListExecutionsFixedSizeCollection> { private ListExecutionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java similarity index 96% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java index 14622b58..4bef877f 100644 --- a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java @@ -27,7 +27,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; @@ -42,10 +41,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java index 403f3756..19d83a70 100644 --- a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java @@ -61,10 +61,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java index 6fe8aed5..203d4698 100644 --- a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java +++ b/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/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java similarity index 98% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java index 8a809ddd..5afb1d7a 100644 --- a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java @@ -58,13 +58,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -663,7 +663,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListExecutionsPagedResponse extends AbstractPagedListResponse< - ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, + ListExecutionsRequest, + ListExecutionsResponse, + Execution, + ListExecutionsPage, ListExecutionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -713,7 +716,10 @@ public ApiFuture createPageAsync( public static class ListExecutionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, + ListExecutionsRequest, + ListExecutionsResponse, + Execution, + ListExecutionsPage, ListExecutionsFixedSizeCollection> { private ListExecutionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java similarity index 96% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java index 70dca782..0db5f1a1 100644 --- a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java @@ -27,7 +27,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; @@ -42,10 +41,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java similarity index 98% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java index f8be6d29..3de73813 100644 --- a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java @@ -61,10 +61,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java similarity index 99% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java index 672084c9..7954ed6e 100644 --- a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java +++ b/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/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java diff --git a/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java new file mode 100644 index 00000000..01ed5871 --- /dev/null +++ b/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java @@ -0,0 +1,739 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 abstract static class ExecutionsImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getCancelExecutionMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_CANCEL_EXECUTION))) + .build(); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + 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/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java b/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java new file mode 100644 index 00000000..ebfd50b8 --- /dev/null +++ b/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java @@ -0,0 +1,743 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 abstract static class ExecutionsImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getCancelExecutionMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_CANCEL_EXECUTION))) + .build(); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + 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/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java deleted file mode 100644 index 17090128..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java +++ /dev/null @@ -1,578 +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 static abstract class ExecutionsImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_CANCEL_EXECUTION))) - .build(); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - 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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index 274df6c4..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index e519bd4f..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java deleted file mode 100644 index ecc80ce6..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java +++ /dev/null @@ -1,253 +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_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\"\237\t\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340A\003\0223\n\nst" + - "art_time\030\002 \001(\0132\032.google.protobuf.Timesta" + - "mpB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\003\022I\n\005state\030\004 \001(\01625.goog" + - "le.cloud.workflows.executions.v1.Executi" + - "on.StateB\003\340A\003\022\020\n\010argument\030\005 \001(\t\022\023\n\006resul" + - "t\030\006 \001(\tB\003\340A\003\022I\n\005error\030\007 \001(\01325.google.clo" + - "ud.workflows.executions.v1.Execution.Err" + - "orB\003\340A\003\022!\n\024workflow_revision_id\030\010 \001(\tB\003\340" + - "A\003\022T\n\016call_log_level\030\t \001(\0162<.google.clou" + - "d.workflows.executions.v1.Execution.Call" + - "LogLevel\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(\0132" + - "J.google.cloud.workflows.executions.v1.E" + - "xecution.StackTraceElement.Position\0328\n\010P" + - "osition\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\010elements\030" + - "\001 \003(\0132A.google.cloud.workflows.execution" + - "s.v1.Execution.StackTraceElement\032z\n\005Erro" + - "r\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\022O\n\013s" + - "tack_trace\030\003 \001(\0132:.google.cloud.workflow" + - "s.executions.v1.Execution.StackTrace\"T\n\005" + - "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" + - "\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED" + - "\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LEVEL_UNS" + - "PECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017LOG_ERR" + - "ORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecutions.go" + - "ogleapis.com/Execution\022Sprojects/{projec" + - "t}/locations/{location}/workflows/{workf" + - "low}/executions/{execution}\"\301\001\n\025ListExec" + - "utionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!w" + - "orkflows.googleapis.com/Workflow\022\021\n\tpage" + - "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view\030" + - "\004 \001(\01623.google.cloud.workflows.execution" + - "s.v1.ExecutionViewB\003\340A\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\"\234\001\n\026CreateExecut" + - "ionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!work" + - "flows.googleapis.com/Workflow\022G\n\texecuti" + - "on\030\002 \001(\0132/.google.cloud.workflows.execut" + - "ions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecutionR" + - "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowex" + - "ecutions.googleapis.com/Execution\022F\n\004vie" + - "w\030\002 \001(\01623.google.cloud.workflows.executi" + - "ons.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExecu" + - "tionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workf" + - "lowexecutions.googleapis.com/Execution*D" + - "\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPEC" + - "IFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecuti" + - "ons\022\330\001\n\016ListExecutions\022;.google.cloud.wo" + - "rkflows.executions.v1.ListExecutionsRequ" + - "est\032<.google.cloud.workflows.executions." + - "v1.ListExecutionsResponse\"K\202\323\344\223\002<\022:/v1/{" + - "parent=projects/*/locations/*/workflows/" + - "*}/executions\332A\006parent\022\342\001\n\017CreateExecuti" + - "on\022<.google.cloud.workflows.executions.v" + - "1.CreateExecutionRequest\032/.google.cloud." + - "workflows.executions.v1.Execution\"`\202\323\344\223\002" + - "G\":/v1/{parent=projects/*/locations/*/wo" + - "rkflows/*}/executions:\texecution\332A\020paren" + - "t,execution\022\305\001\n\014GetExecution\0229.google.cl" + - "oud.workflows.executions.v1.GetExecution" + - "Request\032/.google.cloud.workflows.executi" + - "ons.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=proj" + - "ects/*/locations/*/workflows/*/execution" + - "s/*}\332A\004name\022\325\001\n\017CancelExecution\022<.google" + - ".cloud.workflows.executions.v1.CancelExe" + - "cutionRequest\032/.google.cloud.workflows.e" + - "xecutions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{nam" + - "e=projects/*/locations/*/workflows/*/exe" + - "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" + - "executions.googleapis.com\322A.https://www." + - "googleapis.com/auth/cloud-platformB\361\001\n(c" + - "om.google.cloud.workflows.executions.v1B" + - "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" + - "nproto/googleapis/cloud/workflows/execut" + - "ions/v1;executions\352Aa\n!workflows.googlea" + - "pis.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 static abstract class ExecutionsImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_CANCEL_EXECUTION))) - .build(); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - 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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index aafcee78..00000000 --- a/owl-bot-staging/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index 94408fcf..00000000 --- a/owl-bot-staging/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java deleted file mode 100644 index 06de9176..00000000 --- a/owl-bot-staging/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\"\370\004\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340" + - "A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.goog" + - "le.protobuf.TimestampB\003\340A\003\022M\n\005state\030\004 \001(" + - "\01629.google.cloud.workflows.executions.v1" + - "beta.Execution.StateB\003\340A\003\022\020\n\010argument\030\005 " + - "\001(\t\022\023\n\006result\030\006 \001(\tB\003\340A\003\022M\n\005error\030\007 \001(\0132" + - "9.google.cloud.workflows.executions.v1be" + - "ta.Execution.ErrorB\003\340A\003\022!\n\024workflow_revi" + - "sion_id\030\010 \001(\tB\003\340A\003\032)\n\005Error\022\017\n\007payload\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\tSUCCEEDED\020\002" + - "\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202\001\n+work" + - "flowexecutions.googleapis.com/Execution\022" + - "Sprojects/{project}/locations/{location}" + - "/workflows/{workflow}/executions/{execut" + - "ion}\"\305\001\n\025ListExecutionsRequest\0229\n\006parent" + - "\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapis.com" + - "/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + - "en\030\003 \001(\t\022J\n\004view\030\004 \001(\01627.google.cloud.wo" + - "rkflows.executions.v1beta.ExecutionViewB" + - "\003\340A\001\"z\n\026ListExecutionsResponse\022G\n\nexecut" + - "ions\030\001 \003(\01323.google.cloud.workflows.exec" + - "utions.v1beta.Execution\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\"\240\001\n\026CreateExecutionRequest\0229\n\006p" + - "arent\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapi" + - "s.com/Workflow\022K\n\texecution\030\002 \001(\01323.goog" + - "le.cloud.workflows.executions.v1beta.Exe" + - "cutionB\003\340A\002\"\244\001\n\023GetExecutionRequest\022A\n\004n" + - "ame\030\001 \001(\tB3\340A\002\372A-\n+workflowexecutions.go" + - "ogleapis.com/Execution\022J\n\004view\030\002 \001(\01627.g" + - "oogle.cloud.workflows.executions.v1beta." + - "ExecutionViewB\003\340A\001\"[\n\026CancelExecutionReq" + - "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowexec" + - "utions.googleapis.com/Execution*D\n\rExecu" + - "tionView\022\036\n\032EXECUTION_VIEW_UNSPECIFIED\020\000" + - "\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\nExecutions\022\344\001\n" + - "\016ListExecutions\022?.google.cloud.workflows" + - ".executions.v1beta.ListExecutionsRequest" + - "\032@.google.cloud.workflows.executions.v1b" + - "eta.ListExecutionsResponse\"O\202\323\344\223\002@\022>/v1b" + - "eta/{parent=projects/*/locations/*/workf" + - "lows/*}/executions\332A\006parent\022\356\001\n\017CreateEx" + - "ecution\022@.google.cloud.workflows.executi" + - "ons.v1beta.CreateExecutionRequest\0323.goog" + - "le.cloud.workflows.executions.v1beta.Exe" + - "cution\"d\202\323\344\223\002K\">/v1beta/{parent=projects" + - "/*/locations/*/workflows/*}/executions:\t" + - "execution\332A\020parent,execution\022\321\001\n\014GetExec" + - "ution\022=.google.cloud.workflows.execution" + - "s.v1beta.GetExecutionRequest\0323.google.cl" + - "oud.workflows.executions.v1beta.Executio" + - "n\"M\202\323\344\223\002@\022>/v1beta/{name=projects/*/loca" + - "tions/*/workflows/*/executions/*}\332A\004name" + - "\022\341\001\n\017CancelExecution\022@.google.cloud.work" + - "flows.executions.v1beta.CancelExecutionR" + - "equest\0323.google.cloud.workflows.executio" + - "ns.v1beta.Execution\"W\202\323\344\223\002J\"E/v1beta/{na" + - "me=projects/*/locations/*/workflows/*/ex" + - "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" + - "wexecutions.googleapis.com\322A.https://www" + - ".googleapis.com/auth/cloud-platformB\371\001\n," + - "com.google.cloud.workflows.executions.v1" + - "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" + - "rg/genproto/googleapis/cloud/workflows/e" + - "xecutions/v1beta;executions\352Aa\n!workflow" + - "s.googleapis.com/Workflow\022 * Request for the * [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution] @@ -12,31 +29,31 @@ * * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CancelExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,19 +72,20 @@ private CancelExecutionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -75,36 +93,43 @@ private CancelExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -113,31 +138,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 { @@ -146,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -182,15 +209,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -210,96 +237,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]
@@ -308,21 +343,23 @@ 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()
@@ -330,16 +367,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -349,13 +385,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();
     }
 
@@ -370,7 +407,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.CancelExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1.CancelExecutionRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -380,46 +418,50 @@ public com.google.cloud.workflows.executions.v1.CancelExecutionRequest buildPart
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -443,7 +485,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.CancelExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.CancelExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -455,20 +499,24 @@ public Builder mergeFrom(
 
     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; @@ -477,22 +525,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 { @@ -500,67 +551,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -570,30 +634,32 @@ 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 { - return new CancelExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -605,9 +671,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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java new file mode 100644 index 00000000..877a2bd4 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java index 697b5aa7..63083170 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** + * + * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution]
@@ -12,31 +29,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CreateExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,32 +72,37 @@ private CreateExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 18: {
-            com.google.cloud.workflows.executions.v1.Execution.Builder subBuilder = null;
-            if (execution_ != null) {
-              subBuilder = execution_.toBuilder();
+              parent_ = s;
+              break;
             }
-            execution_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(execution_);
-              execution_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.workflows.executions.v1.Execution.Builder subBuilder = null;
+              if (execution_ != null) {
+                subBuilder = execution_.toBuilder();
+              }
+              execution_ =
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1.Execution.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(execution_);
+                execution_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,36 +110,43 @@ private CreateExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -126,31 +155,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 { @@ -161,11 +192,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 @@ -173,23 +209,34 @@ 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() { @@ -197,6 +244,7 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -229,8 +276,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,19 +286,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -277,96 +322,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]
@@ -375,21 +428,23 @@ 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()
@@ -397,16 +452,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,13 +476,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();
     }
 
@@ -443,7 +498,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.CreateExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1.CreateExecutionRequest(this);
       result.parent_ = parent_;
       if (executionBuilder_ == null) {
         result.execution_ = execution_;
@@ -458,46 +514,50 @@ public com.google.cloud.workflows.executions.v1.CreateExecutionRequest buildPart
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -524,7 +584,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.CreateExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.CreateExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -536,20 +598,24 @@ public Builder mergeFrom(
 
     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; @@ -558,22 +624,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 { @@ -581,60 +650,73 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -642,39 +724,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 executionBuilder_ != null || 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. */ 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) { @@ -690,11 +791,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) { @@ -708,17 +813,23 @@ 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 (execution_ != null) { execution_ = - com.google.cloud.workflows.executions.v1.Execution.newBuilder(execution_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.newBuilder(execution_) + .mergeFrom(value) + .buildPartial(); } else { execution_ = value; } @@ -730,11 +841,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() { if (executionBuilder_ == null) { @@ -748,55 +863,71 @@ 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() { - + onChanged(); 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); } @@ -806,30 +937,32 @@ 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 { - return new CreateExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -841,9 +974,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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java new file mode 100644 index 00000000..ed2726d9 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java index d1d0604b..d5e50984 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +49,15 @@ private Execution() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Execution();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Execution(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,88 +76,102 @@ private Execution(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (startTime_ != null) {
-              subBuilder = startTime_.toBuilder();
-            }
-            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(startTime_);
-              startTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (startTime_ != null) {
+                subBuilder = startTime_.toBuilder();
+              }
+              startTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startTime_);
+                startTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (endTime_ != null) {
-              subBuilder = endTime_.toBuilder();
-            }
-            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(endTime_);
-              endTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (endTime_ != null) {
+                subBuilder = endTime_.toBuilder();
+              }
+              endTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endTime_);
+                endTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            argument_ = s;
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
+              state_ = rawValue;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            result_ = s;
-            break;
-          }
-          case 58: {
-            com.google.cloud.workflows.executions.v1.Execution.Error.Builder subBuilder = null;
-            if (error_ != null) {
-              subBuilder = error_.toBuilder();
+              argument_ = s;
+              break;
             }
-            error_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.Error.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(error_);
-              error_ = subBuilder.buildPartial();
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              result_ = s;
+              break;
             }
+          case 58:
+            {
+              com.google.cloud.workflows.executions.v1.Execution.Error.Builder subBuilder = null;
+              if (error_ != null) {
+                subBuilder = error_.toBuilder();
+              }
+              error_ =
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1.Execution.Error.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(error_);
+                error_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            workflowRevisionId_ = s;
-            break;
-          }
-          case 72: {
-            int rawValue = input.readEnum();
+              workflowRevisionId_ = s;
+              break;
+            }
+          case 72:
+            {
+              int rawValue = input.readEnum();
 
-            callLogLevel_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              callLogLevel_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -148,27 +179,31 @@ private Execution(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   }
 
   @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.
@@ -176,9 +211,10 @@ private Execution(
    *
    * 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.
      * 
@@ -187,6 +223,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The execution is in progress.
      * 
@@ -195,6 +233,8 @@ public enum State */ ACTIVE(1), /** + * + * *
      * The execution finished successfully.
      * 
@@ -203,6 +243,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * The execution failed with an error.
      * 
@@ -211,6 +253,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -222,6 +266,8 @@ public enum State ; /** + * + * *
      * Invalid state.
      * 
@@ -230,6 +276,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The execution is in progress.
      * 
@@ -238,6 +286,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
      * The execution finished successfully.
      * 
@@ -246,6 +296,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * The execution failed with an error.
      * 
@@ -254,6 +306,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -262,7 +316,6 @@ public enum State */ public static final int CANCELLED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -287,51 +340,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.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; @@ -349,6 +406,8 @@ private State(int value) { } /** + * + * *
    * Describes the level of platform logging to apply to calls and call
    * responses during workflow executions.
@@ -356,9 +415,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 specified.
      * 
@@ -367,6 +427,8 @@ public enum CallLogLevel */ CALL_LOG_LEVEL_UNSPECIFIED(0), /** + * + * *
      * Log all call steps within workflows, all call returns, and all exceptions
      * raised.
@@ -376,6 +438,8 @@ public enum CallLogLevel
      */
     LOG_ALL_CALLS(1),
     /**
+     *
+     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -387,6 +451,8 @@ public enum CallLogLevel ; /** + * + * *
      * No call logging specified.
      * 
@@ -395,6 +461,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.
@@ -404,6 +472,8 @@ public enum CallLogLevel
      */
     public static final int LOG_ALL_CALLS_VALUE = 1;
     /**
+     *
+     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -412,7 +482,6 @@ public enum CallLogLevel */ public static final int LOG_ERRORS_ONLY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -437,49 +506,51 @@ 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; - default: return null; + 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() { + 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; @@ -496,93 +567,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_ = ""; @@ -590,16 +690,15 @@ private StackTraceElement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StackTraceElement(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StackTraceElement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -618,38 +717,47 @@ private StackTraceElement( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - step_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - routine_ = s; - break; - } - case 26: { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder subBuilder = null; - if (position_ != null) { - subBuilder = position_.toBuilder(); + step_ = s; + break; } - position_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(position_); - position_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + routine_ = s; + break; } + case 26: + { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .Builder + subBuilder = null; + if (position_ != null) { + subBuilder = position_.toBuilder(); + } + position_ = + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .Position.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(position_); + position_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -657,94 +765,108 @@ private StackTraceElement( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Position( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -763,28 +885,28 @@ private Position( case 0: done = true; break; - case 8: { - - line_ = input.readInt64(); - break; - } - case 16: { - - column_ = input.readInt64(); - break; - } - case 24: { - - length_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + line_ = input.readInt64(); + break; + } + case 16: + { + column_ = input.readInt64(); + break; + } + case 24: + { + length_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -792,34 +914,41 @@ private Position( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
        * The source code line number the current instruction was generated from.
        * 
* * int64 line = 1; + * * @return The line. */ @java.lang.Override @@ -830,12 +959,15 @@ public long getLine() { public static final int COLUMN_FIELD_NUMBER = 2; 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 @@ -846,11 +978,14 @@ public long getColumn() { public static final int LENGTH_FIELD_NUMBER = 3; 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 @@ -859,6 +994,7 @@ public long getLength() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -870,8 +1006,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -891,16 +1026,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -910,19 +1042,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; - - if (getLine() - != other.getLine()) return false; - if (getColumn() - != other.getColumn()) return false; - if (getLength() - != other.getLength()) return false; + 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -935,101 +1067,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) + unknownFields.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 @@ -1039,46 +1183,54 @@ 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() + // Construct using + // com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1092,19 +1244,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); } @@ -1112,8 +1268,11 @@ 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); + 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); result.line_ = line_; result.column_ = column_; result.length_ = length_; @@ -1125,46 +1284,56 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Posi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()); } @@ -1189,11 +1358,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parsedMessage = null; + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1203,13 +1375,16 @@ public Builder mergeFrom( return this; } - 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 @@ -1217,43 +1392,52 @@ 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; 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() { - + line_ = 0L; onChanged(); 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 @@ -1261,44 +1445,53 @@ 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; 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() { - + column_ = 0L; onChanged(); 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 @@ -1306,34 +1499,41 @@ 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; 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() { - + length_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1346,30 +1546,34 @@ 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 { - return new Position(input, extensionRegistry); - } - }; + 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 { + return new Position(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1381,20 +1585,23 @@ 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; private volatile java.lang.Object step_; /** + * + * *
      * The step the error occurred at.
      * 
* * string step = 1; + * * @return The step. */ @java.lang.Override @@ -1403,29 +1610,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 { @@ -1436,11 +1643,14 @@ public java.lang.String getStep() { public static final int ROUTINE_FIELD_NUMBER = 2; private volatile java.lang.Object routine_; /** + * + * *
      * The routine where the error occurred.
      * 
* * string routine = 2; + * * @return The routine. */ @java.lang.Override @@ -1449,29 +1659,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 { @@ -1482,11 +1692,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 @@ -1494,30 +1709,45 @@ 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() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder + getPositionOrBuilder() { return getPosition(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1529,8 +1759,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1556,8 +1785,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1567,21 +1795,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1608,87 +1834,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 @@ -1698,44 +1932,49 @@ 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() + // Construct using + // com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1753,19 +1992,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); } @@ -1774,7 +2016,8 @@ 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); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = + new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(this); result.step_ = step_; result.routine_ = routine_; if (positionBuilder_ == null) { @@ -1790,46 +2033,53 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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_; onChanged(); @@ -1860,7 +2110,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1872,18 +2124,20 @@ public Builder mergeFrom( 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; @@ -1892,20 +2146,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 { @@ -1913,54 +2168,61 @@ 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) { + public Builder setStep(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + step_ = value; onChanged(); return this; } /** + * + * *
        * The step the error occurred at.
        * 
* * string step = 1; + * * @return This builder for chaining. */ public Builder clearStep() { - + step_ = getDefaultInstance().getStep(); 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) { + public Builder setStepBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + step_ = value; onChanged(); return this; @@ -1968,18 +2230,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; @@ -1988,20 +2252,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 { @@ -2009,96 +2274,127 @@ 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) { + public Builder setRoutine(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + routine_ = value; onChanged(); return this; } /** + * + * *
        * The routine where the error occurred.
        * 
* * string routine = 2; + * * @return This builder for chaining. */ public Builder clearRoutine() { - + routine_ = getDefaultInstance().getRoutine(); 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) { + public Builder setRoutineBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + routine_ = value; onChanged(); 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 positionBuilder_ != null || 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. */ - 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(); @@ -2112,14 +2408,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(); onChanged(); @@ -2130,17 +2431,25 @@ 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 (position_ != null) { position_ = - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder(position_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .newBuilder(position_) + .mergeFrom(value) + .buildPartial(); } else { position_ = value; } @@ -2152,11 +2461,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() { if (positionBuilder_ == null) { @@ -2170,52 +2483,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() { + 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) { @@ -2228,30 +2563,32 @@ 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 { - return new StackTraceElement(input, extensionRegistry); - } - }; + 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 { + return new StackTraceElement(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2263,92 +2600,116 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StackTrace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2368,22 +2729,28 @@ private StackTrace( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - elements_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + elements_ = + new java.util.ArrayList< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>(); + mutable_bitField0_ |= 0x00000001; + } + elements_.add( + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .parser(), + extensionRegistry)); + break; } - elements_.add( - input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2391,8 +2758,7 @@ private StackTrace( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { elements_ = java.util.Collections.unmodifiableList(elements_); @@ -2401,80 +2767,108 @@ private StackTrace( makeExtensionsImmutable(); } } - 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; - 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; @@ -2486,8 +2880,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -2501,8 +2894,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2512,15 +2904,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2542,87 +2934,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 @@ -2632,27 +3031,32 @@ 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() @@ -2660,17 +3064,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getElementsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -2684,13 +3088,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(); } @@ -2705,7 +3110,8 @@ 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); int from_bitField0_ = bitField0_; if (elementsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -2724,46 +3130,52 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTrace buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()) { @@ -2782,9 +3194,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_); } @@ -2809,7 +3222,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTrace) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1.Execution.StackTrace) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2818,28 +3233,40 @@ public Builder mergeFrom( } 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 { @@ -2847,11 +3274,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) { @@ -2861,13 +3292,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 { @@ -2875,11 +3311,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) { @@ -2896,14 +3336,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()); @@ -2914,13 +3360,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(); @@ -2934,11 +3385,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) { @@ -2955,14 +3410,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()); @@ -2973,14 +3433,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()); @@ -2991,18 +3457,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); @@ -3010,11 +3481,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) { @@ -3027,11 +3502,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) { @@ -3044,39 +3523,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 { @@ -3084,53 +3578,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) { @@ -3143,30 +3660,32 @@ 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 { - return new StackTrace(input, extensionRegistry); - } - }; + 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 { + return new StackTrace(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3178,75 +3697,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.
      * 
@@ -3256,21 +3794,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_ = ""; @@ -3278,16 +3819,15 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3306,38 +3846,45 @@ private Error( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - payload_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - context_ = s; - break; - } - case 26: { - com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder subBuilder = null; - if (stackTrace_ != null) { - subBuilder = stackTrace_.toBuilder(); + payload_ = s; + break; } - stackTrace_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTrace.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stackTrace_); - stackTrace_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + context_ = s; + break; } + case 26: + { + com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder subBuilder = + null; + if (stackTrace_ != null) { + subBuilder = stackTrace_.toBuilder(); + } + stackTrace_ = + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.StackTrace.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stackTrace_); + stackTrace_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3345,34 +3892,39 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -3381,29 +3933,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 { @@ -3414,11 +3966,14 @@ public java.lang.String getPayload() { public static final int CONTEXT_FIELD_NUMBER = 2; private volatile java.lang.Object context_; /** + * + * *
      * Human-readable stack trace string.
      * 
* * string context = 2; + * * @return The context. */ @java.lang.Override @@ -3427,29 +3982,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 { @@ -3460,11 +4015,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 @@ -3472,18 +4030,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.
      * 
@@ -3491,11 +4056,13 @@ 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() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder + getStackTraceOrBuilder() { return getStackTrace(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3507,8 +4074,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3534,8 +4100,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3545,21 +4110,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3586,87 +4149,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 @@ -3676,27 +4246,32 @@ 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() @@ -3704,16 +4279,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3731,9 +4305,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 @@ -3752,7 +4326,8 @@ 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); + com.google.cloud.workflows.executions.v1.Execution.Error result = + new com.google.cloud.workflows.executions.v1.Execution.Error(this); result.payload_ = payload_; result.context_ = context_; if (stackTraceBuilder_ == null) { @@ -3768,38 +4343,41 @@ public com.google.cloud.workflows.executions.v1.Execution.Error buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -3807,7 +4385,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_; onChanged(); @@ -3838,7 +4417,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.Error) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1.Execution.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3850,18 +4430,20 @@ public Builder mergeFrom( 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; @@ -3870,20 +4452,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 { @@ -3891,54 +4474,61 @@ 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) { + public Builder setPayload(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; 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(); 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) { + public Builder setPayloadBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + payload_ = value; onChanged(); return this; @@ -3946,18 +4536,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; @@ -3966,20 +4558,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 { @@ -3987,54 +4580,61 @@ 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) { + public Builder setContext(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + context_ = value; onChanged(); return this; } /** + * + * *
        * Human-readable stack trace string.
        * 
* * string context = 2; + * * @return This builder for chaining. */ public Builder clearContext() { - + context_ = getDefaultInstance().getContext(); 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) { + public Builder setContextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + context_ = value; onChanged(); return this; @@ -4042,41 +4642,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 stackTraceBuilder_ != null || 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. */ 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(); @@ -4090,6 +4704,8 @@ public Builder setStackTrace(com.google.cloud.workflows.executions.v1.Execution. return this; } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4108,17 +4724,23 @@ 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 (stackTrace_ != null) { stackTrace_ = - com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder(stackTrace_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder( + stackTrace_) + .mergeFrom(value) + .buildPartial(); } else { stackTrace_ = value; } @@ -4130,6 +4752,8 @@ public Builder mergeStackTrace(com.google.cloud.workflows.executions.v1.Executio return this; } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4148,33 +4772,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() { + 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.
        * 
@@ -4182,18 +4815,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) { @@ -4206,12 +4843,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(); } @@ -4220,16 +4857,16 @@ 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 { - return new Error(input, extensionRegistry); - } - }; + 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 { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4244,12 +4881,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -4257,6 +4895,7 @@ public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstan
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -4265,14 +4904,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:
@@ -4280,16 +4920,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 { @@ -4300,11 +4939,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 @@ -4312,11 +4955,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 @@ -4324,11 +4971,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() { @@ -4338,11 +4988,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 @@ -4350,11 +5004,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 @@ -4362,11 +5020,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() { @@ -4376,33 +5037,50 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.State result = com.google.cloud.workflows.executions.v1.Execution.State.valueOf(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.valueOf(state_); + return result == null + ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED + : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; private volatile java.lang.Object argument_; /** + * + * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
@@ -4412,6 +5090,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * 
* * string argument = 5; + * * @return The argument. */ @java.lang.Override @@ -4420,14 +5099,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.
@@ -4437,16 +5117,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 { @@ -4457,12 +5136,15 @@ public java.lang.String getArgument() { public static final int RESULT_FIELD_NUMBER = 6; 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 @@ -4471,30 +5153,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 { @@ -4505,13 +5187,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 @@ -4519,27 +5206,38 @@ 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() { @@ -4549,11 +5247,14 @@ public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErro public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; 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 @@ -4562,29 +5263,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 { @@ -4595,31 +5296,43 @@ public java.lang.String getWorkflowRevisionId() { public static final int CALL_LOG_LEVEL_FIELD_NUMBER = 9; private int callLogLevel_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.valueOf(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.valueOf(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; @@ -4631,8 +5344,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -4642,7 +5354,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_)) { @@ -4657,7 +5370,10 @@ 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_); } unknownFields.writeTo(output); @@ -4673,16 +5389,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_); @@ -4691,15 +5405,16 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4709,37 +5424,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.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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4782,96 +5491,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).
@@ -4879,21 +5595,23 @@ 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;
     }
 
     @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()
@@ -4901,16 +5619,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4948,9 +5665,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
@@ -4969,7 +5686,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.Execution result =
+          new com.google.cloud.workflows.executions.v1.Execution(this);
       result.name_ = name_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -4999,38 +5717,39 @@ public com.google.cloud.workflows.executions.v1.Execution buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -5038,7 +5757,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_;
         onChanged();
@@ -5089,7 +5809,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.Execution) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.Execution) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -5101,6 +5822,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The resource name of the execution.
      * Format:
@@ -5108,13 +5831,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; @@ -5123,6 +5846,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5130,15 +5855,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 { @@ -5146,6 +5870,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5153,20 +5879,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5174,15 +5902,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5190,16 +5921,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -5207,24 +5938,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -5235,11 +5977,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) { @@ -5255,14 +6000,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(); onChanged(); @@ -5273,17 +6020,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -5295,11 +6045,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() { if (startTimeBuilder_ == null) { @@ -5313,48 +6066,59 @@ 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() { - + onChanged(); 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_; @@ -5362,24 +6126,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -5390,11 +6165,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) { @@ -5410,14 +6188,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(); onChanged(); @@ -5428,17 +6208,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -5450,11 +6233,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() { if (endTimeBuilder_ == null) { @@ -5468,48 +6254,59 @@ 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() { - + 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]; + * .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_; @@ -5517,51 +6314,75 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { 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. */ public Builder setStateValue(int value) { - + state_ = value; 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]; + * + * .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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.State result = com.google.cloud.workflows.executions.v1.Execution.State.valueOf(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.valueOf(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. */ @@ -5569,21 +6390,26 @@ public Builder setState(com.google.cloud.workflows.executions.v1.Execution.State if (value == null) { throw new NullPointerException(); } - + 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]; + * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -5591,6 +6417,8 @@ public Builder clearState() { private java.lang.Object argument_ = ""; /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5600,13 +6428,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; @@ -5615,6 +6443,8 @@ public java.lang.String getArgument() { } } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5624,15 +6454,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 { @@ -5640,6 +6469,8 @@ public java.lang.String getArgument() { } } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5649,20 +6480,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) { + public Builder setArgument(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + argument_ = value; onChanged(); return this; } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5672,15 +6505,18 @@ public Builder setArgument(
      * 
* * string argument = 5; + * * @return This builder for chaining. */ public Builder clearArgument() { - + argument_ = getDefaultInstance().getArgument(); onChanged(); return this; } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5690,16 +6526,16 @@ 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) { + public Builder setArgumentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + argument_ = value; onChanged(); return this; @@ -5707,19 +6543,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; @@ -5728,21 +6566,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 { @@ -5750,57 +6589,64 @@ 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) { + public Builder setResult(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + result_ = value; 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(); 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) { + public Builder setResultBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + result_ = value; onChanged(); return this; @@ -5808,45 +6654,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 errorBuilder_ != null || 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. */ 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) { @@ -5862,13 +6727,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) { @@ -5882,19 +6751,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.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 (error_ != null) { error_ = - com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder(error_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder(error_) + .mergeFrom(value) + .buildPartial(); } else { error_ = value; } @@ -5906,13 +6781,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() { if (errorBuilder_ == null) { @@ -5926,54 +6805,70 @@ 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() { - + 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]; + * + * .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_; @@ -5981,18 +6876,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; @@ -6001,20 +6898,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 { @@ -6022,54 +6920,61 @@ 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) { + public Builder setWorkflowRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workflowRevisionId_ = value; 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(); 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) { + public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; onChanged(); return this; @@ -6077,80 +6982,100 @@ 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. */ public Builder setCallLogLevelValue(int value) { - + callLogLevel_ = value; 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.valueOf(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.valueOf(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(); } - + 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() { - + callLogLevel_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6160,12 +7085,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(); } @@ -6174,16 +7099,16 @@ 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 { - return new Execution(input, extensionRegistry); - } - }; + 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 { + return new Execution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6198,6 +7123,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java index b9041052..15a0f193 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,85 +47,119 @@ 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.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.
@@ -114,10 +169,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.
@@ -127,101 +185,131 @@ 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(); diff --git a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java index 573c7a5a..a85f1bd6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    * 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.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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java new file mode 100644 index 00000000..b7570155 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java @@ -0,0 +1,293 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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\"\237\t\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340A\003\0223\n\nst" + + "art_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022I\n\005state\030\004 \001(\01625.goog" + + "le.cloud.workflows.executions.v1.Executi" + + "on.StateB\003\340A\003\022\020\n\010argument\030\005 \001(\t\022\023\n\006resul" + + "t\030\006 \001(\tB\003\340A\003\022I\n\005error\030\007 \001(\01325.google.clo" + + "ud.workflows.executions.v1.Execution.Err" + + "orB\003\340A\003\022!\n\024workflow_revision_id\030\010 \001(\tB\003\340" + + "A\003\022T\n\016call_log_level\030\t \001(\0162<.google.clou" + + "d.workflows.executions.v1.Execution.Call" + + "LogLevel\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(\0132" + + "J.google.cloud.workflows.executions.v1.E" + + "xecution.StackTraceElement.Position\0328\n\010P" + + "osition\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\010elements\030" + + "\001 \003(\0132A.google.cloud.workflows.execution" + + "s.v1.Execution.StackTraceElement\032z\n\005Erro" + + "r\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\022O\n\013s" + + "tack_trace\030\003 \001(\0132:.google.cloud.workflow" + + "s.executions.v1.Execution.StackTrace\"T\n\005" + + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" + + "\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED" + + "\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LEVEL_UNS" + + "PECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017LOG_ERR" + + "ORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecutions.go" + + "ogleapis.com/Execution\022Sprojects/{projec" + + "t}/locations/{location}/workflows/{workf" + + "low}/executions/{execution}\"\301\001\n\025ListExec" + + "utionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!w" + + "orkflows.googleapis.com/Workflow\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view\030" + + "\004 \001(\01623.google.cloud.workflows.execution" + + "s.v1.ExecutionViewB\003\340A\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\"\234\001\n\026CreateExecut" + + "ionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!work" + + "flows.googleapis.com/Workflow\022G\n\texecuti" + + "on\030\002 \001(\0132/.google.cloud.workflows.execut" + + "ions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecutionR" + + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowex" + + "ecutions.googleapis.com/Execution\022F\n\004vie" + + "w\030\002 \001(\01623.google.cloud.workflows.executi" + + "ons.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExecu" + + "tionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workf" + + "lowexecutions.googleapis.com/Execution*D" + + "\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPEC" + + "IFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecuti" + + "ons\022\330\001\n\016ListExecutions\022;.google.cloud.wo" + + "rkflows.executions.v1.ListExecutionsRequ" + + "est\032<.google.cloud.workflows.executions." + + "v1.ListExecutionsResponse\"K\202\323\344\223\002<\022:/v1/{" + + "parent=projects/*/locations/*/workflows/" + + "*}/executions\332A\006parent\022\342\001\n\017CreateExecuti" + + "on\022<.google.cloud.workflows.executions.v" + + "1.CreateExecutionRequest\032/.google.cloud." + + "workflows.executions.v1.Execution\"`\202\323\344\223\002" + + "G\":/v1/{parent=projects/*/locations/*/wo" + + "rkflows/*}/executions:\texecution\332A\020paren" + + "t,execution\022\305\001\n\014GetExecution\0229.google.cl" + + "oud.workflows.executions.v1.GetExecution" + + "Request\032/.google.cloud.workflows.executi" + + "ons.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=proj" + + "ects/*/locations/*/workflows/*/execution" + + "s/*}\332A\004name\022\325\001\n\017CancelExecution\022<.google" + + ".cloud.workflows.executions.v1.CancelExe" + + "cutionRequest\032/.google.cloud.workflows.e" + + "xecutions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{nam" + + "e=projects/*/locations/*/workflows/*/exe" + + "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" + + "executions.googleapis.com\322A.https://www." + + "googleapis.com/auth/cloud-platformB\361\001\n(c" + + "om.google.cloud.workflows.executions.v1B" + + "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" + + "nproto/googleapis/cloud/workflows/execut" + + "ions/v1;executions\352Aa\n!workflows.googlea" + + "pis.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,16 +46,15 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,25 +73,27 @@ private GetExecutionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,36 +101,43 @@ private GetExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -120,31 +146,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 { @@ -155,33 +183,49 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int 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.
    * 
* - * .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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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; @@ -193,12 +237,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_); } unknownFields.writeTo(output); @@ -213,9 +258,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -225,15 +271,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -256,96 +302,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]
@@ -354,21 +408,23 @@ 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()
@@ -376,16 +432,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -397,13 +452,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();
     }
 
@@ -418,7 +474,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.GetExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1.GetExecutionRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -429,38 +486,39 @@ public com.google.cloud.workflows.executions.v1.GetExecutionRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -468,7 +526,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_;
         onChanged();
@@ -495,7 +555,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.GetExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.GetExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -507,20 +568,24 @@ public Builder mergeFrom(
 
     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; @@ -529,22 +594,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 { @@ -552,60 +620,73 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -613,55 +694,79 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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. */ @@ -669,29 +774,34 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,12 +811,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(); } @@ -715,16 +826,16 @@ 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 { - return new GetExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -739,6 +850,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java index bdcb228c..23c574a0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java @@ -1,53 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java index d92d512c..ef40afe4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = "";
@@ -29,16 +47,15 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListExecutionsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,36 +74,39 @@ private ListExecutionsRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 16: {
-
-            pageSize_ = input.readInt32();
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              parent_ = s;
+              break;
+            }
+          case 16:
+            {
+              pageSize_ = input.readInt32();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageToken_ = s;
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+              pageToken_ = s;
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            view_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              view_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,35 +114,42 @@ private ListExecutionsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -131,30 +158,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 { @@ -165,6 +194,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -174,6 +205,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -184,6 +216,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -192,6 +226,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -200,14 +235,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.
@@ -216,16 +252,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 { @@ -236,33 +271,49 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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; @@ -274,8 +325,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -285,7 +335,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_); } unknownFields.writeTo(output); @@ -301,15 +353,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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -319,19 +371,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -358,96 +408,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][]
@@ -456,21 +514,23 @@ 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()
@@ -478,16 +538,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -503,13 +562,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();
     }
 
@@ -524,7 +584,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.ListExecutionsRequest result =
+          new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -537,38 +598,39 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsRequest buildParti
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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;
@@ -576,7 +638,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_;
         onChanged();
@@ -610,7 +674,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.ListExecutionsRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.ListExecutionsRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -622,19 +688,23 @@ public Builder mergeFrom(
 
     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; @@ -643,21 +713,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 { @@ -665,64 +738,79 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -732,6 +820,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -739,6 +828,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
@@ -748,16 +839,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -767,10 +861,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -778,6 +873,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.
@@ -786,13 +883,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; @@ -801,6 +898,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -809,15 +908,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 { @@ -825,6 +923,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -833,20 +933,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -855,15 +957,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -872,16 +977,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -889,55 +994,79 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; 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]; + * + * .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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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. */ @@ -945,29 +1074,34 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va if (value == null) { throw new NullPointerException(); } - + 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]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,30 +1111,32 @@ 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 { - return new ListExecutionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,9 +1148,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java index 846e2292..bfc5dc1a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 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.
@@ -52,10 +82,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.
@@ -64,28 +97,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.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(); diff --git a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java index 187cc9ae..1054df8d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +46,15 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListExecutionsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,28 +74,33 @@ private ListExecutionsResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              executions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                executions_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              executions_.add(
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1.Execution.parser(),
+                      extensionRegistry));
+              break;
             }
-            executions_.add(
-                input.readMessage(com.google.cloud.workflows.executions.v1.Execution.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -86,8 +108,7 @@ private ListExecutionsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -96,22 +117,27 @@ private ListExecutionsResponse(
       makeExtensionsImmutable();
     }
   }
-  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;
   private java.util.List executions_;
   /**
+   *
+   *
    * 
    * The executions which match the request.
    * 
@@ -123,6 +149,8 @@ public java.util.List getExe return executions_; } /** + * + * *
    * The executions which match the request.
    * 
@@ -130,11 +158,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.
    * 
@@ -146,6 +176,8 @@ public int getExecutionsCount() { return executions_.size(); } /** + * + * *
    * The executions which match the request.
    * 
@@ -157,6 +189,8 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde return executions_.get(index); } /** + * + * *
    * The executions which match the request.
    * 
@@ -172,12 +206,15 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -186,30 +223,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 { @@ -218,6 +255,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +267,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -247,8 +284,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_); @@ -261,17 +297,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,96 +330,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]
@@ -393,21 +436,23 @@ 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()
@@ -415,17 +460,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getExecutionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,13 +486,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();
     }
 
@@ -462,7 +508,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -482,46 +529,50 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsResponse buildPart
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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()) {
@@ -540,9 +591,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_);
           }
@@ -571,7 +623,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.ListExecutionsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.ListExecutionsResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -580,21 +634,30 @@ public Builder mergeFrom(
       }
       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.
      * 
@@ -609,6 +672,8 @@ public java.util.List getExe } } /** + * + * *
      * The executions which match the request.
      * 
@@ -623,6 +688,8 @@ public int getExecutionsCount() { } } /** + * + * *
      * The executions which match the request.
      * 
@@ -637,6 +704,8 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde } } /** + * + * *
      * The executions which match the request.
      * 
@@ -658,6 +727,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -676,6 +747,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -696,6 +769,8 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1.Execution return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -717,6 +792,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -735,6 +812,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -753,6 +832,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -763,8 +844,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); @@ -772,6 +852,8 @@ public Builder addAllExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -789,6 +871,8 @@ public Builder clearExecutions() { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -806,6 +890,8 @@ public Builder removeExecutions(int index) { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -817,6 +903,8 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionsB return getExecutionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The executions which match the request.
      * 
@@ -826,19 +914,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 { @@ -846,6 +937,8 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions } } /** + * + * *
      * The executions which match the request.
      * 
@@ -853,10 +946,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.
      * 
@@ -865,30 +960,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_; @@ -896,19 +997,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; @@ -917,21 +1020,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 { @@ -939,64 +1043,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1006,30 +1117,32 @@ 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 { - return new ListExecutionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,9 +1154,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java index af9b0b73..8283508a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto b/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto rename to proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto diff --git a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java similarity index 63% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java index f90bfc03..97bf582c 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** + * + * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1beta.Executions.CancelExecution]
@@ -12,31 +29,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CancelExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,19 +72,20 @@ private CancelExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -75,36 +93,43 @@ private CancelExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -113,31 +138,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 { @@ -146,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -182,15 +209,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -210,96 +237,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]
@@ -308,38 +344,40 @@ 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()
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -349,14 +387,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
@@ -370,7 +410,8 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -380,46 +421,51 @@ public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest build
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -443,7 +489,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -455,20 +503,24 @@ public Builder mergeFrom(
 
     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; @@ -477,22 +529,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 { @@ -500,67 +555,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -570,30 +638,32 @@ 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 { - return new CancelExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -605,9 +675,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java new file mode 100644 index 00000000..195f1950 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java similarity index 62% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java index 6d41c501..edaad805 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** + * + * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1beta.Executions.CreateExecution]
@@ -12,31 +29,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CreateExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,32 +72,37 @@ private CreateExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 18: {
-            com.google.cloud.workflows.executions.v1beta.Execution.Builder subBuilder = null;
-            if (execution_ != null) {
-              subBuilder = execution_.toBuilder();
+              parent_ = s;
+              break;
             }
-            execution_ = input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(execution_);
-              execution_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.workflows.executions.v1beta.Execution.Builder subBuilder = null;
+              if (execution_ != null) {
+                subBuilder = execution_.toBuilder();
+              }
+              execution_ =
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(execution_);
+                execution_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,36 +110,43 @@ private CreateExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -126,31 +155,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 { @@ -161,11 +192,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 @@ -173,23 +209,34 @@ 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() { @@ -197,6 +244,7 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -229,8 +276,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,19 +286,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -277,96 +322,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]
@@ -375,38 +429,40 @@ 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()
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,14 +478,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
@@ -443,7 +501,8 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest(this);
       result.parent_ = parent_;
       if (executionBuilder_ == null) {
         result.execution_ = execution_;
@@ -458,46 +517,51 @@ public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest build
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -524,7 +588,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -536,20 +602,24 @@ public Builder mergeFrom(
 
     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; @@ -558,22 +628,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 { @@ -581,60 +654,73 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -642,39 +728,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 executionBuilder_ != null || 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. */ 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) { @@ -690,11 +795,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) { @@ -708,17 +817,23 @@ 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 (execution_ != null) { execution_ = - com.google.cloud.workflows.executions.v1beta.Execution.newBuilder(execution_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1beta.Execution.newBuilder(execution_) + .mergeFrom(value) + .buildPartial(); } else { execution_ = value; } @@ -730,11 +845,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() { if (executionBuilder_ == null) { @@ -748,55 +867,71 @@ 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() { - + onChanged(); 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); } @@ -806,30 +941,32 @@ 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 { - return new CreateExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -841,9 +978,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java new file mode 100644 index 00000000..7b68f64e --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java similarity index 71% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java index 63ba78e8..e20fba48 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +47,15 @@ private Execution() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Execution(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Execution( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,82 +74,96 @@ private Execution( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 32: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 32: + { + int rawValue = input.readEnum(); - argument_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - result_ = s; - break; - } - case 58: { - com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); + argument_ = s; + break; } - error_ = input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.Error.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + result_ = s; + break; } + case 58: + { + com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder subBuilder = + null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = + input.readMessage( + com.google.cloud.workflows.executions.v1beta.Execution.Error.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - workflowRevisionId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + workflowRevisionId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -140,27 +171,31 @@ private Execution( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
@@ -168,9 +203,10 @@ private Execution(
    *
    * 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.
      * 
@@ -179,6 +215,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The execution is in progress.
      * 
@@ -187,6 +225,8 @@ public enum State */ ACTIVE(1), /** + * + * *
      * The execution finished successfully.
      * 
@@ -195,6 +235,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * The execution failed with an error.
      * 
@@ -203,6 +245,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -214,6 +258,8 @@ public enum State ; /** + * + * *
      * Invalid state.
      * 
@@ -222,6 +268,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The execution is in progress.
      * 
@@ -230,6 +278,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
      * The execution finished successfully.
      * 
@@ -238,6 +288,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * The execution failed with an error.
      * 
@@ -246,6 +298,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -254,7 +308,6 @@ public enum State */ public static final int CANCELLED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -279,51 +332,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; @@ -340,66 +397,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_ = ""; @@ -407,16 +478,15 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -435,25 +505,27 @@ private Error( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - payload_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + payload_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - context_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + context_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -461,34 +533,39 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -497,29 +574,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 { @@ -530,11 +607,14 @@ public java.lang.String getPayload() { public static final int CONTEXT_FIELD_NUMBER = 2; private volatile java.lang.Object context_; /** + * + * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; + * * @return The context. */ @java.lang.Override @@ -543,29 +623,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 { @@ -574,6 +654,7 @@ public java.lang.String getContext() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -585,8 +666,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -616,17 +696,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -648,87 +727,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 @@ -738,27 +824,32 @@ 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() @@ -766,16 +857,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -787,13 +877,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(); } @@ -808,7 +899,8 @@ 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); + com.google.cloud.workflows.executions.v1beta.Execution.Error result = + new com.google.cloud.workflows.executions.v1beta.Execution.Error(this); result.payload_ = payload_; result.context_ = context_; onBuilt(); @@ -819,38 +911,41 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Error buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -858,7 +953,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_; onChanged(); @@ -886,7 +983,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1beta.Execution.Error) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1beta.Execution.Error) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -898,18 +997,20 @@ public Builder mergeFrom( 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; @@ -918,20 +1019,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 { @@ -939,54 +1041,61 @@ 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) { + public Builder setPayload(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; 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() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); 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) { + public Builder setPayloadBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + payload_ = value; onChanged(); return this; @@ -994,18 +1103,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; @@ -1014,20 +1125,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 { @@ -1035,58 +1147,66 @@ 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) { + public Builder setContext(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + context_ = value; onChanged(); return this; } /** + * + * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; + * * @return This builder for chaining. */ public Builder clearContext() { - + context_ = getDefaultInstance().getContext(); onChanged(); 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) { + public Builder setContextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + context_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1099,30 +1219,32 @@ 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 { - return new Error(input, extensionRegistry); - } - }; + 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 { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1134,15 +1256,17 @@ 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; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -1150,6 +1274,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 @@ -1158,14 +1283,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:
@@ -1173,16 +1299,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 { @@ -1193,11 +1318,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 @@ -1205,11 +1334,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 @@ -1217,11 +1350,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() { @@ -1231,11 +1367,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 @@ -1243,11 +1383,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 @@ -1255,11 +1399,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() { @@ -1269,39 +1416,57 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1beta.Execution.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.Execution.State result = com.google.cloud.workflows.executions.v1beta.Execution.State.valueOf(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.valueOf(state_); + return result == null + ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED + : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; 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 @@ -1310,30 +1475,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 { @@ -1344,12 +1509,15 @@ public java.lang.String getArgument() { public static final int RESULT_FIELD_NUMBER = 6; 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 @@ -1358,30 +1526,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 { @@ -1392,13 +1560,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 @@ -1406,27 +1579,38 @@ 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() { @@ -1436,11 +1620,14 @@ public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder get public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; 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 @@ -1449,29 +1636,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 { @@ -1480,6 +1667,7 @@ public java.lang.String getWorkflowRevisionId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1491,8 +1679,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1502,7 +1689,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_)) { @@ -1530,16 +1719,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_); @@ -1548,8 +1736,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_); @@ -1562,37 +1749,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1632,117 +1813,127 @@ 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() @@ -1750,16 +1941,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1795,9 +1985,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 @@ -1816,7 +2006,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); + com.google.cloud.workflows.executions.v1beta.Execution result = + new com.google.cloud.workflows.executions.v1beta.Execution(this); result.name_ = name_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; @@ -1845,38 +2036,39 @@ public com.google.cloud.workflows.executions.v1beta.Execution buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -1884,7 +2076,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_; onChanged(); @@ -1932,7 +2125,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1beta.Execution) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1beta.Execution) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1944,6 +2138,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1951,13 +2147,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; @@ -1966,6 +2162,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1973,15 +2171,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 { @@ -1989,6 +2186,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1996,20 +2195,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2017,15 +2218,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2033,16 +2237,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2050,24 +2254,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2078,11 +2293,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) { @@ -2098,14 +2316,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(); onChanged(); @@ -2116,17 +2336,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2138,11 +2361,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() { if (startTimeBuilder_ == null) { @@ -2156,48 +2382,59 @@ 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() { - + onChanged(); 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_; @@ -2205,24 +2442,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2233,11 +2481,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) { @@ -2253,14 +2504,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(); onChanged(); @@ -2271,17 +2524,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -2293,11 +2549,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() { if (endTimeBuilder_ == null) { @@ -2311,48 +2570,59 @@ 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() { - + 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]; + * .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_; @@ -2360,51 +2630,75 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.Execution.State result = com.google.cloud.workflows.executions.v1beta.Execution.State.valueOf(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.valueOf(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. */ @@ -2412,21 +2706,26 @@ public Builder setState(com.google.cloud.workflows.executions.v1beta.Execution.S if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2434,19 +2733,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; @@ -2455,21 +2756,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 { @@ -2477,57 +2779,64 @@ 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) { + public Builder setArgument(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + argument_ = value; 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() { - + argument_ = getDefaultInstance().getArgument(); onChanged(); 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) { + public Builder setArgumentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + argument_ = value; onChanged(); return this; @@ -2535,19 +2844,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; @@ -2556,21 +2867,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 { @@ -2578,57 +2890,64 @@ 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) { + public Builder setResult(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + result_ = value; 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(); 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) { + public Builder setResultBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + result_ = value; onChanged(); return this; @@ -2636,45 +2955,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 errorBuilder_ != null || 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. */ 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) { @@ -2690,13 +3028,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) { @@ -2710,19 +3052,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 (error_ != null) { error_ = - com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder(error_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder(error_) + .mergeFrom(value) + .buildPartial(); } else { error_ = value; } @@ -2734,13 +3082,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() { if (errorBuilder_ == null) { @@ -2754,54 +3106,71 @@ 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() { - + 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.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_; @@ -2809,18 +3178,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; @@ -2829,20 +3200,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 { @@ -2850,61 +3222,68 @@ 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) { + public Builder setWorkflowRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workflowRevisionId_ = value; 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(); 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) { + public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2914,12 +3293,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(); } @@ -2928,16 +3307,16 @@ 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 { - return new Execution(input, extensionRegistry); - } - }; + 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 { + return new Execution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2952,6 +3331,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java diff --git a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java index cbf20e31..e936b9a7 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java index a6434738..74af5f69 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java new file mode 100644 index 00000000..53b978e9 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java @@ -0,0 +1,238 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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\"\370\004\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340" + + "A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022M\n\005state\030\004 \001(" + + "\01629.google.cloud.workflows.executions.v1" + + "beta.Execution.StateB\003\340A\003\022\020\n\010argument\030\005 " + + "\001(\t\022\023\n\006result\030\006 \001(\tB\003\340A\003\022M\n\005error\030\007 \001(\0132" + + "9.google.cloud.workflows.executions.v1be" + + "ta.Execution.ErrorB\003\340A\003\022!\n\024workflow_revi" + + "sion_id\030\010 \001(\tB\003\340A\003\032)\n\005Error\022\017\n\007payload\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\tSUCCEEDED\020\002" + + "\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202\001\n+work" + + "flowexecutions.googleapis.com/Execution\022" + + "Sprojects/{project}/locations/{location}" + + "/workflows/{workflow}/executions/{execut" + + "ion}\"\305\001\n\025ListExecutionsRequest\0229\n\006parent" + + "\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapis.com" + + "/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\022J\n\004view\030\004 \001(\01627.google.cloud.wo" + + "rkflows.executions.v1beta.ExecutionViewB" + + "\003\340A\001\"z\n\026ListExecutionsResponse\022G\n\nexecut" + + "ions\030\001 \003(\01323.google.cloud.workflows.exec" + + "utions.v1beta.Execution\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\240\001\n\026CreateExecutionRequest\0229\n\006p" + + "arent\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapi" + + "s.com/Workflow\022K\n\texecution\030\002 \001(\01323.goog" + + "le.cloud.workflows.executions.v1beta.Exe" + + "cutionB\003\340A\002\"\244\001\n\023GetExecutionRequest\022A\n\004n" + + "ame\030\001 \001(\tB3\340A\002\372A-\n+workflowexecutions.go" + + "ogleapis.com/Execution\022J\n\004view\030\002 \001(\01627.g" + + "oogle.cloud.workflows.executions.v1beta." + + "ExecutionViewB\003\340A\001\"[\n\026CancelExecutionReq" + + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowexec" + + "utions.googleapis.com/Execution*D\n\rExecu" + + "tionView\022\036\n\032EXECUTION_VIEW_UNSPECIFIED\020\000" + + "\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\nExecutions\022\344\001\n" + + "\016ListExecutions\022?.google.cloud.workflows" + + ".executions.v1beta.ListExecutionsRequest" + + "\032@.google.cloud.workflows.executions.v1b" + + "eta.ListExecutionsResponse\"O\202\323\344\223\002@\022>/v1b" + + "eta/{parent=projects/*/locations/*/workf" + + "lows/*}/executions\332A\006parent\022\356\001\n\017CreateEx" + + "ecution\022@.google.cloud.workflows.executi" + + "ons.v1beta.CreateExecutionRequest\0323.goog" + + "le.cloud.workflows.executions.v1beta.Exe" + + "cution\"d\202\323\344\223\002K\">/v1beta/{parent=projects" + + "/*/locations/*/workflows/*}/executions:\t" + + "execution\332A\020parent,execution\022\321\001\n\014GetExec" + + "ution\022=.google.cloud.workflows.execution" + + "s.v1beta.GetExecutionRequest\0323.google.cl" + + "oud.workflows.executions.v1beta.Executio" + + "n\"M\202\323\344\223\002@\022>/v1beta/{name=projects/*/loca" + + "tions/*/workflows/*/executions/*}\332A\004name" + + "\022\341\001\n\017CancelExecution\022@.google.cloud.work" + + "flows.executions.v1beta.CancelExecutionR" + + "equest\0323.google.cloud.workflows.executio" + + "ns.v1beta.Execution\"W\202\323\344\223\002J\"E/v1beta/{na" + + "me=projects/*/locations/*/workflows/*/ex" + + "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" + + "wexecutions.googleapis.com\322A.https://www" + + ".googleapis.com/auth/cloud-platformB\371\001\n," + + "com.google.cloud.workflows.executions.v1" + + "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" + + "rg/genproto/googleapis/cloud/workflows/e" + + "xecutions/v1beta;executions\352Aa\n!workflow" + + "s.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,16 +46,15 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,25 +73,27 @@ private GetExecutionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,36 +101,43 @@ private GetExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -120,31 +146,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 { @@ -155,33 +183,49 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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; @@ -193,12 +237,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_); } unknownFields.writeTo(output); @@ -213,9 +258,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -225,15 +271,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -256,96 +302,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]
@@ -354,21 +408,23 @@ 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()
@@ -376,16 +432,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -397,13 +452,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();
     }
 
@@ -418,7 +474,8 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1beta.GetExecutionRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -429,46 +486,50 @@ public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest buildPar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -495,7 +556,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -507,20 +570,24 @@ public Builder mergeFrom(
 
     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; @@ -529,22 +596,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 { @@ -552,60 +622,73 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -613,55 +696,79 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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. */ @@ -669,29 +776,34 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,30 +813,32 @@ 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 { - return new GetExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -736,9 +850,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java index 02246254..a1c7f5dd 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java @@ -1,53 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java similarity index 67% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java index 80658267..58e24987 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +47,15 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListExecutionsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,36 +74,39 @@ private ListExecutionsRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 16: {
-
-            pageSize_ = input.readInt32();
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              parent_ = s;
+              break;
+            }
+          case 16:
+            {
+              pageSize_ = input.readInt32();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageToken_ = s;
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+              pageToken_ = s;
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            view_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              view_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,35 +114,42 @@ private ListExecutionsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -131,30 +158,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 { @@ -165,6 +194,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -174,6 +205,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -184,6 +216,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -192,6 +226,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -200,14 +235,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.
@@ -216,16 +252,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 { @@ -236,33 +271,49 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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; @@ -274,8 +325,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -285,7 +335,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_); } unknownFields.writeTo(output); @@ -301,15 +353,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -319,19 +371,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -358,96 +408,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]
@@ -456,38 +515,40 @@ 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()
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -503,14 +564,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
@@ -524,7 +587,8 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result =
+          new com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -537,46 +601,51 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest buildP
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -610,7 +679,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -622,19 +693,23 @@ public Builder mergeFrom(
 
     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; @@ -643,21 +718,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 { @@ -665,64 +743,79 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -732,6 +825,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -739,6 +833,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
@@ -748,16 +844,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -767,10 +866,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -778,6 +878,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.
@@ -786,13 +888,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; @@ -801,6 +903,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -809,15 +913,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 { @@ -825,6 +928,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -833,20 +938,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -855,15 +962,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -872,16 +982,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -889,55 +999,79 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; 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.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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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. */ @@ -945,29 +1079,34 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie if (value == null) { throw new NullPointerException(); } - + 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.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() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,30 +1116,32 @@ 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 { - return new ListExecutionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,9 +1153,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java index e547072c..bb32cb76 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
@@ -52,10 +82,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.
@@ -64,28 +97,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java similarity index 72% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java index 6dec1160..96da4bf2 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +46,15 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListExecutionsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,28 +74,34 @@ private ListExecutionsResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              executions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                executions_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.workflows.executions.v1beta.Execution>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              executions_.add(
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
+                      extensionRegistry));
+              break;
             }
-            executions_.add(
-                input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -86,8 +109,7 @@ private ListExecutionsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -96,22 +118,27 @@ private ListExecutionsResponse(
       makeExtensionsImmutable();
     }
   }
-  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;
   private java.util.List executions_;
   /**
+   *
+   *
    * 
    * The executions which match the request.
    * 
@@ -119,10 +146,13 @@ private ListExecutionsResponse( * 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.
    * 
@@ -130,11 +160,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.
    * 
@@ -146,6 +178,8 @@ public int getExecutionsCount() { return executions_.size(); } /** + * + * *
    * The executions which match the request.
    * 
@@ -157,6 +191,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int return executions_.get(index); } /** + * + * *
    * The executions which match the request.
    * 
@@ -172,12 +208,15 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -186,30 +225,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 { @@ -218,6 +257,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < executions_.size(); i++) { output.writeMessage(1, executions_.get(i)); } @@ -247,8 +286,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_); @@ -261,17 +299,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,96 +332,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]
@@ -393,39 +439,42 @@ 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()
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getExecutionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,14 +490,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
@@ -462,7 +513,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -482,46 +534,51 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse build
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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()) {
@@ -540,9 +597,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_);
           }
@@ -571,7 +629,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -580,28 +640,38 @@ public Builder mergeFrom(
       }
       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 { @@ -609,6 +679,8 @@ public java.util.List ge } } /** + * + * *
      * The executions which match the request.
      * 
@@ -623,6 +695,8 @@ public int getExecutionsCount() { } } /** + * + * *
      * The executions which match the request.
      * 
@@ -637,6 +711,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int } } /** + * + * *
      * The executions which match the request.
      * 
@@ -658,6 +734,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -676,6 +754,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -696,6 +776,8 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1beta.Execut return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -717,6 +799,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -735,6 +819,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -753,6 +839,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -760,11 +848,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); @@ -772,6 +860,8 @@ public Builder addAllExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -789,6 +879,8 @@ public Builder clearExecutions() { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -806,6 +898,8 @@ public Builder removeExecutions(int index) { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -817,6 +911,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti return getExecutionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The executions which match the request.
      * 
@@ -826,19 +922,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 { @@ -846,6 +945,8 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } } /** + * + * *
      * The executions which match the request.
      * 
@@ -853,10 +954,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.
      * 
@@ -865,30 +968,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_; @@ -896,19 +1005,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; @@ -917,21 +1028,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 { @@ -939,64 +1051,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1006,30 +1125,32 @@ 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 { - return new ListExecutionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,9 +1162,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java index 79c065a4..38dd3b5d 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java diff --git a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto b/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto similarity index 100% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto rename to proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto From 13cf26fe177921806059feded5438bc8823e582c Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Fri, 10 Jun 2022 00:48:41 +0000 Subject: [PATCH 3/7] chore: Integrate new gapic-generator-java and rules_gapic PiperOrigin-RevId: 454027580 Source-Link: https://github.com/googleapis/googleapis/commit/1b222777baa702e7135610355706570ed2b56318 Source-Link: https://github.com/googleapis/googleapis-gen/commit/e04cea20d0d12eb5c3bdb360a9e72b654edcb638 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZTA0Y2VhMjBkMGQxMmViNWMzYmRiMzYwYTllNzJiNjU0ZWRjYjYzOCJ9 --- .../executions/v1/ExecutionsGrpc.java | 739 ---- .../executions/v1beta/ExecutionsGrpc.java | 743 ---- .../executions/v1/ExecutionsClient.java | 18 +- .../executions/v1/ExecutionsSettings.java | 7 +- .../executions/v1/gapic_metadata.json | 0 .../workflows/executions/v1/package-info.java | 0 .../executions/v1/stub/ExecutionsStub.java | 0 .../v1/stub/ExecutionsStubSettings.java | 6 +- .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1/stub/GrpcExecutionsStub.java | 1 + .../executions/v1/ExecutionsClientTest.java | 0 .../executions/v1/MockExecutions.java | 0 .../executions/v1/MockExecutionsImpl.java | 0 .../executions/v1/ExecutionsGrpc.java | 578 +++ .../executions/v1/CancelExecutionRequest.java | 363 +- .../v1/CancelExecutionRequestOrBuilder.java | 33 + .../executions/v1/CreateExecutionRequest.java | 510 +-- .../v1/CreateExecutionRequestOrBuilder.java | 60 + .../workflows/executions/v1/Execution.java | 3451 ++++++----------- .../executions/v1/ExecutionName.java | 0 .../executions/v1/ExecutionOrBuilder.java | 128 +- .../executions/v1/ExecutionView.java | 86 +- .../executions/v1/ExecutionsProto.java | 253 ++ .../executions/v1/GetExecutionRequest.java | 449 +-- .../v1/GetExecutionRequestOrBuilder.java | 49 +- .../executions/v1/ListExecutionsRequest.java | 573 ++- .../v1/ListExecutionsRequestOrBuilder.java | 61 +- .../executions/v1/ListExecutionsResponse.java | 470 +-- .../v1/ListExecutionsResponseOrBuilder.java | 45 +- .../workflows/executions/v1/WorkflowName.java | 0 .../workflows/executions/v1/executions.proto | 0 .../executions/v1beta/ExecutionsClient.java | 18 +- .../executions/v1beta/ExecutionsSettings.java | 7 +- .../executions/v1beta/gapic_metadata.json | 0 .../executions/v1beta/package-info.java | 0 .../v1beta/stub/ExecutionsStub.java | 0 .../v1beta/stub/ExecutionsStubSettings.java | 6 +- .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1beta/stub/GrpcExecutionsStub.java | 1 + .../v1beta/ExecutionsClientTest.java | 0 .../executions/v1beta/MockExecutions.java | 0 .../executions/v1beta/MockExecutionsImpl.java | 0 .../executions/v1beta/ExecutionsGrpc.java | 578 +++ .../v1beta/CancelExecutionRequest.java | 375 +- .../CancelExecutionRequestOrBuilder.java | 33 + .../v1beta/CreateExecutionRequest.java | 522 +-- .../CreateExecutionRequestOrBuilder.java | 60 + .../executions/v1beta/Execution.java | 1549 +++----- .../executions/v1beta/ExecutionName.java | 0 .../executions/v1beta/ExecutionOrBuilder.java | 122 +- .../executions/v1beta/ExecutionView.java | 86 +- .../executions/v1beta/ExecutionsProto.java | 208 + .../v1beta/GetExecutionRequest.java | 463 +-- .../v1beta/GetExecutionRequestOrBuilder.java | 49 +- .../v1beta/ListExecutionsRequest.java | 588 ++- .../ListExecutionsRequestOrBuilder.java | 61 +- .../v1beta/ListExecutionsResponse.java | 492 +-- .../ListExecutionsResponseOrBuilder.java | 45 +- .../executions/v1beta/WorkflowName.java | 0 .../executions/v1beta/executions.proto | 0 .../v1/CancelExecutionRequestOrBuilder.java | 58 - .../v1/CreateExecutionRequestOrBuilder.java | 99 - .../executions/v1/ExecutionsProto.java | 293 -- .../CancelExecutionRequestOrBuilder.java | 58 - .../CreateExecutionRequestOrBuilder.java | 99 - .../executions/v1beta/ExecutionsProto.java | 238 -- 66 files changed, 5664 insertions(+), 9067 deletions(-) delete mode 100644 grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java delete mode 100644 grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java (97%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java (96%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java (98%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java (99%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java (68%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java (100%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java (74%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequest.java (64%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java (50%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java (68%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java (64%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java (73%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java (70%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java (100%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/proto/google/cloud/workflows/executions/v1/executions.proto (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java (97%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java (96%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java (98%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java (99%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java (100%) create mode 100644 owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java (63%) create mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java (62%) create mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java (71%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java (100%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java (71%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequest.java (63%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java (50%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java (67%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java (64%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java (72%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java (70%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java (100%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto (100%) delete mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java delete mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java delete mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java delete mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java delete mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java delete mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java diff --git a/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java deleted file mode 100644 index 01ed5871..00000000 --- a/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.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 abstract static class ExecutionsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCancelExecutionMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_CANCEL_EXECUTION))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - 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/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java b/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java deleted file mode 100644 index ebfd50b8..00000000 --- a/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java +++ /dev/null @@ -1,743 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.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 abstract static class ExecutionsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCancelExecutionMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_CANCEL_EXECUTION))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - 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/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java similarity index 97% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java index a81edc38..de656c5a 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java +++ b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java @@ -57,13 +57,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -293,7 +293,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re * .build(); * while (true) { * ListExecutionsResponse response = executionsClient.listExecutionsCallable().call(request); - * for (Execution element : response.getResponsesList()) { + * for (Execution element : response.getExecutionsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -661,10 +661,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListExecutionsPagedResponse extends AbstractPagedListResponse< - ListExecutionsRequest, - ListExecutionsResponse, - Execution, - ListExecutionsPage, + ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, ListExecutionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -714,10 +711,7 @@ public ApiFuture createPageAsync( public static class ListExecutionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListExecutionsRequest, - ListExecutionsResponse, - Execution, - ListExecutionsPage, + ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, ListExecutionsFixedSizeCollection> { private ListExecutionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java similarity index 96% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java index 4bef877f..14622b58 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java +++ b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java @@ -27,6 +27,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; @@ -41,10 +42,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java similarity index 98% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java index 19d83a70..403f3756 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java @@ -61,10 +61,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java similarity index 99% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java index 203d4698..6fe8aed5 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java +++ b/owl-bot-staging/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/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java new file mode 100644 index 00000000..17090128 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java @@ -0,0 +1,578 @@ +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 static abstract class ExecutionsImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_CANCEL_EXECUTION))) + .build(); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + 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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java similarity index 64% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java index ac476a4b..b68d8b7d 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution]
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CancelExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,20 +55,19 @@ private CancelExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,43 +75,36 @@ private CancelExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -138,33 +113,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 { @@ -173,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +182,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,104 +210,96 @@ 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]
@@ -343,23 +308,21 @@ 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()
@@ -367,15 +330,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -385,14 +349,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();
     }
 
@@ -407,8 +370,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.CancelExecutionRequest result = new com.google.cloud.workflows.executions.v1.CancelExecutionRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -418,50 +380,46 @@ public com.google.cloud.workflows.executions.v1.CancelExecutionRequest buildPart
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -485,9 +443,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.CancelExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.CancelExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -499,24 +455,20 @@ public Builder mergeFrom(
 
     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; @@ -525,25 +477,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 { @@ -551,80 +500,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -634,32 +570,30 @@ 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 { - return new CancelExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,8 +605,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java new file mode 100644 index 00000000..274df6c4 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java similarity index 62% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java index 63083170..697b5aa7 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution]
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CreateExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,37 +55,32 @@ private CreateExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
+            parent_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.workflows.executions.v1.Execution.Builder subBuilder = null;
+            if (execution_ != null) {
+              subBuilder = execution_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.workflows.executions.v1.Execution.Builder subBuilder = null;
-              if (execution_ != null) {
-                subBuilder = execution_.toBuilder();
-              }
-              execution_ =
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1.Execution.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(execution_);
-                execution_ = subBuilder.buildPartial();
-              }
-
-              break;
+            execution_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(execution_);
+              execution_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -110,43 +88,36 @@ private CreateExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -155,33 +126,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 { @@ -192,16 +161,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 @@ -209,34 +173,23 @@ 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() { @@ -244,7 +197,6 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -276,7 +229,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,18 +240,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -322,104 +277,96 @@ 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]
@@ -428,23 +375,21 @@ 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()
@@ -452,15 +397,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -476,14 +422,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();
     }
 
@@ -498,8 +443,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.CreateExecutionRequest result = new com.google.cloud.workflows.executions.v1.CreateExecutionRequest(this);
       result.parent_ = parent_;
       if (executionBuilder_ == null) {
         result.execution_ = execution_;
@@ -514,50 +458,46 @@ public com.google.cloud.workflows.executions.v1.CreateExecutionRequest buildPart
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -584,9 +524,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.CreateExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.CreateExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -598,24 +536,20 @@ public Builder mergeFrom(
 
     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; @@ -624,25 +558,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 { @@ -650,73 +581,60 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -724,58 +642,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 executionBuilder_ != null || 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. */ 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) { @@ -791,15 +690,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) { @@ -813,23 +708,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 (execution_ != null) { execution_ = - com.google.cloud.workflows.executions.v1.Execution.newBuilder(execution_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.newBuilder(execution_).mergeFrom(value).buildPartial(); } else { execution_ = value; } @@ -841,15 +730,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() { if (executionBuilder_ == null) { @@ -863,71 +748,55 @@ 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() { - + onChanged(); 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); } @@ -937,32 +806,30 @@ 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 { - return new CreateExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -974,8 +841,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java new file mode 100644 index 00000000..e519bd4f --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java similarity index 68% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java index d5e50984..d1d0604b 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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).
@@ -28,16 +11,15 @@
  *
  * 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;
@@ -49,15 +31,16 @@ private Execution() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Execution();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Execution(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,102 +59,88 @@ private Execution(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (startTime_ != null) {
+              subBuilder = startTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(startTime_);
+              startTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (endTime_ != null) {
+              subBuilder = endTime_.toBuilder();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
-
-              state_ = rawValue;
-              break;
+            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(endTime_);
+              endTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              argument_ = s;
-              break;
-            }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
 
-              result_ = s;
-              break;
-            }
-          case 58:
-            {
-              com.google.cloud.workflows.executions.v1.Execution.Error.Builder subBuilder = null;
-              if (error_ != null) {
-                subBuilder = error_.toBuilder();
-              }
-              error_ =
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1.Execution.Error.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(error_);
-                error_ = subBuilder.buildPartial();
-              }
+            state_ = rawValue;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            argument_ = s;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              workflowRevisionId_ = s;
-              break;
+            result_ = s;
+            break;
+          }
+          case 58: {
+            com.google.cloud.workflows.executions.v1.Execution.Error.Builder subBuilder = null;
+            if (error_ != null) {
+              subBuilder = error_.toBuilder();
             }
-          case 72:
-            {
-              int rawValue = input.readEnum();
-
-              callLogLevel_ = rawValue;
-              break;
+            error_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.Error.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            workflowRevisionId_ = s;
+            break;
+          }
+          case 72: {
+            int rawValue = input.readEnum();
+
+            callLogLevel_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -179,31 +148,27 @@ private Execution(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   }
 
   @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.
@@ -211,10 +176,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 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.
      * 
@@ -223,8 +187,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The execution is in progress.
      * 
@@ -233,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
      * The execution finished successfully.
      * 
@@ -243,8 +203,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(2), /** - * - * *
      * The execution failed with an error.
      * 
@@ -253,8 +211,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -266,8 +222,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid state.
      * 
@@ -276,8 +230,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The execution is in progress.
      * 
@@ -286,8 +238,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The execution finished successfully.
      * 
@@ -296,8 +246,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 2; /** - * - * *
      * The execution failed with an error.
      * 
@@ -306,8 +254,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -316,6 +262,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( @@ -340,55 +287,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.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; @@ -406,8 +349,6 @@ private State(int value) { } /** - * - * *
    * Describes the level of platform logging to apply to calls and call
    * responses during workflow executions.
@@ -415,10 +356,9 @@ 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 specified.
      * 
@@ -427,8 +367,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { */ CALL_LOG_LEVEL_UNSPECIFIED(0), /** - * - * *
      * Log all call steps within workflows, all call returns, and all exceptions
      * raised.
@@ -438,8 +376,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum {
      */
     LOG_ALL_CALLS(1),
     /**
-     *
-     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -451,8 +387,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * No call logging specified.
      * 
@@ -461,8 +395,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CALL_LOG_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Log all call steps within workflows, all call returns, and all exceptions
      * raised.
@@ -472,8 +404,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int LOG_ALL_CALLS_VALUE = 1;
     /**
-     *
-     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -482,6 +412,7 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOG_ERRORS_ONLY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -506,51 +437,49 @@ 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; - default: - return null; + 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() { + 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); + } + }; - 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() { + 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; @@ -567,122 +496,93 @@ 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_ = ""; @@ -690,15 +590,16 @@ private StackTraceElement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StackTraceElement(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StackTraceElement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -717,47 +618,38 @@ private StackTraceElement( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - step_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + step_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - routine_ = s; - break; + routine_ = s; + break; + } + case 26: { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder subBuilder = null; + if (position_ != null) { + subBuilder = position_.toBuilder(); } - case 26: - { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .Builder - subBuilder = null; - if (position_ != null) { - subBuilder = position_.toBuilder(); - } - position_ = - input.readMessage( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .Position.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(position_); - position_ = subBuilder.buildPartial(); - } - - break; + position_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(position_); + position_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -765,108 +657,94 @@ private StackTraceElement( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Position( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -885,28 +763,28 @@ private Position( case 0: done = true; break; - case 8: - { - line_ = input.readInt64(); - break; - } - case 16: - { - column_ = input.readInt64(); - break; - } - case 24: - { - length_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + line_ = input.readInt64(); + break; + } + case 16: { + + column_ = input.readInt64(); + break; + } + case 24: { + + length_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -914,41 +792,34 @@ private Position( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
        * The source code line number the current instruction was generated from.
        * 
* * int64 line = 1; - * * @return The line. */ @java.lang.Override @@ -959,15 +830,12 @@ public long getLine() { public static final int COLUMN_FIELD_NUMBER = 2; 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 @@ -978,14 +846,11 @@ public long getColumn() { public static final int LENGTH_FIELD_NUMBER = 3; 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 @@ -994,7 +859,6 @@ public long getLength() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1006,7 +870,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1026,13 +891,16 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1042,19 +910,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; - - if (getLine() != other.getLine()) return false; - if (getColumn() != other.getColumn()) return false; - if (getLength() != other.getLength()) return false; + 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1067,113 +935,101 @@ 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) + unknownFields.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 @@ -1183,54 +1039,46 @@ 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() + // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1244,23 +1092,19 @@ 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); } @@ -1268,11 +1112,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @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); + 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); result.line_ = line_; result.column_ = column_; result.length_ = length_; @@ -1284,56 +1125,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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()); } @@ -1358,14 +1189,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parsedMessage = null; + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1375,16 +1203,13 @@ public Builder mergeFrom( return this; } - 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 @@ -1392,52 +1217,43 @@ 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; 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() { - + line_ = 0L; onChanged(); 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 @@ -1445,53 +1261,44 @@ 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; 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() { - + column_ = 0L; onChanged(); 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 @@ -1499,41 +1306,34 @@ 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; 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() { - + length_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1546,34 +1346,30 @@ 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 { - return new Position(input, extensionRegistry); - } - }; + 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 { + return new Position(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1585,23 +1381,20 @@ 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; private volatile java.lang.Object step_; /** - * - * *
      * The step the error occurred at.
      * 
* * string step = 1; - * * @return The step. */ @java.lang.Override @@ -1610,29 +1403,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 { @@ -1643,14 +1436,11 @@ public com.google.protobuf.ByteString getStepBytes() { public static final int ROUTINE_FIELD_NUMBER = 2; private volatile java.lang.Object routine_; /** - * - * *
      * The routine where the error occurred.
      * 
* * string routine = 2; - * * @return The routine. */ @java.lang.Override @@ -1659,29 +1449,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 { @@ -1692,16 +1482,11 @@ public com.google.protobuf.ByteString getRoutineBytes() { 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 @@ -1709,45 +1494,30 @@ 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() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder getPositionOrBuilder() { return getPosition(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1759,7 +1529,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1785,7 +1556,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1795,19 +1567,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1834,95 +1608,87 @@ 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 @@ -1932,49 +1698,44 @@ 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() + // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1992,22 +1753,19 @@ 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); } @@ -2016,8 +1774,7 @@ 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); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(this); result.step_ = step_; result.routine_ = routine_; if (positionBuilder_ == null) { @@ -2033,53 +1790,46 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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_; onChanged(); @@ -2110,9 +1860,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2124,20 +1872,18 @@ public Builder mergeFrom( 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; @@ -2146,21 +1892,20 @@ 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 { @@ -2168,61 +1913,54 @@ public com.google.protobuf.ByteString getStepBytes() { } } /** - * - * *
        * 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) { + public Builder setStep( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + step_ = value; onChanged(); return this; } /** - * - * *
        * The step the error occurred at.
        * 
* * string step = 1; - * * @return This builder for chaining. */ public Builder clearStep() { - + step_ = getDefaultInstance().getStep(); 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) { + public Builder setStepBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + step_ = value; onChanged(); return this; @@ -2230,20 +1968,18 @@ public Builder setStepBytes(com.google.protobuf.ByteString value) { 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; @@ -2252,21 +1988,20 @@ 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 { @@ -2274,127 +2009,96 @@ public com.google.protobuf.ByteString getRoutineBytes() { } } /** - * - * *
        * 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) { + public Builder setRoutine( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + routine_ = value; onChanged(); return this; } /** - * - * *
        * The routine where the error occurred.
        * 
* * string routine = 2; - * * @return This builder for chaining. */ public Builder clearRoutine() { - + routine_ = getDefaultInstance().getRoutine(); 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) { + public Builder setRoutineBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + routine_ = value; onChanged(); 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 positionBuilder_ != null || 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. */ - 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(); @@ -2408,19 +2112,14 @@ 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 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(); onChanged(); @@ -2431,25 +2130,17 @@ 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 (position_ != null) { position_ = - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .newBuilder(position_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder(position_).mergeFrom(value).buildPartial(); } else { position_ = value; } @@ -2461,15 +2152,11 @@ public Builder mergePosition( 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() { if (positionBuilder_ == null) { @@ -2483,74 +2170,52 @@ 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() { + 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) { @@ -2563,32 +2228,30 @@ 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 { - return new StackTraceElement(input, extensionRegistry); - } - }; + 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 { + return new StackTraceElement(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2600,116 +2263,92 @@ 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< - ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> + java.util.List 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StackTrace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2729,28 +2368,22 @@ private StackTrace( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - elements_ = - new java.util.ArrayList< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>(); - mutable_bitField0_ |= 0x00000001; - } - elements_.add( - input.readMessage( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + elements_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + elements_.add( + input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2758,7 +2391,8 @@ private StackTrace( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { elements_ = java.util.Collections.unmodifiableList(elements_); @@ -2767,108 +2401,80 @@ private StackTrace( makeExtensionsImmutable(); } } - - 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; - 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< - ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> + public java.util.List 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; @@ -2880,7 +2486,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -2894,7 +2501,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2904,15 +2512,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2934,94 +2542,87 @@ 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 @@ -3031,32 +2632,27 @@ 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() @@ -3064,17 +2660,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getElementsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3088,14 +2684,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_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(); } @@ -3110,8 +2705,7 @@ 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); int from_bitField0_ = bitField0_; if (elementsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3130,52 +2724,46 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTrace buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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()) { @@ -3194,10 +2782,9 @@ public Builder mergeFrom( 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_); } @@ -3222,9 +2809,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1.Execution.StackTrace) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTrace) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3233,40 +2818,28 @@ public Builder mergeFrom( } 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< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>(elements_); + 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_; + 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 { @@ -3274,15 +2847,11 @@ private void ensureElementsIsMutable() { } } /** - * - * *
        * 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) { @@ -3292,18 +2861,13 @@ 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 { @@ -3311,15 +2875,11 @@ 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) { @@ -3336,20 +2896,14 @@ 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()); @@ -3360,18 +2914,13 @@ 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(); @@ -3385,15 +2934,11 @@ 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 value) { @@ -3410,19 +2955,14 @@ 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()); @@ -3433,20 +2973,14 @@ 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()); @@ -3457,23 +2991,18 @@ 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< - ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElement> - values) { + java.lang.Iterable 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); @@ -3481,15 +3010,11 @@ 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) { @@ -3502,15 +3027,11 @@ 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) { @@ -3523,54 +3044,39 @@ 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< - ? extends - com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> - getElementsOrBuilderList() { + public java.util.List + getElementsOrBuilderList() { if (elementsBuilder_ != null) { return elementsBuilder_.getMessageOrBuilderList(); } else { @@ -3578,76 +3084,53 @@ public Builder removeElements(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; */ - 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< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder> - getElementsBuilderList() { + 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> + 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) { @@ -3660,32 +3143,30 @@ 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 { - return new StackTrace(input, extensionRegistry); - } - }; + 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 { + return new StackTrace(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3697,94 +3178,75 @@ 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.
      * 
@@ -3794,24 +3256,21 @@ public interface ErrorOrBuilder 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_ = ""; @@ -3819,15 +3278,16 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3846,45 +3306,38 @@ private Error( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - payload_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + payload_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - context_ = s; - break; + context_ = s; + break; + } + case 26: { + com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder subBuilder = null; + if (stackTrace_ != null) { + subBuilder = stackTrace_.toBuilder(); } - case 26: - { - com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder subBuilder = - null; - if (stackTrace_ != null) { - subBuilder = stackTrace_.toBuilder(); - } - stackTrace_ = - input.readMessage( - com.google.cloud.workflows.executions.v1.Execution.StackTrace.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stackTrace_); - stackTrace_ = subBuilder.buildPartial(); - } - - break; + stackTrace_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTrace.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stackTrace_); + stackTrace_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3892,39 +3345,34 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -3933,29 +3381,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 { @@ -3966,14 +3414,11 @@ public com.google.protobuf.ByteString getPayloadBytes() { public static final int CONTEXT_FIELD_NUMBER = 2; private volatile java.lang.Object context_; /** - * - * *
      * Human-readable stack trace string.
      * 
* * string context = 2; - * * @return The context. */ @java.lang.Override @@ -3982,29 +3427,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 { @@ -4015,14 +3460,11 @@ public com.google.protobuf.ByteString getContextBytes() { 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 @@ -4030,25 +3472,18 @@ 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.
      * 
@@ -4056,13 +3491,11 @@ 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() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder getStackTraceOrBuilder() { return getStackTrace(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4074,7 +3507,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -4100,7 +3534,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4110,19 +3545,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4149,94 +3586,87 @@ 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 @@ -4246,32 +3676,27 @@ 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() @@ -4279,15 +3704,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4305,9 +3731,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 @@ -4326,8 +3752,7 @@ 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); + com.google.cloud.workflows.executions.v1.Execution.Error result = new com.google.cloud.workflows.executions.v1.Execution.Error(this); result.payload_ = payload_; result.context_ = context_; if (stackTraceBuilder_ == null) { @@ -4343,41 +3768,38 @@ public com.google.cloud.workflows.executions.v1.Execution.Error buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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; @@ -4385,8 +3807,7 @@ 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_; onChanged(); @@ -4417,8 +3838,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1.Execution.Error) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4430,20 +3850,18 @@ public Builder mergeFrom( 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; @@ -4452,21 +3870,20 @@ 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 { @@ -4474,61 +3891,54 @@ public com.google.protobuf.ByteString getPayloadBytes() { } } /** - * - * *
        * 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) { + public Builder setPayload( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; 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(); 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) { + public Builder setPayloadBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + payload_ = value; onChanged(); return this; @@ -4536,20 +3946,18 @@ public Builder setPayloadBytes(com.google.protobuf.ByteString value) { 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; @@ -4558,21 +3966,20 @@ 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 { @@ -4580,61 +3987,54 @@ public com.google.protobuf.ByteString getContextBytes() { } } /** - * - * *
        * 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) { + public Builder setContext( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + context_ = value; onChanged(); return this; } /** - * - * *
        * Human-readable stack trace string.
        * 
* * string context = 2; - * * @return This builder for chaining. */ public Builder clearContext() { - + context_ = getDefaultInstance().getContext(); 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) { + public Builder setContextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + context_ = value; onChanged(); return this; @@ -4642,55 +4042,41 @@ public Builder setContextBytes(com.google.protobuf.ByteString value) { 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 stackTraceBuilder_ != null || 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. */ 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(); @@ -4704,8 +4090,6 @@ public Builder setStackTrace( return this; } /** - * - * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4724,23 +4108,17 @@ 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 (stackTrace_ != null) { stackTrace_ = - com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder( - stackTrace_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder(stackTrace_).mergeFrom(value).buildPartial(); } else { stackTrace_ = value; } @@ -4752,8 +4130,6 @@ public Builder mergeStackTrace( return this; } /** - * - * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4772,42 +4148,33 @@ 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() { + 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.
        * 
@@ -4815,22 +4182,18 @@ public Builder clearStackTrace() { * .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) { @@ -4843,12 +4206,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(); } @@ -4857,16 +4220,16 @@ 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 { - return new Error(input, extensionRegistry); - } - }; + 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 { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4881,13 +4244,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The resource name of the execution.
    * Format:
@@ -4895,7 +4257,6 @@ public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstan
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -4904,15 +4265,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:
@@ -4920,15 +4280,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 { @@ -4939,15 +4300,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 @@ -4955,15 +4312,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 @@ -4971,14 +4324,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() { @@ -4988,15 +4338,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 @@ -5004,15 +4350,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 @@ -5020,14 +4362,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() { @@ -5037,50 +4376,33 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.State result = - com.google.cloud.workflows.executions.v1.Execution.State.valueOf(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.valueOf(state_); + return result == null ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; private volatile java.lang.Object argument_; /** - * - * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
@@ -5090,7 +4412,6 @@ public com.google.cloud.workflows.executions.v1.Execution.State getState() {
    * 
* * string argument = 5; - * * @return The argument. */ @java.lang.Override @@ -5099,15 +4420,14 @@ 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.
@@ -5117,15 +4437,16 @@ 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 { @@ -5136,15 +4457,12 @@ public com.google.protobuf.ByteString getArgumentBytes() { public static final int RESULT_FIELD_NUMBER = 6; 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 @@ -5153,30 +4471,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 { @@ -5187,18 +4505,13 @@ public com.google.protobuf.ByteString getResultBytes() { 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 @@ -5206,38 +4519,27 @@ 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() { @@ -5247,14 +4549,11 @@ public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErro public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; 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 @@ -5263,29 +4562,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 { @@ -5296,43 +4595,31 @@ public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { public static final int CALL_LOG_LEVEL_FIELD_NUMBER = 9; private int callLogLevel_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.valueOf(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.valueOf(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; @@ -5344,7 +4631,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -5354,8 +4642,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.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_)) { @@ -5370,10 +4657,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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_); } unknownFields.writeTo(output); @@ -5389,14 +4673,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.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_); @@ -5405,16 +4691,15 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5424,31 +4709,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.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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -5491,103 +4782,96 @@ 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).
@@ -5595,23 +4879,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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;
     }
 
     @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()
@@ -5619,15 +4901,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5665,9 +4948,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
@@ -5686,8 +4969,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.Execution result = new com.google.cloud.workflows.executions.v1.Execution(this);
       result.name_ = name_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -5717,39 +4999,38 @@ public com.google.cloud.workflows.executions.v1.Execution buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -5757,8 +5038,7 @@ 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_;
         onChanged();
@@ -5809,8 +5089,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.Execution) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.Execution) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -5822,8 +5101,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The resource name of the execution.
      * Format:
@@ -5831,13 +5108,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; @@ -5846,8 +5123,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5855,14 +5130,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 { @@ -5870,8 +5146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5879,22 +5153,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5902,18 +5174,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5921,16 +5190,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -5938,35 +5207,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -5977,14 +5235,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) { @@ -6000,16 +5255,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(); onChanged(); @@ -6020,20 +5273,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -6045,14 +5295,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() { if (startTimeBuilder_ == null) { @@ -6066,59 +5313,48 @@ 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() { - + onChanged(); 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_; @@ -6126,35 +5362,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -6165,14 +5390,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) { @@ -6188,16 +5410,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(); onChanged(); @@ -6208,20 +5428,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -6233,14 +5450,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() { if (endTimeBuilder_ == null) { @@ -6254,59 +5468,48 @@ 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() { - + 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]; - * + * .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_; @@ -6314,75 +5517,51 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { 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. */ public Builder setStateValue(int value) { - + state_ = value; 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]; - * - * + * .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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.State result = - com.google.cloud.workflows.executions.v1.Execution.State.valueOf(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.valueOf(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. */ @@ -6390,26 +5569,21 @@ public Builder setState(com.google.cloud.workflows.executions.v1.Execution.State if (value == null) { throw new NullPointerException(); } - + 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]; - * - * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -6417,8 +5591,6 @@ public Builder clearState() { private java.lang.Object argument_ = ""; /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6428,13 +5600,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; @@ -6443,8 +5615,6 @@ public java.lang.String getArgument() { } } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6454,14 +5624,15 @@ 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 { @@ -6469,8 +5640,6 @@ public com.google.protobuf.ByteString getArgumentBytes() { } } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6480,22 +5649,20 @@ public com.google.protobuf.ByteString getArgumentBytes() {
      * 
* * string argument = 5; - * * @param value The argument to set. * @return This builder for chaining. */ - public Builder setArgument(java.lang.String value) { + public Builder setArgument( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + argument_ = value; onChanged(); return this; } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6505,18 +5672,15 @@ public Builder setArgument(java.lang.String value) {
      * 
* * string argument = 5; - * * @return This builder for chaining. */ public Builder clearArgument() { - + argument_ = getDefaultInstance().getArgument(); onChanged(); return this; } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6526,16 +5690,16 @@ 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) { + public Builder setArgumentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + argument_ = value; onChanged(); return this; @@ -6543,21 +5707,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; @@ -6566,22 +5728,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 { @@ -6589,64 +5750,57 @@ 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) { + public Builder setResult( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + result_ = value; 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(); 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) { + public Builder setResultBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + result_ = value; onChanged(); return this; @@ -6654,64 +5808,45 @@ public Builder setResultBytes(com.google.protobuf.ByteString value) { 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 errorBuilder_ != null || 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. */ 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) { @@ -6727,17 +5862,13 @@ 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) { @@ -6751,25 +5882,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.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 (error_ != null) { error_ = - com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder(error_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -6781,17 +5906,13 @@ 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() { if (errorBuilder_ == null) { @@ -6805,70 +5926,54 @@ 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() { - + 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]; - * + * .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_; @@ -6876,20 +5981,18 @@ 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; @@ -6898,21 +6001,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 { @@ -6920,61 +6022,54 @@ 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) { + public Builder setWorkflowRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workflowRevisionId_ = value; 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(); 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) { + public Builder setWorkflowRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; onChanged(); return this; @@ -6982,100 +6077,80 @@ public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) 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. */ public Builder setCallLogLevelValue(int value) { - + callLogLevel_ = value; 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.valueOf(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.valueOf(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(); } - + 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() { - + callLogLevel_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7085,12 +6160,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(); } @@ -7099,16 +6174,16 @@ 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 { - return new Execution(input, extensionRegistry); - } - }; + 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 { + return new Execution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7123,4 +6198,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.Execution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java similarity index 100% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java similarity index 74% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java index 15a0f193..b9041052 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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:
@@ -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,119 +26,85 @@ 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.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.
@@ -169,13 +114,10 @@ public interface ExecutionOrBuilder
    * 
* * 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.
@@ -185,131 +127,101 @@ public interface ExecutionOrBuilder
    * 
* * 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(); diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java similarity index 67% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java index a85f1bd6..573c7a5a 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,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.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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java new file mode 100644 index 00000000..ecc80ce6 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java @@ -0,0 +1,253 @@ +// 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\"\237\t\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340A\003\0223\n\nst" + + "art_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022I\n\005state\030\004 \001(\01625.goog" + + "le.cloud.workflows.executions.v1.Executi" + + "on.StateB\003\340A\003\022\020\n\010argument\030\005 \001(\t\022\023\n\006resul" + + "t\030\006 \001(\tB\003\340A\003\022I\n\005error\030\007 \001(\01325.google.clo" + + "ud.workflows.executions.v1.Execution.Err" + + "orB\003\340A\003\022!\n\024workflow_revision_id\030\010 \001(\tB\003\340" + + "A\003\022T\n\016call_log_level\030\t \001(\0162<.google.clou" + + "d.workflows.executions.v1.Execution.Call" + + "LogLevel\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(\0132" + + "J.google.cloud.workflows.executions.v1.E" + + "xecution.StackTraceElement.Position\0328\n\010P" + + "osition\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\010elements\030" + + "\001 \003(\0132A.google.cloud.workflows.execution" + + "s.v1.Execution.StackTraceElement\032z\n\005Erro" + + "r\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\022O\n\013s" + + "tack_trace\030\003 \001(\0132:.google.cloud.workflow" + + "s.executions.v1.Execution.StackTrace\"T\n\005" + + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" + + "\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED" + + "\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LEVEL_UNS" + + "PECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017LOG_ERR" + + "ORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecutions.go" + + "ogleapis.com/Execution\022Sprojects/{projec" + + "t}/locations/{location}/workflows/{workf" + + "low}/executions/{execution}\"\301\001\n\025ListExec" + + "utionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!w" + + "orkflows.googleapis.com/Workflow\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view\030" + + "\004 \001(\01623.google.cloud.workflows.execution" + + "s.v1.ExecutionViewB\003\340A\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\"\234\001\n\026CreateExecut" + + "ionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!work" + + "flows.googleapis.com/Workflow\022G\n\texecuti" + + "on\030\002 \001(\0132/.google.cloud.workflows.execut" + + "ions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecutionR" + + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowex" + + "ecutions.googleapis.com/Execution\022F\n\004vie" + + "w\030\002 \001(\01623.google.cloud.workflows.executi" + + "ons.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExecu" + + "tionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workf" + + "lowexecutions.googleapis.com/Execution*D" + + "\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPEC" + + "IFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecuti" + + "ons\022\330\001\n\016ListExecutions\022;.google.cloud.wo" + + "rkflows.executions.v1.ListExecutionsRequ" + + "est\032<.google.cloud.workflows.executions." + + "v1.ListExecutionsResponse\"K\202\323\344\223\002<\022:/v1/{" + + "parent=projects/*/locations/*/workflows/" + + "*}/executions\332A\006parent\022\342\001\n\017CreateExecuti" + + "on\022<.google.cloud.workflows.executions.v" + + "1.CreateExecutionRequest\032/.google.cloud." + + "workflows.executions.v1.Execution\"`\202\323\344\223\002" + + "G\":/v1/{parent=projects/*/locations/*/wo" + + "rkflows/*}/executions:\texecution\332A\020paren" + + "t,execution\022\305\001\n\014GetExecution\0229.google.cl" + + "oud.workflows.executions.v1.GetExecution" + + "Request\032/.google.cloud.workflows.executi" + + "ons.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=proj" + + "ects/*/locations/*/workflows/*/execution" + + "s/*}\332A\004name\022\325\001\n\017CancelExecution\022<.google" + + ".cloud.workflows.executions.v1.CancelExe" + + "cutionRequest\032/.google.cloud.workflows.e" + + "xecutions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{nam" + + "e=projects/*/locations/*/workflows/*/exe" + + "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" + + "executions.googleapis.com\322A.https://www." + + "googleapis.com/auth/cloud-platformB\361\001\n(c" + + "om.google.cloud.workflows.executions.v1B" + + "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" + + "nproto/googleapis/cloud/workflows/execut" + + "ions/v1;executions\352Aa\n!workflows.googlea" + + "pis.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,15 +28,16 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,27 +56,25 @@ private GetExecutionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,43 +82,36 @@ private GetExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -146,33 +120,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 { @@ -183,49 +155,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int 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.
    * 
* - * - * .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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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; @@ -237,13 +193,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_); } unknownFields.writeTo(output); @@ -258,10 +213,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -271,15 +225,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -302,104 +256,96 @@ 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]
@@ -408,23 +354,21 @@ 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()
@@ -432,15 +376,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -452,14 +397,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();
     }
 
@@ -474,8 +418,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.GetExecutionRequest result = new com.google.cloud.workflows.executions.v1.GetExecutionRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -486,39 +429,38 @@ public com.google.cloud.workflows.executions.v1.GetExecutionRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -526,9 +468,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_;
         onChanged();
@@ -555,8 +495,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.GetExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.GetExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -568,24 +507,20 @@ public Builder mergeFrom(
 
     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; @@ -594,25 +529,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 { @@ -620,73 +552,60 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -694,79 +613,55 @@ 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.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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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. */ @@ -774,34 +669,29 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -811,13 +701,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(); } @@ -826,16 +715,16 @@ 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 { - return new GetExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,4 +739,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.GetExecutionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java index 23c574a0..bdcb228c 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java @@ -1,88 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java similarity index 68% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java index ef40afe4..d92d512c 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Request for the
  * [ListExecutions][]
@@ -29,16 +12,15 @@
  *
  * 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_ = "";
@@ -47,15 +29,16 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListExecutionsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,39 +57,36 @@ private ListExecutionsRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 16:
-            {
-              pageSize_ = input.readInt32();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parent_ = s;
+            break;
+          }
+          case 16: {
 
-              pageToken_ = s;
-              break;
-            }
-          case 32:
-            {
-              int rawValue = input.readEnum();
+            pageSize_ = input.readInt32();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              view_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pageToken_ = s;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            view_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,42 +94,35 @@ private ListExecutionsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -158,32 +131,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 { @@ -194,8 +165,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -205,7 +174,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -216,8 +184,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -226,7 +192,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -235,15 +200,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.
@@ -252,15 +216,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 { @@ -271,49 +236,33 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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; @@ -325,7 +274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,9 +285,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.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } unknownFields.writeTo(output); @@ -353,15 +301,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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -371,17 +319,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -408,104 +358,96 @@ 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][]
@@ -514,23 +456,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -538,15 +478,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -562,14 +503,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_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();
     }
 
@@ -584,8 +524,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.ListExecutionsRequest result = new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -598,39 +537,38 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsRequest buildParti
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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;
@@ -638,9 +576,7 @@ 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_;
         onChanged();
@@ -674,9 +610,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.ListExecutionsRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.ListExecutionsRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -688,23 +622,19 @@ public Builder mergeFrom(
 
     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; @@ -713,24 +643,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 { @@ -738,79 +665,64 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -820,7 +732,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -828,8 +739,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
@@ -839,19 +748,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -861,11 +767,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -873,8 +778,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.
@@ -883,13 +786,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; @@ -898,8 +801,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -908,14 +809,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 { @@ -923,8 +825,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -933,22 +833,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -957,18 +855,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -977,16 +872,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -994,79 +889,55 @@ 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.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. */ public Builder setViewValue(int value) { - + view_ = value; 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]; - * - * + * .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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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. */ @@ -1074,34 +945,29 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va if (value == null) { throw new NullPointerException(); } - + 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]; - * - * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1111,32 +977,30 @@ 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 { - return new ListExecutionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,8 +1012,9 @@ 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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java index bfc5dc1a..846e2292 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 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.
@@ -82,13 +52,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.
@@ -97,38 +64,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.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(); diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java similarity index 73% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java index 1054df8d..187cc9ae 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,15 +28,16 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListExecutionsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,33 +57,28 @@ private ListExecutionsResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                executions_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              executions_.add(
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1.Execution.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              executions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            executions_.add(
+                input.readMessage(com.google.cloud.workflows.executions.v1.Execution.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -108,7 +86,8 @@ private ListExecutionsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -117,27 +96,22 @@ private ListExecutionsResponse(
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private java.util.List executions_;
   /**
-   *
-   *
    * 
    * The executions which match the request.
    * 
@@ -149,8 +123,6 @@ public java.util.List getExe return executions_; } /** - * - * *
    * The executions which match the request.
    * 
@@ -158,13 +130,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.
    * 
@@ -176,8 +146,6 @@ public int getExecutionsCount() { return executions_.size(); } /** - * - * *
    * The executions which match the request.
    * 
@@ -189,8 +157,6 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde return executions_.get(index); } /** - * - * *
    * The executions which match the request.
    * 
@@ -206,15 +172,12 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -223,30 +186,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 { @@ -255,7 +218,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -284,7 +247,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_); @@ -297,16 +261,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,104 +295,96 @@ 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]
@@ -436,23 +393,21 @@ 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()
@@ -460,17 +415,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getExecutionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -486,14 +441,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();
     }
 
@@ -508,8 +462,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -529,50 +482,46 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsResponse buildPart
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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()) {
@@ -591,10 +540,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_);
           }
@@ -623,9 +571,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.ListExecutionsResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.ListExecutionsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -634,30 +580,21 @@ public Builder mergeFrom(
       }
       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.
      * 
@@ -672,8 +609,6 @@ public java.util.List getExe } } /** - * - * *
      * The executions which match the request.
      * 
@@ -688,8 +623,6 @@ public int getExecutionsCount() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -704,8 +637,6 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde } } /** - * - * *
      * The executions which match the request.
      * 
@@ -727,8 +658,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -747,8 +676,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -769,8 +696,6 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1.Execution return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -792,8 +717,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -812,8 +735,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -832,8 +753,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -844,7 +763,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); @@ -852,8 +772,6 @@ public Builder addAllExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -871,8 +789,6 @@ public Builder clearExecutions() { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -890,8 +806,6 @@ public Builder removeExecutions(int index) { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -903,8 +817,6 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionsB return getExecutionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The executions which match the request.
      * 
@@ -914,22 +826,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 { @@ -937,8 +846,6 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions } } /** - * - * *
      * The executions which match the request.
      * 
@@ -946,12 +853,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.
      * 
@@ -960,36 +865,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_; @@ -997,21 +896,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; @@ -1020,22 +917,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 { @@ -1043,71 +939,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1117,32 +1006,30 @@ 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 { - return new ListExecutionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1154,8 +1041,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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java index 8283508a..af9b0b73 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java similarity index 100% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java diff --git a/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto similarity index 100% rename from proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java similarity index 97% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java index 5afb1d7a..2b032ea8 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java +++ b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java @@ -58,13 +58,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -295,7 +295,7 @@ public final ListExecutionsPagedResponse listExecutions(ListExecutionsRequest re * .build(); * while (true) { * ListExecutionsResponse response = executionsClient.listExecutionsCallable().call(request); - * for (Execution element : response.getResponsesList()) { + * for (Execution element : response.getExecutionsList()) { * // doThingsWith(element); * } * String nextPageToken = response.getNextPageToken(); @@ -663,10 +663,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListExecutionsPagedResponse extends AbstractPagedListResponse< - ListExecutionsRequest, - ListExecutionsResponse, - Execution, - ListExecutionsPage, + ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, ListExecutionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -716,10 +713,7 @@ public ApiFuture createPageAsync( public static class ListExecutionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListExecutionsRequest, - ListExecutionsResponse, - Execution, - ListExecutionsPage, + ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, ListExecutionsFixedSizeCollection> { private ListExecutionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java similarity index 96% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java index 0db5f1a1..70dca782 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java +++ b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java @@ -27,6 +27,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; @@ -41,10 +42,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java similarity index 98% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java index 3de73813..f8be6d29 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java +++ b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java @@ -61,10 +61,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java similarity index 99% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java index 7954ed6e..672084c9 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java +++ b/owl-bot-staging/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/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java diff --git a/owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java b/owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java new file mode 100644 index 00000000..9d2d0d4a --- /dev/null +++ b/owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java @@ -0,0 +1,578 @@ +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 static abstract class ExecutionsImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_CANCEL_EXECUTION))) + .build(); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + 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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java similarity index 63% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java index 97bf582c..f90bfc03 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** - * - * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1beta.Executions.CancelExecution]
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CancelExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,20 +55,19 @@ private CancelExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,43 +75,36 @@ private CancelExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -138,33 +113,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 { @@ -173,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +182,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,105 +210,96 @@ 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]
@@ -344,40 +308,38 @@ 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()
+    // Construct using com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -387,16 +349,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
@@ -410,8 +370,7 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -421,51 +380,46 @@ public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest build
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -489,9 +443,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -503,24 +455,20 @@ public Builder mergeFrom(
 
     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; @@ -529,25 +477,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 { @@ -555,80 +500,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -638,32 +570,30 @@ 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 { - return new CancelExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -675,8 +605,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java new file mode 100644 index 00000000..aafcee78 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java similarity index 62% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java index edaad805..6d41c501 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** - * - * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1beta.Executions.CreateExecution]
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CreateExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,37 +55,32 @@ private CreateExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
+            parent_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.workflows.executions.v1beta.Execution.Builder subBuilder = null;
+            if (execution_ != null) {
+              subBuilder = execution_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.workflows.executions.v1beta.Execution.Builder subBuilder = null;
-              if (execution_ != null) {
-                subBuilder = execution_.toBuilder();
-              }
-              execution_ =
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(execution_);
-                execution_ = subBuilder.buildPartial();
-              }
-
-              break;
+            execution_ = input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(execution_);
+              execution_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -110,43 +88,36 @@ private CreateExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -155,33 +126,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 { @@ -192,16 +161,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 @@ -209,34 +173,23 @@ 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() { @@ -244,7 +197,6 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -276,7 +229,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,18 +240,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -322,105 +277,96 @@ 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]
@@ -429,40 +375,38 @@ 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()
+    // Construct using com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -478,16 +422,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
@@ -501,8 +443,7 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest(this);
       result.parent_ = parent_;
       if (executionBuilder_ == null) {
         result.execution_ = execution_;
@@ -517,51 +458,46 @@ public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest build
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -588,9 +524,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -602,24 +536,20 @@ public Builder mergeFrom(
 
     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; @@ -628,25 +558,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 { @@ -654,73 +581,60 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -728,58 +642,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 executionBuilder_ != null || 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. */ 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) { @@ -795,15 +690,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) { @@ -817,23 +708,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 (execution_ != null) { execution_ = - com.google.cloud.workflows.executions.v1beta.Execution.newBuilder(execution_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1beta.Execution.newBuilder(execution_).mergeFrom(value).buildPartial(); } else { execution_ = value; } @@ -845,15 +730,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() { if (executionBuilder_ == null) { @@ -867,71 +748,55 @@ 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() { - + onChanged(); 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); } @@ -941,32 +806,30 @@ 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 { - return new CreateExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -978,8 +841,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java new file mode 100644 index 00000000..94408fcf --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java similarity index 71% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java index e20fba48..63ba78e8 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,15 +29,16 @@ private Execution() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Execution(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Execution( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,96 +57,82 @@ private Execution( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 32: - { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - argument_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 32: { + int rawValue = input.readEnum(); - result_ = s; - break; - } - case 58: - { - com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder subBuilder = - null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = - input.readMessage( - com.google.cloud.workflows.executions.v1beta.Execution.Error.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } + state_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); + argument_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - workflowRevisionId_ = s; - break; + result_ = s; + break; + } + case 58: { + com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + error_ = input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.Error.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + workflowRevisionId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -171,31 +140,27 @@ private Execution( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
@@ -203,10 +168,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.
      * 
@@ -215,8 +179,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The execution is in progress.
      * 
@@ -225,8 +187,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
      * The execution finished successfully.
      * 
@@ -235,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(2), /** - * - * *
      * The execution failed with an error.
      * 
@@ -245,8 +203,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -258,8 +214,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid state.
      * 
@@ -268,8 +222,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The execution is in progress.
      * 
@@ -278,8 +230,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The execution finished successfully.
      * 
@@ -288,8 +238,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 2; /** - * - * *
      * The execution failed with an error.
      * 
@@ -298,8 +246,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -308,6 +254,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( @@ -332,55 +279,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; @@ -397,80 +340,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_ = ""; @@ -478,15 +407,16 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -505,27 +435,25 @@ private Error( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - payload_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + payload_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - context_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + context_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -533,39 +461,34 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -574,29 +497,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 { @@ -607,14 +530,11 @@ public com.google.protobuf.ByteString getPayloadBytes() { public static final int CONTEXT_FIELD_NUMBER = 2; private volatile java.lang.Object context_; /** - * - * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; - * * @return The context. */ @java.lang.Override @@ -623,29 +543,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 { @@ -654,7 +574,6 @@ public com.google.protobuf.ByteString getContextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -666,7 +585,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -696,16 +616,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -727,94 +648,87 @@ 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 @@ -824,32 +738,27 @@ 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() @@ -857,15 +766,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -877,14 +787,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(); } @@ -899,8 +808,7 @@ 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); + com.google.cloud.workflows.executions.v1beta.Execution.Error result = new com.google.cloud.workflows.executions.v1beta.Execution.Error(this); result.payload_ = payload_; result.context_ = context_; onBuilt(); @@ -911,41 +819,38 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Error buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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; @@ -953,9 +858,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_; onChanged(); @@ -983,9 +886,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1beta.Execution.Error) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1beta.Execution.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -997,20 +898,18 @@ public Builder mergeFrom( 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; @@ -1019,21 +918,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 { @@ -1041,61 +939,54 @@ 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) { + public Builder setPayload( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; 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() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); 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) { + public Builder setPayloadBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + payload_ = value; onChanged(); return this; @@ -1103,20 +994,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; @@ -1125,21 +1014,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 { @@ -1147,66 +1035,58 @@ 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) { + public Builder setContext( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + context_ = value; onChanged(); return this; } /** - * - * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; - * * @return This builder for chaining. */ public Builder clearContext() { - + context_ = getDefaultInstance().getContext(); onChanged(); 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) { + public Builder setContextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + context_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1219,32 +1099,30 @@ 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 { - return new Error(input, extensionRegistry); - } - }; + 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 { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1256,17 +1134,15 @@ 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; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The resource name of the execution.
    * Format:
@@ -1274,7 +1150,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -1283,15 +1158,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:
@@ -1299,15 +1173,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 { @@ -1318,15 +1193,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 @@ -1334,15 +1205,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 @@ -1350,14 +1217,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() { @@ -1367,15 +1231,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 @@ -1383,15 +1243,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 @@ -1399,14 +1255,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() { @@ -1416,57 +1269,39 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.Execution.State result = - com.google.cloud.workflows.executions.v1beta.Execution.State.valueOf(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.valueOf(state_); + return result == null ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; 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 @@ -1475,30 +1310,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 { @@ -1509,15 +1344,12 @@ public com.google.protobuf.ByteString getArgumentBytes() { public static final int RESULT_FIELD_NUMBER = 6; 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 @@ -1526,30 +1358,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 { @@ -1560,18 +1392,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 @@ -1579,38 +1406,27 @@ 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() { @@ -1620,14 +1436,11 @@ public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder get public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; 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 @@ -1636,29 +1449,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 { @@ -1667,7 +1480,6 @@ public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1679,7 +1491,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1689,9 +1502,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_)) { @@ -1719,15 +1530,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_); @@ -1736,7 +1548,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_); @@ -1749,31 +1562,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1813,127 +1632,117 @@ 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() @@ -1941,15 +1750,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1985,9 +1795,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 @@ -2006,8 +1816,7 @@ 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); + com.google.cloud.workflows.executions.v1beta.Execution result = new com.google.cloud.workflows.executions.v1beta.Execution(this); result.name_ = name_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; @@ -2036,39 +1845,38 @@ public com.google.cloud.workflows.executions.v1beta.Execution buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -2076,8 +1884,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_; onChanged(); @@ -2125,8 +1932,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1beta.Execution) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1beta.Execution) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2138,8 +1944,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2147,13 +1951,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; @@ -2162,8 +1966,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2171,14 +1973,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 { @@ -2186,8 +1989,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2195,22 +1996,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2218,18 +2017,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2237,16 +2033,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2254,35 +2050,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2293,14 +2078,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) { @@ -2316,16 +2098,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(); onChanged(); @@ -2336,20 +2116,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2361,14 +2138,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() { if (startTimeBuilder_ == null) { @@ -2382,59 +2156,48 @@ 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() { - + onChanged(); 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_; @@ -2442,35 +2205,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2481,14 +2233,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) { @@ -2504,16 +2253,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(); onChanged(); @@ -2524,20 +2271,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -2549,14 +2293,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() { if (endTimeBuilder_ == null) { @@ -2570,59 +2311,48 @@ 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() { - + 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]; - * + * .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_; @@ -2630,75 +2360,51 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.Execution.State result = - com.google.cloud.workflows.executions.v1beta.Execution.State.valueOf(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.valueOf(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. */ @@ -2706,26 +2412,21 @@ public Builder setState(com.google.cloud.workflows.executions.v1beta.Execution.S if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2733,21 +2434,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; @@ -2756,22 +2455,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 { @@ -2779,64 +2477,57 @@ 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) { + public Builder setArgument( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + argument_ = value; 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() { - + argument_ = getDefaultInstance().getArgument(); onChanged(); 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) { + public Builder setArgumentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + argument_ = value; onChanged(); return this; @@ -2844,21 +2535,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; @@ -2867,22 +2556,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 { @@ -2890,64 +2578,57 @@ 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) { + public Builder setResult( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + result_ = value; 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(); 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) { + public Builder setResultBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + result_ = value; onChanged(); return this; @@ -2955,64 +2636,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 errorBuilder_ != null || 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. */ 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) { @@ -3028,17 +2690,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) { @@ -3052,25 +2710,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 (error_ != null) { error_ = - com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder(error_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -3082,17 +2734,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() { if (errorBuilder_ == null) { @@ -3106,71 +2754,54 @@ 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() { - + 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.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_; @@ -3178,20 +2809,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; @@ -3200,21 +2829,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 { @@ -3222,68 +2850,61 @@ 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) { + public Builder setWorkflowRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workflowRevisionId_ = value; 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(); 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) { + public Builder setWorkflowRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3293,12 +2914,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(); } @@ -3307,16 +2928,16 @@ 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 { - return new Execution(input, extensionRegistry); - } - }; + 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 { + return new Execution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3331,4 +2952,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1beta.Execution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java similarity index 100% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java similarity index 71% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java index e936b9a7..cbf20e31 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java similarity index 67% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java index 74af5f69..a6434738 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java new file mode 100644 index 00000000..06de9176 --- /dev/null +++ b/owl-bot-staging/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\"\370\004\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340" + + "A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022M\n\005state\030\004 \001(" + + "\01629.google.cloud.workflows.executions.v1" + + "beta.Execution.StateB\003\340A\003\022\020\n\010argument\030\005 " + + "\001(\t\022\023\n\006result\030\006 \001(\tB\003\340A\003\022M\n\005error\030\007 \001(\0132" + + "9.google.cloud.workflows.executions.v1be" + + "ta.Execution.ErrorB\003\340A\003\022!\n\024workflow_revi" + + "sion_id\030\010 \001(\tB\003\340A\003\032)\n\005Error\022\017\n\007payload\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\tSUCCEEDED\020\002" + + "\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202\001\n+work" + + "flowexecutions.googleapis.com/Execution\022" + + "Sprojects/{project}/locations/{location}" + + "/workflows/{workflow}/executions/{execut" + + "ion}\"\305\001\n\025ListExecutionsRequest\0229\n\006parent" + + "\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapis.com" + + "/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\022J\n\004view\030\004 \001(\01627.google.cloud.wo" + + "rkflows.executions.v1beta.ExecutionViewB" + + "\003\340A\001\"z\n\026ListExecutionsResponse\022G\n\nexecut" + + "ions\030\001 \003(\01323.google.cloud.workflows.exec" + + "utions.v1beta.Execution\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\240\001\n\026CreateExecutionRequest\0229\n\006p" + + "arent\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapi" + + "s.com/Workflow\022K\n\texecution\030\002 \001(\01323.goog" + + "le.cloud.workflows.executions.v1beta.Exe" + + "cutionB\003\340A\002\"\244\001\n\023GetExecutionRequest\022A\n\004n" + + "ame\030\001 \001(\tB3\340A\002\372A-\n+workflowexecutions.go" + + "ogleapis.com/Execution\022J\n\004view\030\002 \001(\01627.g" + + "oogle.cloud.workflows.executions.v1beta." + + "ExecutionViewB\003\340A\001\"[\n\026CancelExecutionReq" + + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowexec" + + "utions.googleapis.com/Execution*D\n\rExecu" + + "tionView\022\036\n\032EXECUTION_VIEW_UNSPECIFIED\020\000" + + "\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\nExecutions\022\344\001\n" + + "\016ListExecutions\022?.google.cloud.workflows" + + ".executions.v1beta.ListExecutionsRequest" + + "\032@.google.cloud.workflows.executions.v1b" + + "eta.ListExecutionsResponse\"O\202\323\344\223\002@\022>/v1b" + + "eta/{parent=projects/*/locations/*/workf" + + "lows/*}/executions\332A\006parent\022\356\001\n\017CreateEx" + + "ecution\022@.google.cloud.workflows.executi" + + "ons.v1beta.CreateExecutionRequest\0323.goog" + + "le.cloud.workflows.executions.v1beta.Exe" + + "cution\"d\202\323\344\223\002K\">/v1beta/{parent=projects" + + "/*/locations/*/workflows/*}/executions:\t" + + "execution\332A\020parent,execution\022\321\001\n\014GetExec" + + "ution\022=.google.cloud.workflows.execution" + + "s.v1beta.GetExecutionRequest\0323.google.cl" + + "oud.workflows.executions.v1beta.Executio" + + "n\"M\202\323\344\223\002@\022>/v1beta/{name=projects/*/loca" + + "tions/*/workflows/*/executions/*}\332A\004name" + + "\022\341\001\n\017CancelExecution\022@.google.cloud.work" + + "flows.executions.v1beta.CancelExecutionR" + + "equest\0323.google.cloud.workflows.executio" + + "ns.v1beta.Execution\"W\202\323\344\223\002J\"E/v1beta/{na" + + "me=projects/*/locations/*/workflows/*/ex" + + "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" + + "wexecutions.googleapis.com\322A.https://www" + + ".googleapis.com/auth/cloud-platformB\371\001\n," + + "com.google.cloud.workflows.executions.v1" + + "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" + + "rg/genproto/googleapis/cloud/workflows/e" + + "xecutions/v1beta;executions\352Aa\n!workflow" + + "s.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,15 +28,16 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,27 +56,25 @@ private GetExecutionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,43 +82,36 @@ private GetExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -146,33 +120,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 { @@ -183,49 +155,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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; @@ -237,13 +193,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_); } unknownFields.writeTo(output); @@ -258,10 +213,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -271,15 +225,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -302,104 +256,96 @@ 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]
@@ -408,23 +354,21 @@ 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()
@@ -432,15 +376,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -452,14 +397,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();
     }
 
@@ -474,8 +418,7 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.GetExecutionRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -486,50 +429,46 @@ public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest buildPar
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -556,9 +495,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -570,24 +507,20 @@ public Builder mergeFrom(
 
     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; @@ -596,25 +529,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 { @@ -622,73 +552,60 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -696,79 +613,55 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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. */ @@ -776,34 +669,29 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -813,32 +701,30 @@ 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 { - return new GetExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,8 +736,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java index a1c7f5dd..02246254 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java @@ -1,88 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java similarity index 67% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java index 58e24987..80658267 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,15 +29,16 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListExecutionsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,39 +57,36 @@ private ListExecutionsRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 16:
-            {
-              pageSize_ = input.readInt32();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parent_ = s;
+            break;
+          }
+          case 16: {
 
-              pageToken_ = s;
-              break;
-            }
-          case 32:
-            {
-              int rawValue = input.readEnum();
+            pageSize_ = input.readInt32();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              view_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pageToken_ = s;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            view_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,42 +94,35 @@ private ListExecutionsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -158,32 +131,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 { @@ -194,8 +165,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -205,7 +174,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -216,8 +184,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -226,7 +192,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -235,15 +200,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.
@@ -252,15 +216,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 { @@ -271,49 +236,33 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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; @@ -325,7 +274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,9 +285,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_); } unknownFields.writeTo(output); @@ -353,15 +301,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -371,17 +319,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -408,105 +358,96 @@ 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]
@@ -515,40 +456,38 @@ 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()
+    // Construct using com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -564,16 +503,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
@@ -587,8 +524,7 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result = new com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -601,51 +537,46 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest buildP
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -679,9 +610,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -693,23 +622,19 @@ public Builder mergeFrom(
 
     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; @@ -718,24 +643,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 { @@ -743,79 +665,64 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -825,7 +732,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -833,8 +739,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
@@ -844,19 +748,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -866,11 +767,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -878,8 +778,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.
@@ -888,13 +786,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; @@ -903,8 +801,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -913,14 +809,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 { @@ -928,8 +825,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -938,22 +833,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -962,18 +855,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -982,16 +872,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -999,79 +889,55 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; 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.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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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. */ @@ -1079,34 +945,29 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie if (value == null) { throw new NullPointerException(); } - + 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.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() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,32 +977,30 @@ 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 { - return new ListExecutionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,8 +1012,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java index bb32cb76..e547072c 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
@@ -82,13 +52,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.
@@ -97,38 +64,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java similarity index 72% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java index 96da4bf2..6dec1160 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,15 +28,16 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListExecutionsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,34 +57,28 @@ private ListExecutionsResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                executions_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.workflows.executions.v1beta.Execution>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              executions_.add(
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              executions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            executions_.add(
+                input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,7 +86,8 @@ private ListExecutionsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -118,27 +96,22 @@ private ListExecutionsResponse(
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private java.util.List executions_;
   /**
-   *
-   *
    * 
    * The executions which match the request.
    * 
@@ -146,13 +119,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.
    * 
@@ -160,13 +130,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.
    * 
@@ -178,8 +146,6 @@ public int getExecutionsCount() { return executions_.size(); } /** - * - * *
    * The executions which match the request.
    * 
@@ -191,8 +157,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int return executions_.get(index); } /** - * - * *
    * The executions which match the request.
    * 
@@ -208,15 +172,12 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -225,30 +186,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 { @@ -257,7 +218,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -286,7 +247,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_); @@ -299,16 +261,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,105 +295,96 @@ 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]
@@ -439,42 +393,39 @@ 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()
+    // Construct using com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getExecutionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -490,16 +441,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
@@ -513,8 +462,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -534,51 +482,46 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse build
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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()) {
@@ -597,10 +540,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_);
           }
@@ -629,9 +571,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -640,38 +580,28 @@ public Builder mergeFrom(
       }
       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 { @@ -679,8 +609,6 @@ private void ensureExecutionsIsMutable() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -695,8 +623,6 @@ public int getExecutionsCount() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -711,8 +637,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int } } /** - * - * *
      * The executions which match the request.
      * 
@@ -734,8 +658,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -754,8 +676,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -776,8 +696,6 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1beta.Execut return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -799,8 +717,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -819,8 +735,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -839,8 +753,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -848,11 +760,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); @@ -860,8 +772,6 @@ public Builder addAllExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -879,8 +789,6 @@ public Builder clearExecutions() { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -898,8 +806,6 @@ public Builder removeExecutions(int index) { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -911,8 +817,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti return getExecutionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The executions which match the request.
      * 
@@ -922,22 +826,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 { @@ -945,8 +846,6 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } } /** - * - * *
      * The executions which match the request.
      * 
@@ -954,12 +853,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.
      * 
@@ -968,36 +865,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_; @@ -1005,21 +896,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; @@ -1028,22 +917,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 { @@ -1051,71 +939,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1125,32 +1006,30 @@ 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 { - return new ListExecutionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,8 +1041,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java index 38dd3b5d..79c065a4 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java similarity index 100% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto similarity index 100% rename from proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index 877a2bd4..00000000 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index ed2726d9..00000000 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java deleted file mode 100644 index b7570155..00000000 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java +++ /dev/null @@ -1,293 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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\"\237\t\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340A\003\0223\n\nst" - + "art_time\030\002 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\022I\n\005state\030\004 \001(\01625.goog" - + "le.cloud.workflows.executions.v1.Executi" - + "on.StateB\003\340A\003\022\020\n\010argument\030\005 \001(\t\022\023\n\006resul" - + "t\030\006 \001(\tB\003\340A\003\022I\n\005error\030\007 \001(\01325.google.clo" - + "ud.workflows.executions.v1.Execution.Err" - + "orB\003\340A\003\022!\n\024workflow_revision_id\030\010 \001(\tB\003\340" - + "A\003\022T\n\016call_log_level\030\t \001(\0162<.google.clou" - + "d.workflows.executions.v1.Execution.Call" - + "LogLevel\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(\0132" - + "J.google.cloud.workflows.executions.v1.E" - + "xecution.StackTraceElement.Position\0328\n\010P" - + "osition\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\010elements\030" - + "\001 \003(\0132A.google.cloud.workflows.execution" - + "s.v1.Execution.StackTraceElement\032z\n\005Erro" - + "r\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\022O\n\013s" - + "tack_trace\030\003 \001(\0132:.google.cloud.workflow" - + "s.executions.v1.Execution.StackTrace\"T\n\005" - + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" - + "\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED" - + "\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LEVEL_UNS" - + "PECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017LOG_ERR" - + "ORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecutions.go" - + "ogleapis.com/Execution\022Sprojects/{projec" - + "t}/locations/{location}/workflows/{workf" - + "low}/executions/{execution}\"\301\001\n\025ListExec" - + "utionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!w" - + "orkflows.googleapis.com/Workflow\022\021\n\tpage" - + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view\030" - + "\004 \001(\01623.google.cloud.workflows.execution" - + "s.v1.ExecutionViewB\003\340A\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\"\234\001\n\026CreateExecut" - + "ionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!work" - + "flows.googleapis.com/Workflow\022G\n\texecuti" - + "on\030\002 \001(\0132/.google.cloud.workflows.execut" - + "ions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecutionR" - + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowex" - + "ecutions.googleapis.com/Execution\022F\n\004vie" - + "w\030\002 \001(\01623.google.cloud.workflows.executi" - + "ons.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExecu" - + "tionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workf" - + "lowexecutions.googleapis.com/Execution*D" - + "\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPEC" - + "IFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecuti" - + "ons\022\330\001\n\016ListExecutions\022;.google.cloud.wo" - + "rkflows.executions.v1.ListExecutionsRequ" - + "est\032<.google.cloud.workflows.executions." - + "v1.ListExecutionsResponse\"K\202\323\344\223\002<\022:/v1/{" - + "parent=projects/*/locations/*/workflows/" - + "*}/executions\332A\006parent\022\342\001\n\017CreateExecuti" - + "on\022<.google.cloud.workflows.executions.v" - + "1.CreateExecutionRequest\032/.google.cloud." - + "workflows.executions.v1.Execution\"`\202\323\344\223\002" - + "G\":/v1/{parent=projects/*/locations/*/wo" - + "rkflows/*}/executions:\texecution\332A\020paren" - + "t,execution\022\305\001\n\014GetExecution\0229.google.cl" - + "oud.workflows.executions.v1.GetExecution" - + "Request\032/.google.cloud.workflows.executi" - + "ons.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=proj" - + "ects/*/locations/*/workflows/*/execution" - + "s/*}\332A\004name\022\325\001\n\017CancelExecution\022<.google" - + ".cloud.workflows.executions.v1.CancelExe" - + "cutionRequest\032/.google.cloud.workflows.e" - + "xecutions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{nam" - + "e=projects/*/locations/*/workflows/*/exe" - + "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" - + "executions.googleapis.com\322A.https://www." - + "googleapis.com/auth/cloud-platformB\361\001\n(c" - + "om.google.cloud.workflows.executions.v1B" - + "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" - + "nproto/googleapis/cloud/workflows/execut" - + "ions/v1;executions\352Aa\n!workflows.googlea" - + "pis.com/Workflow\022 - * 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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index 7b68f64e..00000000 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java deleted file mode 100644 index 53b978e9..00000000 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java +++ /dev/null @@ -1,238 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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\"\370\004\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340" - + "A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\022M\n\005state\030\004 \001(" - + "\01629.google.cloud.workflows.executions.v1" - + "beta.Execution.StateB\003\340A\003\022\020\n\010argument\030\005 " - + "\001(\t\022\023\n\006result\030\006 \001(\tB\003\340A\003\022M\n\005error\030\007 \001(\0132" - + "9.google.cloud.workflows.executions.v1be" - + "ta.Execution.ErrorB\003\340A\003\022!\n\024workflow_revi" - + "sion_id\030\010 \001(\tB\003\340A\003\032)\n\005Error\022\017\n\007payload\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\tSUCCEEDED\020\002" - + "\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202\001\n+work" - + "flowexecutions.googleapis.com/Execution\022" - + "Sprojects/{project}/locations/{location}" - + "/workflows/{workflow}/executions/{execut" - + "ion}\"\305\001\n\025ListExecutionsRequest\0229\n\006parent" - + "\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapis.com" - + "/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" - + "en\030\003 \001(\t\022J\n\004view\030\004 \001(\01627.google.cloud.wo" - + "rkflows.executions.v1beta.ExecutionViewB" - + "\003\340A\001\"z\n\026ListExecutionsResponse\022G\n\nexecut" - + "ions\030\001 \003(\01323.google.cloud.workflows.exec" - + "utions.v1beta.Execution\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"\240\001\n\026CreateExecutionRequest\0229\n\006p" - + "arent\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapi" - + "s.com/Workflow\022K\n\texecution\030\002 \001(\01323.goog" - + "le.cloud.workflows.executions.v1beta.Exe" - + "cutionB\003\340A\002\"\244\001\n\023GetExecutionRequest\022A\n\004n" - + "ame\030\001 \001(\tB3\340A\002\372A-\n+workflowexecutions.go" - + "ogleapis.com/Execution\022J\n\004view\030\002 \001(\01627.g" - + "oogle.cloud.workflows.executions.v1beta." - + "ExecutionViewB\003\340A\001\"[\n\026CancelExecutionReq" - + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowexec" - + "utions.googleapis.com/Execution*D\n\rExecu" - + "tionView\022\036\n\032EXECUTION_VIEW_UNSPECIFIED\020\000" - + "\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\nExecutions\022\344\001\n" - + "\016ListExecutions\022?.google.cloud.workflows" - + ".executions.v1beta.ListExecutionsRequest" - + "\032@.google.cloud.workflows.executions.v1b" - + "eta.ListExecutionsResponse\"O\202\323\344\223\002@\022>/v1b" - + "eta/{parent=projects/*/locations/*/workf" - + "lows/*}/executions\332A\006parent\022\356\001\n\017CreateEx" - + "ecution\022@.google.cloud.workflows.executi" - + "ons.v1beta.CreateExecutionRequest\0323.goog" - + "le.cloud.workflows.executions.v1beta.Exe" - + "cution\"d\202\323\344\223\002K\">/v1beta/{parent=projects" - + "/*/locations/*/workflows/*}/executions:\t" - + "execution\332A\020parent,execution\022\321\001\n\014GetExec" - + "ution\022=.google.cloud.workflows.execution" - + "s.v1beta.GetExecutionRequest\0323.google.cl" - + "oud.workflows.executions.v1beta.Executio" - + "n\"M\202\323\344\223\002@\022>/v1beta/{name=projects/*/loca" - + "tions/*/workflows/*/executions/*}\332A\004name" - + "\022\341\001\n\017CancelExecution\022@.google.cloud.work" - + "flows.executions.v1beta.CancelExecutionR" - + "equest\0323.google.cloud.workflows.executio" - + "ns.v1beta.Execution\"W\202\323\344\223\002J\"E/v1beta/{na" - + "me=projects/*/locations/*/workflows/*/ex" - + "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" - + "wexecutions.googleapis.com\322A.https://www" - + ".googleapis.com/auth/cloud-platformB\371\001\n," - + "com.google.cloud.workflows.executions.v1" - + "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" - + "rg/genproto/googleapis/cloud/workflows/e" - + "xecutions/v1beta;executions\352Aa\n!workflow" - + "s.googleapis.com/Workflow\022 Date: Fri, 10 Jun 2022 00:50:50 +0000 Subject: [PATCH 4/7] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- README.md | 6 +- .../executions/v1/ExecutionsClient.java | 16 +- .../executions/v1/ExecutionsSettings.java | 7 +- .../executions/v1/gapic_metadata.json | 0 .../workflows/executions/v1/package-info.java | 0 .../executions/v1/stub/ExecutionsStub.java | 0 .../v1/stub/ExecutionsStubSettings.java | 6 +- .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1/stub/GrpcExecutionsStub.java | 1 - .../executions/v1beta/ExecutionsClient.java | 16 +- .../executions/v1beta/ExecutionsSettings.java | 7 +- .../executions/v1beta/gapic_metadata.json | 0 .../executions/v1beta/package-info.java | 0 .../v1beta/stub/ExecutionsStub.java | 0 .../v1beta/stub/ExecutionsStubSettings.java | 6 +- .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1beta/stub/GrpcExecutionsStub.java | 1 - .../executions/v1/ExecutionsClientTest.java | 0 .../executions/v1/MockExecutions.java | 0 .../executions/v1/MockExecutionsImpl.java | 0 .../v1beta/ExecutionsClientTest.java | 0 .../executions/v1beta/MockExecutions.java | 0 .../executions/v1beta/MockExecutionsImpl.java | 0 .../executions/v1/ExecutionsGrpc.java | 739 ++++ .../executions/v1beta/ExecutionsGrpc.java | 743 ++++ .../executions/v1/ExecutionsGrpc.java | 578 --- .../v1/CancelExecutionRequestOrBuilder.java | 33 - .../v1/CreateExecutionRequestOrBuilder.java | 60 - .../executions/v1/ExecutionsProto.java | 253 -- .../executions/v1beta/ExecutionsGrpc.java | 578 --- .../CancelExecutionRequestOrBuilder.java | 33 - .../CreateExecutionRequestOrBuilder.java | 60 - .../executions/v1beta/ExecutionsProto.java | 208 - .../executions/v1/CancelExecutionRequest.java | 363 +- .../v1/CancelExecutionRequestOrBuilder.java | 58 + .../executions/v1/CreateExecutionRequest.java | 510 ++- .../v1/CreateExecutionRequestOrBuilder.java | 99 + .../workflows/executions/v1/Execution.java | 3451 +++++++++++------ .../executions/v1/ExecutionName.java | 0 .../executions/v1/ExecutionOrBuilder.java | 128 +- .../executions/v1/ExecutionView.java | 86 +- .../executions/v1/ExecutionsProto.java | 293 ++ .../executions/v1/GetExecutionRequest.java | 449 ++- .../v1/GetExecutionRequestOrBuilder.java | 49 +- .../executions/v1/ListExecutionsRequest.java | 573 +-- .../v1/ListExecutionsRequestOrBuilder.java | 61 +- .../executions/v1/ListExecutionsResponse.java | 470 ++- .../v1/ListExecutionsResponseOrBuilder.java | 45 +- .../workflows/executions/v1/WorkflowName.java | 0 .../workflows/executions/v1/executions.proto | 0 .../v1beta/CancelExecutionRequest.java | 375 +- .../CancelExecutionRequestOrBuilder.java | 58 + .../v1beta/CreateExecutionRequest.java | 522 ++- .../CreateExecutionRequestOrBuilder.java | 99 + .../executions/v1beta/Execution.java | 1549 +++++--- .../executions/v1beta/ExecutionName.java | 0 .../executions/v1beta/ExecutionOrBuilder.java | 122 +- .../executions/v1beta/ExecutionView.java | 86 +- .../executions/v1beta/ExecutionsProto.java | 238 ++ .../v1beta/GetExecutionRequest.java | 463 ++- .../v1beta/GetExecutionRequestOrBuilder.java | 49 +- .../v1beta/ListExecutionsRequest.java | 588 +-- .../ListExecutionsRequestOrBuilder.java | 61 +- .../v1beta/ListExecutionsResponse.java | 492 ++- .../ListExecutionsResponseOrBuilder.java | 45 +- .../executions/v1beta/WorkflowName.java | 0 .../executions/v1beta/executions.proto | 0 67 files changed, 9068 insertions(+), 5665 deletions(-) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java (98%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java (96%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java (99%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java (98%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java (96%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java (98%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java (100%) create mode 100644 grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java create mode 100644 grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java delete mode 100644 owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java delete mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java (64%) create mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java (62%) create mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java (67%) create mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/proto/google/cloud/workflows/executions/v1/executions.proto (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java (63%) create mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java (62%) create mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java (71%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java (71%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java (67%) create mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequest.java (63%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java (50%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java (67%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java (72%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto (100%) diff --git a/README.md b/README.md index 30ade05b..717b775f 100644 --- a/README.md +++ b/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-workflow-executions - 2.1.7 + 2.2.0 ``` If you are using Gradle without BOM, add this to your dependencies ```Groovy -implementation 'com.google.cloud:google-cloud-workflow-executions:2.1.7' +implementation 'com.google.cloud:google-cloud-workflow-executions:2.2.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.1.7" +libraryDependencies += "com.google.cloud" % "google-cloud-workflow-executions" % "2.2.0" ``` ## Authentication diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java index de656c5a..490566b6 100644 --- a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java @@ -57,13 +57,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -661,7 +661,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListExecutionsPagedResponse extends AbstractPagedListResponse< - ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, + ListExecutionsRequest, + ListExecutionsResponse, + Execution, + ListExecutionsPage, ListExecutionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -711,7 +714,10 @@ public ApiFuture createPageAsync( public static class ListExecutionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, + ListExecutionsRequest, + ListExecutionsResponse, + Execution, + ListExecutionsPage, ListExecutionsFixedSizeCollection> { private ListExecutionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java similarity index 96% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java index 14622b58..4bef877f 100644 --- a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java @@ -27,7 +27,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; @@ -42,10 +41,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java index 403f3756..19d83a70 100644 --- a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java @@ -61,10 +61,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java index 6fe8aed5..203d4698 100644 --- a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java +++ b/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/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java similarity index 98% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java index 2b032ea8..143bd219 100644 --- a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java @@ -58,13 +58,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -663,7 +663,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListExecutionsPagedResponse extends AbstractPagedListResponse< - ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, + ListExecutionsRequest, + ListExecutionsResponse, + Execution, + ListExecutionsPage, ListExecutionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -713,7 +716,10 @@ public ApiFuture createPageAsync( public static class ListExecutionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, + ListExecutionsRequest, + ListExecutionsResponse, + Execution, + ListExecutionsPage, ListExecutionsFixedSizeCollection> { private ListExecutionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java similarity index 96% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java index 70dca782..0db5f1a1 100644 --- a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java @@ -27,7 +27,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; @@ -42,10 +41,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java similarity index 98% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java index f8be6d29..3de73813 100644 --- a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java @@ -61,10 +61,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java similarity index 99% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java index 672084c9..7954ed6e 100644 --- a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java +++ b/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/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java diff --git a/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java new file mode 100644 index 00000000..01ed5871 --- /dev/null +++ b/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java @@ -0,0 +1,739 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 abstract static class ExecutionsImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getCancelExecutionMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_CANCEL_EXECUTION))) + .build(); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + 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/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java b/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java new file mode 100644 index 00000000..ebfd50b8 --- /dev/null +++ b/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java @@ -0,0 +1,743 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 abstract static class ExecutionsImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getCancelExecutionMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_CANCEL_EXECUTION))) + .build(); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + 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/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java deleted file mode 100644 index 17090128..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java +++ /dev/null @@ -1,578 +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 static abstract class ExecutionsImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_CANCEL_EXECUTION))) - .build(); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - 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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index 274df6c4..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index e519bd4f..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java deleted file mode 100644 index ecc80ce6..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java +++ /dev/null @@ -1,253 +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_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\"\237\t\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340A\003\0223\n\nst" + - "art_time\030\002 \001(\0132\032.google.protobuf.Timesta" + - "mpB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\003\022I\n\005state\030\004 \001(\01625.goog" + - "le.cloud.workflows.executions.v1.Executi" + - "on.StateB\003\340A\003\022\020\n\010argument\030\005 \001(\t\022\023\n\006resul" + - "t\030\006 \001(\tB\003\340A\003\022I\n\005error\030\007 \001(\01325.google.clo" + - "ud.workflows.executions.v1.Execution.Err" + - "orB\003\340A\003\022!\n\024workflow_revision_id\030\010 \001(\tB\003\340" + - "A\003\022T\n\016call_log_level\030\t \001(\0162<.google.clou" + - "d.workflows.executions.v1.Execution.Call" + - "LogLevel\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(\0132" + - "J.google.cloud.workflows.executions.v1.E" + - "xecution.StackTraceElement.Position\0328\n\010P" + - "osition\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\010elements\030" + - "\001 \003(\0132A.google.cloud.workflows.execution" + - "s.v1.Execution.StackTraceElement\032z\n\005Erro" + - "r\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\022O\n\013s" + - "tack_trace\030\003 \001(\0132:.google.cloud.workflow" + - "s.executions.v1.Execution.StackTrace\"T\n\005" + - "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" + - "\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED" + - "\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LEVEL_UNS" + - "PECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017LOG_ERR" + - "ORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecutions.go" + - "ogleapis.com/Execution\022Sprojects/{projec" + - "t}/locations/{location}/workflows/{workf" + - "low}/executions/{execution}\"\301\001\n\025ListExec" + - "utionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!w" + - "orkflows.googleapis.com/Workflow\022\021\n\tpage" + - "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view\030" + - "\004 \001(\01623.google.cloud.workflows.execution" + - "s.v1.ExecutionViewB\003\340A\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\"\234\001\n\026CreateExecut" + - "ionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!work" + - "flows.googleapis.com/Workflow\022G\n\texecuti" + - "on\030\002 \001(\0132/.google.cloud.workflows.execut" + - "ions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecutionR" + - "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowex" + - "ecutions.googleapis.com/Execution\022F\n\004vie" + - "w\030\002 \001(\01623.google.cloud.workflows.executi" + - "ons.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExecu" + - "tionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workf" + - "lowexecutions.googleapis.com/Execution*D" + - "\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPEC" + - "IFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecuti" + - "ons\022\330\001\n\016ListExecutions\022;.google.cloud.wo" + - "rkflows.executions.v1.ListExecutionsRequ" + - "est\032<.google.cloud.workflows.executions." + - "v1.ListExecutionsResponse\"K\202\323\344\223\002<\022:/v1/{" + - "parent=projects/*/locations/*/workflows/" + - "*}/executions\332A\006parent\022\342\001\n\017CreateExecuti" + - "on\022<.google.cloud.workflows.executions.v" + - "1.CreateExecutionRequest\032/.google.cloud." + - "workflows.executions.v1.Execution\"`\202\323\344\223\002" + - "G\":/v1/{parent=projects/*/locations/*/wo" + - "rkflows/*}/executions:\texecution\332A\020paren" + - "t,execution\022\305\001\n\014GetExecution\0229.google.cl" + - "oud.workflows.executions.v1.GetExecution" + - "Request\032/.google.cloud.workflows.executi" + - "ons.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=proj" + - "ects/*/locations/*/workflows/*/execution" + - "s/*}\332A\004name\022\325\001\n\017CancelExecution\022<.google" + - ".cloud.workflows.executions.v1.CancelExe" + - "cutionRequest\032/.google.cloud.workflows.e" + - "xecutions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{nam" + - "e=projects/*/locations/*/workflows/*/exe" + - "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" + - "executions.googleapis.com\322A.https://www." + - "googleapis.com/auth/cloud-platformB\361\001\n(c" + - "om.google.cloud.workflows.executions.v1B" + - "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" + - "nproto/googleapis/cloud/workflows/execut" + - "ions/v1;executions\352Aa\n!workflows.googlea" + - "pis.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 static abstract class ExecutionsImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_CANCEL_EXECUTION))) - .build(); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - 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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index aafcee78..00000000 --- a/owl-bot-staging/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index 94408fcf..00000000 --- a/owl-bot-staging/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java deleted file mode 100644 index 06de9176..00000000 --- a/owl-bot-staging/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\"\370\004\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340" + - "A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.goog" + - "le.protobuf.TimestampB\003\340A\003\022M\n\005state\030\004 \001(" + - "\01629.google.cloud.workflows.executions.v1" + - "beta.Execution.StateB\003\340A\003\022\020\n\010argument\030\005 " + - "\001(\t\022\023\n\006result\030\006 \001(\tB\003\340A\003\022M\n\005error\030\007 \001(\0132" + - "9.google.cloud.workflows.executions.v1be" + - "ta.Execution.ErrorB\003\340A\003\022!\n\024workflow_revi" + - "sion_id\030\010 \001(\tB\003\340A\003\032)\n\005Error\022\017\n\007payload\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\tSUCCEEDED\020\002" + - "\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202\001\n+work" + - "flowexecutions.googleapis.com/Execution\022" + - "Sprojects/{project}/locations/{location}" + - "/workflows/{workflow}/executions/{execut" + - "ion}\"\305\001\n\025ListExecutionsRequest\0229\n\006parent" + - "\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapis.com" + - "/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + - "en\030\003 \001(\t\022J\n\004view\030\004 \001(\01627.google.cloud.wo" + - "rkflows.executions.v1beta.ExecutionViewB" + - "\003\340A\001\"z\n\026ListExecutionsResponse\022G\n\nexecut" + - "ions\030\001 \003(\01323.google.cloud.workflows.exec" + - "utions.v1beta.Execution\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\"\240\001\n\026CreateExecutionRequest\0229\n\006p" + - "arent\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapi" + - "s.com/Workflow\022K\n\texecution\030\002 \001(\01323.goog" + - "le.cloud.workflows.executions.v1beta.Exe" + - "cutionB\003\340A\002\"\244\001\n\023GetExecutionRequest\022A\n\004n" + - "ame\030\001 \001(\tB3\340A\002\372A-\n+workflowexecutions.go" + - "ogleapis.com/Execution\022J\n\004view\030\002 \001(\01627.g" + - "oogle.cloud.workflows.executions.v1beta." + - "ExecutionViewB\003\340A\001\"[\n\026CancelExecutionReq" + - "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowexec" + - "utions.googleapis.com/Execution*D\n\rExecu" + - "tionView\022\036\n\032EXECUTION_VIEW_UNSPECIFIED\020\000" + - "\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\nExecutions\022\344\001\n" + - "\016ListExecutions\022?.google.cloud.workflows" + - ".executions.v1beta.ListExecutionsRequest" + - "\032@.google.cloud.workflows.executions.v1b" + - "eta.ListExecutionsResponse\"O\202\323\344\223\002@\022>/v1b" + - "eta/{parent=projects/*/locations/*/workf" + - "lows/*}/executions\332A\006parent\022\356\001\n\017CreateEx" + - "ecution\022@.google.cloud.workflows.executi" + - "ons.v1beta.CreateExecutionRequest\0323.goog" + - "le.cloud.workflows.executions.v1beta.Exe" + - "cution\"d\202\323\344\223\002K\">/v1beta/{parent=projects" + - "/*/locations/*/workflows/*}/executions:\t" + - "execution\332A\020parent,execution\022\321\001\n\014GetExec" + - "ution\022=.google.cloud.workflows.execution" + - "s.v1beta.GetExecutionRequest\0323.google.cl" + - "oud.workflows.executions.v1beta.Executio" + - "n\"M\202\323\344\223\002@\022>/v1beta/{name=projects/*/loca" + - "tions/*/workflows/*/executions/*}\332A\004name" + - "\022\341\001\n\017CancelExecution\022@.google.cloud.work" + - "flows.executions.v1beta.CancelExecutionR" + - "equest\0323.google.cloud.workflows.executio" + - "ns.v1beta.Execution\"W\202\323\344\223\002J\"E/v1beta/{na" + - "me=projects/*/locations/*/workflows/*/ex" + - "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" + - "wexecutions.googleapis.com\322A.https://www" + - ".googleapis.com/auth/cloud-platformB\371\001\n," + - "com.google.cloud.workflows.executions.v1" + - "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" + - "rg/genproto/googleapis/cloud/workflows/e" + - "xecutions/v1beta;executions\352Aa\n!workflow" + - "s.googleapis.com/Workflow\022 * Request for the * [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution] @@ -12,31 +29,31 @@ * * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CancelExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,19 +72,20 @@ private CancelExecutionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -75,36 +93,43 @@ private CancelExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -113,31 +138,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 { @@ -146,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -182,15 +209,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -210,96 +237,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]
@@ -308,21 +343,23 @@ 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()
@@ -330,16 +367,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -349,13 +385,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();
     }
 
@@ -370,7 +407,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.CancelExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1.CancelExecutionRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -380,46 +418,50 @@ public com.google.cloud.workflows.executions.v1.CancelExecutionRequest buildPart
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -443,7 +485,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.CancelExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.CancelExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -455,20 +499,24 @@ public Builder mergeFrom(
 
     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; @@ -477,22 +525,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 { @@ -500,67 +551,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -570,30 +634,32 @@ 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 { - return new CancelExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -605,9 +671,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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java new file mode 100644 index 00000000..877a2bd4 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java index 697b5aa7..63083170 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** + * + * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution]
@@ -12,31 +29,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CreateExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,32 +72,37 @@ private CreateExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 18: {
-            com.google.cloud.workflows.executions.v1.Execution.Builder subBuilder = null;
-            if (execution_ != null) {
-              subBuilder = execution_.toBuilder();
+              parent_ = s;
+              break;
             }
-            execution_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(execution_);
-              execution_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.workflows.executions.v1.Execution.Builder subBuilder = null;
+              if (execution_ != null) {
+                subBuilder = execution_.toBuilder();
+              }
+              execution_ =
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1.Execution.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(execution_);
+                execution_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,36 +110,43 @@ private CreateExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -126,31 +155,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 { @@ -161,11 +192,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 @@ -173,23 +209,34 @@ 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() { @@ -197,6 +244,7 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -229,8 +276,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,19 +286,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -277,96 +322,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]
@@ -375,21 +428,23 @@ 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()
@@ -397,16 +452,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,13 +476,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();
     }
 
@@ -443,7 +498,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.CreateExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1.CreateExecutionRequest(this);
       result.parent_ = parent_;
       if (executionBuilder_ == null) {
         result.execution_ = execution_;
@@ -458,46 +514,50 @@ public com.google.cloud.workflows.executions.v1.CreateExecutionRequest buildPart
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -524,7 +584,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.CreateExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.CreateExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -536,20 +598,24 @@ public Builder mergeFrom(
 
     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; @@ -558,22 +624,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 { @@ -581,60 +650,73 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -642,39 +724,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 executionBuilder_ != null || 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. */ 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) { @@ -690,11 +791,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) { @@ -708,17 +813,23 @@ 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 (execution_ != null) { execution_ = - com.google.cloud.workflows.executions.v1.Execution.newBuilder(execution_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.newBuilder(execution_) + .mergeFrom(value) + .buildPartial(); } else { execution_ = value; } @@ -730,11 +841,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() { if (executionBuilder_ == null) { @@ -748,55 +863,71 @@ 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() { - + onChanged(); 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); } @@ -806,30 +937,32 @@ 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 { - return new CreateExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -841,9 +974,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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java new file mode 100644 index 00000000..ed2726d9 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java index d1d0604b..d5e50984 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +49,15 @@ private Execution() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Execution();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Execution(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,88 +76,102 @@ private Execution(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (startTime_ != null) {
-              subBuilder = startTime_.toBuilder();
-            }
-            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(startTime_);
-              startTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (startTime_ != null) {
+                subBuilder = startTime_.toBuilder();
+              }
+              startTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startTime_);
+                startTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (endTime_ != null) {
-              subBuilder = endTime_.toBuilder();
-            }
-            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(endTime_);
-              endTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (endTime_ != null) {
+                subBuilder = endTime_.toBuilder();
+              }
+              endTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endTime_);
+                endTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            argument_ = s;
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
+              state_ = rawValue;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            result_ = s;
-            break;
-          }
-          case 58: {
-            com.google.cloud.workflows.executions.v1.Execution.Error.Builder subBuilder = null;
-            if (error_ != null) {
-              subBuilder = error_.toBuilder();
+              argument_ = s;
+              break;
             }
-            error_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.Error.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(error_);
-              error_ = subBuilder.buildPartial();
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              result_ = s;
+              break;
             }
+          case 58:
+            {
+              com.google.cloud.workflows.executions.v1.Execution.Error.Builder subBuilder = null;
+              if (error_ != null) {
+                subBuilder = error_.toBuilder();
+              }
+              error_ =
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1.Execution.Error.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(error_);
+                error_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            workflowRevisionId_ = s;
-            break;
-          }
-          case 72: {
-            int rawValue = input.readEnum();
+              workflowRevisionId_ = s;
+              break;
+            }
+          case 72:
+            {
+              int rawValue = input.readEnum();
 
-            callLogLevel_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              callLogLevel_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -148,27 +179,31 @@ private Execution(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   }
 
   @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.
@@ -176,9 +211,10 @@ private Execution(
    *
    * 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.
      * 
@@ -187,6 +223,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The execution is in progress.
      * 
@@ -195,6 +233,8 @@ public enum State */ ACTIVE(1), /** + * + * *
      * The execution finished successfully.
      * 
@@ -203,6 +243,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * The execution failed with an error.
      * 
@@ -211,6 +253,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -222,6 +266,8 @@ public enum State ; /** + * + * *
      * Invalid state.
      * 
@@ -230,6 +276,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The execution is in progress.
      * 
@@ -238,6 +286,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
      * The execution finished successfully.
      * 
@@ -246,6 +296,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * The execution failed with an error.
      * 
@@ -254,6 +306,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -262,7 +316,6 @@ public enum State */ public static final int CANCELLED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -287,51 +340,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.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; @@ -349,6 +406,8 @@ private State(int value) { } /** + * + * *
    * Describes the level of platform logging to apply to calls and call
    * responses during workflow executions.
@@ -356,9 +415,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 specified.
      * 
@@ -367,6 +427,8 @@ public enum CallLogLevel */ CALL_LOG_LEVEL_UNSPECIFIED(0), /** + * + * *
      * Log all call steps within workflows, all call returns, and all exceptions
      * raised.
@@ -376,6 +438,8 @@ public enum CallLogLevel
      */
     LOG_ALL_CALLS(1),
     /**
+     *
+     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -387,6 +451,8 @@ public enum CallLogLevel ; /** + * + * *
      * No call logging specified.
      * 
@@ -395,6 +461,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.
@@ -404,6 +472,8 @@ public enum CallLogLevel
      */
     public static final int LOG_ALL_CALLS_VALUE = 1;
     /**
+     *
+     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -412,7 +482,6 @@ public enum CallLogLevel */ public static final int LOG_ERRORS_ONLY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -437,49 +506,51 @@ 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; - default: return null; + 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() { + 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; @@ -496,93 +567,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_ = ""; @@ -590,16 +690,15 @@ private StackTraceElement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StackTraceElement(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StackTraceElement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -618,38 +717,47 @@ private StackTraceElement( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - step_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - routine_ = s; - break; - } - case 26: { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder subBuilder = null; - if (position_ != null) { - subBuilder = position_.toBuilder(); + step_ = s; + break; } - position_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(position_); - position_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + routine_ = s; + break; } + case 26: + { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .Builder + subBuilder = null; + if (position_ != null) { + subBuilder = position_.toBuilder(); + } + position_ = + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .Position.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(position_); + position_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -657,94 +765,108 @@ private StackTraceElement( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Position( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -763,28 +885,28 @@ private Position( case 0: done = true; break; - case 8: { - - line_ = input.readInt64(); - break; - } - case 16: { - - column_ = input.readInt64(); - break; - } - case 24: { - - length_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + line_ = input.readInt64(); + break; + } + case 16: + { + column_ = input.readInt64(); + break; + } + case 24: + { + length_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -792,34 +914,41 @@ private Position( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
        * The source code line number the current instruction was generated from.
        * 
* * int64 line = 1; + * * @return The line. */ @java.lang.Override @@ -830,12 +959,15 @@ public long getLine() { public static final int COLUMN_FIELD_NUMBER = 2; 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 @@ -846,11 +978,14 @@ public long getColumn() { public static final int LENGTH_FIELD_NUMBER = 3; 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 @@ -859,6 +994,7 @@ public long getLength() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -870,8 +1006,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -891,16 +1026,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -910,19 +1042,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; - - if (getLine() - != other.getLine()) return false; - if (getColumn() - != other.getColumn()) return false; - if (getLength() - != other.getLength()) return false; + 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -935,101 +1067,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) + unknownFields.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 @@ -1039,46 +1183,54 @@ 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() + // Construct using + // com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1092,19 +1244,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); } @@ -1112,8 +1268,11 @@ 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); + 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); result.line_ = line_; result.column_ = column_; result.length_ = length_; @@ -1125,46 +1284,56 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Posi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()); } @@ -1189,11 +1358,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parsedMessage = null; + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1203,13 +1375,16 @@ public Builder mergeFrom( return this; } - 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 @@ -1217,43 +1392,52 @@ 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; 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() { - + line_ = 0L; onChanged(); 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 @@ -1261,44 +1445,53 @@ 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; 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() { - + column_ = 0L; onChanged(); 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 @@ -1306,34 +1499,41 @@ 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; 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() { - + length_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1346,30 +1546,34 @@ 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 { - return new Position(input, extensionRegistry); - } - }; + 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 { + return new Position(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1381,20 +1585,23 @@ 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; private volatile java.lang.Object step_; /** + * + * *
      * The step the error occurred at.
      * 
* * string step = 1; + * * @return The step. */ @java.lang.Override @@ -1403,29 +1610,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 { @@ -1436,11 +1643,14 @@ public java.lang.String getStep() { public static final int ROUTINE_FIELD_NUMBER = 2; private volatile java.lang.Object routine_; /** + * + * *
      * The routine where the error occurred.
      * 
* * string routine = 2; + * * @return The routine. */ @java.lang.Override @@ -1449,29 +1659,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 { @@ -1482,11 +1692,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 @@ -1494,30 +1709,45 @@ 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() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder + getPositionOrBuilder() { return getPosition(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1529,8 +1759,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1556,8 +1785,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1567,21 +1795,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1608,87 +1834,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 @@ -1698,44 +1932,49 @@ 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() + // Construct using + // com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1753,19 +1992,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); } @@ -1774,7 +2016,8 @@ 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); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = + new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(this); result.step_ = step_; result.routine_ = routine_; if (positionBuilder_ == null) { @@ -1790,46 +2033,53 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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_; onChanged(); @@ -1860,7 +2110,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1872,18 +2124,20 @@ public Builder mergeFrom( 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; @@ -1892,20 +2146,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 { @@ -1913,54 +2168,61 @@ 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) { + public Builder setStep(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + step_ = value; onChanged(); return this; } /** + * + * *
        * The step the error occurred at.
        * 
* * string step = 1; + * * @return This builder for chaining. */ public Builder clearStep() { - + step_ = getDefaultInstance().getStep(); 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) { + public Builder setStepBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + step_ = value; onChanged(); return this; @@ -1968,18 +2230,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; @@ -1988,20 +2252,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 { @@ -2009,96 +2274,127 @@ 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) { + public Builder setRoutine(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + routine_ = value; onChanged(); return this; } /** + * + * *
        * The routine where the error occurred.
        * 
* * string routine = 2; + * * @return This builder for chaining. */ public Builder clearRoutine() { - + routine_ = getDefaultInstance().getRoutine(); 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) { + public Builder setRoutineBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + routine_ = value; onChanged(); 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 positionBuilder_ != null || 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. */ - 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(); @@ -2112,14 +2408,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(); onChanged(); @@ -2130,17 +2431,25 @@ 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 (position_ != null) { position_ = - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder(position_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .newBuilder(position_) + .mergeFrom(value) + .buildPartial(); } else { position_ = value; } @@ -2152,11 +2461,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() { if (positionBuilder_ == null) { @@ -2170,52 +2483,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() { + 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) { @@ -2228,30 +2563,32 @@ 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 { - return new StackTraceElement(input, extensionRegistry); - } - }; + 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 { + return new StackTraceElement(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2263,92 +2600,116 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StackTrace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2368,22 +2729,28 @@ private StackTrace( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - elements_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + elements_ = + new java.util.ArrayList< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>(); + mutable_bitField0_ |= 0x00000001; + } + elements_.add( + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .parser(), + extensionRegistry)); + break; } - elements_.add( - input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2391,8 +2758,7 @@ private StackTrace( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { elements_ = java.util.Collections.unmodifiableList(elements_); @@ -2401,80 +2767,108 @@ private StackTrace( makeExtensionsImmutable(); } } - 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; - 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; @@ -2486,8 +2880,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -2501,8 +2894,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2512,15 +2904,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2542,87 +2934,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 @@ -2632,27 +3031,32 @@ 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() @@ -2660,17 +3064,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getElementsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -2684,13 +3088,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(); } @@ -2705,7 +3110,8 @@ 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); int from_bitField0_ = bitField0_; if (elementsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -2724,46 +3130,52 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTrace buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()) { @@ -2782,9 +3194,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_); } @@ -2809,7 +3222,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTrace) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1.Execution.StackTrace) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2818,28 +3233,40 @@ public Builder mergeFrom( } 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 { @@ -2847,11 +3274,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) { @@ -2861,13 +3292,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 { @@ -2875,11 +3311,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) { @@ -2896,14 +3336,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()); @@ -2914,13 +3360,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(); @@ -2934,11 +3385,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) { @@ -2955,14 +3410,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()); @@ -2973,14 +3433,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()); @@ -2991,18 +3457,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); @@ -3010,11 +3481,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) { @@ -3027,11 +3502,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) { @@ -3044,39 +3523,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 { @@ -3084,53 +3578,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) { @@ -3143,30 +3660,32 @@ 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 { - return new StackTrace(input, extensionRegistry); - } - }; + 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 { + return new StackTrace(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3178,75 +3697,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.
      * 
@@ -3256,21 +3794,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_ = ""; @@ -3278,16 +3819,15 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3306,38 +3846,45 @@ private Error( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - payload_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - context_ = s; - break; - } - case 26: { - com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder subBuilder = null; - if (stackTrace_ != null) { - subBuilder = stackTrace_.toBuilder(); + payload_ = s; + break; } - stackTrace_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTrace.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stackTrace_); - stackTrace_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + context_ = s; + break; } + case 26: + { + com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder subBuilder = + null; + if (stackTrace_ != null) { + subBuilder = stackTrace_.toBuilder(); + } + stackTrace_ = + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.StackTrace.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stackTrace_); + stackTrace_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3345,34 +3892,39 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -3381,29 +3933,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 { @@ -3414,11 +3966,14 @@ public java.lang.String getPayload() { public static final int CONTEXT_FIELD_NUMBER = 2; private volatile java.lang.Object context_; /** + * + * *
      * Human-readable stack trace string.
      * 
* * string context = 2; + * * @return The context. */ @java.lang.Override @@ -3427,29 +3982,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 { @@ -3460,11 +4015,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 @@ -3472,18 +4030,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.
      * 
@@ -3491,11 +4056,13 @@ 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() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder + getStackTraceOrBuilder() { return getStackTrace(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3507,8 +4074,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3534,8 +4100,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3545,21 +4110,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3586,87 +4149,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 @@ -3676,27 +4246,32 @@ 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() @@ -3704,16 +4279,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3731,9 +4305,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 @@ -3752,7 +4326,8 @@ 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); + com.google.cloud.workflows.executions.v1.Execution.Error result = + new com.google.cloud.workflows.executions.v1.Execution.Error(this); result.payload_ = payload_; result.context_ = context_; if (stackTraceBuilder_ == null) { @@ -3768,38 +4343,41 @@ public com.google.cloud.workflows.executions.v1.Execution.Error buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -3807,7 +4385,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_; onChanged(); @@ -3838,7 +4417,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.Error) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1.Execution.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3850,18 +4430,20 @@ public Builder mergeFrom( 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; @@ -3870,20 +4452,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 { @@ -3891,54 +4474,61 @@ 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) { + public Builder setPayload(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; 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(); 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) { + public Builder setPayloadBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + payload_ = value; onChanged(); return this; @@ -3946,18 +4536,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; @@ -3966,20 +4558,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 { @@ -3987,54 +4580,61 @@ 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) { + public Builder setContext(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + context_ = value; onChanged(); return this; } /** + * + * *
        * Human-readable stack trace string.
        * 
* * string context = 2; + * * @return This builder for chaining. */ public Builder clearContext() { - + context_ = getDefaultInstance().getContext(); 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) { + public Builder setContextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + context_ = value; onChanged(); return this; @@ -4042,41 +4642,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 stackTraceBuilder_ != null || 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. */ 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(); @@ -4090,6 +4704,8 @@ public Builder setStackTrace(com.google.cloud.workflows.executions.v1.Execution. return this; } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4108,17 +4724,23 @@ 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 (stackTrace_ != null) { stackTrace_ = - com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder(stackTrace_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder( + stackTrace_) + .mergeFrom(value) + .buildPartial(); } else { stackTrace_ = value; } @@ -4130,6 +4752,8 @@ public Builder mergeStackTrace(com.google.cloud.workflows.executions.v1.Executio return this; } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4148,33 +4772,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() { + 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.
        * 
@@ -4182,18 +4815,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) { @@ -4206,12 +4843,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(); } @@ -4220,16 +4857,16 @@ 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 { - return new Error(input, extensionRegistry); - } - }; + 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 { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4244,12 +4881,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -4257,6 +4895,7 @@ public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstan
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -4265,14 +4904,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:
@@ -4280,16 +4920,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 { @@ -4300,11 +4939,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 @@ -4312,11 +4955,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 @@ -4324,11 +4971,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() { @@ -4338,11 +4988,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 @@ -4350,11 +5004,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 @@ -4362,11 +5020,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() { @@ -4376,33 +5037,50 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.State result = com.google.cloud.workflows.executions.v1.Execution.State.valueOf(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.valueOf(state_); + return result == null + ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED + : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; private volatile java.lang.Object argument_; /** + * + * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
@@ -4412,6 +5090,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * 
* * string argument = 5; + * * @return The argument. */ @java.lang.Override @@ -4420,14 +5099,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.
@@ -4437,16 +5117,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 { @@ -4457,12 +5136,15 @@ public java.lang.String getArgument() { public static final int RESULT_FIELD_NUMBER = 6; 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 @@ -4471,30 +5153,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 { @@ -4505,13 +5187,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 @@ -4519,27 +5206,38 @@ 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() { @@ -4549,11 +5247,14 @@ public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErro public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; 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 @@ -4562,29 +5263,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 { @@ -4595,31 +5296,43 @@ public java.lang.String getWorkflowRevisionId() { public static final int CALL_LOG_LEVEL_FIELD_NUMBER = 9; private int callLogLevel_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.valueOf(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.valueOf(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; @@ -4631,8 +5344,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -4642,7 +5354,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_)) { @@ -4657,7 +5370,10 @@ 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_); } unknownFields.writeTo(output); @@ -4673,16 +5389,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_); @@ -4691,15 +5405,16 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4709,37 +5424,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.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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4782,96 +5491,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).
@@ -4879,21 +5595,23 @@ 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;
     }
 
     @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()
@@ -4901,16 +5619,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4948,9 +5665,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
@@ -4969,7 +5686,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.Execution result =
+          new com.google.cloud.workflows.executions.v1.Execution(this);
       result.name_ = name_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -4999,38 +5717,39 @@ public com.google.cloud.workflows.executions.v1.Execution buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -5038,7 +5757,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_;
         onChanged();
@@ -5089,7 +5809,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.Execution) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.Execution) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -5101,6 +5822,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The resource name of the execution.
      * Format:
@@ -5108,13 +5831,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; @@ -5123,6 +5846,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5130,15 +5855,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 { @@ -5146,6 +5870,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5153,20 +5879,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5174,15 +5902,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5190,16 +5921,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -5207,24 +5938,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -5235,11 +5977,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) { @@ -5255,14 +6000,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(); onChanged(); @@ -5273,17 +6020,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -5295,11 +6045,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() { if (startTimeBuilder_ == null) { @@ -5313,48 +6066,59 @@ 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() { - + onChanged(); 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_; @@ -5362,24 +6126,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -5390,11 +6165,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) { @@ -5410,14 +6188,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(); onChanged(); @@ -5428,17 +6208,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -5450,11 +6233,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() { if (endTimeBuilder_ == null) { @@ -5468,48 +6254,59 @@ 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() { - + 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]; + * .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_; @@ -5517,51 +6314,75 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { 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. */ public Builder setStateValue(int value) { - + state_ = value; 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]; + * + * .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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.State result = com.google.cloud.workflows.executions.v1.Execution.State.valueOf(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.valueOf(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. */ @@ -5569,21 +6390,26 @@ public Builder setState(com.google.cloud.workflows.executions.v1.Execution.State if (value == null) { throw new NullPointerException(); } - + 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]; + * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -5591,6 +6417,8 @@ public Builder clearState() { private java.lang.Object argument_ = ""; /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5600,13 +6428,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; @@ -5615,6 +6443,8 @@ public java.lang.String getArgument() { } } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5624,15 +6454,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 { @@ -5640,6 +6469,8 @@ public java.lang.String getArgument() { } } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5649,20 +6480,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) { + public Builder setArgument(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + argument_ = value; onChanged(); return this; } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5672,15 +6505,18 @@ public Builder setArgument(
      * 
* * string argument = 5; + * * @return This builder for chaining. */ public Builder clearArgument() { - + argument_ = getDefaultInstance().getArgument(); onChanged(); return this; } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5690,16 +6526,16 @@ 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) { + public Builder setArgumentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + argument_ = value; onChanged(); return this; @@ -5707,19 +6543,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; @@ -5728,21 +6566,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 { @@ -5750,57 +6589,64 @@ 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) { + public Builder setResult(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + result_ = value; 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(); 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) { + public Builder setResultBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + result_ = value; onChanged(); return this; @@ -5808,45 +6654,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 errorBuilder_ != null || 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. */ 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) { @@ -5862,13 +6727,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) { @@ -5882,19 +6751,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.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 (error_ != null) { error_ = - com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder(error_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder(error_) + .mergeFrom(value) + .buildPartial(); } else { error_ = value; } @@ -5906,13 +6781,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() { if (errorBuilder_ == null) { @@ -5926,54 +6805,70 @@ 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() { - + 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]; + * + * .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_; @@ -5981,18 +6876,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; @@ -6001,20 +6898,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 { @@ -6022,54 +6920,61 @@ 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) { + public Builder setWorkflowRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workflowRevisionId_ = value; 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(); 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) { + public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; onChanged(); return this; @@ -6077,80 +6982,100 @@ 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. */ public Builder setCallLogLevelValue(int value) { - + callLogLevel_ = value; 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.valueOf(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.valueOf(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(); } - + 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() { - + callLogLevel_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6160,12 +7085,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(); } @@ -6174,16 +7099,16 @@ 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 { - return new Execution(input, extensionRegistry); - } - }; + 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 { + return new Execution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6198,6 +7123,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java index b9041052..15a0f193 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,85 +47,119 @@ 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.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.
@@ -114,10 +169,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.
@@ -127,101 +185,131 @@ 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(); diff --git a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java index 573c7a5a..a85f1bd6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    * 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.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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java new file mode 100644 index 00000000..b7570155 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java @@ -0,0 +1,293 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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\"\237\t\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340A\003\0223\n\nst" + + "art_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022I\n\005state\030\004 \001(\01625.goog" + + "le.cloud.workflows.executions.v1.Executi" + + "on.StateB\003\340A\003\022\020\n\010argument\030\005 \001(\t\022\023\n\006resul" + + "t\030\006 \001(\tB\003\340A\003\022I\n\005error\030\007 \001(\01325.google.clo" + + "ud.workflows.executions.v1.Execution.Err" + + "orB\003\340A\003\022!\n\024workflow_revision_id\030\010 \001(\tB\003\340" + + "A\003\022T\n\016call_log_level\030\t \001(\0162<.google.clou" + + "d.workflows.executions.v1.Execution.Call" + + "LogLevel\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(\0132" + + "J.google.cloud.workflows.executions.v1.E" + + "xecution.StackTraceElement.Position\0328\n\010P" + + "osition\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\010elements\030" + + "\001 \003(\0132A.google.cloud.workflows.execution" + + "s.v1.Execution.StackTraceElement\032z\n\005Erro" + + "r\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\022O\n\013s" + + "tack_trace\030\003 \001(\0132:.google.cloud.workflow" + + "s.executions.v1.Execution.StackTrace\"T\n\005" + + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" + + "\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED" + + "\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LEVEL_UNS" + + "PECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017LOG_ERR" + + "ORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecutions.go" + + "ogleapis.com/Execution\022Sprojects/{projec" + + "t}/locations/{location}/workflows/{workf" + + "low}/executions/{execution}\"\301\001\n\025ListExec" + + "utionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!w" + + "orkflows.googleapis.com/Workflow\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view\030" + + "\004 \001(\01623.google.cloud.workflows.execution" + + "s.v1.ExecutionViewB\003\340A\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\"\234\001\n\026CreateExecut" + + "ionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!work" + + "flows.googleapis.com/Workflow\022G\n\texecuti" + + "on\030\002 \001(\0132/.google.cloud.workflows.execut" + + "ions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecutionR" + + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowex" + + "ecutions.googleapis.com/Execution\022F\n\004vie" + + "w\030\002 \001(\01623.google.cloud.workflows.executi" + + "ons.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExecu" + + "tionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workf" + + "lowexecutions.googleapis.com/Execution*D" + + "\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPEC" + + "IFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecuti" + + "ons\022\330\001\n\016ListExecutions\022;.google.cloud.wo" + + "rkflows.executions.v1.ListExecutionsRequ" + + "est\032<.google.cloud.workflows.executions." + + "v1.ListExecutionsResponse\"K\202\323\344\223\002<\022:/v1/{" + + "parent=projects/*/locations/*/workflows/" + + "*}/executions\332A\006parent\022\342\001\n\017CreateExecuti" + + "on\022<.google.cloud.workflows.executions.v" + + "1.CreateExecutionRequest\032/.google.cloud." + + "workflows.executions.v1.Execution\"`\202\323\344\223\002" + + "G\":/v1/{parent=projects/*/locations/*/wo" + + "rkflows/*}/executions:\texecution\332A\020paren" + + "t,execution\022\305\001\n\014GetExecution\0229.google.cl" + + "oud.workflows.executions.v1.GetExecution" + + "Request\032/.google.cloud.workflows.executi" + + "ons.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=proj" + + "ects/*/locations/*/workflows/*/execution" + + "s/*}\332A\004name\022\325\001\n\017CancelExecution\022<.google" + + ".cloud.workflows.executions.v1.CancelExe" + + "cutionRequest\032/.google.cloud.workflows.e" + + "xecutions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{nam" + + "e=projects/*/locations/*/workflows/*/exe" + + "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" + + "executions.googleapis.com\322A.https://www." + + "googleapis.com/auth/cloud-platformB\361\001\n(c" + + "om.google.cloud.workflows.executions.v1B" + + "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" + + "nproto/googleapis/cloud/workflows/execut" + + "ions/v1;executions\352Aa\n!workflows.googlea" + + "pis.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,16 +46,15 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,25 +73,27 @@ private GetExecutionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,36 +101,43 @@ private GetExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -120,31 +146,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 { @@ -155,33 +183,49 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int 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.
    * 
* - * .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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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; @@ -193,12 +237,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_); } unknownFields.writeTo(output); @@ -213,9 +258,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -225,15 +271,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -256,96 +302,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]
@@ -354,21 +408,23 @@ 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()
@@ -376,16 +432,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -397,13 +452,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();
     }
 
@@ -418,7 +474,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.GetExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1.GetExecutionRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -429,38 +486,39 @@ public com.google.cloud.workflows.executions.v1.GetExecutionRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -468,7 +526,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_;
         onChanged();
@@ -495,7 +555,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.GetExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.GetExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -507,20 +568,24 @@ public Builder mergeFrom(
 
     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; @@ -529,22 +594,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 { @@ -552,60 +620,73 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -613,55 +694,79 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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. */ @@ -669,29 +774,34 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,12 +811,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(); } @@ -715,16 +826,16 @@ 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 { - return new GetExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -739,6 +850,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java index bdcb228c..23c574a0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java @@ -1,53 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java index d92d512c..ef40afe4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = "";
@@ -29,16 +47,15 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListExecutionsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,36 +74,39 @@ private ListExecutionsRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 16: {
-
-            pageSize_ = input.readInt32();
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              parent_ = s;
+              break;
+            }
+          case 16:
+            {
+              pageSize_ = input.readInt32();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageToken_ = s;
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+              pageToken_ = s;
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            view_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              view_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,35 +114,42 @@ private ListExecutionsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -131,30 +158,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 { @@ -165,6 +194,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -174,6 +205,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -184,6 +216,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -192,6 +226,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -200,14 +235,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.
@@ -216,16 +252,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 { @@ -236,33 +271,49 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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; @@ -274,8 +325,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -285,7 +335,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_); } unknownFields.writeTo(output); @@ -301,15 +353,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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -319,19 +371,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -358,96 +408,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][]
@@ -456,21 +514,23 @@ 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()
@@ -478,16 +538,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -503,13 +562,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();
     }
 
@@ -524,7 +584,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.ListExecutionsRequest result =
+          new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -537,38 +598,39 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsRequest buildParti
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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;
@@ -576,7 +638,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_;
         onChanged();
@@ -610,7 +674,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.ListExecutionsRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.ListExecutionsRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -622,19 +688,23 @@ public Builder mergeFrom(
 
     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; @@ -643,21 +713,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 { @@ -665,64 +738,79 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -732,6 +820,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -739,6 +828,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
@@ -748,16 +839,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -767,10 +861,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -778,6 +873,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.
@@ -786,13 +883,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; @@ -801,6 +898,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -809,15 +908,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 { @@ -825,6 +923,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -833,20 +933,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -855,15 +957,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -872,16 +977,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -889,55 +994,79 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; 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]; + * + * .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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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. */ @@ -945,29 +1074,34 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va if (value == null) { throw new NullPointerException(); } - + 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]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,30 +1111,32 @@ 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 { - return new ListExecutionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,9 +1148,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java index 846e2292..bfc5dc1a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 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.
@@ -52,10 +82,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.
@@ -64,28 +97,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.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(); diff --git a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java index 187cc9ae..1054df8d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +46,15 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListExecutionsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,28 +74,33 @@ private ListExecutionsResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              executions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                executions_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              executions_.add(
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1.Execution.parser(),
+                      extensionRegistry));
+              break;
             }
-            executions_.add(
-                input.readMessage(com.google.cloud.workflows.executions.v1.Execution.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -86,8 +108,7 @@ private ListExecutionsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -96,22 +117,27 @@ private ListExecutionsResponse(
       makeExtensionsImmutable();
     }
   }
-  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;
   private java.util.List executions_;
   /**
+   *
+   *
    * 
    * The executions which match the request.
    * 
@@ -123,6 +149,8 @@ public java.util.List getExe return executions_; } /** + * + * *
    * The executions which match the request.
    * 
@@ -130,11 +158,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.
    * 
@@ -146,6 +176,8 @@ public int getExecutionsCount() { return executions_.size(); } /** + * + * *
    * The executions which match the request.
    * 
@@ -157,6 +189,8 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde return executions_.get(index); } /** + * + * *
    * The executions which match the request.
    * 
@@ -172,12 +206,15 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -186,30 +223,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 { @@ -218,6 +255,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +267,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -247,8 +284,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_); @@ -261,17 +297,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,96 +330,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]
@@ -393,21 +436,23 @@ 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()
@@ -415,17 +460,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getExecutionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,13 +486,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();
     }
 
@@ -462,7 +508,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -482,46 +529,50 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsResponse buildPart
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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()) {
@@ -540,9 +591,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_);
           }
@@ -571,7 +623,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.ListExecutionsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.ListExecutionsResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -580,21 +634,30 @@ public Builder mergeFrom(
       }
       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.
      * 
@@ -609,6 +672,8 @@ public java.util.List getExe } } /** + * + * *
      * The executions which match the request.
      * 
@@ -623,6 +688,8 @@ public int getExecutionsCount() { } } /** + * + * *
      * The executions which match the request.
      * 
@@ -637,6 +704,8 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde } } /** + * + * *
      * The executions which match the request.
      * 
@@ -658,6 +727,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -676,6 +747,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -696,6 +769,8 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1.Execution return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -717,6 +792,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -735,6 +812,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -753,6 +832,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -763,8 +844,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); @@ -772,6 +852,8 @@ public Builder addAllExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -789,6 +871,8 @@ public Builder clearExecutions() { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -806,6 +890,8 @@ public Builder removeExecutions(int index) { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -817,6 +903,8 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionsB return getExecutionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The executions which match the request.
      * 
@@ -826,19 +914,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 { @@ -846,6 +937,8 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions } } /** + * + * *
      * The executions which match the request.
      * 
@@ -853,10 +946,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.
      * 
@@ -865,30 +960,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_; @@ -896,19 +997,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; @@ -917,21 +1020,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 { @@ -939,64 +1043,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1006,30 +1117,32 @@ 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 { - return new ListExecutionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,9 +1154,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java index af9b0b73..8283508a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto b/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto rename to proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto diff --git a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java similarity index 63% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java index f90bfc03..97bf582c 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** + * + * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1beta.Executions.CancelExecution]
@@ -12,31 +29,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CancelExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,19 +72,20 @@ private CancelExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -75,36 +93,43 @@ private CancelExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -113,31 +138,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 { @@ -146,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -182,15 +209,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -210,96 +237,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]
@@ -308,38 +344,40 @@ 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()
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -349,14 +387,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
@@ -370,7 +410,8 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -380,46 +421,51 @@ public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest build
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -443,7 +489,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -455,20 +503,24 @@ public Builder mergeFrom(
 
     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; @@ -477,22 +529,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 { @@ -500,67 +555,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -570,30 +638,32 @@ 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 { - return new CancelExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -605,9 +675,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java new file mode 100644 index 00000000..195f1950 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java similarity index 62% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java index 6d41c501..edaad805 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** + * + * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1beta.Executions.CreateExecution]
@@ -12,31 +29,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CreateExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,32 +72,37 @@ private CreateExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 18: {
-            com.google.cloud.workflows.executions.v1beta.Execution.Builder subBuilder = null;
-            if (execution_ != null) {
-              subBuilder = execution_.toBuilder();
+              parent_ = s;
+              break;
             }
-            execution_ = input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(execution_);
-              execution_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.workflows.executions.v1beta.Execution.Builder subBuilder = null;
+              if (execution_ != null) {
+                subBuilder = execution_.toBuilder();
+              }
+              execution_ =
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(execution_);
+                execution_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,36 +110,43 @@ private CreateExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -126,31 +155,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 { @@ -161,11 +192,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 @@ -173,23 +209,34 @@ 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() { @@ -197,6 +244,7 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -229,8 +276,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,19 +286,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -277,96 +322,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]
@@ -375,38 +429,40 @@ 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()
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,14 +478,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
@@ -443,7 +501,8 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest(this);
       result.parent_ = parent_;
       if (executionBuilder_ == null) {
         result.execution_ = execution_;
@@ -458,46 +517,51 @@ public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest build
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -524,7 +588,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -536,20 +602,24 @@ public Builder mergeFrom(
 
     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; @@ -558,22 +628,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 { @@ -581,60 +654,73 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -642,39 +728,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 executionBuilder_ != null || 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. */ 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) { @@ -690,11 +795,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) { @@ -708,17 +817,23 @@ 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 (execution_ != null) { execution_ = - com.google.cloud.workflows.executions.v1beta.Execution.newBuilder(execution_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1beta.Execution.newBuilder(execution_) + .mergeFrom(value) + .buildPartial(); } else { execution_ = value; } @@ -730,11 +845,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() { if (executionBuilder_ == null) { @@ -748,55 +867,71 @@ 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() { - + onChanged(); 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); } @@ -806,30 +941,32 @@ 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 { - return new CreateExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -841,9 +978,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java new file mode 100644 index 00000000..7b68f64e --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java similarity index 71% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java index 63ba78e8..e20fba48 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +47,15 @@ private Execution() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Execution(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Execution( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,82 +74,96 @@ private Execution( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 32: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 32: + { + int rawValue = input.readEnum(); - argument_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - result_ = s; - break; - } - case 58: { - com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); + argument_ = s; + break; } - error_ = input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.Error.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + result_ = s; + break; } + case 58: + { + com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder subBuilder = + null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = + input.readMessage( + com.google.cloud.workflows.executions.v1beta.Execution.Error.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - workflowRevisionId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + workflowRevisionId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -140,27 +171,31 @@ private Execution( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
@@ -168,9 +203,10 @@ private Execution(
    *
    * 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.
      * 
@@ -179,6 +215,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The execution is in progress.
      * 
@@ -187,6 +225,8 @@ public enum State */ ACTIVE(1), /** + * + * *
      * The execution finished successfully.
      * 
@@ -195,6 +235,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * The execution failed with an error.
      * 
@@ -203,6 +245,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -214,6 +258,8 @@ public enum State ; /** + * + * *
      * Invalid state.
      * 
@@ -222,6 +268,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The execution is in progress.
      * 
@@ -230,6 +278,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
      * The execution finished successfully.
      * 
@@ -238,6 +288,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * The execution failed with an error.
      * 
@@ -246,6 +298,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -254,7 +308,6 @@ public enum State */ public static final int CANCELLED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -279,51 +332,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; @@ -340,66 +397,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_ = ""; @@ -407,16 +478,15 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -435,25 +505,27 @@ private Error( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - payload_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + payload_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - context_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + context_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -461,34 +533,39 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -497,29 +574,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 { @@ -530,11 +607,14 @@ public java.lang.String getPayload() { public static final int CONTEXT_FIELD_NUMBER = 2; private volatile java.lang.Object context_; /** + * + * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; + * * @return The context. */ @java.lang.Override @@ -543,29 +623,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 { @@ -574,6 +654,7 @@ public java.lang.String getContext() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -585,8 +666,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -616,17 +696,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -648,87 +727,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 @@ -738,27 +824,32 @@ 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() @@ -766,16 +857,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -787,13 +877,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(); } @@ -808,7 +899,8 @@ 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); + com.google.cloud.workflows.executions.v1beta.Execution.Error result = + new com.google.cloud.workflows.executions.v1beta.Execution.Error(this); result.payload_ = payload_; result.context_ = context_; onBuilt(); @@ -819,38 +911,41 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Error buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -858,7 +953,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_; onChanged(); @@ -886,7 +983,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1beta.Execution.Error) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1beta.Execution.Error) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -898,18 +997,20 @@ public Builder mergeFrom( 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; @@ -918,20 +1019,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 { @@ -939,54 +1041,61 @@ 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) { + public Builder setPayload(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; 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() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); 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) { + public Builder setPayloadBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + payload_ = value; onChanged(); return this; @@ -994,18 +1103,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; @@ -1014,20 +1125,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 { @@ -1035,58 +1147,66 @@ 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) { + public Builder setContext(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + context_ = value; onChanged(); return this; } /** + * + * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; + * * @return This builder for chaining. */ public Builder clearContext() { - + context_ = getDefaultInstance().getContext(); onChanged(); 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) { + public Builder setContextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + context_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1099,30 +1219,32 @@ 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 { - return new Error(input, extensionRegistry); - } - }; + 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 { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1134,15 +1256,17 @@ 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; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -1150,6 +1274,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 @@ -1158,14 +1283,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:
@@ -1173,16 +1299,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 { @@ -1193,11 +1318,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 @@ -1205,11 +1334,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 @@ -1217,11 +1350,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() { @@ -1231,11 +1367,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 @@ -1243,11 +1383,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 @@ -1255,11 +1399,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() { @@ -1269,39 +1416,57 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1beta.Execution.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.Execution.State result = com.google.cloud.workflows.executions.v1beta.Execution.State.valueOf(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.valueOf(state_); + return result == null + ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED + : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; 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 @@ -1310,30 +1475,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 { @@ -1344,12 +1509,15 @@ public java.lang.String getArgument() { public static final int RESULT_FIELD_NUMBER = 6; 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 @@ -1358,30 +1526,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 { @@ -1392,13 +1560,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 @@ -1406,27 +1579,38 @@ 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() { @@ -1436,11 +1620,14 @@ public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder get public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; 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 @@ -1449,29 +1636,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 { @@ -1480,6 +1667,7 @@ public java.lang.String getWorkflowRevisionId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1491,8 +1679,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1502,7 +1689,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_)) { @@ -1530,16 +1719,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_); @@ -1548,8 +1736,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_); @@ -1562,37 +1749,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1632,117 +1813,127 @@ 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() @@ -1750,16 +1941,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1795,9 +1985,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 @@ -1816,7 +2006,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); + com.google.cloud.workflows.executions.v1beta.Execution result = + new com.google.cloud.workflows.executions.v1beta.Execution(this); result.name_ = name_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; @@ -1845,38 +2036,39 @@ public com.google.cloud.workflows.executions.v1beta.Execution buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -1884,7 +2076,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_; onChanged(); @@ -1932,7 +2125,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1beta.Execution) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1beta.Execution) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1944,6 +2138,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1951,13 +2147,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; @@ -1966,6 +2162,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1973,15 +2171,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 { @@ -1989,6 +2186,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1996,20 +2195,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2017,15 +2218,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2033,16 +2237,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2050,24 +2254,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2078,11 +2293,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) { @@ -2098,14 +2316,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(); onChanged(); @@ -2116,17 +2336,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2138,11 +2361,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() { if (startTimeBuilder_ == null) { @@ -2156,48 +2382,59 @@ 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() { - + onChanged(); 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_; @@ -2205,24 +2442,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2233,11 +2481,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) { @@ -2253,14 +2504,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(); onChanged(); @@ -2271,17 +2524,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -2293,11 +2549,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() { if (endTimeBuilder_ == null) { @@ -2311,48 +2570,59 @@ 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() { - + 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]; + * .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_; @@ -2360,51 +2630,75 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.Execution.State result = com.google.cloud.workflows.executions.v1beta.Execution.State.valueOf(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.valueOf(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. */ @@ -2412,21 +2706,26 @@ public Builder setState(com.google.cloud.workflows.executions.v1beta.Execution.S if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2434,19 +2733,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; @@ -2455,21 +2756,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 { @@ -2477,57 +2779,64 @@ 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) { + public Builder setArgument(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + argument_ = value; 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() { - + argument_ = getDefaultInstance().getArgument(); onChanged(); 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) { + public Builder setArgumentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + argument_ = value; onChanged(); return this; @@ -2535,19 +2844,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; @@ -2556,21 +2867,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 { @@ -2578,57 +2890,64 @@ 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) { + public Builder setResult(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + result_ = value; 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(); 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) { + public Builder setResultBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + result_ = value; onChanged(); return this; @@ -2636,45 +2955,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 errorBuilder_ != null || 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. */ 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) { @@ -2690,13 +3028,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) { @@ -2710,19 +3052,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 (error_ != null) { error_ = - com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder(error_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder(error_) + .mergeFrom(value) + .buildPartial(); } else { error_ = value; } @@ -2734,13 +3082,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() { if (errorBuilder_ == null) { @@ -2754,54 +3106,71 @@ 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() { - + 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.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_; @@ -2809,18 +3178,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; @@ -2829,20 +3200,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 { @@ -2850,61 +3222,68 @@ 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) { + public Builder setWorkflowRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workflowRevisionId_ = value; 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(); 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) { + public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2914,12 +3293,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(); } @@ -2928,16 +3307,16 @@ 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 { - return new Execution(input, extensionRegistry); - } - }; + 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 { + return new Execution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2952,6 +3331,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java diff --git a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java index cbf20e31..e936b9a7 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java index a6434738..74af5f69 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java new file mode 100644 index 00000000..53b978e9 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java @@ -0,0 +1,238 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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\"\370\004\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340" + + "A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022M\n\005state\030\004 \001(" + + "\01629.google.cloud.workflows.executions.v1" + + "beta.Execution.StateB\003\340A\003\022\020\n\010argument\030\005 " + + "\001(\t\022\023\n\006result\030\006 \001(\tB\003\340A\003\022M\n\005error\030\007 \001(\0132" + + "9.google.cloud.workflows.executions.v1be" + + "ta.Execution.ErrorB\003\340A\003\022!\n\024workflow_revi" + + "sion_id\030\010 \001(\tB\003\340A\003\032)\n\005Error\022\017\n\007payload\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\tSUCCEEDED\020\002" + + "\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202\001\n+work" + + "flowexecutions.googleapis.com/Execution\022" + + "Sprojects/{project}/locations/{location}" + + "/workflows/{workflow}/executions/{execut" + + "ion}\"\305\001\n\025ListExecutionsRequest\0229\n\006parent" + + "\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapis.com" + + "/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\022J\n\004view\030\004 \001(\01627.google.cloud.wo" + + "rkflows.executions.v1beta.ExecutionViewB" + + "\003\340A\001\"z\n\026ListExecutionsResponse\022G\n\nexecut" + + "ions\030\001 \003(\01323.google.cloud.workflows.exec" + + "utions.v1beta.Execution\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\240\001\n\026CreateExecutionRequest\0229\n\006p" + + "arent\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapi" + + "s.com/Workflow\022K\n\texecution\030\002 \001(\01323.goog" + + "le.cloud.workflows.executions.v1beta.Exe" + + "cutionB\003\340A\002\"\244\001\n\023GetExecutionRequest\022A\n\004n" + + "ame\030\001 \001(\tB3\340A\002\372A-\n+workflowexecutions.go" + + "ogleapis.com/Execution\022J\n\004view\030\002 \001(\01627.g" + + "oogle.cloud.workflows.executions.v1beta." + + "ExecutionViewB\003\340A\001\"[\n\026CancelExecutionReq" + + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowexec" + + "utions.googleapis.com/Execution*D\n\rExecu" + + "tionView\022\036\n\032EXECUTION_VIEW_UNSPECIFIED\020\000" + + "\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\nExecutions\022\344\001\n" + + "\016ListExecutions\022?.google.cloud.workflows" + + ".executions.v1beta.ListExecutionsRequest" + + "\032@.google.cloud.workflows.executions.v1b" + + "eta.ListExecutionsResponse\"O\202\323\344\223\002@\022>/v1b" + + "eta/{parent=projects/*/locations/*/workf" + + "lows/*}/executions\332A\006parent\022\356\001\n\017CreateEx" + + "ecution\022@.google.cloud.workflows.executi" + + "ons.v1beta.CreateExecutionRequest\0323.goog" + + "le.cloud.workflows.executions.v1beta.Exe" + + "cution\"d\202\323\344\223\002K\">/v1beta/{parent=projects" + + "/*/locations/*/workflows/*}/executions:\t" + + "execution\332A\020parent,execution\022\321\001\n\014GetExec" + + "ution\022=.google.cloud.workflows.execution" + + "s.v1beta.GetExecutionRequest\0323.google.cl" + + "oud.workflows.executions.v1beta.Executio" + + "n\"M\202\323\344\223\002@\022>/v1beta/{name=projects/*/loca" + + "tions/*/workflows/*/executions/*}\332A\004name" + + "\022\341\001\n\017CancelExecution\022@.google.cloud.work" + + "flows.executions.v1beta.CancelExecutionR" + + "equest\0323.google.cloud.workflows.executio" + + "ns.v1beta.Execution\"W\202\323\344\223\002J\"E/v1beta/{na" + + "me=projects/*/locations/*/workflows/*/ex" + + "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" + + "wexecutions.googleapis.com\322A.https://www" + + ".googleapis.com/auth/cloud-platformB\371\001\n," + + "com.google.cloud.workflows.executions.v1" + + "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" + + "rg/genproto/googleapis/cloud/workflows/e" + + "xecutions/v1beta;executions\352Aa\n!workflow" + + "s.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,16 +46,15 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,25 +73,27 @@ private GetExecutionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,36 +101,43 @@ private GetExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -120,31 +146,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 { @@ -155,33 +183,49 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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; @@ -193,12 +237,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_); } unknownFields.writeTo(output); @@ -213,9 +258,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -225,15 +271,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -256,96 +302,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]
@@ -354,21 +408,23 @@ 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()
@@ -376,16 +432,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -397,13 +452,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();
     }
 
@@ -418,7 +474,8 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1beta.GetExecutionRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -429,46 +486,50 @@ public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest buildPar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -495,7 +556,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -507,20 +570,24 @@ public Builder mergeFrom(
 
     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; @@ -529,22 +596,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 { @@ -552,60 +622,73 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -613,55 +696,79 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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. */ @@ -669,29 +776,34 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,30 +813,32 @@ 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 { - return new GetExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -736,9 +850,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java index 02246254..a1c7f5dd 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java @@ -1,53 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java similarity index 67% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java index 80658267..58e24987 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +47,15 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListExecutionsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,36 +74,39 @@ private ListExecutionsRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 16: {
-
-            pageSize_ = input.readInt32();
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              parent_ = s;
+              break;
+            }
+          case 16:
+            {
+              pageSize_ = input.readInt32();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageToken_ = s;
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+              pageToken_ = s;
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            view_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              view_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,35 +114,42 @@ private ListExecutionsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -131,30 +158,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 { @@ -165,6 +194,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -174,6 +205,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -184,6 +216,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -192,6 +226,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -200,14 +235,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.
@@ -216,16 +252,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 { @@ -236,33 +271,49 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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; @@ -274,8 +325,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -285,7 +335,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_); } unknownFields.writeTo(output); @@ -301,15 +353,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -319,19 +371,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -358,96 +408,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]
@@ -456,38 +515,40 @@ 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()
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -503,14 +564,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
@@ -524,7 +587,8 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result =
+          new com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -537,46 +601,51 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest buildP
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -610,7 +679,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -622,19 +693,23 @@ public Builder mergeFrom(
 
     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; @@ -643,21 +718,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 { @@ -665,64 +743,79 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -732,6 +825,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -739,6 +833,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
@@ -748,16 +844,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -767,10 +866,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -778,6 +878,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.
@@ -786,13 +888,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; @@ -801,6 +903,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -809,15 +913,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 { @@ -825,6 +928,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -833,20 +938,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -855,15 +962,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -872,16 +982,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -889,55 +999,79 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; 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.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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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. */ @@ -945,29 +1079,34 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie if (value == null) { throw new NullPointerException(); } - + 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.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() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,30 +1116,32 @@ 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 { - return new ListExecutionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,9 +1153,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java index e547072c..bb32cb76 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
@@ -52,10 +82,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.
@@ -64,28 +97,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java similarity index 72% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java index 6dec1160..96da4bf2 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +46,15 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListExecutionsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,28 +74,34 @@ private ListExecutionsResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              executions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                executions_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.workflows.executions.v1beta.Execution>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              executions_.add(
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
+                      extensionRegistry));
+              break;
             }
-            executions_.add(
-                input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -86,8 +109,7 @@ private ListExecutionsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -96,22 +118,27 @@ private ListExecutionsResponse(
       makeExtensionsImmutable();
     }
   }
-  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;
   private java.util.List executions_;
   /**
+   *
+   *
    * 
    * The executions which match the request.
    * 
@@ -119,10 +146,13 @@ private ListExecutionsResponse( * 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.
    * 
@@ -130,11 +160,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.
    * 
@@ -146,6 +178,8 @@ public int getExecutionsCount() { return executions_.size(); } /** + * + * *
    * The executions which match the request.
    * 
@@ -157,6 +191,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int return executions_.get(index); } /** + * + * *
    * The executions which match the request.
    * 
@@ -172,12 +208,15 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -186,30 +225,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 { @@ -218,6 +257,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < executions_.size(); i++) { output.writeMessage(1, executions_.get(i)); } @@ -247,8 +286,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_); @@ -261,17 +299,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,96 +332,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]
@@ -393,39 +439,42 @@ 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()
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getExecutionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,14 +490,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
@@ -462,7 +513,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -482,46 +534,51 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse build
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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()) {
@@ -540,9 +597,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_);
           }
@@ -571,7 +629,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -580,28 +640,38 @@ public Builder mergeFrom(
       }
       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 { @@ -609,6 +679,8 @@ public java.util.List ge } } /** + * + * *
      * The executions which match the request.
      * 
@@ -623,6 +695,8 @@ public int getExecutionsCount() { } } /** + * + * *
      * The executions which match the request.
      * 
@@ -637,6 +711,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int } } /** + * + * *
      * The executions which match the request.
      * 
@@ -658,6 +734,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -676,6 +754,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -696,6 +776,8 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1beta.Execut return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -717,6 +799,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -735,6 +819,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -753,6 +839,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -760,11 +848,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); @@ -772,6 +860,8 @@ public Builder addAllExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -789,6 +879,8 @@ public Builder clearExecutions() { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -806,6 +898,8 @@ public Builder removeExecutions(int index) { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -817,6 +911,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti return getExecutionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The executions which match the request.
      * 
@@ -826,19 +922,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 { @@ -846,6 +945,8 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } } /** + * + * *
      * The executions which match the request.
      * 
@@ -853,10 +954,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.
      * 
@@ -865,30 +968,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_; @@ -896,19 +1005,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; @@ -917,21 +1028,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 { @@ -939,64 +1051,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1006,30 +1125,32 @@ 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 { - return new ListExecutionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,9 +1162,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java index 79c065a4..38dd3b5d 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java diff --git a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto b/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto similarity index 100% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto rename to proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto From a7a7d6a32a0f4c4edd095749c3dd725ef3b9a0ac Mon Sep 17 00:00:00 2001 From: Owl Bot Date: Thu, 23 Jun 2022 01:48:51 +0000 Subject: [PATCH 5/7] feat: Enable REST transport for most of Java and Go clients PiperOrigin-RevId: 456641589 Source-Link: https://github.com/googleapis/googleapis/commit/8a251f5225b789b2383207ffd978f6aa3d77fcf7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4ca52a529cf01308d9714950edffbea3560cfbdb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNGNhNTJhNTI5Y2YwMTMwOGQ5NzE0OTUwZWRmZmJlYTM1NjBjZmJkYiJ9 --- .../executions/v1/ExecutionsGrpc.java | 739 ---- .../executions/v1beta/ExecutionsGrpc.java | 743 ---- .../executions/v1/ExecutionsClient.java | 30 +- .../executions/v1/ExecutionsSettings.java | 30 +- .../executions/v1/gapic_metadata.json | 0 .../workflows/executions/v1/package-info.java | 0 .../executions/v1/stub/ExecutionsStub.java | 0 .../v1/stub/ExecutionsStubSettings.java | 59 +- .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1/stub/GrpcExecutionsStub.java | 1 + .../HttpJsonExecutionsCallableFactory.java | 105 + .../v1/stub/HttpJsonExecutionsStub.java | 363 ++ .../v1/ExecutionsClientHttpJsonTest.java | 491 +++ .../executions/v1/ExecutionsClientTest.java | 0 .../executions/v1/MockExecutions.java | 0 .../executions/v1/MockExecutionsImpl.java | 0 .../executions/v1/ExecutionsGrpc.java | 578 +++ .../executions/v1/CancelExecutionRequest.java | 363 +- .../v1/CancelExecutionRequestOrBuilder.java | 33 + .../executions/v1/CreateExecutionRequest.java | 510 +-- .../v1/CreateExecutionRequestOrBuilder.java | 60 + .../workflows/executions/v1/Execution.java | 3451 ++++++----------- .../executions/v1/ExecutionName.java | 0 .../executions/v1/ExecutionOrBuilder.java | 128 +- .../executions/v1/ExecutionView.java | 86 +- .../executions/v1/ExecutionsProto.java | 253 ++ .../executions/v1/GetExecutionRequest.java | 449 +-- .../v1/GetExecutionRequestOrBuilder.java | 49 +- .../executions/v1/ListExecutionsRequest.java | 573 ++- .../v1/ListExecutionsRequestOrBuilder.java | 61 +- .../executions/v1/ListExecutionsResponse.java | 470 +-- .../v1/ListExecutionsResponseOrBuilder.java | 45 +- .../workflows/executions/v1/WorkflowName.java | 0 .../workflows/executions/v1/executions.proto | 0 .../executions/v1beta/ExecutionsClient.java | 30 +- .../executions/v1beta/ExecutionsSettings.java | 30 +- .../executions/v1beta/gapic_metadata.json | 0 .../executions/v1beta/package-info.java | 0 .../v1beta/stub/ExecutionsStub.java | 0 .../v1beta/stub/ExecutionsStubSettings.java | 59 +- .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1beta/stub/GrpcExecutionsStub.java | 1 + .../HttpJsonExecutionsCallableFactory.java | 105 + .../v1beta/stub/HttpJsonExecutionsStub.java | 366 ++ .../v1beta/ExecutionsClientHttpJsonTest.java | 491 +++ .../v1beta/ExecutionsClientTest.java | 0 .../executions/v1beta/MockExecutions.java | 0 .../executions/v1beta/MockExecutionsImpl.java | 0 .../executions/v1beta/ExecutionsGrpc.java | 578 +++ .../v1beta/CancelExecutionRequest.java | 375 +- .../CancelExecutionRequestOrBuilder.java | 33 + .../v1beta/CreateExecutionRequest.java | 522 +-- .../CreateExecutionRequestOrBuilder.java | 60 + .../executions/v1beta/Execution.java | 1549 +++----- .../executions/v1beta/ExecutionName.java | 0 .../executions/v1beta/ExecutionOrBuilder.java | 122 +- .../executions/v1beta/ExecutionView.java | 86 +- .../executions/v1beta/ExecutionsProto.java | 208 + .../v1beta/GetExecutionRequest.java | 463 +-- .../v1beta/GetExecutionRequestOrBuilder.java | 49 +- .../v1beta/ListExecutionsRequest.java | 588 ++- .../ListExecutionsRequestOrBuilder.java | 61 +- .../v1beta/ListExecutionsResponse.java | 492 +-- .../ListExecutionsResponseOrBuilder.java | 45 +- .../executions/v1beta/WorkflowName.java | 0 .../executions/v1beta/executions.proto | 0 .../v1/CancelExecutionRequestOrBuilder.java | 58 - .../v1/CreateExecutionRequestOrBuilder.java | 99 - .../executions/v1/ExecutionsProto.java | 293 -- .../CancelExecutionRequestOrBuilder.java | 58 - .../CreateExecutionRequestOrBuilder.java | 99 - .../executions/v1beta/ExecutionsProto.java | 238 -- 72 files changed, 7753 insertions(+), 9075 deletions(-) delete mode 100644 grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java delete mode 100644 grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java (96%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java (88%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java (87%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java (99%) create mode 100644 owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java create mode 100644 owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java create mode 100644 owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java (100%) create mode 100644 owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java (64%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java (62%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java (68%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java (100%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java (74%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java (67%) create mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequest.java (64%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java (50%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java (68%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java (64%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java (73%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java (70%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java (100%) rename {proto-google-cloud-workflow-executions-v1 => owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1}/src/main/proto/google/cloud/workflows/executions/v1/executions.proto (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java (96%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java (88%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java (87%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java (99%) create mode 100644 owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java create mode 100644 owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java create mode 100644 owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java (100%) rename {google-cloud-workflow-executions => owl-bot-staging/v1beta/google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java (100%) create mode 100644 owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java (63%) create mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java (62%) create mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java (71%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java (100%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java (71%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequest.java (63%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java (50%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java (67%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java (64%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java (72%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java (70%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java (100%) rename {proto-google-cloud-workflow-executions-v1beta => owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta}/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto (100%) delete mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java delete mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java delete mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java delete mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java delete mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java delete mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java diff --git a/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java deleted file mode 100644 index 01ed5871..00000000 --- a/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java +++ /dev/null @@ -1,739 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.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 abstract static class ExecutionsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCancelExecutionMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_CANCEL_EXECUTION))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - 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/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java b/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java deleted file mode 100644 index ebfd50b8..00000000 --- a/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java +++ /dev/null @@ -1,743 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.google.cloud.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 abstract static class ExecutionsImplBase implements io.grpc.BindableService { - - /** - * - * - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall( - getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( - getCancelExecutionMethod(), responseObserver); - } - - @java.lang.Override - public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_CANCEL_EXECUTION))) - .build(); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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); - } - } - - /** - * - * - *
-   * 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - 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/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java similarity index 96% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java index 490566b6..4526bd34 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java +++ b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java @@ -57,13 +57,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -98,6 +98,20 @@ * ExecutionsClient executionsClient = ExecutionsClient.create(executionsSettings); * }
* + *

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

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

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @Generated("by gapic-generator-java") @@ -661,10 +675,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListExecutionsPagedResponse extends AbstractPagedListResponse< - ListExecutionsRequest, - ListExecutionsResponse, - Execution, - ListExecutionsPage, + ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, ListExecutionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -714,10 +725,7 @@ public ApiFuture createPageAsync( public static class ListExecutionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListExecutionsRequest, - ListExecutionsResponse, - Execution, - ListExecutionsPage, + ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, ListExecutionsFixedSizeCollection> { private ListExecutionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java similarity index 88% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java index 4bef877f..faf4ef04 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java +++ b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java @@ -23,10 +23,12 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.workflows.executions.v1.stub.ExecutionsStubSettings; @@ -41,10 +43,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -117,11 +119,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return ExecutionsStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return ExecutionsStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return ExecutionsStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return ExecutionsStubSettings.defaultTransportChannelProvider(); } @@ -131,11 +140,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return ExecutionsStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -173,6 +188,11 @@ private static Builder createDefault() { return new Builder(ExecutionsStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(ExecutionsStubSettings.newHttpJsonBuilder()); + } + public ExecutionsStubSettings.Builder getStubSettingsBuilder() { return ((ExecutionsStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java similarity index 87% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java index 19d83a70..2a509641 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java +++ b/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java @@ -27,6 +27,9 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; @@ -61,10 +64,10 @@ *

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

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

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

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

This class is for advanced usage and reflects the underlying API directly. + */ +@Generated("by gapic-generator-java") +@BetaApi +public class HttpJsonExecutionsStub extends ExecutionsStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + listExecutionsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.workflows.executions.v1.Executions/ListExecutions") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/workflows/*}/executions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "view", request.getView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListExecutionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createExecutionMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.workflows.executions.v1.Executions/CreateExecution") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{parent=projects/*/locations/*/workflows/*}/executions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("execution", request.getExecution())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Execution.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getExecutionMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.workflows.executions.v1.Executions/GetExecution") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/workflows/*/executions/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "view", request.getView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Execution.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + cancelExecutionMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.workflows.executions.v1.Executions/CancelExecution") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1/{name=projects/*/locations/*/workflows/*/executions/*}:cancel", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Execution.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable listExecutionsCallable; + private final UnaryCallable + listExecutionsPagedCallable; + private final UnaryCallable createExecutionCallable; + private final UnaryCallable getExecutionCallable; + private final UnaryCallable cancelExecutionCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonExecutionsStub create(ExecutionsStubSettings settings) + throws IOException { + return new HttpJsonExecutionsStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonExecutionsStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonExecutionsStub( + ExecutionsStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonExecutionsStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonExecutionsStub( + ExecutionsStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonExecutionsStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonExecutionsStub(ExecutionsStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonExecutionsCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonExecutionsStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonExecutionsStub( + ExecutionsStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings + listExecutionsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listExecutionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createExecutionTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createExecutionMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getExecutionTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getExecutionMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings cancelExecutionTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(cancelExecutionMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listExecutionsCallable = + callableFactory.createUnaryCallable( + listExecutionsTransportSettings, settings.listExecutionsSettings(), clientContext); + this.listExecutionsPagedCallable = + callableFactory.createPagedCallable( + listExecutionsTransportSettings, settings.listExecutionsSettings(), clientContext); + this.createExecutionCallable = + callableFactory.createUnaryCallable( + createExecutionTransportSettings, settings.createExecutionSettings(), clientContext); + this.getExecutionCallable = + callableFactory.createUnaryCallable( + getExecutionTransportSettings, settings.getExecutionSettings(), clientContext); + this.cancelExecutionCallable = + callableFactory.createUnaryCallable( + cancelExecutionTransportSettings, settings.cancelExecutionSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listExecutionsMethodDescriptor); + methodDescriptors.add(createExecutionMethodDescriptor); + methodDescriptors.add(getExecutionMethodDescriptor); + methodDescriptors.add(cancelExecutionMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable listExecutionsCallable() { + return listExecutionsCallable; + } + + @Override + public UnaryCallable + listExecutionsPagedCallable() { + return listExecutionsPagedCallable; + } + + @Override + public UnaryCallable createExecutionCallable() { + return createExecutionCallable; + } + + @Override + public UnaryCallable getExecutionCallable() { + return getExecutionCallable; + } + + @Override + public UnaryCallable cancelExecutionCallable() { + return cancelExecutionCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java new file mode 100644 index 00000000..79a04544 --- /dev/null +++ b/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java @@ -0,0 +1,491 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.workflows.executions.v1; + +import static com.google.cloud.workflows.executions.v1.ExecutionsClient.ListExecutionsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.workflows.executions.v1.stub.HttpJsonExecutionsStub; +import com.google.common.collect.Lists; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class ExecutionsClientHttpJsonTest { + private static MockHttpService mockService; + private static ExecutionsClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonExecutionsStub.getMethodDescriptors(), ExecutionsSettings.getDefaultEndpoint()); + ExecutionsSettings settings = + ExecutionsSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + ExecutionsSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = ExecutionsClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listExecutionsTest() throws Exception { + Execution responsesElement = Execution.newBuilder().build(); + ListExecutionsResponse expectedResponse = + ListExecutionsResponse.newBuilder() + .setNextPageToken("") + .addAllExecutions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); + + ListExecutionsPagedResponse pagedListResponse = client.listExecutions(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getExecutionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listExecutionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); + client.listExecutions(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listExecutionsTest2() throws Exception { + Execution responsesElement = Execution.newBuilder().build(); + ListExecutionsResponse expectedResponse = + ListExecutionsResponse.newBuilder() + .setNextPageToken("") + .addAllExecutions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9319/locations/location-9319/workflows/workflow-9319"; + + ListExecutionsPagedResponse pagedListResponse = client.listExecutions(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getExecutionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listExecutionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9319/locations/location-9319/workflows/workflow-9319"; + client.listExecutions(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createExecutionTest() throws Exception { + Execution expectedResponse = + Execution.newBuilder() + .setName( + ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setArgument("argument-1589682499") + .setResult("result-934426595") + .setError(Execution.Error.newBuilder().build()) + .setWorkflowRevisionId("workflowRevisionId-1575712907") + .build(); + mockService.addResponse(expectedResponse); + + WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); + Execution execution = Execution.newBuilder().build(); + + Execution actualResponse = client.createExecution(parent, execution); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createExecutionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); + Execution execution = Execution.newBuilder().build(); + client.createExecution(parent, execution); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createExecutionTest2() throws Exception { + Execution expectedResponse = + Execution.newBuilder() + .setName( + ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setArgument("argument-1589682499") + .setResult("result-934426595") + .setError(Execution.Error.newBuilder().build()) + .setWorkflowRevisionId("workflowRevisionId-1575712907") + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9319/locations/location-9319/workflows/workflow-9319"; + Execution execution = Execution.newBuilder().build(); + + Execution actualResponse = client.createExecution(parent, execution); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createExecutionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9319/locations/location-9319/workflows/workflow-9319"; + Execution execution = Execution.newBuilder().build(); + client.createExecution(parent, execution); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getExecutionTest() throws Exception { + Execution expectedResponse = + Execution.newBuilder() + .setName( + ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setArgument("argument-1589682499") + .setResult("result-934426595") + .setError(Execution.Error.newBuilder().build()) + .setWorkflowRevisionId("workflowRevisionId-1575712907") + .build(); + mockService.addResponse(expectedResponse); + + ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]"); + + Execution actualResponse = client.getExecution(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getExecutionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]"); + client.getExecution(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getExecutionTest2() throws Exception { + Execution expectedResponse = + Execution.newBuilder() + .setName( + ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setArgument("argument-1589682499") + .setResult("result-934426595") + .setError(Execution.Error.newBuilder().build()) + .setWorkflowRevisionId("workflowRevisionId-1575712907") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-7317/locations/location-7317/workflows/workflow-7317/executions/execution-7317"; + + Execution actualResponse = client.getExecution(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getExecutionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-7317/locations/location-7317/workflows/workflow-7317/executions/execution-7317"; + client.getExecution(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void cancelExecutionTest() throws Exception { + Execution expectedResponse = + Execution.newBuilder() + .setName( + ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setArgument("argument-1589682499") + .setResult("result-934426595") + .setError(Execution.Error.newBuilder().build()) + .setWorkflowRevisionId("workflowRevisionId-1575712907") + .build(); + mockService.addResponse(expectedResponse); + + ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]"); + + Execution actualResponse = client.cancelExecution(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void cancelExecutionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]"); + client.cancelExecution(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void cancelExecutionTest2() throws Exception { + Execution expectedResponse = + Execution.newBuilder() + .setName( + ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setArgument("argument-1589682499") + .setResult("result-934426595") + .setError(Execution.Error.newBuilder().build()) + .setWorkflowRevisionId("workflowRevisionId-1575712907") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-7317/locations/location-7317/workflows/workflow-7317/executions/execution-7317"; + + Execution actualResponse = client.cancelExecution(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void cancelExecutionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-7317/locations/location-7317/workflows/workflow-7317/executions/execution-7317"; + client.cancelExecution(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java b/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java rename to owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java diff --git a/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java new file mode 100644 index 00000000..17090128 --- /dev/null +++ b/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java @@ -0,0 +1,578 @@ +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 static abstract class ExecutionsImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_CANCEL_EXECUTION))) + .build(); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + 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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java similarity index 64% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java index ac476a4b..b68d8b7d 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution]
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CancelExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,20 +55,19 @@ private CancelExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,43 +75,36 @@ private CancelExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -138,33 +113,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 { @@ -173,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +182,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,104 +210,96 @@ 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]
@@ -343,23 +308,21 @@ 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()
@@ -367,15 +330,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -385,14 +349,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();
     }
 
@@ -407,8 +370,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.CancelExecutionRequest result = new com.google.cloud.workflows.executions.v1.CancelExecutionRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -418,50 +380,46 @@ public com.google.cloud.workflows.executions.v1.CancelExecutionRequest buildPart
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -485,9 +443,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.CancelExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.CancelExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -499,24 +455,20 @@ public Builder mergeFrom(
 
     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; @@ -525,25 +477,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 { @@ -551,80 +500,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -634,32 +570,30 @@ 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 { - return new CancelExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -671,8 +605,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java new file mode 100644 index 00000000..274df6c4 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java similarity index 62% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java index 63083170..697b5aa7 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution]
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CreateExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,37 +55,32 @@ private CreateExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
+            parent_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.workflows.executions.v1.Execution.Builder subBuilder = null;
+            if (execution_ != null) {
+              subBuilder = execution_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.workflows.executions.v1.Execution.Builder subBuilder = null;
-              if (execution_ != null) {
-                subBuilder = execution_.toBuilder();
-              }
-              execution_ =
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1.Execution.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(execution_);
-                execution_ = subBuilder.buildPartial();
-              }
-
-              break;
+            execution_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(execution_);
+              execution_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -110,43 +88,36 @@ private CreateExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -155,33 +126,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 { @@ -192,16 +161,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 @@ -209,34 +173,23 @@ 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() { @@ -244,7 +197,6 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -276,7 +229,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,18 +240,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -322,104 +277,96 @@ 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]
@@ -428,23 +375,21 @@ 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()
@@ -452,15 +397,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -476,14 +422,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();
     }
 
@@ -498,8 +443,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.CreateExecutionRequest result = new com.google.cloud.workflows.executions.v1.CreateExecutionRequest(this);
       result.parent_ = parent_;
       if (executionBuilder_ == null) {
         result.execution_ = execution_;
@@ -514,50 +458,46 @@ public com.google.cloud.workflows.executions.v1.CreateExecutionRequest buildPart
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -584,9 +524,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.CreateExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.CreateExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -598,24 +536,20 @@ public Builder mergeFrom(
 
     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; @@ -624,25 +558,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 { @@ -650,73 +581,60 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -724,58 +642,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 executionBuilder_ != null || 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. */ 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) { @@ -791,15 +690,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) { @@ -813,23 +708,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 (execution_ != null) { execution_ = - com.google.cloud.workflows.executions.v1.Execution.newBuilder(execution_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.newBuilder(execution_).mergeFrom(value).buildPartial(); } else { execution_ = value; } @@ -841,15 +730,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() { if (executionBuilder_ == null) { @@ -863,71 +748,55 @@ 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() { - + onChanged(); 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); } @@ -937,32 +806,30 @@ 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 { - return new CreateExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -974,8 +841,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java new file mode 100644 index 00000000..e519bd4f --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java similarity index 68% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java index d5e50984..d1d0604b 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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).
@@ -28,16 +11,15 @@
  *
  * 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;
@@ -49,15 +31,16 @@ private Execution() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new Execution();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private Execution(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -76,102 +59,88 @@ private Execution(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
+            name_ = s;
+            break;
+          }
+          case 18: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (startTime_ != null) {
+              subBuilder = startTime_.toBuilder();
             }
-          case 18:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (startTime_ != null) {
-                subBuilder = startTime_.toBuilder();
-              }
-              startTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(startTime_);
-                startTime_ = subBuilder.buildPartial();
-              }
-
-              break;
+            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(startTime_);
+              startTime_ = subBuilder.buildPartial();
             }
-          case 26:
-            {
-              com.google.protobuf.Timestamp.Builder subBuilder = null;
-              if (endTime_ != null) {
-                subBuilder = endTime_.toBuilder();
-              }
-              endTime_ =
-                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(endTime_);
-                endTime_ = subBuilder.buildPartial();
-              }
 
-              break;
+            break;
+          }
+          case 26: {
+            com.google.protobuf.Timestamp.Builder subBuilder = null;
+            if (endTime_ != null) {
+              subBuilder = endTime_.toBuilder();
             }
-          case 32:
-            {
-              int rawValue = input.readEnum();
-
-              state_ = rawValue;
-              break;
+            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(endTime_);
+              endTime_ = subBuilder.buildPartial();
             }
-          case 42:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
 
-              argument_ = s;
-              break;
-            }
-          case 50:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
 
-              result_ = s;
-              break;
-            }
-          case 58:
-            {
-              com.google.cloud.workflows.executions.v1.Execution.Error.Builder subBuilder = null;
-              if (error_ != null) {
-                subBuilder = error_.toBuilder();
-              }
-              error_ =
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1.Execution.Error.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(error_);
-                error_ = subBuilder.buildPartial();
-              }
+            state_ = rawValue;
+            break;
+          }
+          case 42: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              break;
-            }
-          case 66:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            argument_ = s;
+            break;
+          }
+          case 50: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              workflowRevisionId_ = s;
-              break;
+            result_ = s;
+            break;
+          }
+          case 58: {
+            com.google.cloud.workflows.executions.v1.Execution.Error.Builder subBuilder = null;
+            if (error_ != null) {
+              subBuilder = error_.toBuilder();
             }
-          case 72:
-            {
-              int rawValue = input.readEnum();
-
-              callLogLevel_ = rawValue;
-              break;
+            error_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.Error.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(error_);
+              error_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          case 66: {
+            java.lang.String s = input.readStringRequireUtf8();
+
+            workflowRevisionId_ = s;
+            break;
+          }
+          case 72: {
+            int rawValue = input.readEnum();
+
+            callLogLevel_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -179,31 +148,27 @@ private Execution(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   }
 
   @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.
@@ -211,10 +176,9 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
    *
    * 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.
      * 
@@ -223,8 +187,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The execution is in progress.
      * 
@@ -233,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
      * The execution finished successfully.
      * 
@@ -243,8 +203,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(2), /** - * - * *
      * The execution failed with an error.
      * 
@@ -253,8 +211,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -266,8 +222,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid state.
      * 
@@ -276,8 +230,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The execution is in progress.
      * 
@@ -286,8 +238,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The execution finished successfully.
      * 
@@ -296,8 +246,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 2; /** - * - * *
      * The execution failed with an error.
      * 
@@ -306,8 +254,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -316,6 +262,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( @@ -340,55 +287,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.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; @@ -406,8 +349,6 @@ private State(int value) { } /** - * - * *
    * Describes the level of platform logging to apply to calls and call
    * responses during workflow executions.
@@ -415,10 +356,9 @@ 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 specified.
      * 
@@ -427,8 +367,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { */ CALL_LOG_LEVEL_UNSPECIFIED(0), /** - * - * *
      * Log all call steps within workflows, all call returns, and all exceptions
      * raised.
@@ -438,8 +376,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum {
      */
     LOG_ALL_CALLS(1),
     /**
-     *
-     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -451,8 +387,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * No call logging specified.
      * 
@@ -461,8 +395,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int CALL_LOG_LEVEL_UNSPECIFIED_VALUE = 0; /** - * - * *
      * Log all call steps within workflows, all call returns, and all exceptions
      * raised.
@@ -472,8 +404,6 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum {
      */
     public static final int LOG_ALL_CALLS_VALUE = 1;
     /**
-     *
-     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -482,6 +412,7 @@ public enum CallLogLevel implements com.google.protobuf.ProtocolMessageEnum { */ public static final int LOG_ERRORS_ONLY_VALUE = 2; + public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -506,51 +437,49 @@ 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; - default: - return null; + 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() { + 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); + } + }; - 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() { + 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; @@ -567,122 +496,93 @@ 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_ = ""; @@ -690,15 +590,16 @@ private StackTraceElement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new StackTraceElement(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StackTraceElement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -717,47 +618,38 @@ private StackTraceElement( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - step_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + step_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - routine_ = s; - break; + routine_ = s; + break; + } + case 26: { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder subBuilder = null; + if (position_ != null) { + subBuilder = position_.toBuilder(); } - case 26: - { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .Builder - subBuilder = null; - if (position_ != null) { - subBuilder = position_.toBuilder(); - } - position_ = - input.readMessage( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .Position.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(position_); - position_ = subBuilder.buildPartial(); - } - - break; + position_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(position_); + position_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -765,108 +657,94 @@ private StackTraceElement( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Position( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -885,28 +763,28 @@ private Position( case 0: done = true; break; - case 8: - { - line_ = input.readInt64(); - break; - } - case 16: - { - column_ = input.readInt64(); - break; - } - case 24: - { - length_ = input.readInt64(); - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + case 8: { + + line_ = input.readInt64(); + break; + } + case 16: { + + column_ = input.readInt64(); + break; + } + case 24: { + + length_ = input.readInt64(); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -914,41 +792,34 @@ private Position( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e) - .setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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_; /** - * - * *
        * The source code line number the current instruction was generated from.
        * 
* * int64 line = 1; - * * @return The line. */ @java.lang.Override @@ -959,15 +830,12 @@ public long getLine() { public static final int COLUMN_FIELD_NUMBER = 2; 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 @@ -978,14 +846,11 @@ public long getColumn() { public static final int LENGTH_FIELD_NUMBER = 3; 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 @@ -994,7 +859,6 @@ public long getLength() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1006,7 +870,8 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -1026,13 +891,16 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1042,19 +910,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; - - if (getLine() != other.getLine()) return false; - if (getColumn() != other.getColumn()) return false; - if (getLength() != other.getLength()) return false; + 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1067,113 +935,101 @@ 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) + unknownFields.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 @@ -1183,54 +1039,46 @@ 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() + // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1244,23 +1092,19 @@ 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); } @@ -1268,11 +1112,8 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { } @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); + 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); result.line_ = line_; result.column_ = column_; result.length_ = length_; @@ -1284,56 +1125,46 @@ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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()); } @@ -1358,14 +1189,11 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - parsedMessage = null; + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1375,16 +1203,13 @@ public Builder mergeFrom( return this; } - 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 @@ -1392,52 +1217,43 @@ 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; 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() { - + line_ = 0L; onChanged(); 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 @@ -1445,53 +1261,44 @@ 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; 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() { - + column_ = 0L; onChanged(); 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 @@ -1499,41 +1306,34 @@ 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; 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() { - + length_ = 0L; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1546,34 +1346,30 @@ 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 { - return new Position(input, extensionRegistry); - } - }; + 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 { + return new Position(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1585,23 +1381,20 @@ 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; private volatile java.lang.Object step_; /** - * - * *
      * The step the error occurred at.
      * 
* * string step = 1; - * * @return The step. */ @java.lang.Override @@ -1610,29 +1403,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 { @@ -1643,14 +1436,11 @@ public com.google.protobuf.ByteString getStepBytes() { public static final int ROUTINE_FIELD_NUMBER = 2; private volatile java.lang.Object routine_; /** - * - * *
      * The routine where the error occurred.
      * 
* * string routine = 2; - * * @return The routine. */ @java.lang.Override @@ -1659,29 +1449,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 { @@ -1692,16 +1482,11 @@ public com.google.protobuf.ByteString getRoutineBytes() { 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 @@ -1709,45 +1494,30 @@ 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() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder getPositionOrBuilder() { return getPosition(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1759,7 +1529,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1785,7 +1556,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1795,19 +1567,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1834,95 +1608,87 @@ 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 @@ -1932,49 +1698,44 @@ 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() + // Construct using com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1992,22 +1753,19 @@ 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); } @@ -2016,8 +1774,7 @@ 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); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(this); result.step_ = step_; result.routine_ = routine_; if (positionBuilder_ == null) { @@ -2033,53 +1790,46 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement buil public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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_; onChanged(); @@ -2110,9 +1860,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2124,20 +1872,18 @@ public Builder mergeFrom( 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; @@ -2146,21 +1892,20 @@ 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 { @@ -2168,61 +1913,54 @@ public com.google.protobuf.ByteString getStepBytes() { } } /** - * - * *
        * 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) { + public Builder setStep( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + step_ = value; onChanged(); return this; } /** - * - * *
        * The step the error occurred at.
        * 
* * string step = 1; - * * @return This builder for chaining. */ public Builder clearStep() { - + step_ = getDefaultInstance().getStep(); 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) { + public Builder setStepBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + step_ = value; onChanged(); return this; @@ -2230,20 +1968,18 @@ public Builder setStepBytes(com.google.protobuf.ByteString value) { 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; @@ -2252,21 +1988,20 @@ 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 { @@ -2274,127 +2009,96 @@ public com.google.protobuf.ByteString getRoutineBytes() { } } /** - * - * *
        * 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) { + public Builder setRoutine( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + routine_ = value; onChanged(); return this; } /** - * - * *
        * The routine where the error occurred.
        * 
* * string routine = 2; - * * @return This builder for chaining. */ public Builder clearRoutine() { - + routine_ = getDefaultInstance().getRoutine(); 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) { + public Builder setRoutineBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + routine_ = value; onChanged(); 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 positionBuilder_ != null || 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. */ - 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(); @@ -2408,19 +2112,14 @@ 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 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(); onChanged(); @@ -2431,25 +2130,17 @@ 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 (position_ != null) { position_ = - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position - .newBuilder(position_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder(position_).mergeFrom(value).buildPartial(); } else { position_ = value; } @@ -2461,15 +2152,11 @@ public Builder mergePosition( 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() { if (positionBuilder_ == null) { @@ -2483,74 +2170,52 @@ 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() { + 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) { @@ -2563,32 +2228,30 @@ 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 { - return new StackTraceElement(input, extensionRegistry); - } - }; + 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 { + return new StackTraceElement(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2600,116 +2263,92 @@ 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< - ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> + java.util.List 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private StackTrace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2729,28 +2368,22 @@ private StackTrace( case 0: done = true; break; - case 10: - { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - elements_ = - new java.util.ArrayList< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>(); - mutable_bitField0_ |= 0x00000001; - } - elements_.add( - input.readMessage( - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement - .parser(), - extensionRegistry)); - break; + case 10: { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + elements_ = new java.util.ArrayList(); + mutable_bitField0_ |= 0x00000001; } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + elements_.add( + input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.parser(), extensionRegistry)); + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2758,7 +2391,8 @@ private StackTrace( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { elements_ = java.util.Collections.unmodifiableList(elements_); @@ -2767,108 +2401,80 @@ private StackTrace( makeExtensionsImmutable(); } } - - 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; - 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< - ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> + public java.util.List 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; @@ -2880,7 +2486,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -2894,7 +2501,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2904,15 +2512,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2934,94 +2542,87 @@ 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 @@ -3031,32 +2632,27 @@ 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() @@ -3064,17 +2660,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { getElementsFieldBuilder(); } } - @java.lang.Override public Builder clear() { super.clear(); @@ -3088,14 +2684,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_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(); } @@ -3110,8 +2705,7 @@ 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); int from_bitField0_ = bitField0_; if (elementsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -3130,52 +2724,46 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTrace buildPartia public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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()) { @@ -3194,10 +2782,9 @@ public Builder mergeFrom( 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_); } @@ -3222,9 +2809,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1.Execution.StackTrace) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTrace) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3233,40 +2818,28 @@ public Builder mergeFrom( } 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< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>(elements_); + 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_; + 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 { @@ -3274,15 +2847,11 @@ private void ensureElementsIsMutable() { } } /** - * - * *
        * 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) { @@ -3292,18 +2861,13 @@ 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 { @@ -3311,15 +2875,11 @@ 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) { @@ -3336,20 +2896,14 @@ 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()); @@ -3360,18 +2914,13 @@ 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(); @@ -3385,15 +2934,11 @@ 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 value) { @@ -3410,19 +2955,14 @@ 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()); @@ -3433,20 +2973,14 @@ 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()); @@ -3457,23 +2991,18 @@ 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< - ? extends com.google.cloud.workflows.executions.v1.Execution.StackTraceElement> - values) { + java.lang.Iterable 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); @@ -3481,15 +3010,11 @@ 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) { @@ -3502,15 +3027,11 @@ 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) { @@ -3523,54 +3044,39 @@ 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< - ? extends - com.google.cloud.workflows.executions.v1.Execution.StackTraceElementOrBuilder> - getElementsOrBuilderList() { + public java.util.List + getElementsOrBuilderList() { if (elementsBuilder_ != null) { return elementsBuilder_.getMessageOrBuilderList(); } else { @@ -3578,76 +3084,53 @@ public Builder removeElements(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; */ - 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< - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Builder> - getElementsBuilderList() { + 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> + 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) { @@ -3660,32 +3143,30 @@ 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 { - return new StackTrace(input, extensionRegistry); - } - }; + 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 { + return new StackTrace(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3697,94 +3178,75 @@ 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.
      * 
@@ -3794,24 +3256,21 @@ public interface ErrorOrBuilder 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_ = ""; @@ -3819,15 +3278,16 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3846,45 +3306,38 @@ private Error( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - payload_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + payload_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - context_ = s; - break; + context_ = s; + break; + } + case 26: { + com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder subBuilder = null; + if (stackTrace_ != null) { + subBuilder = stackTrace_.toBuilder(); } - case 26: - { - com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder subBuilder = - null; - if (stackTrace_ != null) { - subBuilder = stackTrace_.toBuilder(); - } - stackTrace_ = - input.readMessage( - com.google.cloud.workflows.executions.v1.Execution.StackTrace.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stackTrace_); - stackTrace_ = subBuilder.buildPartial(); - } - - break; + stackTrace_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTrace.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stackTrace_); + stackTrace_ = subBuilder.buildPartial(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3892,39 +3345,34 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -3933,29 +3381,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 { @@ -3966,14 +3414,11 @@ public com.google.protobuf.ByteString getPayloadBytes() { public static final int CONTEXT_FIELD_NUMBER = 2; private volatile java.lang.Object context_; /** - * - * *
      * Human-readable stack trace string.
      * 
* * string context = 2; - * * @return The context. */ @java.lang.Override @@ -3982,29 +3427,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 { @@ -4015,14 +3460,11 @@ public com.google.protobuf.ByteString getContextBytes() { 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 @@ -4030,25 +3472,18 @@ 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.
      * 
@@ -4056,13 +3491,11 @@ 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() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder getStackTraceOrBuilder() { return getStackTrace(); } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -4074,7 +3507,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -4100,7 +3534,8 @@ 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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4110,19 +3545,21 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4149,94 +3586,87 @@ 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 @@ -4246,32 +3676,27 @@ 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() @@ -4279,15 +3704,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -4305,9 +3731,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 @@ -4326,8 +3752,7 @@ 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); + com.google.cloud.workflows.executions.v1.Execution.Error result = new com.google.cloud.workflows.executions.v1.Execution.Error(this); result.payload_ = payload_; result.context_ = context_; if (stackTraceBuilder_ == null) { @@ -4343,41 +3768,38 @@ public com.google.cloud.workflows.executions.v1.Execution.Error buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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; @@ -4385,8 +3807,7 @@ 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_; onChanged(); @@ -4417,8 +3838,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1.Execution.Error) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -4430,20 +3850,18 @@ public Builder mergeFrom( 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; @@ -4452,21 +3870,20 @@ 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 { @@ -4474,61 +3891,54 @@ public com.google.protobuf.ByteString getPayloadBytes() { } } /** - * - * *
        * 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) { + public Builder setPayload( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; 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(); 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) { + public Builder setPayloadBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + payload_ = value; onChanged(); return this; @@ -4536,20 +3946,18 @@ public Builder setPayloadBytes(com.google.protobuf.ByteString value) { 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; @@ -4558,21 +3966,20 @@ 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 { @@ -4580,61 +3987,54 @@ public com.google.protobuf.ByteString getContextBytes() { } } /** - * - * *
        * 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) { + public Builder setContext( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + context_ = value; onChanged(); return this; } /** - * - * *
        * Human-readable stack trace string.
        * 
* * string context = 2; - * * @return This builder for chaining. */ public Builder clearContext() { - + context_ = getDefaultInstance().getContext(); 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) { + public Builder setContextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + context_ = value; onChanged(); return this; @@ -4642,55 +4042,41 @@ public Builder setContextBytes(com.google.protobuf.ByteString value) { 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 stackTraceBuilder_ != null || 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. */ 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(); @@ -4704,8 +4090,6 @@ public Builder setStackTrace( return this; } /** - * - * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4724,23 +4108,17 @@ 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 (stackTrace_ != null) { stackTrace_ = - com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder( - stackTrace_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder(stackTrace_).mergeFrom(value).buildPartial(); } else { stackTrace_ = value; } @@ -4752,8 +4130,6 @@ public Builder mergeStackTrace( return this; } /** - * - * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4772,42 +4148,33 @@ 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() { + 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.
        * 
@@ -4815,22 +4182,18 @@ public Builder clearStackTrace() { * .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) { @@ -4843,12 +4206,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(); } @@ -4857,16 +4220,16 @@ 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 { - return new Error(input, extensionRegistry); - } - }; + 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 { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4881,13 +4244,12 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The resource name of the execution.
    * Format:
@@ -4895,7 +4257,6 @@ public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstan
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -4904,15 +4265,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:
@@ -4920,15 +4280,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 { @@ -4939,15 +4300,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 @@ -4955,15 +4312,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 @@ -4971,14 +4324,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() { @@ -4988,15 +4338,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 @@ -5004,15 +4350,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 @@ -5020,14 +4362,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() { @@ -5037,50 +4376,33 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.State result = - com.google.cloud.workflows.executions.v1.Execution.State.valueOf(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.valueOf(state_); + return result == null ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; private volatile java.lang.Object argument_; /** - * - * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
@@ -5090,7 +4412,6 @@ public com.google.cloud.workflows.executions.v1.Execution.State getState() {
    * 
* * string argument = 5; - * * @return The argument. */ @java.lang.Override @@ -5099,15 +4420,14 @@ 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.
@@ -5117,15 +4437,16 @@ 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 { @@ -5136,15 +4457,12 @@ public com.google.protobuf.ByteString getArgumentBytes() { public static final int RESULT_FIELD_NUMBER = 6; 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 @@ -5153,30 +4471,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 { @@ -5187,18 +4505,13 @@ public com.google.protobuf.ByteString getResultBytes() { 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 @@ -5206,38 +4519,27 @@ 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() { @@ -5247,14 +4549,11 @@ public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErro public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; 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 @@ -5263,29 +4562,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 { @@ -5296,43 +4595,31 @@ public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { public static final int CALL_LOG_LEVEL_FIELD_NUMBER = 9; private int callLogLevel_; /** - * - * *
    * 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.valueOf(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.valueOf(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; @@ -5344,7 +4631,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -5354,8 +4642,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.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_)) { @@ -5370,10 +4657,7 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io 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_); } unknownFields.writeTo(output); @@ -5389,14 +4673,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.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_); @@ -5405,16 +4691,15 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -5424,31 +4709,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.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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -5491,103 +4782,96 @@ 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).
@@ -5595,23 +4879,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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;
     }
 
     @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()
@@ -5619,15 +4901,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -5665,9 +4948,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
@@ -5686,8 +4969,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.Execution result = new com.google.cloud.workflows.executions.v1.Execution(this);
       result.name_ = name_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -5717,39 +4999,38 @@ public com.google.cloud.workflows.executions.v1.Execution buildPartial() {
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -5757,8 +5038,7 @@ 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_;
         onChanged();
@@ -5809,8 +5089,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.Execution) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.Execution) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -5822,8 +5101,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The resource name of the execution.
      * Format:
@@ -5831,13 +5108,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; @@ -5846,8 +5123,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5855,14 +5130,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 { @@ -5870,8 +5146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5879,22 +5153,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5902,18 +5174,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5921,16 +5190,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -5938,35 +5207,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -5977,14 +5235,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) { @@ -6000,16 +5255,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(); onChanged(); @@ -6020,20 +5273,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -6045,14 +5295,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() { if (startTimeBuilder_ == null) { @@ -6066,59 +5313,48 @@ 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() { - + onChanged(); 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_; @@ -6126,35 +5362,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -6165,14 +5390,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) { @@ -6188,16 +5410,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(); onChanged(); @@ -6208,20 +5428,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -6233,14 +5450,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() { if (endTimeBuilder_ == null) { @@ -6254,59 +5468,48 @@ 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() { - + 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]; - * + * .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_; @@ -6314,75 +5517,51 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { 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. */ public Builder setStateValue(int value) { - + state_ = value; 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]; - * - * + * .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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.State result = - com.google.cloud.workflows.executions.v1.Execution.State.valueOf(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.valueOf(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. */ @@ -6390,26 +5569,21 @@ public Builder setState(com.google.cloud.workflows.executions.v1.Execution.State if (value == null) { throw new NullPointerException(); } - + 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]; - * - * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -6417,8 +5591,6 @@ public Builder clearState() { private java.lang.Object argument_ = ""; /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6428,13 +5600,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; @@ -6443,8 +5615,6 @@ public java.lang.String getArgument() { } } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6454,14 +5624,15 @@ 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 { @@ -6469,8 +5640,6 @@ public com.google.protobuf.ByteString getArgumentBytes() { } } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6480,22 +5649,20 @@ public com.google.protobuf.ByteString getArgumentBytes() {
      * 
* * string argument = 5; - * * @param value The argument to set. * @return This builder for chaining. */ - public Builder setArgument(java.lang.String value) { + public Builder setArgument( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + argument_ = value; onChanged(); return this; } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6505,18 +5672,15 @@ public Builder setArgument(java.lang.String value) {
      * 
* * string argument = 5; - * * @return This builder for chaining. */ public Builder clearArgument() { - + argument_ = getDefaultInstance().getArgument(); onChanged(); return this; } /** - * - * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -6526,16 +5690,16 @@ 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) { + public Builder setArgumentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + argument_ = value; onChanged(); return this; @@ -6543,21 +5707,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; @@ -6566,22 +5728,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 { @@ -6589,64 +5750,57 @@ 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) { + public Builder setResult( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + result_ = value; 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(); 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) { + public Builder setResultBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + result_ = value; onChanged(); return this; @@ -6654,64 +5808,45 @@ public Builder setResultBytes(com.google.protobuf.ByteString value) { 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 errorBuilder_ != null || 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. */ 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) { @@ -6727,17 +5862,13 @@ 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) { @@ -6751,25 +5882,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.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 (error_ != null) { error_ = - com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder(error_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -6781,17 +5906,13 @@ 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() { if (errorBuilder_ == null) { @@ -6805,70 +5926,54 @@ 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() { - + 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]; - * + * .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_; @@ -6876,20 +5981,18 @@ 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; @@ -6898,21 +6001,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 { @@ -6920,61 +6022,54 @@ 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) { + public Builder setWorkflowRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workflowRevisionId_ = value; 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(); 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) { + public Builder setWorkflowRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; onChanged(); return this; @@ -6982,100 +6077,80 @@ public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) 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. */ public Builder setCallLogLevelValue(int value) { - + callLogLevel_ = value; 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.valueOf(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.valueOf(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(); } - + 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() { - + callLogLevel_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -7085,12 +6160,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(); } @@ -7099,16 +6174,16 @@ 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 { - return new Execution(input, extensionRegistry); - } - }; + 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 { + return new Execution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -7123,4 +6198,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.Execution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java similarity index 100% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java similarity index 74% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java index 15a0f193..b9041052 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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:
@@ -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,119 +26,85 @@ 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.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.
@@ -169,13 +114,10 @@ public interface ExecutionOrBuilder
    * 
* * 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.
@@ -185,131 +127,101 @@ public interface ExecutionOrBuilder
    * 
* * 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(); diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java similarity index 67% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java index a85f1bd6..573c7a5a 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,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.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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java new file mode 100644 index 00000000..ecc80ce6 --- /dev/null +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java @@ -0,0 +1,253 @@ +// 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\"\237\t\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340A\003\0223\n\nst" + + "art_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022I\n\005state\030\004 \001(\01625.goog" + + "le.cloud.workflows.executions.v1.Executi" + + "on.StateB\003\340A\003\022\020\n\010argument\030\005 \001(\t\022\023\n\006resul" + + "t\030\006 \001(\tB\003\340A\003\022I\n\005error\030\007 \001(\01325.google.clo" + + "ud.workflows.executions.v1.Execution.Err" + + "orB\003\340A\003\022!\n\024workflow_revision_id\030\010 \001(\tB\003\340" + + "A\003\022T\n\016call_log_level\030\t \001(\0162<.google.clou" + + "d.workflows.executions.v1.Execution.Call" + + "LogLevel\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(\0132" + + "J.google.cloud.workflows.executions.v1.E" + + "xecution.StackTraceElement.Position\0328\n\010P" + + "osition\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\010elements\030" + + "\001 \003(\0132A.google.cloud.workflows.execution" + + "s.v1.Execution.StackTraceElement\032z\n\005Erro" + + "r\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\022O\n\013s" + + "tack_trace\030\003 \001(\0132:.google.cloud.workflow" + + "s.executions.v1.Execution.StackTrace\"T\n\005" + + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" + + "\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED" + + "\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LEVEL_UNS" + + "PECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017LOG_ERR" + + "ORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecutions.go" + + "ogleapis.com/Execution\022Sprojects/{projec" + + "t}/locations/{location}/workflows/{workf" + + "low}/executions/{execution}\"\301\001\n\025ListExec" + + "utionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!w" + + "orkflows.googleapis.com/Workflow\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view\030" + + "\004 \001(\01623.google.cloud.workflows.execution" + + "s.v1.ExecutionViewB\003\340A\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\"\234\001\n\026CreateExecut" + + "ionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!work" + + "flows.googleapis.com/Workflow\022G\n\texecuti" + + "on\030\002 \001(\0132/.google.cloud.workflows.execut" + + "ions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecutionR" + + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowex" + + "ecutions.googleapis.com/Execution\022F\n\004vie" + + "w\030\002 \001(\01623.google.cloud.workflows.executi" + + "ons.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExecu" + + "tionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workf" + + "lowexecutions.googleapis.com/Execution*D" + + "\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPEC" + + "IFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecuti" + + "ons\022\330\001\n\016ListExecutions\022;.google.cloud.wo" + + "rkflows.executions.v1.ListExecutionsRequ" + + "est\032<.google.cloud.workflows.executions." + + "v1.ListExecutionsResponse\"K\202\323\344\223\002<\022:/v1/{" + + "parent=projects/*/locations/*/workflows/" + + "*}/executions\332A\006parent\022\342\001\n\017CreateExecuti" + + "on\022<.google.cloud.workflows.executions.v" + + "1.CreateExecutionRequest\032/.google.cloud." + + "workflows.executions.v1.Execution\"`\202\323\344\223\002" + + "G\":/v1/{parent=projects/*/locations/*/wo" + + "rkflows/*}/executions:\texecution\332A\020paren" + + "t,execution\022\305\001\n\014GetExecution\0229.google.cl" + + "oud.workflows.executions.v1.GetExecution" + + "Request\032/.google.cloud.workflows.executi" + + "ons.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=proj" + + "ects/*/locations/*/workflows/*/execution" + + "s/*}\332A\004name\022\325\001\n\017CancelExecution\022<.google" + + ".cloud.workflows.executions.v1.CancelExe" + + "cutionRequest\032/.google.cloud.workflows.e" + + "xecutions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{nam" + + "e=projects/*/locations/*/workflows/*/exe" + + "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" + + "executions.googleapis.com\322A.https://www." + + "googleapis.com/auth/cloud-platformB\361\001\n(c" + + "om.google.cloud.workflows.executions.v1B" + + "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" + + "nproto/googleapis/cloud/workflows/execut" + + "ions/v1;executions\352Aa\n!workflows.googlea" + + "pis.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,15 +28,16 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,27 +56,25 @@ private GetExecutionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,43 +82,36 @@ private GetExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -146,33 +120,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 { @@ -183,49 +155,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int 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.
    * 
* - * - * .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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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; @@ -237,13 +193,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_); } unknownFields.writeTo(output); @@ -258,10 +213,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -271,15 +225,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -302,104 +256,96 @@ 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]
@@ -408,23 +354,21 @@ 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()
@@ -432,15 +376,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -452,14 +397,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();
     }
 
@@ -474,8 +418,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.GetExecutionRequest result = new com.google.cloud.workflows.executions.v1.GetExecutionRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -486,39 +429,38 @@ public com.google.cloud.workflows.executions.v1.GetExecutionRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
-
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -526,9 +468,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_;
         onChanged();
@@ -555,8 +495,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.GetExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.GetExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -568,24 +507,20 @@ public Builder mergeFrom(
 
     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; @@ -594,25 +529,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 { @@ -620,73 +552,60 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -694,79 +613,55 @@ 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.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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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. */ @@ -774,34 +669,29 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -811,13 +701,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(); } @@ -826,16 +715,16 @@ 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 { - return new GetExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,4 +739,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.GetExecutionRequest getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java index 23c574a0..bdcb228c 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java @@ -1,88 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java similarity index 68% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java index ef40afe4..d92d512c 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** - * - * *
  * Request for the
  * [ListExecutions][]
@@ -29,16 +12,15 @@
  *
  * 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_ = "";
@@ -47,15 +29,16 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListExecutionsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,39 +57,36 @@ private ListExecutionsRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 16:
-            {
-              pageSize_ = input.readInt32();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parent_ = s;
+            break;
+          }
+          case 16: {
 
-              pageToken_ = s;
-              break;
-            }
-          case 32:
-            {
-              int rawValue = input.readEnum();
+            pageSize_ = input.readInt32();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              view_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pageToken_ = s;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            view_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,42 +94,35 @@ private ListExecutionsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -158,32 +131,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 { @@ -194,8 +165,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -205,7 +174,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -216,8 +184,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -226,7 +192,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -235,15 +200,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.
@@ -252,15 +216,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 { @@ -271,49 +236,33 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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; @@ -325,7 +274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,9 +285,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.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED - .getNumber()) { + if (view_ != com.google.cloud.workflows.executions.v1.ExecutionView.EXECUTION_VIEW_UNSPECIFIED.getNumber()) { output.writeEnum(4, view_); } unknownFields.writeTo(output); @@ -353,15 +301,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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -371,17 +319,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -408,104 +358,96 @@ 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][]
@@ -514,23 +456,21 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build
    *
    * 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()
@@ -538,15 +478,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -562,14 +503,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_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();
     }
 
@@ -584,8 +524,7 @@ 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);
+      com.google.cloud.workflows.executions.v1.ListExecutionsRequest result = new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -598,39 +537,38 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsRequest buildParti
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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;
@@ -638,9 +576,7 @@ 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_;
         onChanged();
@@ -674,9 +610,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.ListExecutionsRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.ListExecutionsRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -688,23 +622,19 @@ public Builder mergeFrom(
 
     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; @@ -713,24 +643,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 { @@ -738,79 +665,64 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -820,7 +732,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -828,8 +739,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
@@ -839,19 +748,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -861,11 +767,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -873,8 +778,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.
@@ -883,13 +786,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; @@ -898,8 +801,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -908,14 +809,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 { @@ -923,8 +825,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -933,22 +833,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -957,18 +855,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -977,16 +872,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -994,79 +889,55 @@ 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.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. */ public Builder setViewValue(int value) { - + view_ = value; 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]; - * - * + * .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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = - com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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. */ @@ -1074,34 +945,29 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va if (value == null) { throw new NullPointerException(); } - + 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]; - * - * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1111,32 +977,30 @@ 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 { - return new ListExecutionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1148,8 +1012,9 @@ 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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java index bfc5dc1a..846e2292 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 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.
@@ -82,13 +52,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.
@@ -97,38 +64,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.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(); diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java similarity index 73% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java index 1054df8d..187cc9ae 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,15 +28,16 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListExecutionsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,33 +57,28 @@ private ListExecutionsResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                executions_ =
-                    new java.util.ArrayList();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              executions_.add(
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1.Execution.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              executions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            executions_.add(
+                input.readMessage(com.google.cloud.workflows.executions.v1.Execution.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -108,7 +86,8 @@ private ListExecutionsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -117,27 +96,22 @@ private ListExecutionsResponse(
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private java.util.List executions_;
   /**
-   *
-   *
    * 
    * The executions which match the request.
    * 
@@ -149,8 +123,6 @@ public java.util.List getExe return executions_; } /** - * - * *
    * The executions which match the request.
    * 
@@ -158,13 +130,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.
    * 
@@ -176,8 +146,6 @@ public int getExecutionsCount() { return executions_.size(); } /** - * - * *
    * The executions which match the request.
    * 
@@ -189,8 +157,6 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde return executions_.get(index); } /** - * - * *
    * The executions which match the request.
    * 
@@ -206,15 +172,12 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -223,30 +186,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 { @@ -255,7 +218,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -284,7 +247,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_); @@ -297,16 +261,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -330,104 +295,96 @@ 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]
@@ -436,23 +393,21 @@ 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()
@@ -460,17 +415,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getExecutionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -486,14 +441,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();
     }
 
@@ -508,8 +462,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -529,50 +482,46 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsResponse buildPart
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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()) {
@@ -591,10 +540,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_);
           }
@@ -623,9 +571,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1.ListExecutionsResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1.ListExecutionsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -634,30 +580,21 @@ public Builder mergeFrom(
       }
       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.
      * 
@@ -672,8 +609,6 @@ public java.util.List getExe } } /** - * - * *
      * The executions which match the request.
      * 
@@ -688,8 +623,6 @@ public int getExecutionsCount() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -704,8 +637,6 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde } } /** - * - * *
      * The executions which match the request.
      * 
@@ -727,8 +658,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -747,8 +676,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -769,8 +696,6 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1.Execution return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -792,8 +717,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -812,8 +735,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -832,8 +753,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -844,7 +763,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); @@ -852,8 +772,6 @@ public Builder addAllExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -871,8 +789,6 @@ public Builder clearExecutions() { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -890,8 +806,6 @@ public Builder removeExecutions(int index) { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -903,8 +817,6 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionsB return getExecutionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The executions which match the request.
      * 
@@ -914,22 +826,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 { @@ -937,8 +846,6 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions } } /** - * - * *
      * The executions which match the request.
      * 
@@ -946,12 +853,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.
      * 
@@ -960,36 +865,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_; @@ -997,21 +896,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; @@ -1020,22 +917,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 { @@ -1043,71 +939,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1117,32 +1006,30 @@ 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 { - return new ListExecutionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1154,8 +1041,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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java index 8283508a..af9b0b73 100644 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java +++ b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java similarity index 100% rename from proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java diff --git a/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto similarity index 100% rename from proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto rename to owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java similarity index 96% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java index 143bd219..b056d022 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java +++ b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java @@ -58,13 +58,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -99,6 +99,20 @@ * ExecutionsClient executionsClient = ExecutionsClient.create(executionsSettings); * }
* + *

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

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

Please refer to the GitHub repository's samples for more quickstart code snippets. */ @BetaApi @@ -663,10 +677,7 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListExecutionsPagedResponse extends AbstractPagedListResponse< - ListExecutionsRequest, - ListExecutionsResponse, - Execution, - ListExecutionsPage, + ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, ListExecutionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -716,10 +727,7 @@ public ApiFuture createPageAsync( public static class ListExecutionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListExecutionsRequest, - ListExecutionsResponse, - Execution, - ListExecutionsPage, + ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, ListExecutionsFixedSizeCollection> { private ListExecutionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java similarity index 88% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java index 0db5f1a1..29ac6334 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java +++ b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java @@ -23,10 +23,12 @@ import com.google.api.gax.core.GoogleCredentialsProvider; import com.google.api.gax.core.InstantiatingExecutorProvider; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.rpc.ApiClientHeaderProvider; import com.google.api.gax.rpc.ClientContext; import com.google.api.gax.rpc.ClientSettings; import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.StubSettings; import com.google.api.gax.rpc.TransportChannelProvider; import com.google.api.gax.rpc.UnaryCallSettings; import com.google.cloud.workflows.executions.v1beta.stub.ExecutionsStubSettings; @@ -41,10 +43,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -118,11 +120,18 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde return ExecutionsStubSettings.defaultCredentialsProviderBuilder(); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return ExecutionsStubSettings.defaultGrpcTransportProviderBuilder(); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return ExecutionsStubSettings.defaultHttpJsonTransportProviderBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return ExecutionsStubSettings.defaultTransportChannelProvider(); } @@ -132,11 +141,17 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil return ExecutionsStubSettings.defaultApiClientHeaderProviderBuilder(); } - /** Returns a new builder for this class. */ + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + @BetaApi + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -174,6 +189,11 @@ private static Builder createDefault() { return new Builder(ExecutionsStubSettings.newBuilder()); } + @BetaApi + private static Builder createHttpJsonDefault() { + return new Builder(ExecutionsStubSettings.newHttpJsonBuilder()); + } + public ExecutionsStubSettings.Builder getStubSettingsBuilder() { return ((ExecutionsStubSettings.Builder) getStubSettings()); } diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java similarity index 87% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java index 3de73813..c69fb7f8 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java +++ b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java @@ -27,6 +27,9 @@ import com.google.api.gax.grpc.GaxGrpcProperties; import com.google.api.gax.grpc.GrpcTransportChannel; import com.google.api.gax.grpc.InstantiatingGrpcChannelProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.HttpJsonTransportChannel; +import com.google.api.gax.httpjson.InstantiatingHttpJsonChannelProvider; import com.google.api.gax.retrying.RetrySettings; import com.google.api.gax.rpc.ApiCallContext; import com.google.api.gax.rpc.ApiClientHeaderProvider; @@ -61,10 +64,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When @@ -184,6 +187,11 @@ public ExecutionsStub createStub() throws IOException { .equals(GrpcTransportChannel.getGrpcTransportName())) { return GrpcExecutionsStub.create(this); } + if (getTransportChannelProvider() + .getTransportName() + .equals(HttpJsonTransportChannel.getHttpJsonTransportName())) { + return HttpJsonExecutionsStub.create(this); + } throw new UnsupportedOperationException( String.format( "Transport not supported: %s", getTransportChannelProvider().getTransportName())); @@ -216,18 +224,25 @@ public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilde .setUseJwtAccessWithScope(true); } - /** Returns a builder for the default ChannelProvider for this service. */ + /** Returns a builder for the default gRPC ChannelProvider for this service. */ public static InstantiatingGrpcChannelProvider.Builder defaultGrpcTransportProviderBuilder() { return InstantiatingGrpcChannelProvider.newBuilder() .setMaxInboundMessageSize(Integer.MAX_VALUE); } + /** Returns a builder for the default REST ChannelProvider for this service. */ + @BetaApi + public static InstantiatingHttpJsonChannelProvider.Builder + defaultHttpJsonTransportProviderBuilder() { + return InstantiatingHttpJsonChannelProvider.newBuilder(); + } + public static TransportChannelProvider defaultTransportChannelProvider() { return defaultGrpcTransportProviderBuilder().build(); } @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") - public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + public static ApiClientHeaderProvider.Builder defaultGrpcApiClientHeaderProviderBuilder() { return ApiClientHeaderProvider.newBuilder() .setGeneratedLibToken( "gapic", GaxProperties.getLibraryVersion(ExecutionsStubSettings.class)) @@ -235,11 +250,30 @@ public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuil GaxGrpcProperties.getGrpcTokenName(), GaxGrpcProperties.getGrpcVersion()); } - /** Returns a new builder for this class. */ + @BetaApi("The surface for customizing headers is not stable yet and may change in the future.") + public static ApiClientHeaderProvider.Builder defaultHttpJsonApiClientHeaderProviderBuilder() { + return ApiClientHeaderProvider.newBuilder() + .setGeneratedLibToken( + "gapic", GaxProperties.getLibraryVersion(ExecutionsStubSettings.class)) + .setTransportToken( + GaxHttpJsonProperties.getHttpJsonTokenName(), + GaxHttpJsonProperties.getHttpJsonVersion()); + } + + public static ApiClientHeaderProvider.Builder defaultApiClientHeaderProviderBuilder() { + return ExecutionsStubSettings.defaultGrpcApiClientHeaderProviderBuilder(); + } + + /** Returns a new gRPC builder for this class. */ public static Builder newBuilder() { return Builder.createDefault(); } + /** Returns a new REST builder for this class. */ + public static Builder newHttpJsonBuilder() { + return Builder.createHttpJsonDefault(); + } + /** Returns a new builder for this class. */ public static Builder newBuilder(ClientContext clientContext) { return new Builder(clientContext); @@ -340,6 +374,19 @@ private static Builder createDefault() { return initDefaults(builder); } + private static Builder createHttpJsonDefault() { + Builder builder = new Builder(((ClientContext) null)); + + builder.setTransportChannelProvider(defaultHttpJsonTransportProviderBuilder().build()); + builder.setCredentialsProvider(defaultCredentialsProviderBuilder().build()); + builder.setInternalHeaderProvider(defaultHttpJsonApiClientHeaderProviderBuilder().build()); + builder.setEndpoint(getDefaultEndpoint()); + builder.setMtlsEndpoint(getDefaultMtlsEndpoint()); + builder.setSwitchToMtlsEndpointAllowed(true); + + return initDefaults(builder); + } + private static Builder initDefaults(Builder builder) { builder .listExecutionsSettings() diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java diff --git a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java similarity index 99% rename from google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java index 7954ed6e..672084c9 100644 --- a/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java +++ b/owl-bot-staging/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/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java new file mode 100644 index 00000000..4d0f9b53 --- /dev/null +++ b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java @@ -0,0 +1,105 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.workflows.executions.v1beta.stub; + +import com.google.api.core.BetaApi; +import com.google.api.gax.httpjson.HttpJsonCallSettings; +import com.google.api.gax.httpjson.HttpJsonCallableFactory; +import com.google.api.gax.httpjson.HttpJsonOperationSnapshotCallable; +import com.google.api.gax.httpjson.HttpJsonStubCallableFactory; +import com.google.api.gax.httpjson.longrunning.stub.OperationsStub; +import com.google.api.gax.rpc.BatchingCallSettings; +import com.google.api.gax.rpc.ClientContext; +import com.google.api.gax.rpc.OperationCallSettings; +import com.google.api.gax.rpc.OperationCallable; +import com.google.api.gax.rpc.PagedCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallSettings; +import com.google.api.gax.rpc.ServerStreamingCallable; +import com.google.api.gax.rpc.UnaryCallSettings; +import com.google.api.gax.rpc.UnaryCallable; +import com.google.longrunning.Operation; +import javax.annotation.Generated; + +// AUTO-GENERATED DOCUMENTATION AND CLASS. +/** + * REST callable factory implementation for the Executions service API. + * + *

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

This class is for advanced usage and reflects the underlying API directly. + */ +@BetaApi +@Generated("by gapic-generator-java") +public class HttpJsonExecutionsStub extends ExecutionsStub { + private static final TypeRegistry typeRegistry = TypeRegistry.newBuilder().build(); + + private static final ApiMethodDescriptor + listExecutionsMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.workflows.executions.v1beta.Executions/ListExecutions") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta/{parent=projects/*/locations/*/workflows/*}/executions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "pageSize", request.getPageSize()); + serializer.putQueryParam(fields, "pageToken", request.getPageToken()); + serializer.putQueryParam(fields, "view", request.getView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(ListExecutionsResponse.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + createExecutionMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.workflows.executions.v1beta.Executions/CreateExecution") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta/{parent=projects/*/locations/*/workflows/*}/executions", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "parent", request.getParent()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("execution", request.getExecution())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Execution.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + getExecutionMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName("google.cloud.workflows.executions.v1beta.Executions/GetExecution") + .setHttpMethod("GET") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta/{name=projects/*/locations/*/workflows/*/executions/*}", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putQueryParam(fields, "view", request.getView()); + return fields; + }) + .setRequestBodyExtractor(request -> null) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Execution.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private static final ApiMethodDescriptor + cancelExecutionMethodDescriptor = + ApiMethodDescriptor.newBuilder() + .setFullMethodName( + "google.cloud.workflows.executions.v1beta.Executions/CancelExecution") + .setHttpMethod("POST") + .setType(ApiMethodDescriptor.MethodType.UNARY) + .setRequestFormatter( + ProtoMessageRequestFormatter.newBuilder() + .setPath( + "/v1beta/{name=projects/*/locations/*/workflows/*/executions/*}:cancel", + request -> { + Map fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + serializer.putPathParam(fields, "name", request.getName()); + return fields; + }) + .setQueryParamsExtractor( + request -> { + Map> fields = new HashMap<>(); + ProtoRestSerializer serializer = + ProtoRestSerializer.create(); + return fields; + }) + .setRequestBodyExtractor( + request -> + ProtoRestSerializer.create() + .toBody("*", request.toBuilder().clearName().build())) + .build()) + .setResponseParser( + ProtoMessageResponseParser.newBuilder() + .setDefaultInstance(Execution.getDefaultInstance()) + .setDefaultTypeRegistry(typeRegistry) + .build()) + .build(); + + private final UnaryCallable listExecutionsCallable; + private final UnaryCallable + listExecutionsPagedCallable; + private final UnaryCallable createExecutionCallable; + private final UnaryCallable getExecutionCallable; + private final UnaryCallable cancelExecutionCallable; + + private final BackgroundResource backgroundResources; + private final HttpJsonStubCallableFactory callableFactory; + + public static final HttpJsonExecutionsStub create(ExecutionsStubSettings settings) + throws IOException { + return new HttpJsonExecutionsStub(settings, ClientContext.create(settings)); + } + + public static final HttpJsonExecutionsStub create(ClientContext clientContext) + throws IOException { + return new HttpJsonExecutionsStub( + ExecutionsStubSettings.newHttpJsonBuilder().build(), clientContext); + } + + public static final HttpJsonExecutionsStub create( + ClientContext clientContext, HttpJsonStubCallableFactory callableFactory) throws IOException { + return new HttpJsonExecutionsStub( + ExecutionsStubSettings.newHttpJsonBuilder().build(), clientContext, callableFactory); + } + + /** + * Constructs an instance of HttpJsonExecutionsStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonExecutionsStub(ExecutionsStubSettings settings, ClientContext clientContext) + throws IOException { + this(settings, clientContext, new HttpJsonExecutionsCallableFactory()); + } + + /** + * Constructs an instance of HttpJsonExecutionsStub, using the given settings. This is protected + * so that it is easy to make a subclass, but otherwise, the static factory methods should be + * preferred. + */ + protected HttpJsonExecutionsStub( + ExecutionsStubSettings settings, + ClientContext clientContext, + HttpJsonStubCallableFactory callableFactory) + throws IOException { + this.callableFactory = callableFactory; + + HttpJsonCallSettings + listExecutionsTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(listExecutionsMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings createExecutionTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(createExecutionMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings getExecutionTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(getExecutionMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + HttpJsonCallSettings cancelExecutionTransportSettings = + HttpJsonCallSettings.newBuilder() + .setMethodDescriptor(cancelExecutionMethodDescriptor) + .setTypeRegistry(typeRegistry) + .build(); + + this.listExecutionsCallable = + callableFactory.createUnaryCallable( + listExecutionsTransportSettings, settings.listExecutionsSettings(), clientContext); + this.listExecutionsPagedCallable = + callableFactory.createPagedCallable( + listExecutionsTransportSettings, settings.listExecutionsSettings(), clientContext); + this.createExecutionCallable = + callableFactory.createUnaryCallable( + createExecutionTransportSettings, settings.createExecutionSettings(), clientContext); + this.getExecutionCallable = + callableFactory.createUnaryCallable( + getExecutionTransportSettings, settings.getExecutionSettings(), clientContext); + this.cancelExecutionCallable = + callableFactory.createUnaryCallable( + cancelExecutionTransportSettings, settings.cancelExecutionSettings(), clientContext); + + this.backgroundResources = + new BackgroundResourceAggregation(clientContext.getBackgroundResources()); + } + + @InternalApi + public static List getMethodDescriptors() { + List methodDescriptors = new ArrayList<>(); + methodDescriptors.add(listExecutionsMethodDescriptor); + methodDescriptors.add(createExecutionMethodDescriptor); + methodDescriptors.add(getExecutionMethodDescriptor); + methodDescriptors.add(cancelExecutionMethodDescriptor); + return methodDescriptors; + } + + @Override + public UnaryCallable listExecutionsCallable() { + return listExecutionsCallable; + } + + @Override + public UnaryCallable + listExecutionsPagedCallable() { + return listExecutionsPagedCallable; + } + + @Override + public UnaryCallable createExecutionCallable() { + return createExecutionCallable; + } + + @Override + public UnaryCallable getExecutionCallable() { + return getExecutionCallable; + } + + @Override + public UnaryCallable cancelExecutionCallable() { + return cancelExecutionCallable; + } + + @Override + public final void close() { + try { + backgroundResources.close(); + } catch (RuntimeException e) { + throw e; + } catch (Exception e) { + throw new IllegalStateException("Failed to close resource", e); + } + } + + @Override + public void shutdown() { + backgroundResources.shutdown(); + } + + @Override + public boolean isShutdown() { + return backgroundResources.isShutdown(); + } + + @Override + public boolean isTerminated() { + return backgroundResources.isTerminated(); + } + + @Override + public void shutdownNow() { + backgroundResources.shutdownNow(); + } + + @Override + public boolean awaitTermination(long duration, TimeUnit unit) throws InterruptedException { + return backgroundResources.awaitTermination(duration, unit); + } +} diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java new file mode 100644 index 00000000..b9795412 --- /dev/null +++ b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java @@ -0,0 +1,491 @@ +/* + * Copyright 2022 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package com.google.cloud.workflows.executions.v1beta; + +import static com.google.cloud.workflows.executions.v1beta.ExecutionsClient.ListExecutionsPagedResponse; + +import com.google.api.gax.core.NoCredentialsProvider; +import com.google.api.gax.httpjson.GaxHttpJsonProperties; +import com.google.api.gax.httpjson.testing.MockHttpService; +import com.google.api.gax.rpc.ApiClientHeaderProvider; +import com.google.api.gax.rpc.ApiException; +import com.google.api.gax.rpc.ApiExceptionFactory; +import com.google.api.gax.rpc.InvalidArgumentException; +import com.google.api.gax.rpc.StatusCode; +import com.google.api.gax.rpc.testing.FakeStatusCode; +import com.google.cloud.workflows.executions.v1beta.stub.HttpJsonExecutionsStub; +import com.google.common.collect.Lists; +import com.google.protobuf.Timestamp; +import java.io.IOException; +import java.util.Arrays; +import java.util.List; +import javax.annotation.Generated; +import org.junit.After; +import org.junit.AfterClass; +import org.junit.Assert; +import org.junit.Before; +import org.junit.BeforeClass; +import org.junit.Test; + +@Generated("by gapic-generator-java") +public class ExecutionsClientHttpJsonTest { + private static MockHttpService mockService; + private static ExecutionsClient client; + + @BeforeClass + public static void startStaticServer() throws IOException { + mockService = + new MockHttpService( + HttpJsonExecutionsStub.getMethodDescriptors(), ExecutionsSettings.getDefaultEndpoint()); + ExecutionsSettings settings = + ExecutionsSettings.newHttpJsonBuilder() + .setTransportChannelProvider( + ExecutionsSettings.defaultHttpJsonTransportProviderBuilder() + .setHttpTransport(mockService) + .build()) + .setCredentialsProvider(NoCredentialsProvider.create()) + .build(); + client = ExecutionsClient.create(settings); + } + + @AfterClass + public static void stopServer() { + client.close(); + } + + @Before + public void setUp() {} + + @After + public void tearDown() throws Exception { + mockService.reset(); + } + + @Test + public void listExecutionsTest() throws Exception { + Execution responsesElement = Execution.newBuilder().build(); + ListExecutionsResponse expectedResponse = + ListExecutionsResponse.newBuilder() + .setNextPageToken("") + .addAllExecutions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); + + ListExecutionsPagedResponse pagedListResponse = client.listExecutions(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getExecutionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listExecutionsExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); + client.listExecutions(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void listExecutionsTest2() throws Exception { + Execution responsesElement = Execution.newBuilder().build(); + ListExecutionsResponse expectedResponse = + ListExecutionsResponse.newBuilder() + .setNextPageToken("") + .addAllExecutions(Arrays.asList(responsesElement)) + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9319/locations/location-9319/workflows/workflow-9319"; + + ListExecutionsPagedResponse pagedListResponse = client.listExecutions(parent); + + List resources = Lists.newArrayList(pagedListResponse.iterateAll()); + + Assert.assertEquals(1, resources.size()); + Assert.assertEquals(expectedResponse.getExecutionsList().get(0), resources.get(0)); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void listExecutionsExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9319/locations/location-9319/workflows/workflow-9319"; + client.listExecutions(parent); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createExecutionTest() throws Exception { + Execution expectedResponse = + Execution.newBuilder() + .setName( + ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setArgument("argument-1589682499") + .setResult("result-934426595") + .setError(Execution.Error.newBuilder().build()) + .setWorkflowRevisionId("workflowRevisionId-1575712907") + .build(); + mockService.addResponse(expectedResponse); + + WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); + Execution execution = Execution.newBuilder().build(); + + Execution actualResponse = client.createExecution(parent, execution); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createExecutionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + WorkflowName parent = WorkflowName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]"); + Execution execution = Execution.newBuilder().build(); + client.createExecution(parent, execution); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void createExecutionTest2() throws Exception { + Execution expectedResponse = + Execution.newBuilder() + .setName( + ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setArgument("argument-1589682499") + .setResult("result-934426595") + .setError(Execution.Error.newBuilder().build()) + .setWorkflowRevisionId("workflowRevisionId-1575712907") + .build(); + mockService.addResponse(expectedResponse); + + String parent = "projects/project-9319/locations/location-9319/workflows/workflow-9319"; + Execution execution = Execution.newBuilder().build(); + + Execution actualResponse = client.createExecution(parent, execution); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void createExecutionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String parent = "projects/project-9319/locations/location-9319/workflows/workflow-9319"; + Execution execution = Execution.newBuilder().build(); + client.createExecution(parent, execution); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getExecutionTest() throws Exception { + Execution expectedResponse = + Execution.newBuilder() + .setName( + ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setArgument("argument-1589682499") + .setResult("result-934426595") + .setError(Execution.Error.newBuilder().build()) + .setWorkflowRevisionId("workflowRevisionId-1575712907") + .build(); + mockService.addResponse(expectedResponse); + + ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]"); + + Execution actualResponse = client.getExecution(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getExecutionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]"); + client.getExecution(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void getExecutionTest2() throws Exception { + Execution expectedResponse = + Execution.newBuilder() + .setName( + ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setArgument("argument-1589682499") + .setResult("result-934426595") + .setError(Execution.Error.newBuilder().build()) + .setWorkflowRevisionId("workflowRevisionId-1575712907") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-7317/locations/location-7317/workflows/workflow-7317/executions/execution-7317"; + + Execution actualResponse = client.getExecution(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void getExecutionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-7317/locations/location-7317/workflows/workflow-7317/executions/execution-7317"; + client.getExecution(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void cancelExecutionTest() throws Exception { + Execution expectedResponse = + Execution.newBuilder() + .setName( + ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setArgument("argument-1589682499") + .setResult("result-934426595") + .setError(Execution.Error.newBuilder().build()) + .setWorkflowRevisionId("workflowRevisionId-1575712907") + .build(); + mockService.addResponse(expectedResponse); + + ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]"); + + Execution actualResponse = client.cancelExecution(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void cancelExecutionExceptionTest() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + ExecutionName name = ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]"); + client.cancelExecution(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } + + @Test + public void cancelExecutionTest2() throws Exception { + Execution expectedResponse = + Execution.newBuilder() + .setName( + ExecutionName.of("[PROJECT]", "[LOCATION]", "[WORKFLOW]", "[EXECUTION]").toString()) + .setStartTime(Timestamp.newBuilder().build()) + .setEndTime(Timestamp.newBuilder().build()) + .setArgument("argument-1589682499") + .setResult("result-934426595") + .setError(Execution.Error.newBuilder().build()) + .setWorkflowRevisionId("workflowRevisionId-1575712907") + .build(); + mockService.addResponse(expectedResponse); + + String name = + "projects/project-7317/locations/location-7317/workflows/workflow-7317/executions/execution-7317"; + + Execution actualResponse = client.cancelExecution(name); + Assert.assertEquals(expectedResponse, actualResponse); + + List actualRequests = mockService.getRequestPaths(); + Assert.assertEquals(1, actualRequests.size()); + + String apiClientHeaderKey = + mockService + .getRequestHeaders() + .get(ApiClientHeaderProvider.getDefaultApiClientHeaderKey()) + .iterator() + .next(); + Assert.assertTrue( + GaxHttpJsonProperties.getDefaultApiClientHeaderPattern() + .matcher(apiClientHeaderKey) + .matches()); + } + + @Test + public void cancelExecutionExceptionTest2() throws Exception { + ApiException exception = + ApiExceptionFactory.createException( + new Exception(), FakeStatusCode.of(StatusCode.Code.INVALID_ARGUMENT), false); + mockService.addException(exception); + + try { + String name = + "projects/project-7317/locations/location-7317/workflows/workflow-7317/executions/execution-7317"; + client.cancelExecution(name); + Assert.fail("No exception raised"); + } catch (InvalidArgumentException e) { + // Expected exception. + } + } +} diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java diff --git a/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java b/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java similarity index 100% rename from google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java rename to owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java diff --git a/owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java b/owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java new file mode 100644 index 00000000..9d2d0d4a --- /dev/null +++ b/owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java @@ -0,0 +1,578 @@ +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 static abstract class ExecutionsImplBase implements io.grpc.BindableService { + + /** + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); + } + + @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_CANCEL_EXECUTION))) + .build(); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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); + } + } + + /** + *
+   * 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + 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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java similarity index 63% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java index 97bf582c..f90bfc03 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** - * - * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1beta.Executions.CancelExecution]
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CancelExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,20 +55,19 @@ private CancelExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              name_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            name_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -93,43 +75,36 @@ private CancelExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -138,33 +113,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 { @@ -173,7 +146,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -185,7 +157,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } @@ -209,15 +182,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -237,105 +210,96 @@ 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]
@@ -344,40 +308,38 @@ 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()
+    // Construct using com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -387,16 +349,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
@@ -410,8 +370,7 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -421,51 +380,46 @@ public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest build
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -489,9 +443,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -503,24 +455,20 @@ public Builder mergeFrom(
 
     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; @@ -529,25 +477,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 { @@ -555,80 +500,67 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -638,32 +570,30 @@ 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 { - return new CancelExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -675,8 +605,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java new file mode 100644 index 00000000..aafcee78 --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java similarity index 62% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java index edaad805..6d41c501 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** - * - * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1beta.Executions.CreateExecution]
@@ -29,31 +12,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private CreateExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -72,37 +55,32 @@ private CreateExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
+            parent_ = s;
+            break;
+          }
+          case 18: {
+            com.google.cloud.workflows.executions.v1beta.Execution.Builder subBuilder = null;
+            if (execution_ != null) {
+              subBuilder = execution_.toBuilder();
             }
-          case 18:
-            {
-              com.google.cloud.workflows.executions.v1beta.Execution.Builder subBuilder = null;
-              if (execution_ != null) {
-                subBuilder = execution_.toBuilder();
-              }
-              execution_ =
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
-                      extensionRegistry);
-              if (subBuilder != null) {
-                subBuilder.mergeFrom(execution_);
-                execution_ = subBuilder.buildPartial();
-              }
-
-              break;
+            execution_ = input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.parser(), extensionRegistry);
+            if (subBuilder != null) {
+              subBuilder.mergeFrom(execution_);
+              execution_ = subBuilder.buildPartial();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -110,43 +88,36 @@ private CreateExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -155,33 +126,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 { @@ -192,16 +161,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 @@ -209,34 +173,23 @@ 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() { @@ -244,7 +197,6 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -256,7 +208,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -276,7 +229,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -286,18 +240,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -322,105 +277,96 @@ 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]
@@ -429,40 +375,38 @@ 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()
+    // Construct using com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -478,16 +422,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
@@ -501,8 +443,7 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest(this);
       result.parent_ = parent_;
       if (executionBuilder_ == null) {
         result.execution_ = execution_;
@@ -517,51 +458,46 @@ public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest build
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -588,9 +524,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -602,24 +536,20 @@ public Builder mergeFrom(
 
     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; @@ -628,25 +558,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 { @@ -654,73 +581,60 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -728,58 +642,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 executionBuilder_ != null || 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. */ 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) { @@ -795,15 +690,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) { @@ -817,23 +708,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 (execution_ != null) { execution_ = - com.google.cloud.workflows.executions.v1beta.Execution.newBuilder(execution_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1beta.Execution.newBuilder(execution_).mergeFrom(value).buildPartial(); } else { execution_ = value; } @@ -845,15 +730,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() { if (executionBuilder_ == null) { @@ -867,71 +748,55 @@ 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() { - + onChanged(); 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); } @@ -941,32 +806,30 @@ 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 { - return new CreateExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -978,8 +841,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java new file mode 100644 index 00000000..94408fcf --- /dev/null +++ b/owl-bot-staging/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java similarity index 71% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java index e20fba48..63ba78e8 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java @@ -1,42 +1,24 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,15 +29,16 @@ private Execution() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Execution(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Execution( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -74,96 +57,82 @@ private Execution( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; + name_ = s; + break; + } + case 18: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); } - case 18: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); - } - - break; + startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); } - case 26: - { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = - input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); - } - break; + break; + } + case 26: { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); } - case 32: - { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; + endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); } - case 42: - { - java.lang.String s = input.readStringRequireUtf8(); - argument_ = s; - break; - } - case 50: - { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 32: { + int rawValue = input.readEnum(); - result_ = s; - break; - } - case 58: - { - com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder subBuilder = - null; - if (error_ != null) { - subBuilder = error_.toBuilder(); - } - error_ = - input.readMessage( - com.google.cloud.workflows.executions.v1beta.Execution.Error.parser(), - extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); - } + state_ = rawValue; + break; + } + case 42: { + java.lang.String s = input.readStringRequireUtf8(); - break; - } - case 66: - { - java.lang.String s = input.readStringRequireUtf8(); + argument_ = s; + break; + } + case 50: { + java.lang.String s = input.readStringRequireUtf8(); - workflowRevisionId_ = s; - break; + result_ = s; + break; + } + case 58: { + com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder subBuilder = null; + if (error_ != null) { + subBuilder = error_.toBuilder(); } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + error_ = input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.Error.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); } + + break; + } + case 66: { + java.lang.String s = input.readStringRequireUtf8(); + + workflowRevisionId_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -171,31 +140,27 @@ private Execution( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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.
@@ -203,10 +168,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.
      * 
@@ -215,8 +179,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The execution is in progress.
      * 
@@ -225,8 +187,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
      * The execution finished successfully.
      * 
@@ -235,8 +195,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(2), /** - * - * *
      * The execution failed with an error.
      * 
@@ -245,8 +203,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -258,8 +214,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid state.
      * 
@@ -268,8 +222,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The execution is in progress.
      * 
@@ -278,8 +230,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The execution finished successfully.
      * 
@@ -288,8 +238,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 2; /** - * - * *
      * The execution failed with an error.
      * 
@@ -298,8 +246,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -308,6 +254,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( @@ -332,55 +279,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; @@ -397,80 +340,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_ = ""; @@ -478,15 +407,16 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -505,27 +435,25 @@ private Error( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - payload_ = s; - break; - } - case 18: - { - java.lang.String s = input.readStringRequireUtf8(); + payload_ = s; + break; + } + case 18: { + java.lang.String s = input.readStringRequireUtf8(); - context_ = s; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + context_ = s; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -533,39 +461,34 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -574,29 +497,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 { @@ -607,14 +530,11 @@ public com.google.protobuf.ByteString getPayloadBytes() { public static final int CONTEXT_FIELD_NUMBER = 2; private volatile java.lang.Object context_; /** - * - * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; - * * @return The context. */ @java.lang.Override @@ -623,29 +543,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 { @@ -654,7 +574,6 @@ public com.google.protobuf.ByteString getContextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -666,7 +585,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -696,16 +616,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -727,94 +648,87 @@ 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 @@ -824,32 +738,27 @@ 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() @@ -857,15 +766,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -877,14 +787,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(); } @@ -899,8 +808,7 @@ 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); + com.google.cloud.workflows.executions.v1beta.Execution.Error result = new com.google.cloud.workflows.executions.v1beta.Execution.Error(this); result.payload_ = payload_; result.context_ = context_; onBuilt(); @@ -911,41 +819,38 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Error buildPartial public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.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; @@ -953,9 +858,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_; onChanged(); @@ -983,9 +886,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1beta.Execution.Error) - e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1beta.Execution.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -997,20 +898,18 @@ public Builder mergeFrom( 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; @@ -1019,21 +918,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 { @@ -1041,61 +939,54 @@ 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) { + public Builder setPayload( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; 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() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); 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) { + public Builder setPayloadBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + payload_ = value; onChanged(); return this; @@ -1103,20 +994,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; @@ -1125,21 +1014,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 { @@ -1147,66 +1035,58 @@ 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) { + public Builder setContext( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + context_ = value; onChanged(); return this; } /** - * - * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; - * * @return This builder for chaining. */ public Builder clearContext() { - + context_ = getDefaultInstance().getContext(); onChanged(); 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) { + public Builder setContextBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + context_ = value; onChanged(); return this; } - @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1219,32 +1099,30 @@ 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 { - return new Error(input, extensionRegistry); - } - }; + 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 { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1256,17 +1134,15 @@ 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; private volatile java.lang.Object name_; /** - * - * *
    * Output only. The resource name of the execution.
    * Format:
@@ -1274,7 +1150,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -1283,15 +1158,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:
@@ -1299,15 +1173,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 { @@ -1318,15 +1193,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 @@ -1334,15 +1205,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 @@ -1350,14 +1217,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() { @@ -1367,15 +1231,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 @@ -1383,15 +1243,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 @@ -1399,14 +1255,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() { @@ -1416,57 +1269,39 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1beta.Execution.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.Execution.State result = - com.google.cloud.workflows.executions.v1beta.Execution.State.valueOf(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.valueOf(state_); + return result == null ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; 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 @@ -1475,30 +1310,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 { @@ -1509,15 +1344,12 @@ public com.google.protobuf.ByteString getArgumentBytes() { public static final int RESULT_FIELD_NUMBER = 6; 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 @@ -1526,30 +1358,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 { @@ -1560,18 +1392,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 @@ -1579,38 +1406,27 @@ 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() { @@ -1620,14 +1436,11 @@ public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder get public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; 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 @@ -1636,29 +1449,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 { @@ -1667,7 +1480,6 @@ public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1679,7 +1491,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1689,9 +1502,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_)) { @@ -1719,15 +1530,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_); @@ -1736,7 +1548,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_); @@ -1749,31 +1562,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1813,127 +1632,117 @@ 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() @@ -1941,15 +1750,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1985,9 +1795,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 @@ -2006,8 +1816,7 @@ 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); + com.google.cloud.workflows.executions.v1beta.Execution result = new com.google.cloud.workflows.executions.v1beta.Execution(this); result.name_ = name_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; @@ -2036,39 +1845,38 @@ public com.google.cloud.workflows.executions.v1beta.Execution buildPartial() { public Builder clone() { return super.clone(); } - @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.setField(field, value); } - @java.lang.Override - public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField( + com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } - @java.lang.Override - public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof( + com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } - @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } - @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, + java.lang.Object value) { return super.addRepeatedField(field, value); } - @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -2076,8 +1884,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_; onChanged(); @@ -2125,8 +1932,7 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = - (com.google.cloud.workflows.executions.v1beta.Execution) e.getUnfinishedMessage(); + parsedMessage = (com.google.cloud.workflows.executions.v1beta.Execution) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2138,8 +1944,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2147,13 +1951,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; @@ -2162,8 +1966,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2171,14 +1973,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 { @@ -2186,8 +1989,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2195,22 +1996,20 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2218,18 +2017,15 @@ public Builder setName(java.lang.String value) {
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2237,16 +2033,16 @@ 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) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2254,35 +2050,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2293,14 +2078,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) { @@ -2316,16 +2098,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(); onChanged(); @@ -2336,20 +2116,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2361,14 +2138,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() { if (startTimeBuilder_ == null) { @@ -2382,59 +2156,48 @@ 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() { - + onChanged(); 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_; @@ -2442,35 +2205,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2481,14 +2233,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) { @@ -2504,16 +2253,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(); onChanged(); @@ -2524,20 +2271,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -2549,14 +2293,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() { if (endTimeBuilder_ == null) { @@ -2570,59 +2311,48 @@ 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() { - + 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]; - * + * .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_; @@ -2630,75 +2360,51 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.Execution.State result = - com.google.cloud.workflows.executions.v1beta.Execution.State.valueOf(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.valueOf(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. */ @@ -2706,26 +2412,21 @@ public Builder setState(com.google.cloud.workflows.executions.v1beta.Execution.S if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2733,21 +2434,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; @@ -2756,22 +2455,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 { @@ -2779,64 +2477,57 @@ 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) { + public Builder setArgument( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + argument_ = value; 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() { - + argument_ = getDefaultInstance().getArgument(); onChanged(); 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) { + public Builder setArgumentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + argument_ = value; onChanged(); return this; @@ -2844,21 +2535,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; @@ -2867,22 +2556,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 { @@ -2890,64 +2578,57 @@ 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) { + public Builder setResult( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + result_ = value; 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(); 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) { + public Builder setResultBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + result_ = value; onChanged(); return this; @@ -2955,64 +2636,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 errorBuilder_ != null || 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. */ 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) { @@ -3028,17 +2690,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) { @@ -3052,25 +2710,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 (error_ != null) { error_ = - com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder(error_) - .mergeFrom(value) - .buildPartial(); + com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder(error_).mergeFrom(value).buildPartial(); } else { error_ = value; } @@ -3082,17 +2734,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() { if (errorBuilder_ == null) { @@ -3106,71 +2754,54 @@ 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() { - + 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.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_; @@ -3178,20 +2809,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; @@ -3200,21 +2829,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 { @@ -3222,68 +2850,61 @@ 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) { + public Builder setWorkflowRevisionId( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workflowRevisionId_ = value; 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(); 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) { + public Builder setWorkflowRevisionIdBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3293,12 +2914,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(); } @@ -3307,16 +2928,16 @@ 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 { - return new Execution(input, extensionRegistry); - } - }; + 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 { + return new Execution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3331,4 +2952,6 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1beta.Execution getDefaultInstanceForType() { return DEFAULT_INSTANCE; } + } + diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java similarity index 100% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java similarity index 71% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java index e936b9a7..cbf20e31 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java @@ -1,31 +1,13 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java similarity index 67% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java index 74af5f69..a6434738 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java @@ -1,36 +1,18 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java new file mode 100644 index 00000000..06de9176 --- /dev/null +++ b/owl-bot-staging/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\"\370\004\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340" + + "A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022M\n\005state\030\004 \001(" + + "\01629.google.cloud.workflows.executions.v1" + + "beta.Execution.StateB\003\340A\003\022\020\n\010argument\030\005 " + + "\001(\t\022\023\n\006result\030\006 \001(\tB\003\340A\003\022M\n\005error\030\007 \001(\0132" + + "9.google.cloud.workflows.executions.v1be" + + "ta.Execution.ErrorB\003\340A\003\022!\n\024workflow_revi" + + "sion_id\030\010 \001(\tB\003\340A\003\032)\n\005Error\022\017\n\007payload\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\tSUCCEEDED\020\002" + + "\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202\001\n+work" + + "flowexecutions.googleapis.com/Execution\022" + + "Sprojects/{project}/locations/{location}" + + "/workflows/{workflow}/executions/{execut" + + "ion}\"\305\001\n\025ListExecutionsRequest\0229\n\006parent" + + "\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapis.com" + + "/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\022J\n\004view\030\004 \001(\01627.google.cloud.wo" + + "rkflows.executions.v1beta.ExecutionViewB" + + "\003\340A\001\"z\n\026ListExecutionsResponse\022G\n\nexecut" + + "ions\030\001 \003(\01323.google.cloud.workflows.exec" + + "utions.v1beta.Execution\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\240\001\n\026CreateExecutionRequest\0229\n\006p" + + "arent\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapi" + + "s.com/Workflow\022K\n\texecution\030\002 \001(\01323.goog" + + "le.cloud.workflows.executions.v1beta.Exe" + + "cutionB\003\340A\002\"\244\001\n\023GetExecutionRequest\022A\n\004n" + + "ame\030\001 \001(\tB3\340A\002\372A-\n+workflowexecutions.go" + + "ogleapis.com/Execution\022J\n\004view\030\002 \001(\01627.g" + + "oogle.cloud.workflows.executions.v1beta." + + "ExecutionViewB\003\340A\001\"[\n\026CancelExecutionReq" + + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowexec" + + "utions.googleapis.com/Execution*D\n\rExecu" + + "tionView\022\036\n\032EXECUTION_VIEW_UNSPECIFIED\020\000" + + "\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\nExecutions\022\344\001\n" + + "\016ListExecutions\022?.google.cloud.workflows" + + ".executions.v1beta.ListExecutionsRequest" + + "\032@.google.cloud.workflows.executions.v1b" + + "eta.ListExecutionsResponse\"O\202\323\344\223\002@\022>/v1b" + + "eta/{parent=projects/*/locations/*/workf" + + "lows/*}/executions\332A\006parent\022\356\001\n\017CreateEx" + + "ecution\022@.google.cloud.workflows.executi" + + "ons.v1beta.CreateExecutionRequest\0323.goog" + + "le.cloud.workflows.executions.v1beta.Exe" + + "cution\"d\202\323\344\223\002K\">/v1beta/{parent=projects" + + "/*/locations/*/workflows/*}/executions:\t" + + "execution\332A\020parent,execution\022\321\001\n\014GetExec" + + "ution\022=.google.cloud.workflows.execution" + + "s.v1beta.GetExecutionRequest\0323.google.cl" + + "oud.workflows.executions.v1beta.Executio" + + "n\"M\202\323\344\223\002@\022>/v1beta/{name=projects/*/loca" + + "tions/*/workflows/*/executions/*}\332A\004name" + + "\022\341\001\n\017CancelExecution\022@.google.cloud.work" + + "flows.executions.v1beta.CancelExecutionR" + + "equest\0323.google.cloud.workflows.executio" + + "ns.v1beta.Execution\"W\202\323\344\223\002J\"E/v1beta/{na" + + "me=projects/*/locations/*/workflows/*/ex" + + "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" + + "wexecutions.googleapis.com\322A.https://www" + + ".googleapis.com/auth/cloud-platformB\371\001\n," + + "com.google.cloud.workflows.executions.v1" + + "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" + + "rg/genproto/googleapis/cloud/workflows/e" + + "xecutions/v1beta;executions\352Aa\n!workflow" + + "s.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,15 +28,16 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance(UnusedPrivateParameter unused) { + protected java.lang.Object newInstance( + UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet + getUnknownFields() { return this.unknownFields; } - private GetExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -73,27 +56,25 @@ private GetExecutionRequest( case 0: done = true; break; - case 10: - { - java.lang.String s = input.readStringRequireUtf8(); + case 10: { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: - { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: - { - if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { - done = true; - } - break; + view_ = rawValue; + break; + } + default: { + if (!parseUnknownField( + input, unknownFields, extensionRegistry, tag)) { + done = true; } + break; + } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -101,43 +82,36 @@ private GetExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException( + e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - - 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; 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 @@ -146,33 +120,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 { @@ -183,49 +155,33 @@ public com.google.protobuf.ByteString getNameBytes() { public static final int VIEW_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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; @@ -237,13 +193,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_); } unknownFields.writeTo(output); @@ -258,10 +213,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -271,15 +225,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -302,104 +256,96 @@ 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]
@@ -408,23 +354,21 @@ 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()
@@ -432,15 +376,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -452,14 +397,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();
     }
 
@@ -474,8 +418,7 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result = new com.google.cloud.workflows.executions.v1beta.GetExecutionRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -486,50 +429,46 @@ public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest buildPar
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -556,9 +495,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -570,24 +507,20 @@ public Builder mergeFrom(
 
     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; @@ -596,25 +529,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 { @@ -622,73 +552,60 @@ 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) { + public Builder setName( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** - * - * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes(com.google.protobuf.ByteString value) { + public Builder setNameBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -696,79 +613,55 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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. */ @@ -776,34 +669,29 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -813,32 +701,30 @@ 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 { - return new GetExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -850,8 +736,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java similarity index 50% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java index a1c7f5dd..02246254 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java @@ -1,88 +1,53 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java similarity index 67% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java index 58e24987..80658267 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,15 +29,16 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListExecutionsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,39 +57,36 @@ private ListExecutionsRequest(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+          case 10: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              parent_ = s;
-              break;
-            }
-          case 16:
-            {
-              pageSize_ = input.readInt32();
-              break;
-            }
-          case 26:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            parent_ = s;
+            break;
+          }
+          case 16: {
 
-              pageToken_ = s;
-              break;
-            }
-          case 32:
-            {
-              int rawValue = input.readEnum();
+            pageSize_ = input.readInt32();
+            break;
+          }
+          case 26: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              view_ = rawValue;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            pageToken_ = s;
+            break;
+          }
+          case 32: {
+            int rawValue = input.readEnum();
+
+            view_ = rawValue;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -114,42 +94,35 @@ private ListExecutionsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-
-  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;
   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 @@ -158,32 +131,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 { @@ -194,8 +165,6 @@ public com.google.protobuf.ByteString getParentBytes() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** - * - * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -205,7 +174,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -216,8 +184,6 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** - * - * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -226,7 +192,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -235,15 +200,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.
@@ -252,15 +216,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 { @@ -271,49 +236,33 @@ public com.google.protobuf.ByteString getPageTokenBytes() { public static final int VIEW_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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; @@ -325,7 +274,8 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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,9 +285,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_); } unknownFields.writeTo(output); @@ -353,15 +301,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -371,17 +319,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -408,105 +358,96 @@ 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]
@@ -515,40 +456,38 @@ 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()
+    // Construct using com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -564,16 +503,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
@@ -587,8 +524,7 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result = new com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -601,51 +537,46 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest buildP
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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_;
         onChanged();
@@ -679,9 +610,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -693,23 +622,19 @@ public Builder mergeFrom(
 
     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; @@ -718,24 +643,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 { @@ -743,79 +665,64 @@ 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) { + public Builder setParent( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes(com.google.protobuf.ByteString value) { + public Builder setParentBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_; + private int pageSize_ ; /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -825,7 +732,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -833,8 +739,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
@@ -844,19 +748,16 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; - * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** - * - * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -866,11 +767,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -878,8 +778,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.
@@ -888,13 +786,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; @@ -903,8 +801,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -913,14 +809,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 { @@ -928,8 +825,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -938,22 +833,20 @@ 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) { + public Builder setPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -962,18 +855,15 @@ public Builder setPageToken(java.lang.String value) {
      * 
* * string page_token = 3; - * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -982,16 +872,16 @@ 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) { + public Builder setPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -999,79 +889,55 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; 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.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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = - com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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. */ @@ -1079,34 +945,29 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie if (value == null) { throw new NullPointerException(); } - + 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.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() { - + view_ = 0; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1116,32 +977,30 @@ 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 { - return new ListExecutionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1153,8 +1012,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java similarity index 64% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java index bb32cb76..e547072c 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java @@ -1,62 +1,35 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
@@ -82,13 +52,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.
@@ -97,38 +64,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java similarity index 72% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java index 96da4bf2..6dec1160 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java @@ -1,26 +1,9 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,15 +28,16 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(
+      UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet
+  getUnknownFields() {
     return this.unknownFields;
   }
-
   private ListExecutionsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -74,34 +57,28 @@ private ListExecutionsResponse(
           case 0:
             done = true;
             break;
-          case 10:
-            {
-              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-                executions_ =
-                    new java.util.ArrayList<
-                        com.google.cloud.workflows.executions.v1beta.Execution>();
-                mutable_bitField0_ |= 0x00000001;
-              }
-              executions_.add(
-                  input.readMessage(
-                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
-                      extensionRegistry));
-              break;
+          case 10: {
+            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+              executions_ = new java.util.ArrayList();
+              mutable_bitField0_ |= 0x00000001;
             }
-          case 18:
-            {
-              java.lang.String s = input.readStringRequireUtf8();
+            executions_.add(
+                input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.parser(), extensionRegistry));
+            break;
+          }
+          case 18: {
+            java.lang.String s = input.readStringRequireUtf8();
 
-              nextPageToken_ = s;
-              break;
-            }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            nextPageToken_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
             }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -109,7 +86,8 @@ private ListExecutionsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(
+          e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -118,27 +96,22 @@ private ListExecutionsResponse(
       makeExtensionsImmutable();
     }
   }
-
-  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;
   private java.util.List executions_;
   /**
-   *
-   *
    * 
    * The executions which match the request.
    * 
@@ -146,13 +119,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.
    * 
@@ -160,13 +130,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.
    * 
@@ -178,8 +146,6 @@ public int getExecutionsCount() { return executions_.size(); } /** - * - * *
    * The executions which match the request.
    * 
@@ -191,8 +157,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int return executions_.get(index); } /** - * - * *
    * The executions which match the request.
    * 
@@ -208,15 +172,12 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -225,30 +186,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 { @@ -257,7 +218,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -269,7 +229,8 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -286,7 +247,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_); @@ -299,16 +261,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -332,105 +295,96 @@ 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]
@@ -439,42 +393,39 @@ 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()
+    // Construct using com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
         getExecutionsFieldBuilder();
       }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -490,16 +441,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
@@ -513,8 +462,7 @@ 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);
       int from_bitField0_ = bitField0_;
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -534,51 +482,46 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse build
     public Builder clone() {
       return super.clone();
     }
-
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.Object value) {
       return super.setField(field, value);
     }
-
     @java.lang.Override
-    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(
+        com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
-
     @java.lang.Override
-    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(
+        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
-
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
-
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field,
+        java.lang.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()) {
@@ -597,10 +540,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_);
           }
@@ -629,9 +571,7 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage =
-            (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse)
-                e.getUnfinishedMessage();
+        parsedMessage = (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -640,38 +580,28 @@ public Builder mergeFrom(
       }
       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 { @@ -679,8 +609,6 @@ private void ensureExecutionsIsMutable() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -695,8 +623,6 @@ public int getExecutionsCount() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -711,8 +637,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int } } /** - * - * *
      * The executions which match the request.
      * 
@@ -734,8 +658,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -754,8 +676,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -776,8 +696,6 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1beta.Execut return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -799,8 +717,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -819,8 +735,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -839,8 +753,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -848,11 +760,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); @@ -860,8 +772,6 @@ public Builder addAllExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -879,8 +789,6 @@ public Builder clearExecutions() { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -898,8 +806,6 @@ public Builder removeExecutions(int index) { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -911,8 +817,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti return getExecutionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The executions which match the request.
      * 
@@ -922,22 +826,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 { @@ -945,8 +846,6 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } } /** - * - * *
      * The executions which match the request.
      * 
@@ -954,12 +853,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.
      * 
@@ -968,36 +865,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_; @@ -1005,21 +896,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; @@ -1028,22 +917,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 { @@ -1051,71 +939,64 @@ 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) { + public Builder setNextPageToken( + java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; - * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes( + com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } - @java.lang.Override - public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields( + final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1125,32 +1006,30 @@ 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 { - return new ListExecutionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1162,8 +1041,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java similarity index 70% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java index 38dd3b5d..79c065a4 100644 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java +++ b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java @@ -1,41 +1,22 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java similarity index 100% rename from proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java diff --git a/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto similarity index 100% rename from proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto rename to owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto diff --git a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index 877a2bd4..00000000 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java +++ /dev/null @@ -1,58 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index ed2726d9..00000000 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java deleted file mode 100644 index b7570155..00000000 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java +++ /dev/null @@ -1,293 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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\"\237\t\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340A\003\0223\n\nst" - + "art_time\030\002 \001(\0132\032.google.protobuf.Timesta" - + "mpB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.google.proto" - + "buf.TimestampB\003\340A\003\022I\n\005state\030\004 \001(\01625.goog" - + "le.cloud.workflows.executions.v1.Executi" - + "on.StateB\003\340A\003\022\020\n\010argument\030\005 \001(\t\022\023\n\006resul" - + "t\030\006 \001(\tB\003\340A\003\022I\n\005error\030\007 \001(\01325.google.clo" - + "ud.workflows.executions.v1.Execution.Err" - + "orB\003\340A\003\022!\n\024workflow_revision_id\030\010 \001(\tB\003\340" - + "A\003\022T\n\016call_log_level\030\t \001(\0162<.google.clou" - + "d.workflows.executions.v1.Execution.Call" - + "LogLevel\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(\0132" - + "J.google.cloud.workflows.executions.v1.E" - + "xecution.StackTraceElement.Position\0328\n\010P" - + "osition\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\010elements\030" - + "\001 \003(\0132A.google.cloud.workflows.execution" - + "s.v1.Execution.StackTraceElement\032z\n\005Erro" - + "r\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\022O\n\013s" - + "tack_trace\030\003 \001(\0132:.google.cloud.workflow" - + "s.executions.v1.Execution.StackTrace\"T\n\005" - + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" - + "\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED" - + "\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LEVEL_UNS" - + "PECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017LOG_ERR" - + "ORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecutions.go" - + "ogleapis.com/Execution\022Sprojects/{projec" - + "t}/locations/{location}/workflows/{workf" - + "low}/executions/{execution}\"\301\001\n\025ListExec" - + "utionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!w" - + "orkflows.googleapis.com/Workflow\022\021\n\tpage" - + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view\030" - + "\004 \001(\01623.google.cloud.workflows.execution" - + "s.v1.ExecutionViewB\003\340A\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\"\234\001\n\026CreateExecut" - + "ionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!work" - + "flows.googleapis.com/Workflow\022G\n\texecuti" - + "on\030\002 \001(\0132/.google.cloud.workflows.execut" - + "ions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecutionR" - + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowex" - + "ecutions.googleapis.com/Execution\022F\n\004vie" - + "w\030\002 \001(\01623.google.cloud.workflows.executi" - + "ons.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExecu" - + "tionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workf" - + "lowexecutions.googleapis.com/Execution*D" - + "\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPEC" - + "IFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecuti" - + "ons\022\330\001\n\016ListExecutions\022;.google.cloud.wo" - + "rkflows.executions.v1.ListExecutionsRequ" - + "est\032<.google.cloud.workflows.executions." - + "v1.ListExecutionsResponse\"K\202\323\344\223\002<\022:/v1/{" - + "parent=projects/*/locations/*/workflows/" - + "*}/executions\332A\006parent\022\342\001\n\017CreateExecuti" - + "on\022<.google.cloud.workflows.executions.v" - + "1.CreateExecutionRequest\032/.google.cloud." - + "workflows.executions.v1.Execution\"`\202\323\344\223\002" - + "G\":/v1/{parent=projects/*/locations/*/wo" - + "rkflows/*}/executions:\texecution\332A\020paren" - + "t,execution\022\305\001\n\014GetExecution\0229.google.cl" - + "oud.workflows.executions.v1.GetExecution" - + "Request\032/.google.cloud.workflows.executi" - + "ons.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=proj" - + "ects/*/locations/*/workflows/*/execution" - + "s/*}\332A\004name\022\325\001\n\017CancelExecution\022<.google" - + ".cloud.workflows.executions.v1.CancelExe" - + "cutionRequest\032/.google.cloud.workflows.e" - + "xecutions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{nam" - + "e=projects/*/locations/*/workflows/*/exe" - + "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" - + "executions.googleapis.com\322A.https://www." - + "googleapis.com/auth/cloud-platformB\361\001\n(c" - + "om.google.cloud.workflows.executions.v1B" - + "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" - + "nproto/googleapis/cloud/workflows/execut" - + "ions/v1;executions\352Aa\n!workflows.googlea" - + "pis.com/Workflow\022 - * 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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index 7b68f64e..00000000 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java +++ /dev/null @@ -1,99 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java deleted file mode 100644 index 53b978e9..00000000 --- a/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java +++ /dev/null @@ -1,238 +0,0 @@ -/* - * Copyright 2020 Google LLC - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * https://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -// Generated by the protocol buffer compiler. DO NOT EDIT! -// source: google/cloud/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\"\370\004\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340" - + "A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.protobuf" - + ".TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.goog" - + "le.protobuf.TimestampB\003\340A\003\022M\n\005state\030\004 \001(" - + "\01629.google.cloud.workflows.executions.v1" - + "beta.Execution.StateB\003\340A\003\022\020\n\010argument\030\005 " - + "\001(\t\022\023\n\006result\030\006 \001(\tB\003\340A\003\022M\n\005error\030\007 \001(\0132" - + "9.google.cloud.workflows.executions.v1be" - + "ta.Execution.ErrorB\003\340A\003\022!\n\024workflow_revi" - + "sion_id\030\010 \001(\tB\003\340A\003\032)\n\005Error\022\017\n\007payload\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\tSUCCEEDED\020\002" - + "\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202\001\n+work" - + "flowexecutions.googleapis.com/Execution\022" - + "Sprojects/{project}/locations/{location}" - + "/workflows/{workflow}/executions/{execut" - + "ion}\"\305\001\n\025ListExecutionsRequest\0229\n\006parent" - + "\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapis.com" - + "/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" - + "en\030\003 \001(\t\022J\n\004view\030\004 \001(\01627.google.cloud.wo" - + "rkflows.executions.v1beta.ExecutionViewB" - + "\003\340A\001\"z\n\026ListExecutionsResponse\022G\n\nexecut" - + "ions\030\001 \003(\01323.google.cloud.workflows.exec" - + "utions.v1beta.Execution\022\027\n\017next_page_tok" - + "en\030\002 \001(\t\"\240\001\n\026CreateExecutionRequest\0229\n\006p" - + "arent\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapi" - + "s.com/Workflow\022K\n\texecution\030\002 \001(\01323.goog" - + "le.cloud.workflows.executions.v1beta.Exe" - + "cutionB\003\340A\002\"\244\001\n\023GetExecutionRequest\022A\n\004n" - + "ame\030\001 \001(\tB3\340A\002\372A-\n+workflowexecutions.go" - + "ogleapis.com/Execution\022J\n\004view\030\002 \001(\01627.g" - + "oogle.cloud.workflows.executions.v1beta." - + "ExecutionViewB\003\340A\001\"[\n\026CancelExecutionReq" - + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowexec" - + "utions.googleapis.com/Execution*D\n\rExecu" - + "tionView\022\036\n\032EXECUTION_VIEW_UNSPECIFIED\020\000" - + "\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\nExecutions\022\344\001\n" - + "\016ListExecutions\022?.google.cloud.workflows" - + ".executions.v1beta.ListExecutionsRequest" - + "\032@.google.cloud.workflows.executions.v1b" - + "eta.ListExecutionsResponse\"O\202\323\344\223\002@\022>/v1b" - + "eta/{parent=projects/*/locations/*/workf" - + "lows/*}/executions\332A\006parent\022\356\001\n\017CreateEx" - + "ecution\022@.google.cloud.workflows.executi" - + "ons.v1beta.CreateExecutionRequest\0323.goog" - + "le.cloud.workflows.executions.v1beta.Exe" - + "cution\"d\202\323\344\223\002K\">/v1beta/{parent=projects" - + "/*/locations/*/workflows/*}/executions:\t" - + "execution\332A\020parent,execution\022\321\001\n\014GetExec" - + "ution\022=.google.cloud.workflows.execution" - + "s.v1beta.GetExecutionRequest\0323.google.cl" - + "oud.workflows.executions.v1beta.Executio" - + "n\"M\202\323\344\223\002@\022>/v1beta/{name=projects/*/loca" - + "tions/*/workflows/*/executions/*}\332A\004name" - + "\022\341\001\n\017CancelExecution\022@.google.cloud.work" - + "flows.executions.v1beta.CancelExecutionR" - + "equest\0323.google.cloud.workflows.executio" - + "ns.v1beta.Execution\"W\202\323\344\223\002J\"E/v1beta/{na" - + "me=projects/*/locations/*/workflows/*/ex" - + "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" - + "wexecutions.googleapis.com\322A.https://www" - + ".googleapis.com/auth/cloud-platformB\371\001\n," - + "com.google.cloud.workflows.executions.v1" - + "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" - + "rg/genproto/googleapis/cloud/workflows/e" - + "xecutions/v1beta;executions\352Aa\n!workflow" - + "s.googleapis.com/Workflow\022 Date: Thu, 23 Jun 2022 01:50:25 +0000 Subject: [PATCH 6/7] =?UTF-8?q?=F0=9F=A6=89=20Updates=20from=20OwlBot=20po?= =?UTF-8?q?st-processor?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --- .../executions/v1/ExecutionsClient.java | 16 +- .../executions/v1/ExecutionsSettings.java | 7 +- .../executions/v1/gapic_metadata.json | 0 .../workflows/executions/v1/package-info.java | 0 .../executions/v1/stub/ExecutionsStub.java | 0 .../v1/stub/ExecutionsStubSettings.java | 6 +- .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1/stub/GrpcExecutionsStub.java | 1 - .../HttpJsonExecutionsCallableFactory.java | 0 .../v1/stub/HttpJsonExecutionsStub.java | 0 .../executions/v1beta/ExecutionsClient.java | 16 +- .../executions/v1beta/ExecutionsSettings.java | 7 +- .../executions/v1beta/gapic_metadata.json | 0 .../executions/v1beta/package-info.java | 0 .../v1beta/stub/ExecutionsStub.java | 0 .../v1beta/stub/ExecutionsStubSettings.java | 6 +- .../stub/GrpcExecutionsCallableFactory.java | 0 .../v1beta/stub/GrpcExecutionsStub.java | 1 - .../HttpJsonExecutionsCallableFactory.java | 0 .../v1beta/stub/HttpJsonExecutionsStub.java | 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 | 739 ++++ .../executions/v1beta/ExecutionsGrpc.java | 743 ++++ .../executions/v1/ExecutionsGrpc.java | 578 --- .../v1/CancelExecutionRequestOrBuilder.java | 33 - .../v1/CreateExecutionRequestOrBuilder.java | 60 - .../executions/v1/ExecutionsProto.java | 253 -- .../executions/v1beta/ExecutionsGrpc.java | 578 --- .../CancelExecutionRequestOrBuilder.java | 33 - .../CreateExecutionRequestOrBuilder.java | 60 - .../executions/v1beta/ExecutionsProto.java | 208 - .../executions/v1/CancelExecutionRequest.java | 363 +- .../v1/CancelExecutionRequestOrBuilder.java | 58 + .../executions/v1/CreateExecutionRequest.java | 510 ++- .../v1/CreateExecutionRequestOrBuilder.java | 99 + .../workflows/executions/v1/Execution.java | 3451 +++++++++++------ .../executions/v1/ExecutionName.java | 0 .../executions/v1/ExecutionOrBuilder.java | 128 +- .../executions/v1/ExecutionView.java | 86 +- .../executions/v1/ExecutionsProto.java | 293 ++ .../executions/v1/GetExecutionRequest.java | 449 ++- .../v1/GetExecutionRequestOrBuilder.java | 49 +- .../executions/v1/ListExecutionsRequest.java | 573 +-- .../v1/ListExecutionsRequestOrBuilder.java | 61 +- .../executions/v1/ListExecutionsResponse.java | 470 ++- .../v1/ListExecutionsResponseOrBuilder.java | 45 +- .../workflows/executions/v1/WorkflowName.java | 0 .../workflows/executions/v1/executions.proto | 0 .../v1beta/CancelExecutionRequest.java | 375 +- .../CancelExecutionRequestOrBuilder.java | 58 + .../v1beta/CreateExecutionRequest.java | 522 ++- .../CreateExecutionRequestOrBuilder.java | 99 + .../executions/v1beta/Execution.java | 1549 +++++--- .../executions/v1beta/ExecutionName.java | 0 .../executions/v1beta/ExecutionOrBuilder.java | 122 +- .../executions/v1beta/ExecutionView.java | 86 +- .../executions/v1beta/ExecutionsProto.java | 238 ++ .../v1beta/GetExecutionRequest.java | 463 ++- .../v1beta/GetExecutionRequestOrBuilder.java | 49 +- .../v1beta/ListExecutionsRequest.java | 588 +-- .../ListExecutionsRequestOrBuilder.java | 61 +- .../v1beta/ListExecutionsResponse.java | 492 ++- .../ListExecutionsResponseOrBuilder.java | 45 +- .../executions/v1beta/WorkflowName.java | 0 .../executions/v1beta/executions.proto | 0 72 files changed, 9065 insertions(+), 5662 deletions(-) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java (98%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java (96%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java (98%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java (99%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java (98%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java (96%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java (98%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java (99%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java (100%) rename {owl-bot-staging/v1/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java (100%) rename {owl-bot-staging/v1beta/google-cloud-workflow-executions => google-cloud-workflow-executions}/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java (100%) create mode 100644 grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java create mode 100644 grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java delete mode 100644 owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java delete mode 100644 owl-bot-staging/v1beta/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java delete mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java delete mode 100644 owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequest.java (64%) create mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java (62%) create mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java (74%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java (67%) create mode 100644 proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequest.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java (50%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java (68%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java (73%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java (100%) rename {owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1 => proto-google-cloud-workflow-executions-v1}/src/main/proto/google/cloud/workflows/executions/v1/executions.proto (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java (63%) create mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java (62%) create mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java (71%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java (71%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java (67%) create mode 100644 proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequest.java (63%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java (50%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java (67%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java (64%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java (72%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java (70%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java (100%) rename {owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta => proto-google-cloud-workflow-executions-v1beta}/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto (100%) diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java index 4526bd34..e4dc3948 100644 --- a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsClient.java @@ -57,13 +57,13 @@ * methods: * *
    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -675,7 +675,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListExecutionsPagedResponse extends AbstractPagedListResponse< - ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, + ListExecutionsRequest, + ListExecutionsResponse, + Execution, + ListExecutionsPage, ListExecutionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -725,7 +728,10 @@ public ApiFuture createPageAsync( public static class ListExecutionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, + ListExecutionsRequest, + ListExecutionsResponse, + Execution, + ListExecutionsPage, ListExecutionsFixedSizeCollection> { private ListExecutionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java similarity index 96% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java index faf4ef04..986e5a64 100644 --- a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsSettings.java +++ b/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; @@ -43,10 +42,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/gapic_metadata.json diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/package-info.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStub.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java similarity index 98% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java index 2a509641..a5f9248a 100644 --- a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/ExecutionsStubSettings.java @@ -64,10 +64,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java similarity index 99% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java index 6fe8aed5..203d4698 100644 --- a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/GrpcExecutionsStub.java +++ b/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/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsCallableFactory.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1/stub/HttpJsonExecutionsStub.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java similarity index 98% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java index b056d022..cd1d50e5 100644 --- a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClient.java @@ -58,13 +58,13 @@ * methods: * *

    - *
  1. A "flattened" method. With this type of method, the fields of the request type have been + *
  2. A "flattened" method. With this type of method, the fields of the request type have been * converted into function parameters. It may be the case that not all fields are available as * parameters, and not every API method will have a flattened method entry point. - *
  3. A "request object" method. This type of method only takes one parameter, a request object, + *
  4. A "request object" method. This type of method only takes one parameter, a request object, * which must be constructed before the call. Not every API method will have a request object * method. - *
  5. A "callable" method. This type of method takes no parameters and returns an immutable API + *
  6. A "callable" method. This type of method takes no parameters and returns an immutable API * callable object, which can be used to initiate calls to the service. *
* @@ -677,7 +677,10 @@ public boolean awaitTermination(long duration, TimeUnit unit) throws Interrupted public static class ListExecutionsPagedResponse extends AbstractPagedListResponse< - ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, + ListExecutionsRequest, + ListExecutionsResponse, + Execution, + ListExecutionsPage, ListExecutionsFixedSizeCollection> { public static ApiFuture createAsync( @@ -727,7 +730,10 @@ public ApiFuture createPageAsync( public static class ListExecutionsFixedSizeCollection extends AbstractFixedSizeCollection< - ListExecutionsRequest, ListExecutionsResponse, Execution, ListExecutionsPage, + ListExecutionsRequest, + ListExecutionsResponse, + Execution, + ListExecutionsPage, ListExecutionsFixedSizeCollection> { private ListExecutionsFixedSizeCollection(List pages, int collectionSize) { diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java similarity index 96% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java index 29ac6334..195c1d9a 100644 --- a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsSettings.java +++ b/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; @@ -43,10 +42,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/gapic_metadata.json diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/package-info.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStub.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java similarity index 98% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java index c69fb7f8..60f17195 100644 --- a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java +++ b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/ExecutionsStubSettings.java @@ -64,10 +64,10 @@ *

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

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

The builder of this class is recursive, so contained classes are themselves builders. When diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsCallableFactory.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java similarity index 99% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java index 672084c9..7954ed6e 100644 --- a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/GrpcExecutionsStub.java +++ b/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/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsCallableFactory.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java b/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java rename to google-cloud-workflow-executions/src/main/java/com/google/cloud/workflows/executions/v1beta/stub/HttpJsonExecutionsStub.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientHttpJsonTest.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/ExecutionsClientTest.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutions.java diff --git a/owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java similarity index 100% rename from owl-bot-staging/v1/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1/MockExecutionsImpl.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientHttpJsonTest.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/ExecutionsClientTest.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutions.java diff --git a/owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java b/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java similarity index 100% rename from owl-bot-staging/v1beta/google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java rename to google-cloud-workflow-executions/src/test/java/com/google/cloud/workflows/executions/v1beta/MockExecutionsImpl.java diff --git a/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java new file mode 100644 index 00000000..01ed5871 --- /dev/null +++ b/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java @@ -0,0 +1,739 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 abstract static class ExecutionsImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getCancelExecutionMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_CANCEL_EXECUTION))) + .build(); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + 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/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java b/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java new file mode 100644 index 00000000..ebfd50b8 --- /dev/null +++ b/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java @@ -0,0 +1,743 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT 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 abstract static class ExecutionsImplBase implements io.grpc.BindableService { + + /** + * + * + *
+     * 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.ServerCalls.asyncUnimplementedUnaryCall( + getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall( + getCancelExecutionMethod(), responseObserver); + } + + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { + 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>( + this, 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>( + this, 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>( + this, 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>( + this, METHODID_CANCEL_EXECUTION))) + .build(); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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); + } + } + + /** + * + * + *
+   * 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 ExecutionsImplBase serviceImpl; + private final int methodId; + + MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { + this.serviceImpl = serviceImpl; + this.methodId = methodId; + } + + @java.lang.Override + @java.lang.SuppressWarnings("unchecked") + public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { + switch (methodId) { + case METHODID_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(); + } + } + } + + 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/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java b/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java deleted file mode 100644 index 17090128..00000000 --- a/owl-bot-staging/v1/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java +++ /dev/null @@ -1,578 +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 static abstract class ExecutionsImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_CANCEL_EXECUTION))) - .build(); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - 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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index 274df6c4..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index e519bd4f..00000000 --- a/owl-bot-staging/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java deleted file mode 100644 index ecc80ce6..00000000 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java +++ /dev/null @@ -1,253 +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_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\"\237\t\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340A\003\0223\n\nst" + - "art_time\030\002 \001(\0132\032.google.protobuf.Timesta" + - "mpB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.google.proto" + - "buf.TimestampB\003\340A\003\022I\n\005state\030\004 \001(\01625.goog" + - "le.cloud.workflows.executions.v1.Executi" + - "on.StateB\003\340A\003\022\020\n\010argument\030\005 \001(\t\022\023\n\006resul" + - "t\030\006 \001(\tB\003\340A\003\022I\n\005error\030\007 \001(\01325.google.clo" + - "ud.workflows.executions.v1.Execution.Err" + - "orB\003\340A\003\022!\n\024workflow_revision_id\030\010 \001(\tB\003\340" + - "A\003\022T\n\016call_log_level\030\t \001(\0162<.google.clou" + - "d.workflows.executions.v1.Execution.Call" + - "LogLevel\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(\0132" + - "J.google.cloud.workflows.executions.v1.E" + - "xecution.StackTraceElement.Position\0328\n\010P" + - "osition\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\010elements\030" + - "\001 \003(\0132A.google.cloud.workflows.execution" + - "s.v1.Execution.StackTraceElement\032z\n\005Erro" + - "r\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\022O\n\013s" + - "tack_trace\030\003 \001(\0132:.google.cloud.workflow" + - "s.executions.v1.Execution.StackTrace\"T\n\005" + - "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" + - "\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED" + - "\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LEVEL_UNS" + - "PECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017LOG_ERR" + - "ORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecutions.go" + - "ogleapis.com/Execution\022Sprojects/{projec" + - "t}/locations/{location}/workflows/{workf" + - "low}/executions/{execution}\"\301\001\n\025ListExec" + - "utionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!w" + - "orkflows.googleapis.com/Workflow\022\021\n\tpage" + - "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view\030" + - "\004 \001(\01623.google.cloud.workflows.execution" + - "s.v1.ExecutionViewB\003\340A\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\"\234\001\n\026CreateExecut" + - "ionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!work" + - "flows.googleapis.com/Workflow\022G\n\texecuti" + - "on\030\002 \001(\0132/.google.cloud.workflows.execut" + - "ions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecutionR" + - "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowex" + - "ecutions.googleapis.com/Execution\022F\n\004vie" + - "w\030\002 \001(\01623.google.cloud.workflows.executi" + - "ons.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExecu" + - "tionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workf" + - "lowexecutions.googleapis.com/Execution*D" + - "\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPEC" + - "IFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecuti" + - "ons\022\330\001\n\016ListExecutions\022;.google.cloud.wo" + - "rkflows.executions.v1.ListExecutionsRequ" + - "est\032<.google.cloud.workflows.executions." + - "v1.ListExecutionsResponse\"K\202\323\344\223\002<\022:/v1/{" + - "parent=projects/*/locations/*/workflows/" + - "*}/executions\332A\006parent\022\342\001\n\017CreateExecuti" + - "on\022<.google.cloud.workflows.executions.v" + - "1.CreateExecutionRequest\032/.google.cloud." + - "workflows.executions.v1.Execution\"`\202\323\344\223\002" + - "G\":/v1/{parent=projects/*/locations/*/wo" + - "rkflows/*}/executions:\texecution\332A\020paren" + - "t,execution\022\305\001\n\014GetExecution\0229.google.cl" + - "oud.workflows.executions.v1.GetExecution" + - "Request\032/.google.cloud.workflows.executi" + - "ons.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=proj" + - "ects/*/locations/*/workflows/*/execution" + - "s/*}\332A\004name\022\325\001\n\017CancelExecution\022<.google" + - ".cloud.workflows.executions.v1.CancelExe" + - "cutionRequest\032/.google.cloud.workflows.e" + - "xecutions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{nam" + - "e=projects/*/locations/*/workflows/*/exe" + - "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" + - "executions.googleapis.com\322A.https://www." + - "googleapis.com/auth/cloud-platformB\361\001\n(c" + - "om.google.cloud.workflows.executions.v1B" + - "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" + - "nproto/googleapis/cloud/workflows/execut" + - "ions/v1;executions\352Aa\n!workflows.googlea" + - "pis.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 static abstract class ExecutionsImplBase implements io.grpc.BindableService { - - /** - *
-     * 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.ServerCalls.asyncUnimplementedUnaryCall(getListExecutionsMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCreateExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getGetExecutionMethod(), 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.ServerCalls.asyncUnimplementedUnaryCall(getCancelExecutionMethod(), responseObserver); - } - - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { - 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>( - this, 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>( - this, 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>( - this, 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>( - this, METHODID_CANCEL_EXECUTION))) - .build(); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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); - } - } - - /** - *
-   * 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 ExecutionsImplBase serviceImpl; - private final int methodId; - - MethodHandlers(ExecutionsImplBase serviceImpl, int methodId) { - this.serviceImpl = serviceImpl; - this.methodId = methodId; - } - - @java.lang.Override - @java.lang.SuppressWarnings("unchecked") - public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { - switch (methodId) { - case METHODID_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(); - } - } - } - - 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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java deleted file mode 100644 index aafcee78..00000000 --- a/owl-bot-staging/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java deleted file mode 100644 index 94408fcf..00000000 --- a/owl-bot-staging/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java deleted file mode 100644 index 06de9176..00000000 --- a/owl-bot-staging/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\"\370\004\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340" + - "A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + - ".TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.goog" + - "le.protobuf.TimestampB\003\340A\003\022M\n\005state\030\004 \001(" + - "\01629.google.cloud.workflows.executions.v1" + - "beta.Execution.StateB\003\340A\003\022\020\n\010argument\030\005 " + - "\001(\t\022\023\n\006result\030\006 \001(\tB\003\340A\003\022M\n\005error\030\007 \001(\0132" + - "9.google.cloud.workflows.executions.v1be" + - "ta.Execution.ErrorB\003\340A\003\022!\n\024workflow_revi" + - "sion_id\030\010 \001(\tB\003\340A\003\032)\n\005Error\022\017\n\007payload\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\tSUCCEEDED\020\002" + - "\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202\001\n+work" + - "flowexecutions.googleapis.com/Execution\022" + - "Sprojects/{project}/locations/{location}" + - "/workflows/{workflow}/executions/{execut" + - "ion}\"\305\001\n\025ListExecutionsRequest\0229\n\006parent" + - "\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapis.com" + - "/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + - "en\030\003 \001(\t\022J\n\004view\030\004 \001(\01627.google.cloud.wo" + - "rkflows.executions.v1beta.ExecutionViewB" + - "\003\340A\001\"z\n\026ListExecutionsResponse\022G\n\nexecut" + - "ions\030\001 \003(\01323.google.cloud.workflows.exec" + - "utions.v1beta.Execution\022\027\n\017next_page_tok" + - "en\030\002 \001(\t\"\240\001\n\026CreateExecutionRequest\0229\n\006p" + - "arent\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapi" + - "s.com/Workflow\022K\n\texecution\030\002 \001(\01323.goog" + - "le.cloud.workflows.executions.v1beta.Exe" + - "cutionB\003\340A\002\"\244\001\n\023GetExecutionRequest\022A\n\004n" + - "ame\030\001 \001(\tB3\340A\002\372A-\n+workflowexecutions.go" + - "ogleapis.com/Execution\022J\n\004view\030\002 \001(\01627.g" + - "oogle.cloud.workflows.executions.v1beta." + - "ExecutionViewB\003\340A\001\"[\n\026CancelExecutionReq" + - "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowexec" + - "utions.googleapis.com/Execution*D\n\rExecu" + - "tionView\022\036\n\032EXECUTION_VIEW_UNSPECIFIED\020\000" + - "\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\nExecutions\022\344\001\n" + - "\016ListExecutions\022?.google.cloud.workflows" + - ".executions.v1beta.ListExecutionsRequest" + - "\032@.google.cloud.workflows.executions.v1b" + - "eta.ListExecutionsResponse\"O\202\323\344\223\002@\022>/v1b" + - "eta/{parent=projects/*/locations/*/workf" + - "lows/*}/executions\332A\006parent\022\356\001\n\017CreateEx" + - "ecution\022@.google.cloud.workflows.executi" + - "ons.v1beta.CreateExecutionRequest\0323.goog" + - "le.cloud.workflows.executions.v1beta.Exe" + - "cution\"d\202\323\344\223\002K\">/v1beta/{parent=projects" + - "/*/locations/*/workflows/*}/executions:\t" + - "execution\332A\020parent,execution\022\321\001\n\014GetExec" + - "ution\022=.google.cloud.workflows.execution" + - "s.v1beta.GetExecutionRequest\0323.google.cl" + - "oud.workflows.executions.v1beta.Executio" + - "n\"M\202\323\344\223\002@\022>/v1beta/{name=projects/*/loca" + - "tions/*/workflows/*/executions/*}\332A\004name" + - "\022\341\001\n\017CancelExecution\022@.google.cloud.work" + - "flows.executions.v1beta.CancelExecutionR" + - "equest\0323.google.cloud.workflows.executio" + - "ns.v1beta.Execution\"W\202\323\344\223\002J\"E/v1beta/{na" + - "me=projects/*/locations/*/workflows/*/ex" + - "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" + - "wexecutions.googleapis.com\322A.https://www" + - ".googleapis.com/auth/cloud-platformB\371\001\n," + - "com.google.cloud.workflows.executions.v1" + - "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" + - "rg/genproto/googleapis/cloud/workflows/e" + - "xecutions/v1beta;executions\352Aa\n!workflow" + - "s.googleapis.com/Workflow\022 * Request for the * [CancelExecution][google.cloud.workflows.executions.v1.Executions.CancelExecution] @@ -12,31 +29,31 @@ * * 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private CancelExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -55,19 +72,20 @@ private CancelExecutionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + name_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -75,36 +93,43 @@ private CancelExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -113,31 +138,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 { @@ -146,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -182,15 +209,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -210,96 +237,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]
@@ -308,21 +343,23 @@ 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()
@@ -330,16 +367,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -349,13 +385,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();
     }
 
@@ -370,7 +407,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.CancelExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1.CancelExecutionRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -380,46 +418,50 @@ public com.google.cloud.workflows.executions.v1.CancelExecutionRequest buildPart
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -443,7 +485,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.CancelExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.CancelExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -455,20 +499,24 @@ public Builder mergeFrom(
 
     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; @@ -477,22 +525,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 { @@ -500,67 +551,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -570,30 +634,32 @@ 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 { - return new CancelExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -605,9 +671,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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java new file mode 100644 index 00000000..877a2bd4 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CancelExecutionRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java similarity index 62% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java index 697b5aa7..63083170 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1/executions.proto package com.google.cloud.workflows.executions.v1; /** + * + * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1.Executions.CreateExecution]
@@ -12,31 +29,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CreateExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,32 +72,37 @@ private CreateExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 18: {
-            com.google.cloud.workflows.executions.v1.Execution.Builder subBuilder = null;
-            if (execution_ != null) {
-              subBuilder = execution_.toBuilder();
+              parent_ = s;
+              break;
             }
-            execution_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(execution_);
-              execution_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.workflows.executions.v1.Execution.Builder subBuilder = null;
+              if (execution_ != null) {
+                subBuilder = execution_.toBuilder();
+              }
+              execution_ =
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1.Execution.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(execution_);
+                execution_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,36 +110,43 @@ private CreateExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -126,31 +155,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 { @@ -161,11 +192,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 @@ -173,23 +209,34 @@ 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() { @@ -197,6 +244,7 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionO } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -229,8 +276,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,19 +286,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -277,96 +322,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]
@@ -375,21 +428,23 @@ 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()
@@ -397,16 +452,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,13 +476,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();
     }
 
@@ -443,7 +498,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.CreateExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1.CreateExecutionRequest(this);
       result.parent_ = parent_;
       if (executionBuilder_ == null) {
         result.execution_ = execution_;
@@ -458,46 +514,50 @@ public com.google.cloud.workflows.executions.v1.CreateExecutionRequest buildPart
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -524,7 +584,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.CreateExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.CreateExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -536,20 +598,24 @@ public Builder mergeFrom(
 
     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; @@ -558,22 +624,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 { @@ -581,60 +650,73 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -642,39 +724,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 executionBuilder_ != null || 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. */ 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) { @@ -690,11 +791,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) { @@ -708,17 +813,23 @@ 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 (execution_ != null) { execution_ = - com.google.cloud.workflows.executions.v1.Execution.newBuilder(execution_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.newBuilder(execution_) + .mergeFrom(value) + .buildPartial(); } else { execution_ = value; } @@ -730,11 +841,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() { if (executionBuilder_ == null) { @@ -748,55 +863,71 @@ 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() { - + onChanged(); 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); } @@ -806,30 +937,32 @@ 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 { - return new CreateExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -841,9 +974,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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java new file mode 100644 index 00000000..ed2726d9 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/CreateExecutionRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java index d1d0604b..d5e50984 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/Execution.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +49,15 @@ private Execution() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new Execution();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private Execution(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -59,88 +76,102 @@ private Execution(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          case 18: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (startTime_ != null) {
-              subBuilder = startTime_.toBuilder();
-            }
-            startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(startTime_);
-              startTime_ = subBuilder.buildPartial();
+              name_ = s;
+              break;
             }
+          case 18:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (startTime_ != null) {
+                subBuilder = startTime_.toBuilder();
+              }
+              startTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(startTime_);
+                startTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 26: {
-            com.google.protobuf.Timestamp.Builder subBuilder = null;
-            if (endTime_ != null) {
-              subBuilder = endTime_.toBuilder();
-            }
-            endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(endTime_);
-              endTime_ = subBuilder.buildPartial();
+              break;
             }
+          case 26:
+            {
+              com.google.protobuf.Timestamp.Builder subBuilder = null;
+              if (endTime_ != null) {
+                subBuilder = endTime_.toBuilder();
+              }
+              endTime_ =
+                  input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(endTime_);
+                endTime_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
-
-            state_ = rawValue;
-            break;
-          }
-          case 42: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            argument_ = s;
-            break;
-          }
-          case 50: {
-            java.lang.String s = input.readStringRequireUtf8();
+              state_ = rawValue;
+              break;
+            }
+          case 42:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            result_ = s;
-            break;
-          }
-          case 58: {
-            com.google.cloud.workflows.executions.v1.Execution.Error.Builder subBuilder = null;
-            if (error_ != null) {
-              subBuilder = error_.toBuilder();
+              argument_ = s;
+              break;
             }
-            error_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.Error.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(error_);
-              error_ = subBuilder.buildPartial();
+          case 50:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
+
+              result_ = s;
+              break;
             }
+          case 58:
+            {
+              com.google.cloud.workflows.executions.v1.Execution.Error.Builder subBuilder = null;
+              if (error_ != null) {
+                subBuilder = error_.toBuilder();
+              }
+              error_ =
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1.Execution.Error.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(error_);
+                error_ = subBuilder.buildPartial();
+              }
 
-            break;
-          }
-          case 66: {
-            java.lang.String s = input.readStringRequireUtf8();
+              break;
+            }
+          case 66:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            workflowRevisionId_ = s;
-            break;
-          }
-          case 72: {
-            int rawValue = input.readEnum();
+              workflowRevisionId_ = s;
+              break;
+            }
+          case 72:
+            {
+              int rawValue = input.readEnum();
 
-            callLogLevel_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              callLogLevel_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -148,27 +179,31 @@ private Execution(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   }
 
   @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.
@@ -176,9 +211,10 @@ private Execution(
    *
    * 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.
      * 
@@ -187,6 +223,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The execution is in progress.
      * 
@@ -195,6 +233,8 @@ public enum State */ ACTIVE(1), /** + * + * *
      * The execution finished successfully.
      * 
@@ -203,6 +243,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * The execution failed with an error.
      * 
@@ -211,6 +253,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -222,6 +266,8 @@ public enum State ; /** + * + * *
      * Invalid state.
      * 
@@ -230,6 +276,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The execution is in progress.
      * 
@@ -238,6 +286,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
      * The execution finished successfully.
      * 
@@ -246,6 +296,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * The execution failed with an error.
      * 
@@ -254,6 +306,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -262,7 +316,6 @@ public enum State */ public static final int CANCELLED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -287,51 +340,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.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; @@ -349,6 +406,8 @@ private State(int value) { } /** + * + * *
    * Describes the level of platform logging to apply to calls and call
    * responses during workflow executions.
@@ -356,9 +415,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 specified.
      * 
@@ -367,6 +427,8 @@ public enum CallLogLevel */ CALL_LOG_LEVEL_UNSPECIFIED(0), /** + * + * *
      * Log all call steps within workflows, all call returns, and all exceptions
      * raised.
@@ -376,6 +438,8 @@ public enum CallLogLevel
      */
     LOG_ALL_CALLS(1),
     /**
+     *
+     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -387,6 +451,8 @@ public enum CallLogLevel ; /** + * + * *
      * No call logging specified.
      * 
@@ -395,6 +461,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.
@@ -404,6 +472,8 @@ public enum CallLogLevel
      */
     public static final int LOG_ALL_CALLS_VALUE = 1;
     /**
+     *
+     *
      * 
      * Log only exceptions that are raised from call steps within workflows.
      * 
@@ -412,7 +482,6 @@ public enum CallLogLevel */ public static final int LOG_ERRORS_ONLY_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -437,49 +506,51 @@ 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; - default: return null; + 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() { + 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; @@ -496,93 +567,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_ = ""; @@ -590,16 +690,15 @@ private StackTraceElement() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new StackTraceElement(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StackTraceElement( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -618,38 +717,47 @@ private StackTraceElement( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - step_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); - - routine_ = s; - break; - } - case 26: { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.Builder subBuilder = null; - if (position_ != null) { - subBuilder = position_.toBuilder(); + step_ = s; + break; } - position_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(position_); - position_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + routine_ = s; + break; } + case 26: + { + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .Builder + subBuilder = null; + if (position_ != null) { + subBuilder = position_.toBuilder(); + } + position_ = + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .Position.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(position_); + position_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -657,94 +765,108 @@ private StackTraceElement( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Position( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -763,28 +885,28 @@ private Position( case 0: done = true; break; - case 8: { - - line_ = input.readInt64(); - break; - } - case 16: { - - column_ = input.readInt64(); - break; - } - case 24: { - - length_ = input.readInt64(); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + case 8: + { + line_ = input.readInt64(); + break; + } + case 16: + { + column_ = input.readInt64(); + break; + } + case 24: + { + length_ = input.readInt64(); + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -792,34 +914,41 @@ private Position( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e) + .setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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_; /** + * + * *
        * The source code line number the current instruction was generated from.
        * 
* * int64 line = 1; + * * @return The line. */ @java.lang.Override @@ -830,12 +959,15 @@ public long getLine() { public static final int COLUMN_FIELD_NUMBER = 2; 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 @@ -846,11 +978,14 @@ public long getColumn() { public static final int LENGTH_FIELD_NUMBER = 3; 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 @@ -859,6 +994,7 @@ public long getLength() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -870,8 +1006,7 @@ public final boolean isInitialized() { } @java.lang.Override - public 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_); } @@ -891,16 +1026,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -910,19 +1042,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; - - if (getLine() - != other.getLine()) return false; - if (getColumn() - != other.getColumn()) return false; - if (getLength() - != other.getLength()) return false; + 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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -935,101 +1067,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) + unknownFields.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 @@ -1039,46 +1183,54 @@ 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() + // Construct using + // com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1092,19 +1244,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); } @@ -1112,8 +1268,11 @@ 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); + 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); result.line_ = line_; result.column_ = column_; result.length_ = length_; @@ -1125,46 +1284,56 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Posi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()); } @@ -1189,11 +1358,14 @@ public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position parsedMessage = null; + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1203,13 +1375,16 @@ public Builder mergeFrom( return this; } - 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 @@ -1217,43 +1392,52 @@ 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; 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() { - + line_ = 0L; onChanged(); 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 @@ -1261,44 +1445,53 @@ 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; 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() { - + column_ = 0L; onChanged(); 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 @@ -1306,34 +1499,41 @@ 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; 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() { - + length_ = 0L; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1346,30 +1546,34 @@ 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 { - return new Position(input, extensionRegistry); - } - }; + 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 { + return new Position(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1381,20 +1585,23 @@ 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; private volatile java.lang.Object step_; /** + * + * *
      * The step the error occurred at.
      * 
* * string step = 1; + * * @return The step. */ @java.lang.Override @@ -1403,29 +1610,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 { @@ -1436,11 +1643,14 @@ public java.lang.String getStep() { public static final int ROUTINE_FIELD_NUMBER = 2; private volatile java.lang.Object routine_; /** + * + * *
      * The routine where the error occurred.
      * 
* * string routine = 2; + * * @return The routine. */ @java.lang.Override @@ -1449,29 +1659,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 { @@ -1482,11 +1692,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 @@ -1494,30 +1709,45 @@ 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() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.PositionOrBuilder + getPositionOrBuilder() { return getPosition(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1529,8 +1759,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1556,8 +1785,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -1567,21 +1795,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -1608,87 +1834,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 @@ -1698,44 +1932,49 @@ 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() + // Construct using + // com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.newBuilder() private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1753,19 +1992,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); } @@ -1774,7 +2016,8 @@ 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); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement result = + new com.google.cloud.workflows.executions.v1.Execution.StackTraceElement(this); result.step_ = step_; result.routine_ = routine_; if (positionBuilder_ == null) { @@ -1790,46 +2033,53 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTraceElement buil public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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_; onChanged(); @@ -1860,7 +2110,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1.Execution.StackTraceElement) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1872,18 +2124,20 @@ public Builder mergeFrom( 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; @@ -1892,20 +2146,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 { @@ -1913,54 +2168,61 @@ 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) { + public Builder setStep(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + step_ = value; onChanged(); return this; } /** + * + * *
        * The step the error occurred at.
        * 
* * string step = 1; + * * @return This builder for chaining. */ public Builder clearStep() { - + step_ = getDefaultInstance().getStep(); 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) { + public Builder setStepBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + step_ = value; onChanged(); return this; @@ -1968,18 +2230,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; @@ -1988,20 +2252,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 { @@ -2009,96 +2274,127 @@ 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) { + public Builder setRoutine(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + routine_ = value; onChanged(); return this; } /** + * + * *
        * The routine where the error occurred.
        * 
* * string routine = 2; + * * @return This builder for chaining. */ public Builder clearRoutine() { - + routine_ = getDefaultInstance().getRoutine(); 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) { + public Builder setRoutineBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + routine_ = value; onChanged(); 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 positionBuilder_ != null || 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. */ - 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(); @@ -2112,14 +2408,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(); onChanged(); @@ -2130,17 +2431,25 @@ 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 (position_ != null) { position_ = - com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position.newBuilder(position_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.Position + .newBuilder(position_) + .mergeFrom(value) + .buildPartial(); } else { position_ = value; } @@ -2152,11 +2461,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() { if (positionBuilder_ == null) { @@ -2170,52 +2483,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() { + 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) { @@ -2228,30 +2563,32 @@ 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 { - return new StackTraceElement(input, extensionRegistry); - } - }; + 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 { + return new StackTraceElement(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2263,92 +2600,116 @@ 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(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private StackTrace( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -2368,22 +2729,28 @@ private StackTrace( case 0: done = true; break; - case 10: { - if (!((mutable_bitField0_ & 0x00000001) != 0)) { - elements_ = new java.util.ArrayList(); - mutable_bitField0_ |= 0x00000001; + case 10: + { + if (!((mutable_bitField0_ & 0x00000001) != 0)) { + elements_ = + new java.util.ArrayList< + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement>(); + mutable_bitField0_ |= 0x00000001; + } + elements_.add( + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.StackTraceElement + .parser(), + extensionRegistry)); + break; } - elements_.add( - input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTraceElement.parser(), extensionRegistry)); - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -2391,8 +2758,7 @@ private StackTrace( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { elements_ = java.util.Collections.unmodifiableList(elements_); @@ -2401,80 +2767,108 @@ private StackTrace( makeExtensionsImmutable(); } } - 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; - 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; @@ -2486,8 +2880,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -2501,8 +2894,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -2512,15 +2904,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -2542,87 +2934,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 @@ -2632,27 +3031,32 @@ 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() @@ -2660,17 +3064,17 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) { getElementsFieldBuilder(); } } + @java.lang.Override public Builder clear() { super.clear(); @@ -2684,13 +3088,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(); } @@ -2705,7 +3110,8 @@ 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); int from_bitField0_ = bitField0_; if (elementsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0)) { @@ -2724,46 +3130,52 @@ public com.google.cloud.workflows.executions.v1.Execution.StackTrace buildPartia public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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()) { @@ -2782,9 +3194,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_); } @@ -2809,7 +3222,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.StackTrace) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1.Execution.StackTrace) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -2818,28 +3233,40 @@ public Builder mergeFrom( } 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 { @@ -2847,11 +3274,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) { @@ -2861,13 +3292,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 { @@ -2875,11 +3311,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) { @@ -2896,14 +3336,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()); @@ -2914,13 +3360,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(); @@ -2934,11 +3385,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) { @@ -2955,14 +3410,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()); @@ -2973,14 +3433,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()); @@ -2991,18 +3457,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); @@ -3010,11 +3481,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) { @@ -3027,11 +3502,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) { @@ -3044,39 +3523,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 { @@ -3084,53 +3578,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) { @@ -3143,30 +3660,32 @@ 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 { - return new StackTrace(input, extensionRegistry); - } - }; + 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 { + return new StackTrace(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -3178,75 +3697,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.
      * 
@@ -3256,21 +3794,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_ = ""; @@ -3278,16 +3819,15 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -3306,38 +3846,45 @@ private Error( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); - - payload_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - context_ = s; - break; - } - case 26: { - com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder subBuilder = null; - if (stackTrace_ != null) { - subBuilder = stackTrace_.toBuilder(); + payload_ = s; + break; } - stackTrace_ = input.readMessage(com.google.cloud.workflows.executions.v1.Execution.StackTrace.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(stackTrace_); - stackTrace_ = subBuilder.buildPartial(); + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); + + context_ = s; + break; } + case 26: + { + com.google.cloud.workflows.executions.v1.Execution.StackTrace.Builder subBuilder = + null; + if (stackTrace_ != null) { + subBuilder = stackTrace_.toBuilder(); + } + stackTrace_ = + input.readMessage( + com.google.cloud.workflows.executions.v1.Execution.StackTrace.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(stackTrace_); + stackTrace_ = subBuilder.buildPartial(); + } - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -3345,34 +3892,39 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -3381,29 +3933,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 { @@ -3414,11 +3966,14 @@ public java.lang.String getPayload() { public static final int CONTEXT_FIELD_NUMBER = 2; private volatile java.lang.Object context_; /** + * + * *
      * Human-readable stack trace string.
      * 
* * string context = 2; + * * @return The context. */ @java.lang.Override @@ -3427,29 +3982,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 { @@ -3460,11 +4015,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 @@ -3472,18 +4030,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.
      * 
@@ -3491,11 +4056,13 @@ 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() { + public com.google.cloud.workflows.executions.v1.Execution.StackTraceOrBuilder + getStackTraceOrBuilder() { return getStackTrace(); } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -3507,8 +4074,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -3534,8 +4100,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -3545,21 +4110,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -3586,87 +4149,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 @@ -3676,27 +4246,32 @@ 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() @@ -3704,16 +4279,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -3731,9 +4305,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 @@ -3752,7 +4326,8 @@ 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); + com.google.cloud.workflows.executions.v1.Execution.Error result = + new com.google.cloud.workflows.executions.v1.Execution.Error(this); result.payload_ = payload_; result.context_ = context_; if (stackTraceBuilder_ == null) { @@ -3768,38 +4343,41 @@ public com.google.cloud.workflows.executions.v1.Execution.Error buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -3807,7 +4385,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_; onChanged(); @@ -3838,7 +4417,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1.Execution.Error) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1.Execution.Error) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -3850,18 +4430,20 @@ public Builder mergeFrom( 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; @@ -3870,20 +4452,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 { @@ -3891,54 +4474,61 @@ 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) { + public Builder setPayload(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; 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(); 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) { + public Builder setPayloadBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + payload_ = value; onChanged(); return this; @@ -3946,18 +4536,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; @@ -3966,20 +4558,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 { @@ -3987,54 +4580,61 @@ 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) { + public Builder setContext(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + context_ = value; onChanged(); return this; } /** + * + * *
        * Human-readable stack trace string.
        * 
* * string context = 2; + * * @return This builder for chaining. */ public Builder clearContext() { - + context_ = getDefaultInstance().getContext(); 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) { + public Builder setContextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + context_ = value; onChanged(); return this; @@ -4042,41 +4642,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 stackTraceBuilder_ != null || 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. */ 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(); @@ -4090,6 +4704,8 @@ public Builder setStackTrace(com.google.cloud.workflows.executions.v1.Execution. return this; } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4108,17 +4724,23 @@ 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 (stackTrace_ != null) { stackTrace_ = - com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder(stackTrace_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.StackTrace.newBuilder( + stackTrace_) + .mergeFrom(value) + .buildPartial(); } else { stackTrace_ = value; } @@ -4130,6 +4752,8 @@ public Builder mergeStackTrace(com.google.cloud.workflows.executions.v1.Executio return this; } /** + * + * *
        * Stack trace with detailed information of where error was generated.
        * 
@@ -4148,33 +4772,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() { + 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.
        * 
@@ -4182,18 +4815,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) { @@ -4206,12 +4843,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(); } @@ -4220,16 +4857,16 @@ 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 { - return new Error(input, extensionRegistry); - } - }; + 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 { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -4244,12 +4881,13 @@ public com.google.protobuf.Parser getParserForType() { public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -4257,6 +4895,7 @@ public com.google.cloud.workflows.executions.v1.Execution.Error getDefaultInstan
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return The name. */ @java.lang.Override @@ -4265,14 +4904,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:
@@ -4280,16 +4920,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 { @@ -4300,11 +4939,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 @@ -4312,11 +4955,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 @@ -4324,11 +4971,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() { @@ -4338,11 +4988,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 @@ -4350,11 +5004,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 @@ -4362,11 +5020,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() { @@ -4376,33 +5037,50 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.State result = com.google.cloud.workflows.executions.v1.Execution.State.valueOf(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.valueOf(state_); + return result == null + ? com.google.cloud.workflows.executions.v1.Execution.State.UNRECOGNIZED + : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; private volatile java.lang.Object argument_; /** + * + * *
    * Input parameters of the execution represented as a JSON string.
    * The size limit is 32KB.
@@ -4412,6 +5090,7 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
    * 
* * string argument = 5; + * * @return The argument. */ @java.lang.Override @@ -4420,14 +5099,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.
@@ -4437,16 +5117,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 { @@ -4457,12 +5136,15 @@ public java.lang.String getArgument() { public static final int RESULT_FIELD_NUMBER = 6; 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 @@ -4471,30 +5153,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 { @@ -4505,13 +5187,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 @@ -4519,27 +5206,38 @@ 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() { @@ -4549,11 +5247,14 @@ public com.google.cloud.workflows.executions.v1.Execution.ErrorOrBuilder getErro public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; 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 @@ -4562,29 +5263,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 { @@ -4595,31 +5296,43 @@ public java.lang.String getWorkflowRevisionId() { public static final int CALL_LOG_LEVEL_FIELD_NUMBER = 9; private int callLogLevel_; /** + * + * *
    * 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1.Execution.CallLogLevel getCallLogLevel() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.valueOf(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.valueOf(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; @@ -4631,8 +5344,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -4642,7 +5354,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_)) { @@ -4657,7 +5370,10 @@ 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_); } unknownFields.writeTo(output); @@ -4673,16 +5389,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_); @@ -4691,15 +5405,16 @@ 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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -4709,37 +5424,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.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 (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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -4782,96 +5491,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).
@@ -4879,21 +5595,23 @@ 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;
     }
 
     @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()
@@ -4901,16 +5619,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -4948,9 +5665,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
@@ -4969,7 +5686,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.Execution result =
+          new com.google.cloud.workflows.executions.v1.Execution(this);
       result.name_ = name_;
       if (startTimeBuilder_ == null) {
         result.startTime_ = startTime_;
@@ -4999,38 +5717,39 @@ public com.google.cloud.workflows.executions.v1.Execution buildPartial() {
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -5038,7 +5757,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_;
         onChanged();
@@ -5089,7 +5809,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.Execution) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.Execution) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -5101,6 +5822,8 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
+     *
+     *
      * 
      * Output only. The resource name of the execution.
      * Format:
@@ -5108,13 +5831,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; @@ -5123,6 +5846,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5130,15 +5855,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 { @@ -5146,6 +5870,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5153,20 +5879,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5174,15 +5902,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -5190,16 +5921,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -5207,24 +5938,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -5235,11 +5977,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) { @@ -5255,14 +6000,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(); onChanged(); @@ -5273,17 +6020,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -5295,11 +6045,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() { if (startTimeBuilder_ == null) { @@ -5313,48 +6066,59 @@ 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() { - + onChanged(); 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_; @@ -5362,24 +6126,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -5390,11 +6165,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) { @@ -5410,14 +6188,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(); onChanged(); @@ -5428,17 +6208,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -5450,11 +6233,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() { if (endTimeBuilder_ == null) { @@ -5468,48 +6254,59 @@ 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() { - + 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]; + * .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_; @@ -5517,51 +6314,75 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { 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. */ public Builder setStateValue(int value) { - + state_ = value; 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]; + * + * .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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.State result = com.google.cloud.workflows.executions.v1.Execution.State.valueOf(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.valueOf(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. */ @@ -5569,21 +6390,26 @@ public Builder setState(com.google.cloud.workflows.executions.v1.Execution.State if (value == null) { throw new NullPointerException(); } - + 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]; + * + * .google.cloud.workflows.executions.v1.Execution.State state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * + * * @return This builder for chaining. */ public Builder clearState() { - + state_ = 0; onChanged(); return this; @@ -5591,6 +6417,8 @@ public Builder clearState() { private java.lang.Object argument_ = ""; /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5600,13 +6428,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; @@ -5615,6 +6443,8 @@ public java.lang.String getArgument() { } } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5624,15 +6454,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 { @@ -5640,6 +6469,8 @@ public java.lang.String getArgument() { } } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5649,20 +6480,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) { + public Builder setArgument(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + argument_ = value; onChanged(); return this; } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5672,15 +6505,18 @@ public Builder setArgument(
      * 
* * string argument = 5; + * * @return This builder for chaining. */ public Builder clearArgument() { - + argument_ = getDefaultInstance().getArgument(); onChanged(); return this; } /** + * + * *
      * Input parameters of the execution represented as a JSON string.
      * The size limit is 32KB.
@@ -5690,16 +6526,16 @@ 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) { + public Builder setArgumentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + argument_ = value; onChanged(); return this; @@ -5707,19 +6543,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; @@ -5728,21 +6566,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 { @@ -5750,57 +6589,64 @@ 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) { + public Builder setResult(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + result_ = value; 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(); 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) { + public Builder setResultBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + result_ = value; onChanged(); return this; @@ -5808,45 +6654,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 errorBuilder_ != null || 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. */ 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) { @@ -5862,13 +6727,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) { @@ -5882,19 +6751,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.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 (error_ != null) { error_ = - com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder(error_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1.Execution.Error.newBuilder(error_) + .mergeFrom(value) + .buildPartial(); } else { error_ = value; } @@ -5906,13 +6781,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() { if (errorBuilder_ == null) { @@ -5926,54 +6805,70 @@ 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() { - + 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]; + * + * .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_; @@ -5981,18 +6876,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; @@ -6001,20 +6898,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 { @@ -6022,54 +6920,61 @@ 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) { + public Builder setWorkflowRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workflowRevisionId_ = value; 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(); 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) { + public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; onChanged(); return this; @@ -6077,80 +6982,100 @@ 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. */ public Builder setCallLogLevelValue(int value) { - + callLogLevel_ = value; 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.Execution.CallLogLevel result = com.google.cloud.workflows.executions.v1.Execution.CallLogLevel.valueOf(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.valueOf(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(); } - + 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() { - + callLogLevel_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6160,12 +7085,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(); } @@ -6174,16 +7099,16 @@ 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 { - return new Execution(input, extensionRegistry); - } - }; + 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 { + return new Execution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -6198,6 +7123,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java similarity index 74% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java index b9041052..15a0f193 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,85 +47,119 @@ 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.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.
@@ -114,10 +169,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.
@@ -127,101 +185,131 @@ 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(); diff --git a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java index 573c7a5a..a85f1bd6 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionView.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
    * 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.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/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java new file mode 100644 index 00000000..b7570155 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java @@ -0,0 +1,293 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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\"\237\t\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340A\003\0223\n\nst" + + "art_time\030\002 \001(\0132\032.google.protobuf.Timesta" + + "mpB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.google.proto" + + "buf.TimestampB\003\340A\003\022I\n\005state\030\004 \001(\01625.goog" + + "le.cloud.workflows.executions.v1.Executi" + + "on.StateB\003\340A\003\022\020\n\010argument\030\005 \001(\t\022\023\n\006resul" + + "t\030\006 \001(\tB\003\340A\003\022I\n\005error\030\007 \001(\01325.google.clo" + + "ud.workflows.executions.v1.Execution.Err" + + "orB\003\340A\003\022!\n\024workflow_revision_id\030\010 \001(\tB\003\340" + + "A\003\022T\n\016call_log_level\030\t \001(\0162<.google.clou" + + "d.workflows.executions.v1.Execution.Call" + + "LogLevel\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(\0132" + + "J.google.cloud.workflows.executions.v1.E" + + "xecution.StackTraceElement.Position\0328\n\010P" + + "osition\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\010elements\030" + + "\001 \003(\0132A.google.cloud.workflows.execution" + + "s.v1.Execution.StackTraceElement\032z\n\005Erro" + + "r\022\017\n\007payload\030\001 \001(\t\022\017\n\007context\030\002 \001(\t\022O\n\013s" + + "tack_trace\030\003 \001(\0132:.google.cloud.workflow" + + "s.executions.v1.Execution.StackTrace\"T\n\005" + + "State\022\025\n\021STATE_UNSPECIFIED\020\000\022\n\n\006ACTIVE\020\001" + + "\022\r\n\tSUCCEEDED\020\002\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED" + + "\020\004\"V\n\014CallLogLevel\022\036\n\032CALL_LOG_LEVEL_UNS" + + "PECIFIED\020\000\022\021\n\rLOG_ALL_CALLS\020\001\022\023\n\017LOG_ERR" + + "ORS_ONLY\020\002:\206\001\352A\202\001\n+workflowexecutions.go" + + "ogleapis.com/Execution\022Sprojects/{projec" + + "t}/locations/{location}/workflows/{workf" + + "low}/executions/{execution}\"\301\001\n\025ListExec" + + "utionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!w" + + "orkflows.googleapis.com/Workflow\022\021\n\tpage" + + "_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view\030" + + "\004 \001(\01623.google.cloud.workflows.execution" + + "s.v1.ExecutionViewB\003\340A\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\"\234\001\n\026CreateExecut" + + "ionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!work" + + "flows.googleapis.com/Workflow\022G\n\texecuti" + + "on\030\002 \001(\0132/.google.cloud.workflows.execut" + + "ions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecutionR" + + "equest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowex" + + "ecutions.googleapis.com/Execution\022F\n\004vie" + + "w\030\002 \001(\01623.google.cloud.workflows.executi" + + "ons.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExecu" + + "tionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workf" + + "lowexecutions.googleapis.com/Execution*D" + + "\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPEC" + + "IFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecuti" + + "ons\022\330\001\n\016ListExecutions\022;.google.cloud.wo" + + "rkflows.executions.v1.ListExecutionsRequ" + + "est\032<.google.cloud.workflows.executions." + + "v1.ListExecutionsResponse\"K\202\323\344\223\002<\022:/v1/{" + + "parent=projects/*/locations/*/workflows/" + + "*}/executions\332A\006parent\022\342\001\n\017CreateExecuti" + + "on\022<.google.cloud.workflows.executions.v" + + "1.CreateExecutionRequest\032/.google.cloud." + + "workflows.executions.v1.Execution\"`\202\323\344\223\002" + + "G\":/v1/{parent=projects/*/locations/*/wo" + + "rkflows/*}/executions:\texecution\332A\020paren" + + "t,execution\022\305\001\n\014GetExecution\0229.google.cl" + + "oud.workflows.executions.v1.GetExecution" + + "Request\032/.google.cloud.workflows.executi" + + "ons.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=proj" + + "ects/*/locations/*/workflows/*/execution" + + "s/*}\332A\004name\022\325\001\n\017CancelExecution\022<.google" + + ".cloud.workflows.executions.v1.CancelExe" + + "cutionRequest\032/.google.cloud.workflows.e" + + "xecutions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{nam" + + "e=projects/*/locations/*/workflows/*/exe" + + "cutions/*}:cancel:\001*\332A\004name\032U\312A!workflow" + + "executions.googleapis.com\322A.https://www." + + "googleapis.com/auth/cloud-platformB\361\001\n(c" + + "om.google.cloud.workflows.executions.v1B" + + "\017ExecutionsProtoP\001ZNgoogle.golang.org/ge" + + "nproto/googleapis/cloud/workflows/execut" + + "ions/v1;executions\352Aa\n!workflows.googlea" + + "pis.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,16 +46,15 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,25 +73,27 @@ private GetExecutionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,36 +101,43 @@ private GetExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -120,31 +146,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 { @@ -155,33 +183,49 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int 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.
    * 
* - * .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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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; @@ -193,12 +237,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_); } unknownFields.writeTo(output); @@ -213,9 +258,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -225,15 +271,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -256,96 +302,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]
@@ -354,21 +408,23 @@ 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()
@@ -376,16 +432,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -397,13 +452,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();
     }
 
@@ -418,7 +474,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.GetExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1.GetExecutionRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -429,38 +486,39 @@ public com.google.cloud.workflows.executions.v1.GetExecutionRequest buildPartial
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.addRepeatedField(field, value);
     }
+
     @java.lang.Override
     public Builder mergeFrom(com.google.protobuf.Message other) {
       if (other instanceof com.google.cloud.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;
@@ -468,7 +526,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_;
         onChanged();
@@ -495,7 +555,8 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.GetExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.GetExecutionRequest) e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -507,20 +568,24 @@ public Builder mergeFrom(
 
     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; @@ -529,22 +594,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 { @@ -552,60 +620,73 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -613,55 +694,79 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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. */ @@ -669,29 +774,34 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,12 +811,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(); } @@ -715,16 +826,16 @@ 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 { - return new GetExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -739,6 +850,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java index bdcb228c..23c574a0 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/GetExecutionRequestOrBuilder.java @@ -1,53 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java similarity index 68% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java index d92d512c..ef40afe4 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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_ = "";
@@ -29,16 +47,15 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListExecutionsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,36 +74,39 @@ private ListExecutionsRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 16: {
-
-            pageSize_ = input.readInt32();
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              parent_ = s;
+              break;
+            }
+          case 16:
+            {
+              pageSize_ = input.readInt32();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageToken_ = s;
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+              pageToken_ = s;
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            view_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              view_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,35 +114,42 @@ private ListExecutionsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -131,30 +158,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 { @@ -165,6 +194,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -174,6 +205,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -184,6 +216,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -192,6 +226,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -200,14 +235,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.
@@ -216,16 +252,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 { @@ -236,33 +271,49 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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; @@ -274,8 +325,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -285,7 +335,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_); } unknownFields.writeTo(output); @@ -301,15 +353,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_); } size += unknownFields.getSerializedSize(); memoizedSize = size; @@ -319,19 +371,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -358,96 +408,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][]
@@ -456,21 +514,23 @@ 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()
@@ -478,16 +538,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -503,13 +562,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();
     }
 
@@ -524,7 +584,8 @@ 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);
+      com.google.cloud.workflows.executions.v1.ListExecutionsRequest result =
+          new com.google.cloud.workflows.executions.v1.ListExecutionsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -537,38 +598,39 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsRequest buildParti
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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;
@@ -576,7 +638,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_;
         onChanged();
@@ -610,7 +674,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.ListExecutionsRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.ListExecutionsRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -622,19 +688,23 @@ public Builder mergeFrom(
 
     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; @@ -643,21 +713,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 { @@ -665,64 +738,79 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -732,6 +820,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -739,6 +828,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
@@ -748,16 +839,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -767,10 +861,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -778,6 +873,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.
@@ -786,13 +883,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; @@ -801,6 +898,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -809,15 +908,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 { @@ -825,6 +923,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -833,20 +933,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -855,15 +957,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -872,16 +977,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -889,55 +994,79 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; 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]; + * + * .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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1.ExecutionView result = com.google.cloud.workflows.executions.v1.ExecutionView.valueOf(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.valueOf(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. */ @@ -945,29 +1074,34 @@ public Builder setView(com.google.cloud.workflows.executions.v1.ExecutionView va if (value == null) { throw new NullPointerException(); } - + 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]; + * + * .google.cloud.workflows.executions.v1.ExecutionView view = 4 [(.google.api.field_behavior) = OPTIONAL]; + * + * * @return This builder for chaining. */ public Builder clearView() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,30 +1111,32 @@ 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 { - return new ListExecutionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,9 +1148,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java similarity index 64% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java index 846e2292..bfc5dc1a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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 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.
@@ -52,10 +82,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.
@@ -64,28 +97,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.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(); diff --git a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java similarity index 73% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java index 187cc9ae..1054df8d 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +46,15 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListExecutionsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,28 +74,33 @@ private ListExecutionsResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              executions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                executions_ =
+                    new java.util.ArrayList();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              executions_.add(
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1.Execution.parser(),
+                      extensionRegistry));
+              break;
             }
-            executions_.add(
-                input.readMessage(com.google.cloud.workflows.executions.v1.Execution.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -86,8 +108,7 @@ private ListExecutionsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -96,22 +117,27 @@ private ListExecutionsResponse(
       makeExtensionsImmutable();
     }
   }
-  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;
   private java.util.List executions_;
   /**
+   *
+   *
    * 
    * The executions which match the request.
    * 
@@ -123,6 +149,8 @@ public java.util.List getExe return executions_; } /** + * + * *
    * The executions which match the request.
    * 
@@ -130,11 +158,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.
    * 
@@ -146,6 +176,8 @@ public int getExecutionsCount() { return executions_.size(); } /** + * + * *
    * The executions which match the request.
    * 
@@ -157,6 +189,8 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde return executions_.get(index); } /** + * + * *
    * The executions which match the request.
    * 
@@ -172,12 +206,15 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -186,30 +223,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 { @@ -218,6 +255,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +267,7 @@ public final boolean isInitialized() { } @java.lang.Override - 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)); } @@ -247,8 +284,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_); @@ -261,17 +297,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,96 +330,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]
@@ -393,21 +436,23 @@ 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()
@@ -415,17 +460,17 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getExecutionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,13 +486,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();
     }
 
@@ -462,7 +508,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -482,46 +529,50 @@ public com.google.cloud.workflows.executions.v1.ListExecutionsResponse buildPart
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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()) {
@@ -540,9 +591,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_);
           }
@@ -571,7 +623,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1.ListExecutionsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1.ListExecutionsResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -580,21 +634,30 @@ public Builder mergeFrom(
       }
       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.
      * 
@@ -609,6 +672,8 @@ public java.util.List getExe } } /** + * + * *
      * The executions which match the request.
      * 
@@ -623,6 +688,8 @@ public int getExecutionsCount() { } } /** + * + * *
      * The executions which match the request.
      * 
@@ -637,6 +704,8 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde } } /** + * + * *
      * The executions which match the request.
      * 
@@ -658,6 +727,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -676,6 +747,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -696,6 +769,8 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1.Execution return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -717,6 +792,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -735,6 +812,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -753,6 +832,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -763,8 +844,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); @@ -772,6 +852,8 @@ public Builder addAllExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -789,6 +871,8 @@ public Builder clearExecutions() { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -806,6 +890,8 @@ public Builder removeExecutions(int index) { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -817,6 +903,8 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionsB return getExecutionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The executions which match the request.
      * 
@@ -826,19 +914,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 { @@ -846,6 +937,8 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions } } /** + * + * *
      * The executions which match the request.
      * 
@@ -853,10 +946,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.
      * 
@@ -865,30 +960,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_; @@ -896,19 +997,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; @@ -917,21 +1020,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 { @@ -939,64 +1043,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1006,30 +1117,32 @@ 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 { - return new ListExecutionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,9 +1154,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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java index af9b0b73..8283508a 100644 --- a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ListExecutionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java b/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/v1/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java rename to proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/WorkflowName.java diff --git a/owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto b/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto similarity index 100% rename from owl-bot-staging/v1/proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto rename to proto-google-cloud-workflow-executions-v1/src/main/proto/google/cloud/workflows/executions/v1/executions.proto diff --git a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java similarity index 63% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java index f90bfc03..97bf582c 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** + * + * *
  * Request for the
  * [CancelExecution][google.cloud.workflows.executions.v1beta.Executions.CancelExecution]
@@ -12,31 +29,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CancelExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,19 +72,20 @@ private CancelExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            name_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              name_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -75,36 +93,43 @@ private CancelExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -113,31 +138,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 { @@ -146,6 +173,7 @@ public java.lang.String getName() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -157,8 +185,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -182,15 +209,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -210,96 +237,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]
@@ -308,38 +344,40 @@ 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()
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -349,14 +387,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
@@ -370,7 +410,8 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest(this);
       result.name_ = name_;
       onBuilt();
       return result;
@@ -380,46 +421,51 @@ public com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest build
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -443,7 +489,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.CancelExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -455,20 +503,24 @@ public Builder mergeFrom(
 
     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; @@ -477,22 +529,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 { @@ -500,67 +555,80 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -570,30 +638,32 @@ 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 { - return new CancelExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CancelExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -605,9 +675,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java new file mode 100644 index 00000000..195f1950 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CancelExecutionRequestOrBuilder.java @@ -0,0 +1,58 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java similarity index 62% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java index 6d41c501..edaad805 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/workflows/executions/v1beta/executions.proto package com.google.cloud.workflows.executions.v1beta; /** + * + * *
  * Request for the
  * [CreateExecution][google.cloud.workflows.executions.v1beta.Executions.CreateExecution]
@@ -12,31 +29,31 @@
  *
  * 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();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private CreateExecutionRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -55,32 +72,37 @@ private CreateExecutionRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 18: {
-            com.google.cloud.workflows.executions.v1beta.Execution.Builder subBuilder = null;
-            if (execution_ != null) {
-              subBuilder = execution_.toBuilder();
+              parent_ = s;
+              break;
             }
-            execution_ = input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.parser(), extensionRegistry);
-            if (subBuilder != null) {
-              subBuilder.mergeFrom(execution_);
-              execution_ = subBuilder.buildPartial();
+          case 18:
+            {
+              com.google.cloud.workflows.executions.v1beta.Execution.Builder subBuilder = null;
+              if (execution_ != null) {
+                subBuilder = execution_.toBuilder();
+              }
+              execution_ =
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
+                      extensionRegistry);
+              if (subBuilder != null) {
+                subBuilder.mergeFrom(execution_);
+                execution_ = subBuilder.buildPartial();
+              }
+
+              break;
             }
-
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -88,36 +110,43 @@ private CreateExecutionRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -126,31 +155,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 { @@ -161,11 +192,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 @@ -173,23 +209,34 @@ 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() { @@ -197,6 +244,7 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -208,8 +256,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -229,8 +276,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -240,19 +286,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -277,96 +322,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]
@@ -375,38 +429,40 @@ 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()
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -422,14 +478,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
@@ -443,7 +501,8 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest(this);
       result.parent_ = parent_;
       if (executionBuilder_ == null) {
         result.execution_ = execution_;
@@ -458,46 +517,51 @@ public com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest build
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -524,7 +588,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.CreateExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -536,20 +602,24 @@ public Builder mergeFrom(
 
     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; @@ -558,22 +628,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 { @@ -581,60 +654,73 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; @@ -642,39 +728,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 executionBuilder_ != null || 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. */ 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) { @@ -690,11 +795,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) { @@ -708,17 +817,23 @@ 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 (execution_ != null) { execution_ = - com.google.cloud.workflows.executions.v1beta.Execution.newBuilder(execution_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1beta.Execution.newBuilder(execution_) + .mergeFrom(value) + .buildPartial(); } else { execution_ = value; } @@ -730,11 +845,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() { if (executionBuilder_ == null) { @@ -748,55 +867,71 @@ 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() { - + onChanged(); 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); } @@ -806,30 +941,32 @@ 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 { - return new CreateExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new CreateExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -841,9 +978,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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java new file mode 100644 index 00000000..7b68f64e --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/CreateExecutionRequestOrBuilder.java @@ -0,0 +1,99 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/cloud/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java similarity index 71% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java index 63ba78e8..e20fba48 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/Execution.java @@ -1,24 +1,42 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +47,15 @@ private Execution() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Execution(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Execution( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -57,82 +74,96 @@ private Execution( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 18: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (startTime_ != null) { - subBuilder = startTime_.toBuilder(); - } - startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(startTime_); - startTime_ = subBuilder.buildPartial(); + name_ = s; + break; } + case 18: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (startTime_ != null) { + subBuilder = startTime_.toBuilder(); + } + startTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(startTime_); + startTime_ = subBuilder.buildPartial(); + } - break; - } - case 26: { - com.google.protobuf.Timestamp.Builder subBuilder = null; - if (endTime_ != null) { - subBuilder = endTime_.toBuilder(); - } - endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(endTime_); - endTime_ = subBuilder.buildPartial(); + break; } + case 26: + { + com.google.protobuf.Timestamp.Builder subBuilder = null; + if (endTime_ != null) { + subBuilder = endTime_.toBuilder(); + } + endTime_ = + input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(endTime_); + endTime_ = subBuilder.buildPartial(); + } - break; - } - case 32: { - int rawValue = input.readEnum(); - - state_ = rawValue; - break; - } - case 42: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 32: + { + int rawValue = input.readEnum(); - argument_ = s; - break; - } - case 50: { - java.lang.String s = input.readStringRequireUtf8(); + state_ = rawValue; + break; + } + case 42: + { + java.lang.String s = input.readStringRequireUtf8(); - result_ = s; - break; - } - case 58: { - com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder subBuilder = null; - if (error_ != null) { - subBuilder = error_.toBuilder(); + argument_ = s; + break; } - error_ = input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.Error.parser(), extensionRegistry); - if (subBuilder != null) { - subBuilder.mergeFrom(error_); - error_ = subBuilder.buildPartial(); + case 50: + { + java.lang.String s = input.readStringRequireUtf8(); + + result_ = s; + break; } + case 58: + { + com.google.cloud.workflows.executions.v1beta.Execution.Error.Builder subBuilder = + null; + if (error_ != null) { + subBuilder = error_.toBuilder(); + } + error_ = + input.readMessage( + com.google.cloud.workflows.executions.v1beta.Execution.Error.parser(), + extensionRegistry); + if (subBuilder != null) { + subBuilder.mergeFrom(error_); + error_ = subBuilder.buildPartial(); + } - break; - } - case 66: { - java.lang.String s = input.readStringRequireUtf8(); + break; + } + case 66: + { + java.lang.String s = input.readStringRequireUtf8(); - workflowRevisionId_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + workflowRevisionId_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -140,27 +171,31 @@ private Execution( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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.
@@ -168,9 +203,10 @@ private Execution(
    *
    * 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.
      * 
@@ -179,6 +215,8 @@ public enum State */ STATE_UNSPECIFIED(0), /** + * + * *
      * The execution is in progress.
      * 
@@ -187,6 +225,8 @@ public enum State */ ACTIVE(1), /** + * + * *
      * The execution finished successfully.
      * 
@@ -195,6 +235,8 @@ public enum State */ SUCCEEDED(2), /** + * + * *
      * The execution failed with an error.
      * 
@@ -203,6 +245,8 @@ public enum State */ FAILED(3), /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -214,6 +258,8 @@ public enum State ; /** + * + * *
      * Invalid state.
      * 
@@ -222,6 +268,8 @@ public enum State */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** + * + * *
      * The execution is in progress.
      * 
@@ -230,6 +278,8 @@ public enum State */ public static final int ACTIVE_VALUE = 1; /** + * + * *
      * The execution finished successfully.
      * 
@@ -238,6 +288,8 @@ public enum State */ public static final int SUCCEEDED_VALUE = 2; /** + * + * *
      * The execution failed with an error.
      * 
@@ -246,6 +298,8 @@ public enum State */ public static final int FAILED_VALUE = 3; /** + * + * *
      * The execution was stopped intentionally.
      * 
@@ -254,7 +308,6 @@ public enum State */ public static final int CANCELLED_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -279,51 +332,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; @@ -340,66 +397,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_ = ""; @@ -407,16 +478,15 @@ private Error() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new Error(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private Error( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -435,25 +505,27 @@ private Error( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - payload_ = s; - break; - } - case 18: { - java.lang.String s = input.readStringRequireUtf8(); + payload_ = s; + break; + } + case 18: + { + java.lang.String s = input.readStringRequireUtf8(); - context_ = s; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + context_ = s; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -461,34 +533,39 @@ private Error( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -497,29 +574,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 { @@ -530,11 +607,14 @@ public java.lang.String getPayload() { public static final int CONTEXT_FIELD_NUMBER = 2; private volatile java.lang.Object context_; /** + * + * *
      * Human readable error context, helpful for debugging purposes.
      * 
* * string context = 2; + * * @return The context. */ @java.lang.Override @@ -543,29 +623,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 { @@ -574,6 +654,7 @@ public java.lang.String getContext() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -585,8 +666,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -616,17 +696,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -648,87 +727,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 @@ -738,27 +824,32 @@ 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() @@ -766,16 +857,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -787,13 +877,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(); } @@ -808,7 +899,8 @@ 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); + com.google.cloud.workflows.executions.v1beta.Execution.Error result = + new com.google.cloud.workflows.executions.v1beta.Execution.Error(this); result.payload_ = payload_; result.context_ = context_; onBuilt(); @@ -819,38 +911,41 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Error buildPartial public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.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; @@ -858,7 +953,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_; onChanged(); @@ -886,7 +983,9 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1beta.Execution.Error) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1beta.Execution.Error) + e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -898,18 +997,20 @@ public Builder mergeFrom( 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; @@ -918,20 +1019,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 { @@ -939,54 +1041,61 @@ 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) { + public Builder setPayload(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + payload_ = value; 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() { - + payload_ = getDefaultInstance().getPayload(); onChanged(); 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) { + public Builder setPayloadBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + payload_ = value; onChanged(); return this; @@ -994,18 +1103,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; @@ -1014,20 +1125,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 { @@ -1035,58 +1147,66 @@ 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) { + public Builder setContext(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + context_ = value; onChanged(); return this; } /** + * + * *
        * Human readable error context, helpful for debugging purposes.
        * 
* * string context = 2; + * * @return This builder for chaining. */ public Builder clearContext() { - + context_ = getDefaultInstance().getContext(); onChanged(); 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) { + public Builder setContextBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + context_ = value; onChanged(); return this; } + @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { @@ -1099,30 +1219,32 @@ 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 { - return new Error(input, extensionRegistry); - } - }; + 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 { + return new Error(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1134,15 +1256,17 @@ 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; private volatile java.lang.Object name_; /** + * + * *
    * Output only. The resource name of the execution.
    * Format:
@@ -1150,6 +1274,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 @@ -1158,14 +1283,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:
@@ -1173,16 +1299,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 { @@ -1193,11 +1318,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 @@ -1205,11 +1334,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 @@ -1217,11 +1350,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() { @@ -1231,11 +1367,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 @@ -1243,11 +1383,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 @@ -1255,11 +1399,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() { @@ -1269,39 +1416,57 @@ public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() { public static final int STATE_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1beta.Execution.State getState() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.Execution.State result = com.google.cloud.workflows.executions.v1beta.Execution.State.valueOf(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.valueOf(state_); + return result == null + ? com.google.cloud.workflows.executions.v1beta.Execution.State.UNRECOGNIZED + : result; } public static final int ARGUMENT_FIELD_NUMBER = 5; 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 @@ -1310,30 +1475,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 { @@ -1344,12 +1509,15 @@ public java.lang.String getArgument() { public static final int RESULT_FIELD_NUMBER = 6; 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 @@ -1358,30 +1526,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 { @@ -1392,13 +1560,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 @@ -1406,27 +1579,38 @@ 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() { @@ -1436,11 +1620,14 @@ public com.google.cloud.workflows.executions.v1beta.Execution.ErrorOrBuilder get public static final int WORKFLOW_REVISION_ID_FIELD_NUMBER = 8; 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 @@ -1449,29 +1636,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 { @@ -1480,6 +1667,7 @@ public java.lang.String getWorkflowRevisionId() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1491,8 +1679,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.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_); } @@ -1502,7 +1689,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_)) { @@ -1530,16 +1719,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_); @@ -1548,8 +1736,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_); @@ -1562,37 +1749,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1632,117 +1813,127 @@ 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() @@ -1750,16 +1941,15 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } + private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3 - .alwaysUseFieldBuilders) { - } + if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} } + @java.lang.Override public Builder clear() { super.clear(); @@ -1795,9 +1985,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 @@ -1816,7 +2006,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); + com.google.cloud.workflows.executions.v1beta.Execution result = + new com.google.cloud.workflows.executions.v1beta.Execution(this); result.name_ = name_; if (startTimeBuilder_ == null) { result.startTime_ = startTime_; @@ -1845,38 +2036,39 @@ public com.google.cloud.workflows.executions.v1beta.Execution buildPartial() { public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } + @java.lang.Override - public Builder clearField( - com.google.protobuf.Descriptors.FieldDescriptor field) { + public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } + @java.lang.Override - public Builder clearOneof( - com.google.protobuf.Descriptors.OneofDescriptor oneof) { + public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } + @java.lang.Override public Builder setRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - int index, java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } + @java.lang.Override public Builder addRepeatedField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } + @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.cloud.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; @@ -1884,7 +2076,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_; onChanged(); @@ -1932,7 +2125,8 @@ public Builder mergeFrom( try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { - parsedMessage = (com.google.cloud.workflows.executions.v1beta.Execution) e.getUnfinishedMessage(); + parsedMessage = + (com.google.cloud.workflows.executions.v1beta.Execution) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { @@ -1944,6 +2138,8 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1951,13 +2147,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; @@ -1966,6 +2162,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1973,15 +2171,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 { @@ -1989,6 +2186,8 @@ public java.lang.String getName() { } } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -1996,20 +2195,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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2017,15 +2218,18 @@ public Builder setName(
      * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * * @return This builder for chaining. */ public Builder clearName() { - + name_ = getDefaultInstance().getName(); onChanged(); return this; } /** + * + * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2033,16 +2237,16 @@ 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) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -2050,24 +2254,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 startTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getStartTime() { @@ -2078,11 +2293,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) { @@ -2098,14 +2316,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(); onChanged(); @@ -2116,17 +2336,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 (startTime_ != null) { startTime_ = - com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial(); } else { startTime_ = value; } @@ -2138,11 +2361,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() { if (startTimeBuilder_ == null) { @@ -2156,48 +2382,59 @@ 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() { - + onChanged(); 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_; @@ -2205,24 +2442,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 endTimeBuilder_ != null || 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. */ public com.google.protobuf.Timestamp getEndTime() { @@ -2233,11 +2481,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) { @@ -2253,14 +2504,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(); onChanged(); @@ -2271,17 +2524,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 (endTime_ != null) { endTime_ = - com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); + com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial(); } else { endTime_ = value; } @@ -2293,11 +2549,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() { if (endTimeBuilder_ == null) { @@ -2311,48 +2570,59 @@ 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() { - + 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]; + * .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_; @@ -2360,51 +2630,75 @@ 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. */ public Builder setStateValue(int value) { - + state_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.Execution.State result = com.google.cloud.workflows.executions.v1beta.Execution.State.valueOf(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.valueOf(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. */ @@ -2412,21 +2706,26 @@ public Builder setState(com.google.cloud.workflows.executions.v1beta.Execution.S if (value == null) { throw new NullPointerException(); } - + state_ = value.getNumber(); onChanged(); 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() { - + state_ = 0; onChanged(); return this; @@ -2434,19 +2733,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; @@ -2455,21 +2756,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 { @@ -2477,57 +2779,64 @@ 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) { + public Builder setArgument(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + argument_ = value; 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() { - + argument_ = getDefaultInstance().getArgument(); onChanged(); 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) { + public Builder setArgumentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + argument_ = value; onChanged(); return this; @@ -2535,19 +2844,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; @@ -2556,21 +2867,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 { @@ -2578,57 +2890,64 @@ 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) { + public Builder setResult(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + result_ = value; 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(); 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) { + public Builder setResultBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + result_ = value; onChanged(); return this; @@ -2636,45 +2955,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 errorBuilder_ != null || 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. */ 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) { @@ -2690,13 +3028,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) { @@ -2710,19 +3052,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 (error_ != null) { error_ = - com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder(error_).mergeFrom(value).buildPartial(); + com.google.cloud.workflows.executions.v1beta.Execution.Error.newBuilder(error_) + .mergeFrom(value) + .buildPartial(); } else { error_ = value; } @@ -2734,13 +3082,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() { if (errorBuilder_ == null) { @@ -2754,54 +3106,71 @@ 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() { - + 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.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_; @@ -2809,18 +3178,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; @@ -2829,20 +3200,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 { @@ -2850,61 +3222,68 @@ 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) { + public Builder setWorkflowRevisionId(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + workflowRevisionId_ = value; 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(); 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) { + public Builder setWorkflowRevisionIdBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + workflowRevisionId_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2914,12 +3293,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(); } @@ -2928,16 +3307,16 @@ 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 { - return new Execution(input, extensionRegistry); - } - }; + 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 { + return new Execution(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -2952,6 +3331,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionName.java diff --git a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java index cbf20e31..e936b9a7 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java index a6434738..74af5f69 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionView.java @@ -1,18 +1,36 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java new file mode 100644 index 00000000..53b978e9 --- /dev/null +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsProto.java @@ -0,0 +1,238 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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\"\370\004\n\tExecution\022\021\n\004name\030\001 \001(\tB\003\340" + + "A\003\0223\n\nstart_time\030\002 \001(\0132\032.google.protobuf" + + ".TimestampB\003\340A\003\0221\n\010end_time\030\003 \001(\0132\032.goog" + + "le.protobuf.TimestampB\003\340A\003\022M\n\005state\030\004 \001(" + + "\01629.google.cloud.workflows.executions.v1" + + "beta.Execution.StateB\003\340A\003\022\020\n\010argument\030\005 " + + "\001(\t\022\023\n\006result\030\006 \001(\tB\003\340A\003\022M\n\005error\030\007 \001(\0132" + + "9.google.cloud.workflows.executions.v1be" + + "ta.Execution.ErrorB\003\340A\003\022!\n\024workflow_revi" + + "sion_id\030\010 \001(\tB\003\340A\003\032)\n\005Error\022\017\n\007payload\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\tSUCCEEDED\020\002" + + "\022\n\n\006FAILED\020\003\022\r\n\tCANCELLED\020\004:\206\001\352A\202\001\n+work" + + "flowexecutions.googleapis.com/Execution\022" + + "Sprojects/{project}/locations/{location}" + + "/workflows/{workflow}/executions/{execut" + + "ion}\"\305\001\n\025ListExecutionsRequest\0229\n\006parent" + + "\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapis.com" + + "/Workflow\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_tok" + + "en\030\003 \001(\t\022J\n\004view\030\004 \001(\01627.google.cloud.wo" + + "rkflows.executions.v1beta.ExecutionViewB" + + "\003\340A\001\"z\n\026ListExecutionsResponse\022G\n\nexecut" + + "ions\030\001 \003(\01323.google.cloud.workflows.exec" + + "utions.v1beta.Execution\022\027\n\017next_page_tok" + + "en\030\002 \001(\t\"\240\001\n\026CreateExecutionRequest\0229\n\006p" + + "arent\030\001 \001(\tB)\340A\002\372A#\n!workflows.googleapi" + + "s.com/Workflow\022K\n\texecution\030\002 \001(\01323.goog" + + "le.cloud.workflows.executions.v1beta.Exe" + + "cutionB\003\340A\002\"\244\001\n\023GetExecutionRequest\022A\n\004n" + + "ame\030\001 \001(\tB3\340A\002\372A-\n+workflowexecutions.go" + + "ogleapis.com/Execution\022J\n\004view\030\002 \001(\01627.g" + + "oogle.cloud.workflows.executions.v1beta." + + "ExecutionViewB\003\340A\001\"[\n\026CancelExecutionReq" + + "uest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowexec" + + "utions.googleapis.com/Execution*D\n\rExecu" + + "tionView\022\036\n\032EXECUTION_VIEW_UNSPECIFIED\020\000" + + "\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\363\007\n\nExecutions\022\344\001\n" + + "\016ListExecutions\022?.google.cloud.workflows" + + ".executions.v1beta.ListExecutionsRequest" + + "\032@.google.cloud.workflows.executions.v1b" + + "eta.ListExecutionsResponse\"O\202\323\344\223\002@\022>/v1b" + + "eta/{parent=projects/*/locations/*/workf" + + "lows/*}/executions\332A\006parent\022\356\001\n\017CreateEx" + + "ecution\022@.google.cloud.workflows.executi" + + "ons.v1beta.CreateExecutionRequest\0323.goog" + + "le.cloud.workflows.executions.v1beta.Exe" + + "cution\"d\202\323\344\223\002K\">/v1beta/{parent=projects" + + "/*/locations/*/workflows/*}/executions:\t" + + "execution\332A\020parent,execution\022\321\001\n\014GetExec" + + "ution\022=.google.cloud.workflows.execution" + + "s.v1beta.GetExecutionRequest\0323.google.cl" + + "oud.workflows.executions.v1beta.Executio" + + "n\"M\202\323\344\223\002@\022>/v1beta/{name=projects/*/loca" + + "tions/*/workflows/*/executions/*}\332A\004name" + + "\022\341\001\n\017CancelExecution\022@.google.cloud.work" + + "flows.executions.v1beta.CancelExecutionR" + + "equest\0323.google.cloud.workflows.executio" + + "ns.v1beta.Execution\"W\202\323\344\223\002J\"E/v1beta/{na" + + "me=projects/*/locations/*/workflows/*/ex" + + "ecutions/*}:cancel:\001*\332A\004name\032U\312A!workflo" + + "wexecutions.googleapis.com\322A.https://www" + + ".googleapis.com/auth/cloud-platformB\371\001\n," + + "com.google.cloud.workflows.executions.v1" + + "betaB\017ExecutionsProtoP\001ZRgoogle.golang.o" + + "rg/genproto/googleapis/cloud/workflows/e" + + "xecutions/v1beta;executions\352Aa\n!workflow" + + "s.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,16 +46,15 @@ private GetExecutionRequest() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new GetExecutionRequest(); } @java.lang.Override - public final com.google.protobuf.UnknownFieldSet - getUnknownFields() { + public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } + private GetExecutionRequest( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) @@ -56,25 +73,27 @@ private GetExecutionRequest( case 0: done = true; break; - case 10: { - java.lang.String s = input.readStringRequireUtf8(); + case 10: + { + java.lang.String s = input.readStringRequireUtf8(); - name_ = s; - break; - } - case 16: { - int rawValue = input.readEnum(); + name_ = s; + break; + } + case 16: + { + int rawValue = input.readEnum(); - view_ = rawValue; - break; - } - default: { - if (!parseUnknownField( - input, unknownFields, extensionRegistry, tag)) { - done = true; + view_ = rawValue; + break; + } + default: + { + if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { + done = true; + } + break; } - break; - } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { @@ -82,36 +101,43 @@ private GetExecutionRequest( } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException( - e).setUnfinishedMessage(this); + throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } - 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; 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 @@ -120,31 +146,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 { @@ -155,33 +183,49 @@ public java.lang.String getName() { public static final int VIEW_FIELD_NUMBER = 2; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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; @@ -193,12 +237,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_); } unknownFields.writeTo(output); @@ -213,9 +258,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -225,15 +271,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -256,96 +302,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]
@@ -354,21 +408,23 @@ 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()
@@ -376,16 +432,15 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -397,13 +452,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();
     }
 
@@ -418,7 +474,8 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.GetExecutionRequest result =
+          new com.google.cloud.workflows.executions.v1beta.GetExecutionRequest(this);
       result.name_ = name_;
       result.view_ = view_;
       onBuilt();
@@ -429,46 +486,50 @@ public com.google.cloud.workflows.executions.v1beta.GetExecutionRequest buildPar
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -495,7 +556,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.GetExecutionRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -507,20 +570,24 @@ public Builder mergeFrom(
 
     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; @@ -529,22 +596,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 { @@ -552,60 +622,73 @@ 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) { + public Builder setName(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + name_ = value; onChanged(); return this; } /** + * + * *
      * Required. Name of the 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() { - + name_ = getDefaultInstance().getName(); 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) = { ... } + * + * * @param value The bytes for name to set. * @return This builder for chaining. */ - public Builder setNameBytes( - com.google.protobuf.ByteString value) { + public Builder setNameBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + name_ = value; onChanged(); return this; @@ -613,55 +696,79 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; onChanged(); 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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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. */ @@ -669,29 +776,34 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie if (value == null) { throw new NullPointerException(); } - + view_ = value.getNumber(); onChanged(); 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() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -701,30 +813,32 @@ 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 { - return new GetExecutionRequest(input, extensionRegistry); - } - }; + 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 { + return new GetExecutionRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -736,9 +850,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java index 02246254..a1c7f5dd 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/GetExecutionRequestOrBuilder.java @@ -1,53 +1,88 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the 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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java similarity index 67% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java index 80658267..58e24987 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequest.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +47,15 @@ private ListExecutionsRequest() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsRequest();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListExecutionsRequest(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,36 +74,39 @@ private ListExecutionsRequest(
           case 0:
             done = true;
             break;
-          case 10: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 10:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            parent_ = s;
-            break;
-          }
-          case 16: {
-
-            pageSize_ = input.readInt32();
-            break;
-          }
-          case 26: {
-            java.lang.String s = input.readStringRequireUtf8();
+              parent_ = s;
+              break;
+            }
+          case 16:
+            {
+              pageSize_ = input.readInt32();
+              break;
+            }
+          case 26:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            pageToken_ = s;
-            break;
-          }
-          case 32: {
-            int rawValue = input.readEnum();
+              pageToken_ = s;
+              break;
+            }
+          case 32:
+            {
+              int rawValue = input.readEnum();
 
-            view_ = rawValue;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              view_ = rawValue;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -94,35 +114,42 @@ private ListExecutionsRequest(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       this.unknownFields = unknownFields.build();
       makeExtensionsImmutable();
     }
   }
-  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;
   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 @@ -131,30 +158,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 { @@ -165,6 +194,8 @@ public java.lang.String getParent() { public static final int PAGE_SIZE_FIELD_NUMBER = 2; private int pageSize_; /** + * + * *
    * Maximum number of executions to return per call.
    * Max supported value depends on the selected Execution view: it's 10000 for
@@ -174,6 +205,7 @@ public java.lang.String getParent() {
    * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -184,6 +216,8 @@ public int getPageSize() { public static final int PAGE_TOKEN_FIELD_NUMBER = 3; private volatile java.lang.Object pageToken_; /** + * + * *
    * A page token, received from a previous `ListExecutions` call.
    * Provide this to retrieve the subsequent page.
@@ -192,6 +226,7 @@ public int getPageSize() {
    * 
* * string page_token = 3; + * * @return The pageToken. */ @java.lang.Override @@ -200,14 +235,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.
@@ -216,16 +252,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 { @@ -236,33 +271,49 @@ public java.lang.String getPageToken() { public static final int VIEW_FIELD_NUMBER = 4; private int 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 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() { + @java.lang.Override + public com.google.cloud.workflows.executions.v1beta.ExecutionView getView() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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; @@ -274,8 +325,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } @@ -285,7 +335,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_); } unknownFields.writeTo(output); @@ -301,15 +353,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 += unknownFields.getSerializedSize(); memoizedSize = size; @@ -319,19 +371,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 (!unknownFields.equals(other.unknownFields)) return false; return true; @@ -358,96 +408,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]
@@ -456,38 +515,40 @@ 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()
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
-      }
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -503,14 +564,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
@@ -524,7 +587,8 @@ 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);
+      com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest result =
+          new com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest(this);
       result.parent_ = parent_;
       result.pageSize_ = pageSize_;
       result.pageToken_ = pageToken_;
@@ -537,46 +601,51 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest buildP
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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_;
         onChanged();
@@ -610,7 +679,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.ListExecutionsRequest)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -622,19 +693,23 @@ public Builder mergeFrom(
 
     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; @@ -643,21 +718,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 { @@ -665,64 +743,79 @@ 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) { + public Builder setParent(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + parent_ = value; 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() { - + parent_ = getDefaultInstance().getParent(); 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) = { ... } + * + * * @param value The bytes for parent to set. * @return This builder for chaining. */ - public Builder setParentBytes( - com.google.protobuf.ByteString value) { + public Builder setParentBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + parent_ = value; onChanged(); return this; } - private int pageSize_ ; + private int pageSize_; /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -732,6 +825,7 @@ public Builder setParentBytes(
      * 
* * int32 page_size = 2; + * * @return The pageSize. */ @java.lang.Override @@ -739,6 +833,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
@@ -748,16 +844,19 @@ public int getPageSize() {
      * 
* * int32 page_size = 2; + * * @param value The pageSize to set. * @return This builder for chaining. */ public Builder setPageSize(int value) { - + pageSize_ = value; onChanged(); return this; } /** + * + * *
      * Maximum number of executions to return per call.
      * Max supported value depends on the selected Execution view: it's 10000 for
@@ -767,10 +866,11 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; + * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -778,6 +878,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.
@@ -786,13 +888,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; @@ -801,6 +903,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -809,15 +913,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 { @@ -825,6 +928,8 @@ public java.lang.String getPageToken() { } } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -833,20 +938,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) { + public Builder setPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + pageToken_ = value; onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -855,15 +962,18 @@ public Builder setPageToken(
      * 
* * string page_token = 3; + * * @return This builder for chaining. */ public Builder clearPageToken() { - + pageToken_ = getDefaultInstance().getPageToken(); onChanged(); return this; } /** + * + * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -872,16 +982,16 @@ 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) { + public Builder setPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + pageToken_ = value; onChanged(); return this; @@ -889,55 +999,79 @@ 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. */ public Builder setViewValue(int value) { - + view_ = value; 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.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() { @SuppressWarnings("deprecation") - com.google.cloud.workflows.executions.v1beta.ExecutionView result = com.google.cloud.workflows.executions.v1beta.ExecutionView.valueOf(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.valueOf(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. */ @@ -945,29 +1079,34 @@ public Builder setView(com.google.cloud.workflows.executions.v1beta.ExecutionVie if (value == null) { throw new NullPointerException(); } - + 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.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() { - + view_ = 0; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -977,30 +1116,32 @@ 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 { - return new ListExecutionsRequest(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsRequest(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1012,9 +1153,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java index e547072c..bb32cb76 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsRequestOrBuilder.java @@ -1,35 +1,62 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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.
@@ -52,10 +82,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.
@@ -64,28 +97,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java similarity index 72% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java index 6dec1160..96da4bf2 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponse.java @@ -1,9 +1,26 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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,16 +46,15 @@ private ListExecutionsResponse() {
 
   @java.lang.Override
   @SuppressWarnings({"unused"})
-  protected java.lang.Object newInstance(
-      UnusedPrivateParameter unused) {
+  protected java.lang.Object newInstance(UnusedPrivateParameter unused) {
     return new ListExecutionsResponse();
   }
 
   @java.lang.Override
-  public final com.google.protobuf.UnknownFieldSet
-  getUnknownFields() {
+  public final com.google.protobuf.UnknownFieldSet getUnknownFields() {
     return this.unknownFields;
   }
+
   private ListExecutionsResponse(
       com.google.protobuf.CodedInputStream input,
       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
@@ -57,28 +74,34 @@ private ListExecutionsResponse(
           case 0:
             done = true;
             break;
-          case 10: {
-            if (!((mutable_bitField0_ & 0x00000001) != 0)) {
-              executions_ = new java.util.ArrayList();
-              mutable_bitField0_ |= 0x00000001;
+          case 10:
+            {
+              if (!((mutable_bitField0_ & 0x00000001) != 0)) {
+                executions_ =
+                    new java.util.ArrayList<
+                        com.google.cloud.workflows.executions.v1beta.Execution>();
+                mutable_bitField0_ |= 0x00000001;
+              }
+              executions_.add(
+                  input.readMessage(
+                      com.google.cloud.workflows.executions.v1beta.Execution.parser(),
+                      extensionRegistry));
+              break;
             }
-            executions_.add(
-                input.readMessage(com.google.cloud.workflows.executions.v1beta.Execution.parser(), extensionRegistry));
-            break;
-          }
-          case 18: {
-            java.lang.String s = input.readStringRequireUtf8();
+          case 18:
+            {
+              java.lang.String s = input.readStringRequireUtf8();
 
-            nextPageToken_ = s;
-            break;
-          }
-          default: {
-            if (!parseUnknownField(
-                input, unknownFields, extensionRegistry, tag)) {
-              done = true;
+              nextPageToken_ = s;
+              break;
+            }
+          default:
+            {
+              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
+                done = true;
+              }
+              break;
             }
-            break;
-          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
@@ -86,8 +109,7 @@ private ListExecutionsResponse(
     } catch (com.google.protobuf.UninitializedMessageException e) {
       throw e.asInvalidProtocolBufferException().setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(
-          e).setUnfinishedMessage(this);
+      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
     } finally {
       if (((mutable_bitField0_ & 0x00000001) != 0)) {
         executions_ = java.util.Collections.unmodifiableList(executions_);
@@ -96,22 +118,27 @@ private ListExecutionsResponse(
       makeExtensionsImmutable();
     }
   }
-  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;
   private java.util.List executions_;
   /**
+   *
+   *
    * 
    * The executions which match the request.
    * 
@@ -119,10 +146,13 @@ private ListExecutionsResponse( * 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.
    * 
@@ -130,11 +160,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.
    * 
@@ -146,6 +178,8 @@ public int getExecutionsCount() { return executions_.size(); } /** + * + * *
    * The executions which match the request.
    * 
@@ -157,6 +191,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int return executions_.get(index); } /** + * + * *
    * The executions which match the request.
    * 
@@ -172,12 +208,15 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER = 2; 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 @@ -186,30 +225,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 { @@ -218,6 +257,7 @@ public java.lang.String getNextPageToken() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -229,8 +269,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < executions_.size(); i++) { output.writeMessage(1, executions_.get(i)); } @@ -247,8 +286,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_); @@ -261,17 +299,16 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.cloud.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -295,96 +332,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]
@@ -393,39 +439,42 @@ 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()
+    // Construct using
+    // com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse.newBuilder()
     private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(
-        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
+
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3
-              .alwaysUseFieldBuilders) {
+      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {
         getExecutionsFieldBuilder();
       }
     }
+
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -441,14 +490,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
@@ -462,7 +513,8 @@ 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);
       int from_bitField0_ = bitField0_;
       if (executionsBuilder_ == null) {
         if (((bitField0_ & 0x00000001) != 0)) {
@@ -482,46 +534,51 @@ public com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse build
     public Builder clone() {
       return super.clone();
     }
+
     @java.lang.Override
     public Builder setField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) {
       return super.setField(field, value);
     }
+
     @java.lang.Override
-    public Builder clearField(
-        com.google.protobuf.Descriptors.FieldDescriptor field) {
+    public Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) {
       return super.clearField(field);
     }
+
     @java.lang.Override
-    public Builder clearOneof(
-        com.google.protobuf.Descriptors.OneofDescriptor oneof) {
+    public Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) {
       return super.clearOneof(oneof);
     }
+
     @java.lang.Override
     public Builder setRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        int index, java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) {
       return super.setRepeatedField(field, index, value);
     }
+
     @java.lang.Override
     public Builder addRepeatedField(
-        com.google.protobuf.Descriptors.FieldDescriptor field,
-        java.lang.Object value) {
+        com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.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()) {
@@ -540,9 +597,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_);
           }
@@ -571,7 +629,9 @@ public Builder mergeFrom(
       try {
         parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
       } catch (com.google.protobuf.InvalidProtocolBufferException e) {
-        parsedMessage = (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse) e.getUnfinishedMessage();
+        parsedMessage =
+            (com.google.cloud.workflows.executions.v1beta.ListExecutionsResponse)
+                e.getUnfinishedMessage();
         throw e.unwrapIOException();
       } finally {
         if (parsedMessage != null) {
@@ -580,28 +640,38 @@ public Builder mergeFrom(
       }
       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 { @@ -609,6 +679,8 @@ public java.util.List ge } } /** + * + * *
      * The executions which match the request.
      * 
@@ -623,6 +695,8 @@ public int getExecutionsCount() { } } /** + * + * *
      * The executions which match the request.
      * 
@@ -637,6 +711,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int } } /** + * + * *
      * The executions which match the request.
      * 
@@ -658,6 +734,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -676,6 +754,8 @@ public Builder setExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -696,6 +776,8 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1beta.Execut return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -717,6 +799,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -735,6 +819,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -753,6 +839,8 @@ public Builder addExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -760,11 +848,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); @@ -772,6 +860,8 @@ public Builder addAllExecutions( return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -789,6 +879,8 @@ public Builder clearExecutions() { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -806,6 +898,8 @@ public Builder removeExecutions(int index) { return this; } /** + * + * *
      * The executions which match the request.
      * 
@@ -817,6 +911,8 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti return getExecutionsFieldBuilder().getBuilder(index); } /** + * + * *
      * The executions which match the request.
      * 
@@ -826,19 +922,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 { @@ -846,6 +945,8 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } } /** + * + * *
      * The executions which match the request.
      * 
@@ -853,10 +954,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.
      * 
@@ -865,30 +968,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_; @@ -896,19 +1005,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; @@ -917,21 +1028,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 { @@ -939,64 +1051,71 @@ 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) { + public Builder setNextPageToken(java.lang.String value) { if (value == null) { - throw new NullPointerException(); - } - + throw new NullPointerException(); + } + nextPageToken_ = value; 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() { - + nextPageToken_ = getDefaultInstance().getNextPageToken(); 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; + * * @param value The bytes for nextPageToken to set. * @return This builder for chaining. */ - public Builder setNextPageTokenBytes( - com.google.protobuf.ByteString value) { + public Builder setNextPageTokenBytes(com.google.protobuf.ByteString value) { if (value == null) { - throw new NullPointerException(); - } - checkByteStringIsUtf8(value); - + throw new NullPointerException(); + } + checkByteStringIsUtf8(value); + nextPageToken_ = value; onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1006,30 +1125,32 @@ 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 { - return new ListExecutionsResponse(input, extensionRegistry); - } - }; + 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 { + return new ListExecutionsResponse(input, extensionRegistry); + } + }; public static com.google.protobuf.Parser parser() { return PARSER; @@ -1041,9 +1162,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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java index 79c065a4..38dd3b5d 100644 --- a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java +++ b/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ListExecutionsResponseOrBuilder.java @@ -1,22 +1,41 @@ +/* + * Copyright 2020 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/cloud/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java b/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/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java rename to proto-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/WorkflowName.java diff --git a/owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto b/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto similarity index 100% rename from owl-bot-staging/v1beta/proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto rename to proto-google-cloud-workflow-executions-v1beta/src/main/proto/google/cloud/workflows/executions/v1beta/executions.proto From f816ab0f5a6913f0b0f66866d4ab9adbc33fca79 Mon Sep 17 00:00:00 2001 From: Neenu Shaji Date: Thu, 23 Jun 2022 12:28:48 -0400 Subject: [PATCH 7/7] Update pom.xml --- google-cloud-workflow-executions/pom.xml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/google-cloud-workflow-executions/pom.xml b/google-cloud-workflow-executions/pom.xml index c0ae7398..73761214 100644 --- a/google-cloud-workflow-executions/pom.xml +++ b/google-cloud-workflow-executions/pom.xml @@ -62,6 +62,10 @@ com.google.api gax-grpc + + com.google.api + gax-httpjson + @@ -82,12 +86,24 @@ test + + com.google.api + gax + testlib + test + com.google.api gax-grpc testlib test + + com.google.api + gax-httpjson + testlib + test +