@java.lang.Override
    @java.lang.SuppressWarnings("unchecked")
    public void invoke(Req request, io.grpc.stub.StreamObserver<Resp> responseObserver) {
      switch (methodId) {
        case METHODID_CREATE_SUBSCRIPTION:
          serviceImpl.createSubscription(
              (com.google.apps.events.subscriptions.v1.CreateSubscriptionRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_DELETE_SUBSCRIPTION:
          serviceImpl.deleteSubscription(
              (com.google.apps.events.subscriptions.v1.DeleteSubscriptionRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_GET_SUBSCRIPTION:
          serviceImpl.getSubscription(
              (com.google.apps.events.subscriptions.v1.GetSubscriptionRequest) request,
              (io.grpc.stub.StreamObserver<com.google.apps.events.subscriptions.v1.Subscription>)
                  responseObserver);
          break;
        case METHODID_LIST_SUBSCRIPTIONS:
          serviceImpl.listSubscriptions(
              (com.google.apps.events.subscriptions.v1.ListSubscriptionsRequest) request,
              (io.grpc.stub.StreamObserver<
                      com.google.apps.events.subscriptions.v1.ListSubscriptionsResponse>)
                  responseObserver);
          break;
        case METHODID_UPDATE_SUBSCRIPTION:
          serviceImpl.updateSubscription(
              (com.google.apps.events.subscriptions.v1.UpdateSubscriptionRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        case METHODID_REACTIVATE_SUBSCRIPTION:
          serviceImpl.reactivateSubscription(
              (com.google.apps.events.subscriptions.v1.ReactivateSubscriptionRequest) request,
              (io.grpc.stub.StreamObserver<com.google.longrunning.Operation>) responseObserver);
          break;
        default:
          throw new AssertionError();
      }
    }
<pre>
Reactivates a suspended Google Workspace subscription.
This method resets your subscription's `State` field to `ACTIVE`. Before
you use this method, you must fix the error that suspended the
subscription. To learn how to use this method, see [Reactivate a Google
Workspace
subscription](https://developers.google.com/workspace/events/guides/reactivate-subscription).
</pre>
java-workspaceevents/grpc-google-cloud-workspaceevents-v1/src/main/java/com/google/apps/events/subscriptions/v1/SubscriptionsServiceGrpc.java