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 01e77f7a..00000000 --- a/grpc-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsGrpc.java +++ /dev/null @@ -1,738 +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") -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 64cef090..00000000 --- a/grpc-google-cloud-workflow-executions-v1beta/src/main/java/com/google/cloud/workflows/executions/v1beta/ExecutionsGrpc.java +++ /dev/null @@ -1,742 +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") -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 98% 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 d8de162f..226c72d0 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 @@ -56,13 +56,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. *
* @@ -625,10 +625,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( @@ -678,10 +675,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 5eae335a..d411d9df 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 43324830..b2ad23d3 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 7ad2a861..54a66d0a 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..324806c8 --- /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,577 @@ +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") +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 37f9bf6b..b0890f66 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,62 +55,54 @@ 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) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.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 @@ -136,33 +111,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 { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +155,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -196,7 +169,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); @@ -207,15 +180,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; } @@ -235,104 +208,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]
@@ -341,23 +306,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()
@@ -365,15 +328,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -383,14 +347,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();
     }
 
@@ -405,8 +368,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;
@@ -416,50 +378,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();
@@ -483,9 +441,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) {
@@ -497,24 +453,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; @@ -523,25 +475,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 { @@ -549,80 +498,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); } @@ -632,32 +568,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; @@ -669,8 +603,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 74f6d3bd..0adb9b46 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,79 +55,67 @@ 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) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.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 @@ -153,33 +124,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 { @@ -190,16 +159,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 @@ -207,34 +171,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() { @@ -242,7 +195,6 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutionO } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,8 +206,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (execution_ != null) { @@ -270,11 +223,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { 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; @@ -284,18 +238,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; @@ -320,104 +275,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]
@@ -426,23 +373,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()
@@ -450,15 +395,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -474,14 +420,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();
     }
 
@@ -496,8 +441,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_;
@@ -512,50 +456,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();
@@ -582,9 +522,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) {
@@ -596,24 +534,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; @@ -622,25 +556,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 { @@ -648,73 +579,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; @@ -722,58 +640,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) { @@ -789,15 +688,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) { @@ -811,23 +706,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; } @@ -839,15 +728,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) { @@ -861,71 +746,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); } @@ -935,32 +804,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; @@ -972,8 +839,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 71% 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 2d83128d..eaffdfa8 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;
@@ -48,15 +30,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)
@@ -75,125 +58,108 @@ 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();
             }
-          default:
-            {
-              if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) {
-                done = true;
-              }
-              break;
+            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();
+
+            workflowRevisionId_ = s;
+            break;
+          }
+          default: {
+            if (!parseUnknownField(
+                input, unknownFields, extensionRegistry, tag)) {
+              done = true;
+            }
+            break;
+          }
         }
       }
     } catch (com.google.protobuf.InvalidProtocolBufferException e) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.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 may be added
    * in the future.
@@ -201,10 +167,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.
      * 
@@ -213,8 +178,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The execution is in progress.
      * 
@@ -223,8 +186,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
      * The execution finished successfully.
      * 
