Package com.google.cloud.aiplatform.v1
Interface GroundingChunkOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
GroundingChunk,GroundingChunk.Builder
@Generated
public interface GroundingChunkOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetMaps()Grounding chunk from Google Maps.Grounding chunk from Google Maps.Grounding chunk from context retrieved by the retrieval tools.Grounding chunk from context retrieved by the retrieval tools.getWeb()Grounding chunk from the web.Grounding chunk from the web.booleanhasMaps()Grounding chunk from Google Maps.booleanGrounding chunk from context retrieved by the retrieval tools.booleanhasWeb()Grounding chunk from the web.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasWeb
boolean hasWeb()Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;- Returns:
- Whether the web field is set.
-
getWeb
GroundingChunk.Web getWeb()Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1;- Returns:
- The web.
-
getWebOrBuilder
GroundingChunk.WebOrBuilder getWebOrBuilder()Grounding chunk from the web.
.google.cloud.aiplatform.v1.GroundingChunk.Web web = 1; -
hasRetrievedContext
boolean hasRetrievedContext()Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;- Returns:
- Whether the retrievedContext field is set.
-
getRetrievedContext
GroundingChunk.RetrievedContext getRetrievedContext()Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2;- Returns:
- The retrievedContext.
-
getRetrievedContextOrBuilder
GroundingChunk.RetrievedContextOrBuilder getRetrievedContextOrBuilder()Grounding chunk from context retrieved by the retrieval tools.
.google.cloud.aiplatform.v1.GroundingChunk.RetrievedContext retrieved_context = 2; -
hasMaps
boolean hasMaps()Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;- Returns:
- Whether the maps field is set.
-
getMaps
GroundingChunk.Maps getMaps()Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3;- Returns:
- The maps.
-
getMapsOrBuilder
GroundingChunk.MapsOrBuilder getMapsOrBuilder()Grounding chunk from Google Maps.
.google.cloud.aiplatform.v1.GroundingChunk.Maps maps = 3; -
getChunkTypeCase
GroundingChunk.ChunkTypeCase getChunkTypeCase()
-