@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ragCorpus_)) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 1, ragCorpus_);
      }
      for (int i = 0; i < ragFileIds_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ragFileIds_.getRaw(i));
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Optional. rag_file_id. The files should be in the same rag_corpus set in
rag_corpus field.
</pre>

<code>repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];</code>

@param index The index of the value to return.
@return The bytes of the ragFileIds at the given index.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VertexRagStore.java