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 class
Builder for GroundingChunkWeb. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic GroundingChunkWeb.Builder
builder()
Instantiates a builder for GroundingChunkWeb.domain()
Domain of the (original) URI.static GroundingChunkWeb
Deserializes a JSON string to a GroundingChunkWeb object.title()
Title of the chunk.abstract GroundingChunkWeb.Builder
Creates 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. -
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.
-