GroundingMetadata class final

Metadata returned to client when grounding is enabled.

Inheritance
  • Object
  • ProtoMessage
  • GroundingMetadata

Constructors

GroundingMetadata({SearchEntryPoint? searchEntryPoint, List<GroundingChunk> groundingChunks = const [], List<GroundingSupport> groundingSupports = const [], RetrievalMetadata? retrievalMetadata, List<String> webSearchQueries = const []})
GroundingMetadata.fromJson(Object? j)
factory

Properties

groundingChunks List<GroundingChunk>
List of supporting references retrieved from specified grounding source.
final
groundingSupports List<GroundingSupport>
List of grounding support.
final
hashCode int
The hash code for this object.
no setterinherited
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
retrievalMetadata RetrievalMetadata?
Metadata related to retrieval in the grounding flow.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
searchEntryPoint SearchEntryPoint?
Optional. Google search entry for the following-up web searches.
final
webSearchQueries List<String>
Web search queries for the following-up web search.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String