@java.lang.Override
    public com.google.protobuf.ByteString getRagCorpusBytes() {
      java.lang.Object ref = ragCorpus_;
      if (ref instanceof java.lang.String) {
        com.google.protobuf.ByteString b =
            com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
        ragCorpus_ = b;
        return b;
      } else {
        return (com.google.protobuf.ByteString) ref;
      }
    }
<pre>
Optional. RagCorpora resource name.
Format:
`projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`
</pre>

<code>
string rag_corpus = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
</code>

@return The bytes for ragCorpus.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VertexRagStore.java