public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) {
    return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor())
        .addMethod(
            getTranslateTextMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.translate.v3beta1.TranslateTextRequest,
                    com.google.cloud.translate.v3beta1.TranslateTextResponse>(
                    service, METHODID_TRANSLATE_TEXT)))
        .addMethod(
            getDetectLanguageMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.translate.v3beta1.DetectLanguageRequest,
                    com.google.cloud.translate.v3beta1.DetectLanguageResponse>(
                    service, METHODID_DETECT_LANGUAGE)))
        .addMethod(
            getGetSupportedLanguagesMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.translate.v3beta1.GetSupportedLanguagesRequest,
                    com.google.cloud.translate.v3beta1.SupportedLanguages>(
                    service, METHODID_GET_SUPPORTED_LANGUAGES)))
        .addMethod(
            getTranslateDocumentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.translate.v3beta1.TranslateDocumentRequest,
                    com.google.cloud.translate.v3beta1.TranslateDocumentResponse>(
                    service, METHODID_TRANSLATE_DOCUMENT)))
        .addMethod(
            getBatchTranslateTextMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.translate.v3beta1.BatchTranslateTextRequest,
                    com.google.longrunning.Operation>(service, METHODID_BATCH_TRANSLATE_TEXT)))
        .addMethod(
            getBatchTranslateDocumentMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.translate.v3beta1.BatchTranslateDocumentRequest,
                    com.google.longrunning.Operation>(service, METHODID_BATCH_TRANSLATE_DOCUMENT)))
        .addMethod(
            getCreateGlossaryMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.translate.v3beta1.CreateGlossaryRequest,
                    com.google.longrunning.Operation>(service, METHODID_CREATE_GLOSSARY)))
        .addMethod(
            getListGlossariesMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.translate.v3beta1.ListGlossariesRequest,
                    com.google.cloud.translate.v3beta1.ListGlossariesResponse>(
                    service, METHODID_LIST_GLOSSARIES)))
        .addMethod(
            getGetGlossaryMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.translate.v3beta1.GetGlossaryRequest,
                    com.google.cloud.translate.v3beta1.Glossary>(service, METHODID_GET_GLOSSARY)))
        .addMethod(
            getDeleteGlossaryMethod(),
            io.grpc.stub.ServerCalls.asyncUnaryCall(
                new MethodHandlers<
                    com.google.cloud.translate.v3beta1.DeleteGlossaryRequest,
                    com.google.longrunning.Operation>(service, METHODID_DELETE_GLOSSARY)))
        .build();
  }
<pre>
Deletes a glossary, or cancels glossary construction
if the glossary isn't created yet.
Returns NOT_FOUND, if the glossary doesn't exist.
</pre>
java-translate/grpc-google-cloud-translate-v3beta1/src/main/java/com/google/cloud/translate/v3beta1/TranslationServiceGrpc.java