@@ -233,8 +194,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(2), /** - * - * *
      * The execution failed with an error.
      * 
@@ -243,8 +202,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -256,8 +213,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid state.
      * 
@@ -266,8 +221,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The execution is in progress.
      * 
@@ -276,8 +229,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The execution finished successfully.
      * 
@@ -286,8 +237,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 2; /** - * - * *
      * The execution failed with an error.
      * 
@@ -296,8 +245,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -306,6 +253,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( @@ -330,55 +278,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; @@ -395,80 +339,66 @@ private State(int value) { // @@protoc_insertion_point(enum_scope:google.cloud.workflows.executions.v1.Execution.State) } - 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 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.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_ = ""; @@ -476,15 +406,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) @@ -503,65 +434,58 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.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 payload returned by the execution, represented as a JSON string.
      * 
* * string payload = 1; - * * @return The payload. */ @java.lang.Override @@ -570,29 +494,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 { @@ -603,14 +527,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 @@ -619,29 +540,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 { @@ -650,7 +571,6 @@ public com.google.protobuf.ByteString getContextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -662,11 +582,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getPayloadBytes().isEmpty()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, payload_); } - if (!getContextBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, context_); } unknownFields.writeTo(output); @@ -678,10 +599,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getPayloadBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, payload_); } - if (!getContextBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, context_); } size += unknownFields.getSerializedSize(); @@ -692,16 +613,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.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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -723,94 +645,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 @@ -820,32 +735,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() @@ -853,15 +763,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -873,9 +784,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 @@ -894,8 +805,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_; onBuilt(); @@ -906,41 +816,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; @@ -948,8 +855,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(); @@ -977,8 +883,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) { @@ -990,20 +895,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; @@ -1012,21 +915,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 { @@ -1034,61 +936,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; @@ -1096,20 +991,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; @@ -1118,21 +1011,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 { @@ -1140,66 +1032,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) { @@ -1212,12 +1096,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(); } @@ -1226,16 +1110,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; @@ -1250,13 +1134,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:
@@ -1264,7 +1147,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 @@ -1273,15 +1155,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:
@@ -1289,15 +1170,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 { @@ -1308,15 +1190,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 @@ -1324,15 +1202,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 @@ -1340,14 +1214,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() { @@ -1357,15 +1228,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 @@ -1373,15 +1240,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 @@ -1389,14 +1252,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() { @@ -1406,57 +1266,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.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.
    * 
* * string argument = 5; - * * @return The argument. */ @java.lang.Override @@ -1465,30 +1307,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 { @@ -1499,15 +1341,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 @@ -1516,30 +1355,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 { @@ -1550,18 +1389,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 @@ -1569,38 +1403,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() { @@ -1610,14 +1433,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 @@ -1626,29 +1446,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 { @@ -1657,7 +1477,6 @@ public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1669,8 +1488,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (startTime_ != null) { @@ -1679,20 +1499,19 @@ 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 (!getArgumentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, argument_); } - if (!getResultBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, result_); } if (error_ != null) { output.writeMessage(7, getError()); } - if (!getWorkflowRevisionIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, workflowRevisionId_); } unknownFields.writeTo(output); @@ -1704,29 +1523,32 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + 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 (!getArgumentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, argument_); } - if (!getResultBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, result_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getError()); } - if (!getWorkflowRevisionIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, workflowRevisionId_); } size += unknownFields.getSerializedSize(); @@ -1737,31 +1559,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 (!unknownFields.equals(other.unknownFields)) return false; return true; } @@ -1801,103 +1629,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).
@@ -1905,23 +1726,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()
@@ -1929,15 +1748,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -1973,9 +1793,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
@@ -1994,8 +1814,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_;
@@ -2024,39 +1843,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;
@@ -2064,8 +1882,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();
@@ -2113,8 +1930,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) {
@@ -2126,8 +1942,6 @@ public Builder mergeFrom(
 
     private java.lang.Object name_ = "";
     /**
-     *
-     *
      * 
      * Output only. The resource name of the execution.
      * Format:
@@ -2135,13 +1949,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; @@ -2150,8 +1964,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2159,14 +1971,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 { @@ -2174,8 +1987,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2183,22 +1994,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:
@@ -2206,18 +2015,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:
@@ -2225,16 +2031,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; @@ -2242,35 +2048,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() { @@ -2281,14 +2076,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) { @@ -2304,16 +2096,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(); @@ -2324,20 +2114,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; } @@ -2349,14 +2136,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) { @@ -2370,59 +2154,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_; @@ -2430,35 +2203,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() { @@ -2469,14 +2231,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) { @@ -2492,16 +2251,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(); @@ -2512,20 +2269,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; } @@ -2537,14 +2291,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) { @@ -2558,59 +2309,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_; @@ -2618,75 +2358,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. */ @@ -2694,26 +2410,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; @@ -2721,21 +2432,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; @@ -2744,22 +2453,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 { @@ -2767,64 +2475,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; @@ -2832,21 +2533,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; @@ -2855,22 +2554,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 { @@ -2878,64 +2576,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; @@ -2943,64 +2634,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) { @@ -3016,17 +2688,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) { @@ -3040,25 +2708,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; } @@ -3070,17 +2732,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) { @@ -3094,70 +2752,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_; @@ -3165,20 +2807,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; @@ -3187,21 +2827,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 { @@ -3209,68 +2848,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); } @@ -3280,12 +2912,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(); } @@ -3294,16 +2926,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; @@ -3318,4 +2950,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 71% 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 741dd27a..5ee7fc22 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,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.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.
    * 
* * 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.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(); } 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..b2580083 --- /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,206 @@ +// 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_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\"\360\004\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\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\t" + + "CANCELLED\020\004:\206\001\352A\202\001\n+workflowexecutions.g" + + "oogleapis.com/Execution\022Sprojects/{proje" + + "ct}/locations/{location}/workflows/{work" + + "flow}/executions/{execution}\"\301\001\n\025ListExe" + + "cutionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!" + + "workflows.googleapis.com/Workflow\022\021\n\tpag" + + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view" + + "\030\004 \001(\01623.google.cloud.workflows.executio" + + "ns.v1.ExecutionViewB\003\340A\001\"v\n\026ListExecutio" + + "nsResponse\022C\n\nexecutions\030\001 \003(\0132/.google." + + "cloud.workflows.executions.v1.Execution\022" + + "\027\n\017next_page_token\030\002 \001(\t\"\234\001\n\026CreateExecu" + + "tionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!wor" + + "kflows.googleapis.com/Workflow\022G\n\texecut" + + "ion\030\002 \001(\0132/.google.cloud.workflows.execu" + + "tions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecution" + + "Request\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowe" + + "xecutions.googleapis.com/Execution\022F\n\004vi" + + "ew\030\002 \001(\01623.google.cloud.workflows.execut" + + "ions.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExec" + + "utionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+work" + + "flowexecutions.googleapis.com/Execution*" + + "D\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPE" + + "CIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecut" + + "ions\022\330\001\n\016ListExecutions\022;.google.cloud.w" + + "orkflows.executions.v1.ListExecutionsReq" + + "uest\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\017CreateExecut" + + "ion\022<.google.cloud.workflows.executions." + + "v1.CreateExecutionRequest\032/.google.cloud" + + ".workflows.executions.v1.Execution\"`\202\323\344\223" + + "\002G\":/v1/{parent=projects/*/locations/*/w" + + "orkflows/*}/executions:\texecution\332A\020pare" + + "nt,execution\022\305\001\n\014GetExecution\0229.google.c" + + "loud.workflows.executions.v1.GetExecutio" + + "nRequest\032/.google.cloud.workflows.execut" + + "ions.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=pro" + + "jects/*/locations/*/workflows/*/executio" + + "ns/*}\332A\004name\022\325\001\n\017CancelExecution\022<.googl" + + "e.cloud.workflows.executions.v1.CancelEx" + + "ecutionRequest\032/.google.cloud.workflows." + + "executions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{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\361\001\n(" + + "com.google.cloud.workflows.executions.v1" + + "B\017ExecutionsProtoP\001ZNgoogle.golang.org/g" + + "enproto/googleapis/cloud/workflows/execu" + + "tions/v1;executions\352Aa\n!workflows.google" + + "apis.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,69 +56,60 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.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 @@ -144,33 +118,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 { @@ -181,49 +153,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; @@ -235,13 +191,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + public void writeTo(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); @@ -253,13 +208,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + 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; @@ -269,15 +223,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; @@ -300,104 +254,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]
@@ -406,23 +352,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()
@@ -430,15 +374,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -450,14 +395,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();
     }
 
@@ -472,8 +416,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();
@@ -484,39 +427,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;
@@ -524,9 +466,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();
@@ -553,8 +493,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) {
@@ -566,24 +505,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; @@ -592,25 +527,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 { @@ -618,73 +550,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; @@ -692,79 +611,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. */ @@ -772,34 +667,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); } @@ -809,13 +699,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(); } @@ -824,16 +713,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; @@ -848,4 +737,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 67% 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 5020e166..f2ee63e1 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,80 +57,70 @@ 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) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.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 @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -192,8 +163,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
@@ -203,7 +172,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -214,8 +182,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.
@@ -224,7 +190,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -233,15 +198,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.
@@ -250,15 +214,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 { @@ -269,49 +234,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; @@ -323,19 +272,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + 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); @@ -347,19 +295,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + 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; @@ -369,17 +317,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; @@ -406,104 +356,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][]
@@ -512,23 +454,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()
@@ -536,15 +476,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -560,14 +501,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();
     }
 
@@ -582,8 +522,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_;
@@ -596,39 +535,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;
@@ -636,9 +574,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();
@@ -672,9 +608,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) {
@@ -686,23 +620,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; @@ -711,24 +641,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 { @@ -736,79 +663,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
@@ -818,7 +730,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -826,8 +737,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
@@ -837,19 +746,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
@@ -859,11 +765,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -871,8 +776,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.
@@ -881,13 +784,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; @@ -896,8 +799,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -906,14 +807,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 { @@ -921,8 +823,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -931,22 +831,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.
@@ -955,18 +853,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.
@@ -975,16 +870,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; @@ -992,79 +887,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. */ @@ -1072,34 +943,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); } @@ -1109,32 +975,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; @@ -1146,8 +1010,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 ce1861a9..91305bfa 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,39 +57,35 @@ 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) {
       throw e.setUnfinishedMessage(this);
     } 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_);
