Package com.google.genai.types
Class InlinedEmbedContentResponse
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.InlinedEmbedContentResponse
Config for `inlined_embedding_responses` parameter.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for InlinedEmbedContentResponse. -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()Instantiates a builder for InlinedEmbedContentResponse.error()Output only.static InlinedEmbedContentResponseDeserializes a JSON string to a InlinedEmbedContentResponse object.metadata()Output only.abstract Optional<SingleEmbedContentResponse>response()Output only.abstract InlinedEmbedContentResponse.BuilderCreates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
fromJsonNode, fromJsonString, objectMapper, setMaxReadLength, stringToJsonNode, toJson, toJsonNode, toJsonString
-
Constructor Details
-
InlinedEmbedContentResponse
public InlinedEmbedContentResponse()
-
-
Method Details
-
response
Output only. The response to the request. -
error
Output only. The error encountered while processing the request. -
metadata
Output only. The metadata associated with the request. -
builder
Instantiates a builder for InlinedEmbedContentResponse. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a InlinedEmbedContentResponse object.
-