@java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(ragCorpus_)) {
        size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, ragCorpus_);
      }
      {
        int dataSize = 0;
        for (int i = 0; i < ragFileIds_.size(); i++) {
          dataSize += computeStringSizeNoTag(ragFileIds_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getRagFileIdsList().size();
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<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