@@ -115,27 +94,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.
    * 
@@ -147,8 +121,6 @@ public java.util.List getExe return executions_; } /** - * - * *
    * The executions which match the request.
    * 
@@ -156,13 +128,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.
    * 
@@ -174,8 +144,6 @@ public int getExecutionsCount() { return executions_.size(); } /** - * - * *
    * The executions which match the request.
    * 
@@ -187,8 +155,6 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde return executions_.get(index); } /** - * - * *
    * The executions which match the request.
    * 
@@ -204,15 +170,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 @@ -221,30 +184,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 { @@ -253,7 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -265,11 +227,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 { for (int i = 0; i < executions_.size(); i++) { output.writeMessage(1, executions_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); @@ -282,9 +245,10 @@ 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 (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); @@ -295,16 +259,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; } @@ -328,104 +293,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]
@@ -434,23 +391,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()
@@ -458,17 +413,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();
@@ -484,14 +439,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();
     }
 
@@ -506,8 +460,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)) {
@@ -527,50 +480,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()) {
@@ -589,10 +538,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_);
           }
@@ -621,9 +569,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) {
@@ -632,30 +578,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.
      * 
@@ -670,8 +607,6 @@ public java.util.List getExe } } /** - * - * *
      * The executions which match the request.
      * 
@@ -686,8 +621,6 @@ public int getExecutionsCount() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -702,8 +635,6 @@ public com.google.cloud.workflows.executions.v1.Execution getExecutions(int inde } } /** - * - * *
      * The executions which match the request.
      * 
@@ -725,8 +656,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -745,8 +674,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -767,8 +694,6 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1.Execution return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -790,8 +715,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -810,8 +733,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -830,8 +751,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -842,7 +761,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); @@ -850,8 +770,6 @@ public Builder addAllExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -869,8 +787,6 @@ public Builder clearExecutions() { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -888,8 +804,6 @@ public Builder removeExecutions(int index) { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -901,8 +815,6 @@ public com.google.cloud.workflows.executions.v1.Execution.Builder getExecutionsB return getExecutionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The executions which match the request.
      * 
@@ -912,22 +824,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 { @@ -935,8 +844,6 @@ public com.google.cloud.workflows.executions.v1.ExecutionOrBuilder getExecutions } } /** - * - * *
      * The executions which match the request.
      * 
@@ -944,12 +851,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.
      * 
@@ -958,36 +863,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_; @@ -995,21 +894,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; @@ -1018,22 +915,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 { @@ -1041,71 +937,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); } @@ -1115,32 +1004,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; @@ -1152,8 +1039,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 98% 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 2af16785..9672d28e 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 @@ -56,13 +56,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. *
* @@ -626,10 +626,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( @@ -679,10 +676,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 79f5f4ee..4dba34a9 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 33137be3..91a13ac8 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 7c2e180b..c9a9a8f4 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..75c98611 --- /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,577 @@ +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") +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 62% 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 8b7b9b88..16787216 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,62 +55,54 @@ 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) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.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 @@ -136,33 +111,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 { @@ -171,7 +144,6 @@ public com.google.protobuf.ByteString getNameBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -183,8 +155,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } unknownFields.writeTo(output); @@ -196,7 +169,7 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } size += unknownFields.getSerializedSize(); @@ -207,15 +180,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; } @@ -235,105 +208,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]
@@ -342,40 +306,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();
@@ -385,16 +347,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
@@ -408,8 +368,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;
@@ -419,51 +378,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();
@@ -487,9 +441,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) {
@@ -501,24 +453,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; @@ -527,25 +475,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 { @@ -553,80 +498,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); } @@ -636,32 +568,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; @@ -673,8 +603,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 61% 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 8db2e7a3..54189511 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,79 +55,67 @@ 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) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.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 @@ -153,33 +124,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 { @@ -190,16 +159,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 @@ -207,34 +171,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() { @@ -242,7 +195,6 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -254,8 +206,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (execution_ != null) { @@ -270,11 +223,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { 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; @@ -284,18 +238,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; @@ -320,105 +275,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]
@@ -427,40 +373,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();
@@ -476,16 +420,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
@@ -499,8 +441,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_;
@@ -515,51 +456,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();
@@ -586,9 +522,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) {
@@ -600,24 +534,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; @@ -626,25 +556,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 { @@ -652,73 +579,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; @@ -726,58 +640,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) { @@ -793,15 +688,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) { @@ -815,23 +706,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; } @@ -843,15 +728,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) { @@ -865,71 +746,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); } @@ -939,32 +804,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; @@ -976,8 +839,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 70% 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 5c086aa0..2e317150 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,126 +57,108 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.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.
@@ -201,10 +166,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.
      * 
@@ -213,8 +177,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ STATE_UNSPECIFIED(0), /** - * - * *
      * The execution is in progress.
      * 
@@ -223,8 +185,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ ACTIVE(1), /** - * - * *
      * The execution finished successfully.
      * 
@@ -233,8 +193,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ SUCCEEDED(2), /** - * - * *
      * The execution failed with an error.
      * 
@@ -243,8 +201,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ FAILED(3), /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -256,8 +212,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { ; /** - * - * *
      * Invalid state.
      * 
@@ -266,8 +220,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int STATE_UNSPECIFIED_VALUE = 0; /** - * - * *
      * The execution is in progress.
      * 
@@ -276,8 +228,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int ACTIVE_VALUE = 1; /** - * - * *
      * The execution finished successfully.
      * 
@@ -286,8 +236,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int SUCCEEDED_VALUE = 2; /** - * - * *
      * The execution failed with an error.
      * 
@@ -296,8 +244,6 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { */ public static final int FAILED_VALUE = 3; /** - * - * *
      * The execution was stopped intentionally.
      * 
@@ -306,6 +252,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( @@ -330,55 +277,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; @@ -395,80 +338,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_ = ""; @@ -476,15 +405,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) @@ -503,65 +433,58 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.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 @@ -570,29 +493,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 { @@ -603,14 +526,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 @@ -619,29 +539,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 { @@ -650,7 +570,6 @@ public com.google.protobuf.ByteString getContextBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -662,11 +581,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getPayloadBytes().isEmpty()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, payload_); } - if (!getContextBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, context_); } unknownFields.writeTo(output); @@ -678,10 +598,10 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getPayloadBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(payload_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, payload_); } - if (!getContextBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(context_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, context_); } size += unknownFields.getSerializedSize(); @@ -692,16 +612,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; } @@ -723,94 +644,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 @@ -820,32 +734,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() @@ -853,15 +762,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -873,14 +783,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(); } @@ -895,8 +804,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(); @@ -907,41 +815,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; @@ -949,9 +854,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(); @@ -979,9 +882,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) { @@ -993,20 +894,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; @@ -1015,21 +914,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 { @@ -1037,61 +935,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; @@ -1099,20 +990,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; @@ -1121,21 +1010,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 { @@ -1143,66 +1031,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) { @@ -1215,32 +1095,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; @@ -1252,17 +1130,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:
@@ -1270,7 +1146,6 @@ public com.google.protobuf.Parser getParserForType() {
    * 
* * string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY]; - * * @return The name. */ @java.lang.Override @@ -1279,15 +1154,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:
@@ -1295,15 +1169,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 { @@ -1314,15 +1189,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 @@ -1330,15 +1201,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 @@ -1346,14 +1213,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() { @@ -1363,15 +1227,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 @@ -1379,15 +1239,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 @@ -1395,14 +1251,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() { @@ -1412,57 +1265,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 @@ -1471,30 +1306,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 { @@ -1505,15 +1340,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 @@ -1522,30 +1354,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 { @@ -1556,18 +1388,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 @@ -1575,38 +1402,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() { @@ -1616,14 +1432,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 @@ -1632,29 +1445,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 { @@ -1663,7 +1476,6 @@ public com.google.protobuf.ByteString getWorkflowRevisionIdBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1675,8 +1487,9 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (startTime_ != null) { @@ -1685,21 +1498,19 @@ 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 (!getArgumentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, argument_); } - if (!getResultBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, result_); } if (error_ != null) { output.writeMessage(7, getError()); } - if (!getWorkflowRevisionIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, workflowRevisionId_); } unknownFields.writeTo(output); @@ -1711,30 +1522,32 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (startTime_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getStartTime()); + 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 (!getArgumentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(argument_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, argument_); } - if (!getResultBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(result_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, result_); } if (error_ != null) { - size += com.google.protobuf.CodedOutputStream.computeMessageSize(7, getError()); + size += com.google.protobuf.CodedOutputStream + .computeMessageSize(7, getError()); } - if (!getWorkflowRevisionIdBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(workflowRevisionId_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, workflowRevisionId_); } size += unknownFields.getSerializedSize(); @@ -1745,31 +1558,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; } @@ -1809,127 +1628,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() @@ -1937,15 +1746,16 @@ private Builder() { maybeForceBuilderInitialization(); } - private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder( + com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } - private void maybeForceBuilderInitialization() { - if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {} + if (com.google.protobuf.GeneratedMessageV3 + .alwaysUseFieldBuilders) { + } } - @java.lang.Override public Builder clear() { super.clear(); @@ -1981,9 +1791,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 @@ -2002,8 +1812,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_; @@ -2032,39 +1841,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; @@ -2072,8 +1880,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(); @@ -2121,8 +1928,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) { @@ -2134,8 +1940,6 @@ public Builder mergeFrom( private java.lang.Object name_ = ""; /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2143,13 +1947,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; @@ -2158,8 +1962,6 @@ public java.lang.String getName() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2167,14 +1969,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 { @@ -2182,8 +1985,6 @@ public com.google.protobuf.ByteString getNameBytes() { } } /** - * - * *
      * Output only. The resource name of the execution.
      * Format:
@@ -2191,22 +1992,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:
@@ -2214,18 +2013,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:
@@ -2233,16 +2029,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; @@ -2250,35 +2046,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() { @@ -2289,14 +2074,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) { @@ -2312,16 +2094,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(); @@ -2332,20 +2112,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; } @@ -2357,14 +2134,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) { @@ -2378,59 +2152,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_; @@ -2438,35 +2201,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() { @@ -2477,14 +2229,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) { @@ -2500,16 +2249,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(); @@ -2520,20 +2267,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; } @@ -2545,14 +2289,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) { @@ -2566,59 +2307,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_; @@ -2626,75 +2356,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. */ @@ -2702,26 +2408,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; @@ -2729,21 +2430,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; @@ -2752,22 +2451,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 { @@ -2775,64 +2473,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; @@ -2840,21 +2531,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; @@ -2863,22 +2552,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 { @@ -2886,64 +2574,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; @@ -2951,64 +2632,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) { @@ -3024,17 +2686,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) { @@ -3048,25 +2706,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; } @@ -3078,17 +2730,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) { @@ -3102,71 +2750,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_; @@ -3174,20 +2805,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; @@ -3196,21 +2825,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 { @@ -3218,68 +2846,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); } @@ -3289,12 +2910,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(); } @@ -3303,16 +2924,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; @@ -3327,4 +2948,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,69 +56,60 @@ 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) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { - throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this); + throw new com.google.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 @@ -144,33 +118,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 { @@ -181,49 +153,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; @@ -235,13 +191,12 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getNameBytes().isEmpty()) { + public void writeTo(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); @@ -253,13 +208,12 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getNameBytes().isEmpty()) { + 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; @@ -269,15 +223,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; @@ -300,104 +254,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]
@@ -406,23 +352,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()
@@ -430,15 +374,16 @@ private Builder() {
       maybeForceBuilderInitialization();
     }
 
-    private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
+    private Builder(
+        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
       super(parent);
       maybeForceBuilderInitialization();
     }
-
     private void maybeForceBuilderInitialization() {
-      if (com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders) {}
+      if (com.google.protobuf.GeneratedMessageV3
+              .alwaysUseFieldBuilders) {
+      }
     }
-
     @java.lang.Override
     public Builder clear() {
       super.clear();
@@ -450,14 +395,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();
     }
 
@@ -472,8 +416,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();
@@ -484,50 +427,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();
@@ -554,9 +493,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) {
@@ -568,24 +505,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 +527,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 +550,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 +611,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. */ @@ -774,34 +667,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); } @@ -811,32 +699,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; @@ -848,8 +734,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 66% 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 e02f628c..0495dcb2 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,80 +57,70 @@ 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) {
       throw e.setUnfinishedMessage(this);
     } catch (java.io.IOException e) {
-      throw new com.google.protobuf.InvalidProtocolBufferException(e).setUnfinishedMessage(this);
+      throw new com.google.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 @@ -156,32 +129,30 @@ public java.lang.String getParent() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = + (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); parent_ = s; return s; } } /** - * - * *
    * Required. 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 { @@ -192,8 +163,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
@@ -203,7 +172,6 @@ public com.google.protobuf.ByteString getParentBytes() {
    * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -214,8 +182,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.
@@ -224,7 +190,6 @@ public int getPageSize() {
    * 
* * string page_token = 3; - * * @return The pageToken. */ @java.lang.Override @@ -233,15 +198,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.
@@ -250,15 +214,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 { @@ -269,49 +234,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; @@ -323,19 +272,18 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { - if (!getParentBytes().isEmpty()) { + public void writeTo(com.google.protobuf.CodedOutputStream output) + throws java.io.IOException { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, parent_); } if (pageSize_ != 0) { output.writeInt32(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + 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); @@ -347,19 +295,19 @@ public int getSerializedSize() { if (size != -1) return size; size = 0; - if (!getParentBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(parent_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, parent_); } if (pageSize_ != 0) { - size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, pageSize_); + size += com.google.protobuf.CodedOutputStream + .computeInt32Size(2, pageSize_); } - if (!getPageTokenBytes().isEmpty()) { + 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; @@ -369,17 +317,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; @@ -406,105 +356,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]
@@ -513,40 +454,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();
@@ -562,16 +501,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
@@ -585,8 +522,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_;
@@ -599,51 +535,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();
@@ -677,9 +608,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) {
@@ -691,23 +620,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; @@ -716,24 +641,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 { @@ -741,79 +663,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
@@ -823,7 +730,6 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
      * 
* * int32 page_size = 2; - * * @return The pageSize. */ @java.lang.Override @@ -831,8 +737,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
@@ -842,19 +746,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
@@ -864,11 +765,10 @@ public Builder setPageSize(int value) {
      * 
* * int32 page_size = 2; - * * @return This builder for chaining. */ public Builder clearPageSize() { - + pageSize_ = 0; onChanged(); return this; @@ -876,8 +776,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.
@@ -886,13 +784,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; @@ -901,8 +799,6 @@ public java.lang.String getPageToken() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -911,14 +807,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 { @@ -926,8 +823,6 @@ public com.google.protobuf.ByteString getPageTokenBytes() { } } /** - * - * *
      * A page token, received from a previous `ListExecutions` call.
      * Provide this to retrieve the subsequent page.
@@ -936,22 +831,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.
@@ -960,18 +853,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.
@@ -980,16 +870,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; @@ -997,79 +887,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. */ @@ -1077,34 +943,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); } @@ -1114,32 +975,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; @@ -1151,8 +1010,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 4f1ea834..859776fb 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,40 +57,35 @@ 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) {
       throw e.setUnfinishedMessage(this);
     } 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_);
@@ -116,27 +94,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.
    * 
@@ -144,13 +117,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.
    * 
@@ -158,13 +128,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.
    * 
@@ -176,8 +144,6 @@ public int getExecutionsCount() { return executions_.size(); } /** - * - * *
    * The executions which match the request.
    * 
@@ -189,8 +155,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int return executions_.get(index); } /** - * - * *
    * The executions which match the request.
    * 
@@ -206,15 +170,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 @@ -223,30 +184,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 +216,6 @@ public com.google.protobuf.ByteString getNextPageTokenBytes() { } private byte memoizedIsInitialized = -1; - @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -267,11 +227,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 { for (int i = 0; i < executions_.size(); i++) { output.writeMessage(1, executions_.get(i)); } - if (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nextPageToken_); } unknownFields.writeTo(output); @@ -284,9 +245,10 @@ 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 (!getNextPageTokenBytes().isEmpty()) { + if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nextPageToken_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nextPageToken_); } size += unknownFields.getSerializedSize(); @@ -297,16 +259,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; } @@ -330,105 +293,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]
@@ -437,42 +391,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();
@@ -488,16 +439,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
@@ -511,8 +460,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)) {
@@ -532,51 +480,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()) {
@@ -595,10 +538,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_);
           }
@@ -627,9 +569,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) {
@@ -638,38 +578,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 { @@ -677,8 +607,6 @@ private void ensureExecutionsIsMutable() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -693,8 +621,6 @@ public int getExecutionsCount() { } } /** - * - * *
      * The executions which match the request.
      * 
@@ -709,8 +635,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution getExecutions(int } } /** - * - * *
      * The executions which match the request.
      * 
@@ -732,8 +656,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -752,8 +674,6 @@ public Builder setExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -774,8 +694,6 @@ public Builder addExecutions(com.google.cloud.workflows.executions.v1beta.Execut return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -797,8 +715,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -817,8 +733,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -837,8 +751,6 @@ public Builder addExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -846,11 +758,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); @@ -858,8 +770,6 @@ public Builder addAllExecutions( return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -877,8 +787,6 @@ public Builder clearExecutions() { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -896,8 +804,6 @@ public Builder removeExecutions(int index) { return this; } /** - * - * *
      * The executions which match the request.
      * 
@@ -909,8 +815,6 @@ public com.google.cloud.workflows.executions.v1beta.Execution.Builder getExecuti return getExecutionsFieldBuilder().getBuilder(index); } /** - * - * *
      * The executions which match the request.
      * 
@@ -920,22 +824,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 { @@ -943,8 +844,6 @@ public com.google.cloud.workflows.executions.v1beta.ExecutionOrBuilder getExecut } } /** - * - * *
      * The executions which match the request.
      * 
@@ -952,12 +851,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.
      * 
@@ -966,36 +863,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_; @@ -1003,21 +894,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; @@ -1026,22 +915,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 { @@ -1049,71 +937,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); } @@ -1123,32 +1004,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; @@ -1160,8 +1039,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 c9e32bbc..00000000 --- a/proto-google-cloud-workflow-executions-v1/src/main/java/com/google/cloud/workflows/executions/v1/ExecutionsProto.java +++ /dev/null @@ -1,236 +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_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\"\360\004\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\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\t" - + "CANCELLED\020\004:\206\001\352A\202\001\n+workflowexecutions.g" - + "oogleapis.com/Execution\022Sprojects/{proje" - + "ct}/locations/{location}/workflows/{work" - + "flow}/executions/{execution}\"\301\001\n\025ListExe" - + "cutionsRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!" - + "workflows.googleapis.com/Workflow\022\021\n\tpag" - + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022F\n\004view" - + "\030\004 \001(\01623.google.cloud.workflows.executio" - + "ns.v1.ExecutionViewB\003\340A\001\"v\n\026ListExecutio" - + "nsResponse\022C\n\nexecutions\030\001 \003(\0132/.google." - + "cloud.workflows.executions.v1.Execution\022" - + "\027\n\017next_page_token\030\002 \001(\t\"\234\001\n\026CreateExecu" - + "tionRequest\0229\n\006parent\030\001 \001(\tB)\340A\002\372A#\n!wor" - + "kflows.googleapis.com/Workflow\022G\n\texecut" - + "ion\030\002 \001(\0132/.google.cloud.workflows.execu" - + "tions.v1.ExecutionB\003\340A\002\"\240\001\n\023GetExecution" - + "Request\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+workflowe" - + "xecutions.googleapis.com/Execution\022F\n\004vi" - + "ew\030\002 \001(\01623.google.cloud.workflows.execut" - + "ions.v1.ExecutionViewB\003\340A\001\"[\n\026CancelExec" - + "utionRequest\022A\n\004name\030\001 \001(\tB3\340A\002\372A-\n+work" - + "flowexecutions.googleapis.com/Execution*" - + "D\n\rExecutionView\022\036\n\032EXECUTION_VIEW_UNSPE" - + "CIFIED\020\000\022\t\n\005BASIC\020\001\022\010\n\004FULL\020\0022\303\007\n\nExecut" - + "ions\022\330\001\n\016ListExecutions\022;.google.cloud.w" - + "orkflows.executions.v1.ListExecutionsReq" - + "uest\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\017CreateExecut" - + "ion\022<.google.cloud.workflows.executions." - + "v1.CreateExecutionRequest\032/.google.cloud" - + ".workflows.executions.v1.Execution\"`\202\323\344\223" - + "\002G\":/v1/{parent=projects/*/locations/*/w" - + "orkflows/*}/executions:\texecution\332A\020pare" - + "nt,execution\022\305\001\n\014GetExecution\0229.google.c" - + "loud.workflows.executions.v1.GetExecutio" - + "nRequest\032/.google.cloud.workflows.execut" - + "ions.v1.Execution\"I\202\323\344\223\002<\022:/v1/{name=pro" - + "jects/*/locations/*/workflows/*/executio" - + "ns/*}\332A\004name\022\325\001\n\017CancelExecution\022<.googl" - + "e.cloud.workflows.executions.v1.CancelEx" - + "ecutionRequest\032/.google.cloud.workflows." - + "executions.v1.Execution\"S\202\323\344\223\002F\"A/v1/{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\361\001\n(" - + "com.google.cloud.workflows.executions.v1" - + "B\017ExecutionsProtoP\001ZNgoogle.golang.org/g" - + "enproto/googleapis/cloud/workflows/execu" - + "tions/v1;executions\352Aa\n!workflows.google" - + "apis.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