@io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GetSubscription",
      requestType = com.google.apps.events.subscriptions.v1.GetSubscriptionRequest.class,
      responseType = com.google.apps.events.subscriptions.v1.Subscription.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<
          com.google.apps.events.subscriptions.v1.GetSubscriptionRequest,
          com.google.apps.events.subscriptions.v1.Subscription>
      getGetSubscriptionMethod() {
    io.grpc.MethodDescriptor<
            com.google.apps.events.subscriptions.v1.GetSubscriptionRequest,
            com.google.apps.events.subscriptions.v1.Subscription>
        getGetSubscriptionMethod;
    if ((getGetSubscriptionMethod = SubscriptionsServiceGrpc.getGetSubscriptionMethod) == null) {
      synchronized (SubscriptionsServiceGrpc.class) {
        if ((getGetSubscriptionMethod = SubscriptionsServiceGrpc.getGetSubscriptionMethod)
            == null) {
          SubscriptionsServiceGrpc.getGetSubscriptionMethod =
              getGetSubscriptionMethod =
                  io.grpc.MethodDescriptor
                      .<com.google.apps.events.subscriptions.v1.GetSubscriptionRequest,
                          com.google.apps.events.subscriptions.v1.Subscription>
                          newBuilder()
                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GetSubscription"))
                      .setSampledToLocalTracing(true)
                      .setRequestMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.apps.events.subscriptions.v1.GetSubscriptionRequest
                                  .getDefaultInstance()))
                      .setResponseMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.apps.events.subscriptions.v1.Subscription
                                  .getDefaultInstance()))
                      .setSchemaDescriptor(
                          new SubscriptionsServiceMethodDescriptorSupplier("GetSubscription"))
                      .build();
        }
      }
    }
    return getGetSubscriptionMethod;
  }
<pre>
A service that manages subscriptions to Google Workspace events.
</pre>
java-workspaceevents/grpc-google-cloud-workspaceevents-v1/src/main/java/com/google/apps/events/subscriptions/v1/SubscriptionsServiceGrpc.java