@io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "CreateSubscription",
      requestType = com.google.apps.events.subscriptions.v1.CreateSubscriptionRequest.class,
      responseType = com.google.longrunning.Operation.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<
          com.google.apps.events.subscriptions.v1.CreateSubscriptionRequest,
          com.google.longrunning.Operation>
      getCreateSubscriptionMethod() {
    io.grpc.MethodDescriptor<
            com.google.apps.events.subscriptions.v1.CreateSubscriptionRequest,
            com.google.longrunning.Operation>
        getCreateSubscriptionMethod;
    if ((getCreateSubscriptionMethod = SubscriptionsServiceGrpc.getCreateSubscriptionMethod)
        == null) {
      synchronized (SubscriptionsServiceGrpc.class) {
        if ((getCreateSubscriptionMethod = SubscriptionsServiceGrpc.getCreateSubscriptionMethod)
            == null) {
          SubscriptionsServiceGrpc.getCreateSubscriptionMethod =
              getCreateSubscriptionMethod =
                  io.grpc.MethodDescriptor
                      .<com.google.apps.events.subscriptions.v1.CreateSubscriptionRequest,
                          com.google.longrunning.Operation>
                          newBuilder()
                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "CreateSubscription"))
                      .setSampledToLocalTracing(true)
                      .setRequestMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.apps.events.subscriptions.v1.CreateSubscriptionRequest
                                  .getDefaultInstance()))
                      .setResponseMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.longrunning.Operation.getDefaultInstance()))
                      .setSchemaDescriptor(
                          new SubscriptionsServiceMethodDescriptorSupplier("CreateSubscription"))
                      .build();
        }
      }
    }
    return getCreateSubscriptionMethod;
  }
<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