Class EmbedContentMetadata

java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.EmbedContentMetadata

public abstract class EmbedContentMetadata extends JsonSerializable
Request-level metadata for the Vertex Embed Content API.
  • Constructor Details

    • EmbedContentMetadata

      public EmbedContentMetadata()
  • Method Details

    • billableCharacterCount

      public abstract Optional<Integer> billableCharacterCount()
      Vertex API only. The total number of billable characters included in the request.
    • builder

      public static EmbedContentMetadata.Builder builder()
      Instantiates a builder for EmbedContentMetadata.
    • toBuilder

      public abstract EmbedContentMetadata.Builder toBuilder()
      Creates a builder with the same values as this instance.
    • fromJson

      public static EmbedContentMetadata fromJson(String jsonString)
      Deserializes a JSON string to a EmbedContentMetadata object.