@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.v1.ListWorkflowsRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.workflows.v1.ListWorkflowsResponse>)
                  responseObserver);
          break;
        case METHODID_GET_WORKFLOW:
          serviceImpl.getWorkflow(
              (com.google.cloud.workflows.v1.GetWorkflowRequest) request,
              (io.grpc.stub.StreamObserver<com.google.cloud.workflows.v1.Workflow>)
                  responseObserver);
          break;
        case METHODID_CREATE_WORKFLOW:
          serviceImpl.createWorkflow(
              (com.google.cloud.workflows.v1.CreateWorkflowRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_DELETE_WORKFLOW:
          serviceImpl.deleteWorkflow(
              (com.google.cloud.workflows.v1.DeleteWorkflowRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_UPDATE_WORKFLOW:
          serviceImpl.updateWorkflow(
              (com.google.cloud.workflows.v1.UpdateWorkflowRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_LIST_WORKFLOW_REVISIONS:
          serviceImpl.listWorkflowRevisions(
              (com.google.cloud.workflows.v1.ListWorkflowRevisionsRequest) request,
              (io.grpc.stub.StreamObserver<
                      com.google.cloud.workflows.v1.ListWorkflowRevisionsResponse>)
                  responseObserver);
          break;
        default:
          throw new AssertionError();
      }
    }
<pre>
Lists revisions for a given workflow.
</pre>
java-workflows/grpc-google-cloud-workflows-v1/src/main/java/com/google/cloud/workflows/v1/WorkflowsGrpc.java