Package com.google.cloud.aiplatform.v1
Interface VertexRagStore.RagResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VertexRagStore.RagResource,VertexRagStore.RagResource.Builder
- Enclosing class:
- VertexRagStore
public static interface VertexRagStore.RagResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionOptional.com.google.protobuf.ByteStringOptional.getRagFileIds(int index) Optional. rag_file_id.com.google.protobuf.ByteStringgetRagFileIdsBytes(int index) Optional. rag_file_id.intOptional. rag_file_id.Optional. rag_file_id.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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
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.
-