Part
A datatype containing media content.
Exactly one field within a Part should be set, representing the specific type of content being conveyed. Using multiple fields within the same `Part` instance is considered invalid.
Properties
Functions
Link copied to clipboard
Instantiates a builder for Part.
Link copied to clipboard
Optional.
Link copied to clipboard
Optional.
Link copied to clipboard
Link copied to clipboard
public static Part fromFunctionResponse(String name, Map<String, Object> response, Array<FunctionResponsePart> functionResponseParts)
Constructs a FunctionResponse Part from a function name, response and function response parts.
Link copied to clipboard
@InternalApi()
Deserializes a JsonNode to an object of the given type.
Link copied to clipboard
@InternalApi()
Deserializes a Json string to an object of the given type.
Link copied to clipboard
Optional.
Link copied to clipboard
Optional.
Link copied to clipboard
Optional.
Link copied to clipboard
Media resolution for the input media.
Link copied to clipboard
Link copied to clipboard
Custom metadata associated with the Part.
Link copied to clipboard
Overrides the default maximum JSON string length (20MB) for the JSON parser.
Link copied to clipboard
Converts a Json string to a JsonNode.
Link copied to clipboard
Optional.
Link copied to clipboard
Creates a builder with the same values as this instance.
Link copied to clipboard
Serializes an object to a JsonNode.
Link copied to clipboard
Serializes an object to a Json string.
Link copied to clipboard
The output from a server-side ToolCall execution.
Link copied to clipboard
Optional.