@java.lang.Override
  public com.google.cloud.vertexai.api.ContentOrBuilder getContentsOrBuilder(int index) {
    return contents_.get(index);
  }
<pre>
Required. The content of the current conversation with the model.

For single-turn queries, this is a single instance. For multi-turn queries,
this is a repeated field that contains conversation history + latest
request.
</pre>

<code>
repeated .google.cloud.vertexai.v1.Content contents = 2 [(.google.api.field_behavior) = REQUIRED];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentRequest.java