Interface GroundingChunk.MapsOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
GroundingChunk.Maps, GroundingChunk.Maps.Builder
Enclosing class:
GroundingChunk

public static interface GroundingChunk.MapsOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Sources used to generate the place answer.
    Sources used to generate the place answer.
    This Place's resource name, in `places/{place_id}` format.
    com.google.protobuf.ByteString
    This Place's resource name, in `places/{place_id}` format.
    Text of the chunk.
    com.google.protobuf.ByteString
    Text of the chunk.
    Title of the chunk.
    com.google.protobuf.ByteString
    Title of the chunk.
    URI reference of the chunk.
    com.google.protobuf.ByteString
    URI reference of the chunk.
    boolean
    Sources used to generate the place answer.
    boolean
    This Place's resource name, in `places/{place_id}` format.
    boolean
    Text of the chunk.
    boolean
    Title of the chunk.
    boolean
    URI reference of the chunk.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • hasUri

      boolean hasUri()
       URI reference of the chunk.
       
      optional string uri = 1;
      Returns:
      Whether the uri field is set.
    • getUri

      String getUri()
       URI reference of the chunk.
       
      optional string uri = 1;
      Returns:
      The uri.
    • getUriBytes

      com.google.protobuf.ByteString getUriBytes()
       URI reference of the chunk.
       
      optional string uri = 1;
      Returns:
      The bytes for uri.
    • hasTitle

      boolean hasTitle()
       Title of the chunk.
       
      optional string title = 2;
      Returns:
      Whether the title field is set.
    • getTitle

      String getTitle()
       Title of the chunk.
       
      optional string title = 2;
      Returns:
      The title.
    • getTitleBytes

      com.google.protobuf.ByteString getTitleBytes()
       Title of the chunk.
       
      optional string title = 2;
      Returns:
      The bytes for title.
    • hasText

      boolean hasText()
       Text of the chunk.
       
      optional string text = 3;
      Returns:
      Whether the text field is set.
    • getText

      String getText()
       Text of the chunk.
       
      optional string text = 3;
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       Text of the chunk.
       
      optional string text = 3;
      Returns:
      The bytes for text.
    • hasPlaceId

      boolean hasPlaceId()
       This Place's resource name, in `places/{place_id}` format.  Can be used
       to look up the Place.
       
      optional string place_id = 4;
      Returns:
      Whether the placeId field is set.
    • getPlaceId

      String getPlaceId()
       This Place's resource name, in `places/{place_id}` format.  Can be used
       to look up the Place.
       
      optional string place_id = 4;
      Returns:
      The placeId.
    • getPlaceIdBytes

      com.google.protobuf.ByteString getPlaceIdBytes()
       This Place's resource name, in `places/{place_id}` format.  Can be used
       to look up the Place.
       
      optional string place_id = 4;
      Returns:
      The bytes for placeId.
    • hasPlaceAnswerSources

      boolean hasPlaceAnswerSources()
       Sources used to generate the place answer.
       This includes review snippets and photos that were used to generate the
       answer, as well as uris to flag content.
       
      .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
      Returns:
      Whether the placeAnswerSources field is set.
    • getPlaceAnswerSources

       Sources used to generate the place answer.
       This includes review snippets and photos that were used to generate the
       answer, as well as uris to flag content.
       
      .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;
      Returns:
      The placeAnswerSources.
    • getPlaceAnswerSourcesOrBuilder

      GroundingChunk.Maps.PlaceAnswerSourcesOrBuilder getPlaceAnswerSourcesOrBuilder()
       Sources used to generate the place answer.
       This includes review snippets and photos that were used to generate the
       answer, as well as uris to flag content.
       
      .google.cloud.aiplatform.v1.GroundingChunk.Maps.PlaceAnswerSources place_answer_sources = 5;