@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (totalTokens_ != 0) {
      output.writeInt32(1, totalTokens_);
    }
    if (totalBillableCharacters_ != 0) {
      output.writeInt32(2, totalBillableCharacters_);
    }
    for (int i = 0; i < promptTokensDetails_.size(); i++) {
      output.writeMessage(3, promptTokensDetails_.get(i));
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Output only. List of modalities that were processed in the request input.
</pre>

<code>
repeated .google.cloud.vertexai.v1.ModalityTokenCount prompt_tokens_details = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CountTokensResponse.java