@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.vertexai.api.CountTokensResponse)) {
      return super.equals(obj);
    }
    com.google.cloud.vertexai.api.CountTokensResponse other =
        (com.google.cloud.vertexai.api.CountTokensResponse) obj;

    if (getTotalTokens() != other.getTotalTokens()) return false;
    if (getTotalBillableCharacters() != other.getTotalBillableCharacters()) return false;
    if (!getPromptTokensDetailsList().equals(other.getPromptTokensDetailsList())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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