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 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

       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

       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()