Interface GroundingChunkOrBuilder (4.105.0)

public interface GroundingChunkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChunkTypeCase()

public abstract GroundingChunk.ChunkTypeCase getChunkTypeCase()
Returns
Type Description
GroundingChunk.ChunkTypeCase

getRetrievedContext()

public abstract GroundingChunk.RetrievedContext getRetrievedContext()

Optional. A grounding chunk from a data source retrieved by a data store tool.

.google.cloud.dialogflow.v2.GroundingChunk.RetrievedContext retrieved_context = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GroundingChunk.RetrievedContext

The retrievedContext.

getRetrievedContextOrBuilder()

public abstract GroundingChunk.RetrievedContextOrBuilder getRetrievedContextOrBuilder()

Optional. A grounding chunk from a data source retrieved by a data store tool.

.google.cloud.dialogflow.v2.GroundingChunk.RetrievedContext retrieved_context = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GroundingChunk.RetrievedContextOrBuilder

getWeb()

public abstract GroundingChunk.Web getWeb()

Optional. A grounding chunk from a web page, typically from web search. See the Web message for details.

.google.cloud.dialogflow.v2.GroundingChunk.Web web = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GroundingChunk.Web

The web.

getWebOrBuilder()

public abstract GroundingChunk.WebOrBuilder getWebOrBuilder()

Optional. A grounding chunk from a web page, typically from web search. See the Web message for details.

.google.cloud.dialogflow.v2.GroundingChunk.Web web = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
GroundingChunk.WebOrBuilder

hasRetrievedContext()

public abstract boolean hasRetrievedContext()

Optional. A grounding chunk from a data source retrieved by a data store tool.

.google.cloud.dialogflow.v2.GroundingChunk.RetrievedContext retrieved_context = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the retrievedContext field is set.

hasWeb()

public abstract boolean hasWeb()

Optional. A grounding chunk from a web page, typically from web search. See the Web message for details.

.google.cloud.dialogflow.v2.GroundingChunk.Web web = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the web field is set.