Interface GroundingChunkOrBuilder (3.73.0)

public interface GroundingChunkOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChunkTypeCase()

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

getMaps()

public abstract GroundingChunk.Maps getMaps()

Grounding chunk from Google Maps.

.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps maps = 3;

Returns
Type Description
GroundingChunk.Maps

The maps.

getMapsOrBuilder()

public abstract GroundingChunk.MapsOrBuilder getMapsOrBuilder()

Grounding chunk from Google Maps.

.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps maps = 3;

Returns
Type Description
GroundingChunk.MapsOrBuilder

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

hasMaps()

public abstract boolean hasMaps()

Grounding chunk from Google Maps.

.google.cloud.aiplatform.v1beta1.GroundingChunk.Maps maps = 3;

Returns
Type Description
boolean

Whether the maps field is set.

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.