Package com.google.genai.types
Class GroundingChunkWeb.Builder
-
- All Implemented Interfaces:
public abstract class GroundingChunkWeb.BuilderBuilder for GroundingChunkWeb.
-
-
Constructor Summary
Constructors Constructor Description GroundingChunkWeb.Builder()
-
Method Summary
Modifier and Type Method Description abstract GroundingChunkWeb.Builderdomain(String domain)Setter for domain. GroundingChunkWeb.BuilderclearDomain()Clears the value of domain field. abstract GroundingChunkWeb.Buildertitle(String title)Setter for title. GroundingChunkWeb.BuilderclearTitle()Clears the value of title field. abstract GroundingChunkWeb.Builderuri(String uri)Setter for uri. GroundingChunkWeb.BuilderclearUri()Clears the value of uri field. abstract GroundingChunkWebbuild()-
-
Method Detail
-
domain
abstract GroundingChunkWeb.Builder domain(String domain)
Setter for domain.
domain: The domain of the web page that contains the evidence. This can be used to filter out low-quality sources. This field is not supported in Gemini API.
-
clearDomain
@CanIgnoreReturnValue() GroundingChunkWeb.Builder clearDomain()
Clears the value of domain field.
-
title
abstract GroundingChunkWeb.Builder title(String title)
Setter for title.
title: The title of the web page that contains the evidence.
-
clearTitle
@CanIgnoreReturnValue() GroundingChunkWeb.Builder clearTitle()
Clears the value of title field.
-
uri
abstract GroundingChunkWeb.Builder uri(String uri)
Setter for uri.
uri: The URI of the web page that contains the evidence.
-
clearUri
@CanIgnoreReturnValue() GroundingChunkWeb.Builder clearUri()
Clears the value of uri field.
-
build
abstract GroundingChunkWeb build()
-
-
-
-