Interface RagQueryOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
RagQuery, RagQuery.Builder

@Generated public interface RagQueryOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • hasText

      boolean hasText()
       Optional. The query in text format to get relevant contexts.
       
      string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the text field is set.
    • getText

      String getText()
       Optional. The query in text format to get relevant contexts.
       
      string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The text.
    • getTextBytes

      com.google.protobuf.ByteString getTextBytes()
       Optional. The query in text format to get relevant contexts.
       
      string text = 1 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The bytes for text.
    • hasRagRetrievalConfig

      boolean hasRagRetrievalConfig()
       Optional. The retrieval config for the query.
       
      .google.cloud.aiplatform.v1.RagRetrievalConfig rag_retrieval_config = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the ragRetrievalConfig field is set.
    • getRagRetrievalConfig

      RagRetrievalConfig getRagRetrievalConfig()
       Optional. The retrieval config for the query.
       
      .google.cloud.aiplatform.v1.RagRetrievalConfig rag_retrieval_config = 6 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The ragRetrievalConfig.
    • getRagRetrievalConfigOrBuilder

      RagRetrievalConfigOrBuilder getRagRetrievalConfigOrBuilder()
       Optional. The retrieval config for the query.
       
      .google.cloud.aiplatform.v1.RagRetrievalConfig rag_retrieval_config = 6 [(.google.api.field_behavior) = OPTIONAL];
    • getQueryCase

      RagQuery.QueryCase getQueryCase()