Interface GroundingChunk.RetrievedContextOrBuilder

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

public static interface GroundingChunk.RetrievedContextOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasRagChunk

      boolean hasRagChunk()
       Additional context for the RAG retrieval result. This is only populated
       when using the RAG retrieval tool.
       
      .google.cloud.aiplatform.v1.RagChunk rag_chunk = 4;
      Returns:
      Whether the ragChunk field is set.
    • getRagChunk

      RagChunk getRagChunk()
       Additional context for the RAG retrieval result. This is only populated
       when using the RAG retrieval tool.
       
      .google.cloud.aiplatform.v1.RagChunk rag_chunk = 4;
      Returns:
      The ragChunk.
    • getRagChunkOrBuilder

      RagChunkOrBuilder getRagChunkOrBuilder()
       Additional context for the RAG retrieval result. This is only populated
       when using the RAG retrieval tool.
       
      .google.cloud.aiplatform.v1.RagChunk rag_chunk = 4;
    • hasUri

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

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

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

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

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

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

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

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

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

      boolean hasDocumentName()
       Output only. The full document name for the referenced Vertex AI Search
       document.
       
      optional string document_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      Whether the documentName field is set.
    • getDocumentName

      String getDocumentName()
       Output only. The full document name for the referenced Vertex AI Search
       document.
       
      optional string document_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The documentName.
    • getDocumentNameBytes

      com.google.protobuf.ByteString getDocumentNameBytes()
       Output only. The full document name for the referenced Vertex AI Search
       document.
       
      optional string document_name = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Returns:
      The bytes for documentName.
    • getContextDetailsCase