Package com.google.genai.types
Class GroundingChunkWeb
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.GroundingChunkWeb
Chunk from the web.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for GroundingChunkWeb. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GroundingChunkWeb.Builderbuilder()Instantiates a builder for GroundingChunkWeb.domain()Domain of the (original) URI.static GroundingChunkWebDeserializes a JSON string to a GroundingChunkWeb object.title()Title of the chunk.abstract GroundingChunkWeb.BuilderCreates a builder with the same values as this instance.uri()URI reference of the chunk.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
GroundingChunkWeb
public GroundingChunkWeb()
-
-
Method Details
-
domain
Domain of the (original) URI. This field is not supported in Gemini API. -
title
Title of the chunk. -
uri
URI reference of the chunk. -
builder
Instantiates a builder for GroundingChunkWeb. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a GroundingChunkWeb object.
-