public static io.grpc.ServiceDescriptor getServiceDescriptor() {
    io.grpc.ServiceDescriptor result = serviceDescriptor;
    if (result == null) {
      synchronized (PredictionServiceGrpc.class) {
        result = serviceDescriptor;
        if (result == null) {
          serviceDescriptor =
              result =
                  io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME)
                      .setSchemaDescriptor(new PredictionServiceFileDescriptorSupplier())
                      .addMethod(getPredictMethod())
                      .addMethod(getRawPredictMethod())
                      .addMethod(getStreamRawPredictMethod())
                      .addMethod(getDirectPredictMethod())
                      .addMethod(getDirectRawPredictMethod())
                      .addMethod(getStreamDirectPredictMethod())
                      .addMethod(getStreamDirectRawPredictMethod())
                      .addMethod(getStreamingPredictMethod())
                      .addMethod(getServerStreamingPredictMethod())
                      .addMethod(getStreamingRawPredictMethod())
                      .addMethod(getExplainMethod())
                      .addMethod(getGenerateContentMethod())
                      .addMethod(getStreamGenerateContentMethod())
                      .build();
        }
      }
    }
    return result;
  }
<pre>
Generate content with multimodal inputs.
</pre>
java-vertexai/grpc-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/PredictionServiceGrpc.java