@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)) {
      return super.equals(obj);
    }
    com.google.cloud.vertexai.api.GenerateContentResponse other =
        (com.google.cloud.vertexai.api.GenerateContentResponse) obj;

    if (!getCandidatesList().equals(other.getCandidatesList())) return false;
    if (!getModelVersion().equals(other.getModelVersion())) return false;
    if (hasCreateTime() != other.hasCreateTime()) return false;
    if (hasCreateTime()) {
      if (!getCreateTime().equals(other.getCreateTime())) return false;
    }
    if (!getResponseId().equals(other.getResponseId())) return false;
    if (hasPromptFeedback() != other.hasPromptFeedback()) return false;
    if (hasPromptFeedback()) {
      if (!getPromptFeedback().equals(other.getPromptFeedback())) return false;
    }
    if (hasUsageMetadata() != other.hasUsageMetadata()) return false;
    if (hasUsageMetadata()) {
      if (!getUsageMetadata().equals(other.getUsageMetadata())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Usage metadata about the response(s).
</pre>

<code>.google.cloud.vertexai.v1.GenerateContentResponse.UsageMetadata usage_metadata = 4;
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/GenerateContentResponse.java