@java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
      switch (methodId) {
        case METHODID_LIST_WORKFLOWS:
          serviceImpl.listWorkflows(
              (com.google.cloud.workflows.v1beta.ListWorkflowsRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.workflows.v1beta.ListWorkflowsResponse>)
                  responseObserver);
          break;
        case METHODID_GET_WORKFLOW:
          serviceImpl.getWorkflow(
              (com.google.cloud.workflows.v1beta.GetWorkflowRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.workflows.v1beta.Workflow>)
                  responseObserver);
          break;
        case METHODID_CREATE_WORKFLOW:
          serviceImpl.createWorkflow(
              (com.google.cloud.workflows.v1beta.CreateWorkflowRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_DELETE_WORKFLOW:
          serviceImpl.deleteWorkflow(
              (com.google.cloud.workflows.v1beta.DeleteWorkflowRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_UPDATE_WORKFLOW:
          serviceImpl.updateWorkflow(
              (com.google.cloud.workflows.v1beta.UpdateWorkflowRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        default:
          throw new AssertionError();
      }
    }
<pre>
Updates an existing workflow.
Running this method has no impact on already running executions of the
workflow. A new revision of the workflow may be created as a result of a
successful update operation. In that case, such revision will be used
in new workflow executions.
</pre>
java-workflows/grpc-google-cloud-workflows-v1beta/src/main/java/com/google/cloud/workflows/v1beta/WorkflowsGrpc.java