Package com.google.genai.types
Class GroundingChunkRetrievedContext
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GroundingChunkRetrievedContext
Chunk from context retrieved by the retrieval tools.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for GroundingChunkRetrievedContext. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for GroundingChunkRetrievedContext.Deserializes a JSON string to a GroundingChunkRetrievedContext object.text()
Text of the attribution.title()
Title of the attribution.Creates a builder with the same values as this instance.uri()
URI reference of the attribution.Methods inherited from class com.google.genai.JsonSerializable
fromJsonString, toJson
-
Constructor Details
-
GroundingChunkRetrievedContext
public GroundingChunkRetrievedContext()
-
-
Method Details
-
text
Text of the attribution. -
title
Title of the attribution. -
uri
URI reference of the attribution. -
builder
Instantiates a builder for GroundingChunkRetrievedContext. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GroundingChunkRetrievedContext object.
-