@java.lang.Override
  public java.lang.String getDatastore() {
    java.lang.Object ref = datastore_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      datastore_ = s;
      return s;
    }
  }
<pre>
Required. Fully-qualified Vertex AI Search data store resource ID.
Format:
`projects/{project}/locations/{location}/collections/{collection}/dataStores/{dataStore}`
</pre>

<code>string datastore = 1 [(.google.api.field_behavior) = REQUIRED];</code>

@return The datastore.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/VertexAISearch.java