@io.grpc.stub.annotations.RpcMethod(
      fullMethodName = SERVICE_NAME + '/' + "GenerateContent",
      requestType = com.google.cloud.vertexai.api.GenerateContentRequest.class,
      responseType = com.google.cloud.vertexai.api.GenerateContentResponse.class,
      methodType = io.grpc.MethodDescriptor.MethodType.UNARY)
  public static io.grpc.MethodDescriptor<
          com.google.cloud.vertexai.api.GenerateContentRequest,
          com.google.cloud.vertexai.api.GenerateContentResponse>
      getGenerateContentMethod() {
    io.grpc.MethodDescriptor<
            com.google.cloud.vertexai.api.GenerateContentRequest,
            com.google.cloud.vertexai.api.GenerateContentResponse>
        getGenerateContentMethod;
    if ((getGenerateContentMethod = PredictionServiceGrpc.getGenerateContentMethod) == null) {
      synchronized (PredictionServiceGrpc.class) {
        if ((getGenerateContentMethod = PredictionServiceGrpc.getGenerateContentMethod) == null) {
          PredictionServiceGrpc.getGenerateContentMethod =
              getGenerateContentMethod =
                  io.grpc.MethodDescriptor
                      .<com.google.cloud.vertexai.api.GenerateContentRequest,
                          com.google.cloud.vertexai.api.GenerateContentResponse>
                          newBuilder()
                      .setType(io.grpc.MethodDescriptor.MethodType.UNARY)
                      .setFullMethodName(generateFullMethodName(SERVICE_NAME, "GenerateContent"))
                      .setSampledToLocalTracing(true)
                      .setRequestMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.cloud.vertexai.api.GenerateContentRequest
                                  .getDefaultInstance()))
                      .setResponseMarshaller(
                          io.grpc.protobuf.ProtoUtils.marshaller(
                              com.google.cloud.vertexai.api.GenerateContentResponse
                                  .getDefaultInstance()))
                      .setSchemaDescriptor(
                          new PredictionServiceMethodDescriptorSupplier("GenerateContent"))
                      .build();
        }
      }
    }
    return getGenerateContentMethod;
  }
<pre>
A service for online predictions and explanations.
</pre>
java-vertexai/grpc-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictionServiceGrpc.java