Class EmbedContentMetadata

  • All Implemented Interfaces:

    
    public abstract class EmbedContentMetadata
    extends JsonSerializable
                        

    Request-level metadata for the Gemini Enterprise Agent Platform Embed Content API.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public abstract class EmbedContentMetadata.Builder

      Builder for EmbedContentMetadata.

    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract Optional<Integer> billableCharacterCount() Gemini Enterprise Agent Platform only.
      static EmbedContentMetadata.Builder builder() Instantiates a builder for EmbedContentMetadata.
      abstract EmbedContentMetadata.Builder toBuilder() Creates a builder with the same values as this instance.
      static EmbedContentMetadata fromJson(String jsonString) Deserializes a JSON string to a EmbedContentMetadata object.
      • Methods inherited from class com.google.genai.JsonSerializable

        fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait