Interface RetrieveContextsRequest.VertexRagStoreOrBuilder

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

public static interface RetrieveContextsRequest.VertexRagStoreOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getRagCorporaList

      @Deprecated List<String> getRagCorporaList()
      Deprecated.
      google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153
       Optional. Deprecated. Please use rag_resources to specify the data
       source.
       
      repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the ragCorpora.
    • getRagCorporaCount

      @Deprecated int getRagCorporaCount()
      Deprecated.
      google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153
       Optional. Deprecated. Please use rag_resources to specify the data
       source.
       
      repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of ragCorpora.
    • getRagCorpora

      @Deprecated String getRagCorpora(int index)
      Deprecated.
      google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153
       Optional. Deprecated. Please use rag_resources to specify the data
       source.
       
      repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The ragCorpora at the given index.
    • getRagCorporaBytes

      @Deprecated com.google.protobuf.ByteString getRagCorporaBytes(int index)
      Deprecated.
      google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.rag_corpora is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=153
       Optional. Deprecated. Please use rag_resources to specify the data
       source.
       
      repeated string rag_corpora = 1 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ragCorpora at the given index.
    • getRagResourcesList

       Optional. The representation of the rag source. It can be used to specify
       corpus only or ragfiles. Currently only support one corpus or multiple
       files from one corpus. In the future we may open up multiple corpora
       support.
       
      repeated .google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getRagResources

       Optional. The representation of the rag source. It can be used to specify
       corpus only or ragfiles. Currently only support one corpus or multiple
       files from one corpus. In the future we may open up multiple corpora
       support.
       
      repeated .google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getRagResourcesCount

      int getRagResourcesCount()
       Optional. The representation of the rag source. It can be used to specify
       corpus only or ragfiles. Currently only support one corpus or multiple
       files from one corpus. In the future we may open up multiple corpora
       support.
       
      repeated .google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getRagResourcesOrBuilderList

      List<? extends RetrieveContextsRequest.VertexRagStore.RagResourceOrBuilder> getRagResourcesOrBuilderList()
       Optional. The representation of the rag source. It can be used to specify
       corpus only or ragfiles. Currently only support one corpus or multiple
       files from one corpus. In the future we may open up multiple corpora
       support.
       
      repeated .google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • getRagResourcesOrBuilder

       Optional. The representation of the rag source. It can be used to specify
       corpus only or ragfiles. Currently only support one corpus or multiple
       files from one corpus. In the future we may open up multiple corpora
       support.
       
      repeated .google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.RagResource rag_resources = 3 [(.google.api.field_behavior) = OPTIONAL];
    • hasVectorDistanceThreshold

      @Deprecated boolean hasVectorDistanceThreshold()
      Deprecated.
      google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=165
       Optional. Only return contexts with vector distance smaller than the
       threshold.
       
      optional double vector_distance_threshold = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      Whether the vectorDistanceThreshold field is set.
    • getVectorDistanceThreshold

      @Deprecated double getVectorDistanceThreshold()
      Deprecated.
      google.cloud.aiplatform.v1beta1.RetrieveContextsRequest.VertexRagStore.vector_distance_threshold is deprecated. See google/cloud/aiplatform/v1beta1/vertex_rag_service.proto;l=165
       Optional. Only return contexts with vector distance smaller than the
       threshold.
       
      optional double vector_distance_threshold = 2 [deprecated = true, (.google.api.field_behavior) = OPTIONAL];
      Returns:
      The vectorDistanceThreshold.