Package com.google.genai.types
Class InlinedEmbedContentResponse
-
- All Implemented Interfaces:
public abstract class InlinedEmbedContentResponse extends JsonSerializable
Config for `inlined_embedding_responses` parameter.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public abstract classInlinedEmbedContentResponse.BuilderBuilder for InlinedEmbedContentResponse.
-
Field Summary
Fields Modifier and Type Field Description public final static StringMAX_READ_LENGTH_PROPERTY
-
Constructor Summary
Constructors Constructor Description InlinedEmbedContentResponse()
-
Method Summary
Modifier and Type Method Description abstract Optional<SingleEmbedContentResponse>response()Output only. abstract Optional<JobError>error()Output only. abstract Optional<Map<String, Object>>metadata()Output only. static InlinedEmbedContentResponse.Builderbuilder()Instantiates a builder for InlinedEmbedContentResponse. abstract InlinedEmbedContentResponse.BuildertoBuilder()Creates a builder with the same values as this instance. static InlinedEmbedContentResponsefromJson(String jsonString)Deserializes a JSON string to a InlinedEmbedContentResponse 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
-
-
Method Detail
-
response
abstract Optional<SingleEmbedContentResponse> response()
Output only. The response to the request.
-
error
abstract Optional<JobError> error()
Output only. The error encountered while processing the request.
-
metadata
abstract Optional<Map<String, Object>> metadata()
Output only. The metadata associated with the request.
-
builder
static InlinedEmbedContentResponse.Builder builder()
Instantiates a builder for InlinedEmbedContentResponse.
-
toBuilder
abstract InlinedEmbedContentResponse.Builder toBuilder()
Creates a builder with the same values as this instance.
-
fromJson
static InlinedEmbedContentResponse fromJson(String jsonString)
Deserializes a JSON string to a InlinedEmbedContentResponse object.
-
-
-
-