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 class
Builder for InlinedEmbedContentResponse. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for InlinedEmbedContentResponse.error()
The error encountered while processing the request.static InlinedEmbedContentResponse
Deserializes a JSON string to a InlinedEmbedContentResponse object.abstract Optional<SingleEmbedContentResponse>
response()
The response to the request.abstract InlinedEmbedContentResponse.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
InlinedEmbedContentResponse
public InlinedEmbedContentResponse()
-
-
Method Details
-
response
The response to the request. -
error
The error encountered while processing 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.
-