@io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "ListModels",
      requestType = com.google.cloud.translate.v3.ListModelsRequest.class,
      responseType = com.google.cloud.translate.v3.ListModelsResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<
          com.google.cloud.translate.v3.ListModelsRequest,
          com.google.cloud.translate.v3.ListModelsResponse>
      getListModelsMethod() {
    io.grpc.MethodDescriptor<
            com.google.cloud.translate.v3.ListModelsRequest,
            com.google.cloud.translate.v3.ListModelsResponse>
        getListModelsMethod;
    if ((getListModelsMethod = TranslationServiceGrpc.getListModelsMethod) == null) {
      synchronized (TranslationServiceGrpc.class) {
        if ((getListModelsMethod = TranslationServiceGrpc.getListModelsMethod) == null) {
          TranslationServiceGrpc.getListModelsMethod =
              getListModelsMethod =
                  io.grpc.MethodDescriptor
                      .<com.google.cloud.translate.v3.ListModelsRequest,
                          com.google.cloud.translate.v3.ListModelsResponse>
                          newBuilder()
                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "ListModels"))
                      .setSampledToLocalTracing(true)
                      .setRequestMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.cloud.translate.v3.ListModelsRequest.getDefaultInstance()))
                      .setResponseMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.cloud.translate.v3.ListModelsResponse
                                  .getDefaultInstance()))
                      .setSchemaDescriptor(
                          new TranslationServiceMethodDescriptorSupplier("ListModels"))
                      .build();
        }
      }
    }
    return getListModelsMethod;
  }
<pre>
Provides natural language translation operations.
</pre>
java-translate/grpc-google-cloud-translate-v3/src/main/java/com/google/cloud/translate/v3/TranslationServiceGrpc.java