public long getTokenIds(int index) {
      return tokenIds_.getLong(index);
    }
<pre>
A list of token ids from the input.
</pre>

<code>repeated int64 token_ids = 2;</code>

@param index The index of the element to return.
@return The tokenIds at the given index.
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/TokensInfo.java