@java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
      switch (methodId) {
        case METHODID_OPEN_HANDLE:
          serviceImpl.openHandle((com.google.protobuf.Empty) request,
              (io.grpc.stub.StreamObserver<com.intellij.execution.process.mediator.common.rpc.OpenHandleReply>) responseObserver);
          break;
        case METHODID_CREATE_PROCESS:
          serviceImpl.createProcess((com.intellij.execution.process.mediator.common.rpc.CreateProcessRequest) request,
              (io.grpc.stub.StreamObserver<com.intellij.execution.process.mediator.common.rpc.CreateProcessReply>) responseObserver);
          break;
        case METHODID_DESTROY_PROCESS:
          serviceImpl.destroyProcess((com.intellij.execution.process.mediator.common.rpc.DestroyProcessRequest) request,
              (io.grpc.stub.StreamObserver<com.google.protobuf.Empty>) responseObserver);
          break;
        case METHODID_AWAIT_TERMINATION:
          serviceImpl.awaitTermination((com.intellij.execution.process.mediator.common.rpc.AwaitTerminationRequest) request,
              (io.grpc.stub.StreamObserver<com.intellij.execution.process.mediator.common.rpc.AwaitTerminationReply>) responseObserver);
          break;
        case METHODID_READ_STREAM:
          serviceImpl.readStream((com.intellij.execution.process.mediator.common.rpc.ReadStreamRequest) request,
              (io.grpc.stub.StreamObserver<com.intellij.execution.process.mediator.common.rpc.DataChunk>) responseObserver);
          break;
        default:
          throw new AssertionError();
      }
    }
@java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver)