Interface RetrieveContextsRequest.VertexRagStore.RagResourceOrBuilder

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

public static interface RetrieveContextsRequest.VertexRagStore.RagResourceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Optional.
    com.google.protobuf.ByteString
    Optional.
    getRagFileIds(int index)
    Optional. rag_file_id.
    com.google.protobuf.ByteString
    getRagFileIdsBytes(int index)
    Optional. rag_file_id.
    int
    Optional. rag_file_id.
    Optional. rag_file_id.

    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

    • getRagCorpus

      String getRagCorpus()
       Optional. RagCorpora resource name.
       Format:
       `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
       
      string rag_corpus = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The ragCorpus.
    • getRagCorpusBytes

      com.google.protobuf.ByteString getRagCorpusBytes()
       Optional. RagCorpora resource name.
       Format:
       `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
       
      string rag_corpus = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
      Returns:
      The bytes for ragCorpus.
    • getRagFileIdsList

      List<String> getRagFileIdsList()
       Optional. rag_file_id. The files should be in the same rag_corpus set
       in rag_corpus field.
       
      repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      A list containing the ragFileIds.
    • getRagFileIdsCount

      int getRagFileIdsCount()
       Optional. rag_file_id. The files should be in the same rag_corpus set
       in rag_corpus field.
       
      repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Returns:
      The count of ragFileIds.
    • getRagFileIds

      String getRagFileIds(int index)
       Optional. rag_file_id. The files should be in the same rag_corpus set
       in rag_corpus field.
       
      repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the element to return.
      Returns:
      The ragFileIds at the given index.
    • getRagFileIdsBytes

      com.google.protobuf.ByteString getRagFileIdsBytes(int index)
       Optional. rag_file_id. The files should be in the same rag_corpus set
       in rag_corpus field.
       
      repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the ragFileIds at the given index.