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

      if (getPromptTokenCount() != other.getPromptTokenCount()) return false;
      if (getCandidatesTokenCount() != other.getCandidatesTokenCount()) return false;
      if (getTotalTokenCount() != other.getTotalTokenCount()) return false;
      if (getCachedContentTokenCount() != other.getCachedContentTokenCount()) return false;
      if (!getPromptTokensDetailsList().equals(other.getPromptTokensDetailsList())) return false;
      if (!getCacheTokensDetailsList().equals(other.getCacheTokensDetailsList())) return false;
      if (!getCandidatesTokensDetailsList().equals(other.getCandidatesTokensDetailsList()))
        return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }
<pre>
Output only. List of modalities that were returned in the response.
</pre>

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