Package com.google.genai.types
Class InlinedResponse
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.InlinedResponse
Config for `inlined_responses` parameter.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for InlinedResponse. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic InlinedResponse.Builder
builder()
Instantiates a builder for InlinedResponse.error()
The error encountered while processing the request.static InlinedResponse
Deserializes a JSON string to a InlinedResponse object.abstract Optional<GenerateContentResponse>
response()
The response to the request.abstract InlinedResponse.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
InlinedResponse
public InlinedResponse()
-
-
Method Details
-
response
The response to the request. -
error
The error encountered while processing the request. -
builder
Instantiates a builder for InlinedResponse. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a InlinedResponse object.
-