Package com.google.genai.types
Class PartialArg
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.PartialArg
Partial argument value of the function call. This data type is not supported in Gemini API.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class com.google.genai.JsonSerializable
MAX_READ_LENGTH_PROPERTY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional.static PartialArg.Builderbuilder()Instantiates a builder for PartialArg.static PartialArgDeserializes a JSON string to a PartialArg object.jsonPath()Required.Optional.Optional.Optional.abstract PartialArg.BuilderCreates a builder with the same values as this instance.Optional.Methods inherited from class com.google.genai.JsonSerializable
setMaxReadLength, stringToJsonNode, toJson
-
Constructor Details
-
PartialArg
public PartialArg()
-
-
Method Details
-
nullValue
Optional. Represents a null value. -
numberValue
Optional. Represents a double value. -
stringValue
Optional. Represents a string value. -
boolValue
Optional. Represents a boolean value. -
jsonPath
Required. A JSON Path (RFC 9535) to the argument being streamed. https://datatracker.ietf.org/doc/html/rfc9535. e.g. "$.foo.bar[0].data". -
willContinue
Optional. Whether this is not the last part of the same json_path. If true, another PartialArg message for the current json_path is expected to follow. -
builder
Instantiates a builder for PartialArg. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a PartialArg object.
-