Interface GroundingChunkOrBuilder (3.55.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()

Grounding chunk from context retrieved by the retrieval tools.

.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;

Returns
Type Description
GroundingChunk.RetrievedContext

The retrievedContext.

getRetrievedContextOrBuilder()

public abstract GroundingChunk.RetrievedContextOrBuilder getRetrievedContextOrBuilder()

Grounding chunk from context retrieved by the retrieval tools.

.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;

Returns
Type Description
GroundingChunk.RetrievedContextOrBuilder

getWeb()

public abstract GroundingChunk.Web getWeb()

Grounding chunk from the web.

.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;

Returns
Type Description
GroundingChunk.Web

The web.

getWebOrBuilder()

public abstract GroundingChunk.WebOrBuilder getWebOrBuilder()

Grounding chunk from the web.

.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;

Returns
Type Description
GroundingChunk.WebOrBuilder

hasRetrievedContext()

public abstract boolean hasRetrievedContext()

Grounding chunk from context retrieved by the retrieval tools.

.google.cloud.aiplatform.v1beta1.GroundingChunk.RetrievedContext retrieved_context = 2;

Returns
Type Description
boolean

Whether the retrievedContext field is set.

hasWeb()

public abstract boolean hasWeb()

Grounding chunk from the web.

.google.cloud.aiplatform.v1beta1.GroundingChunk.Web web = 1;

Returns
Type Description
boolean

Whether the web field is set.