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

    if (!getName().equals(other.getName())) return false;
    if (!getDisplayName().equals(other.getDisplayName())) return false;
    if (!getModel().equals(other.getModel())) return false;
    if (hasSystemInstruction() != other.hasSystemInstruction()) return false;
    if (hasSystemInstruction()) {
      if (!getSystemInstruction().equals(other.getSystemInstruction())) return false;
    }
    if (!getContentsList().equals(other.getContentsList())) return false;
    if (!getToolsList().equals(other.getToolsList())) return false;
    if (hasToolConfig() != other.hasToolConfig()) return false;
    if (hasToolConfig()) {
      if (!getToolConfig().equals(other.getToolConfig())) return false;
    }
    if (hasCreateTime() != other.hasCreateTime()) return false;
    if (hasCreateTime()) {
      if (!getCreateTime().equals(other.getCreateTime())) return false;
    }
    if (hasUpdateTime() != other.hasUpdateTime()) return false;
    if (hasUpdateTime()) {
      if (!getUpdateTime().equals(other.getUpdateTime())) return false;
    }
    if (hasUsageMetadata() != other.hasUsageMetadata()) return false;
    if (hasUsageMetadata()) {
      if (!getUsageMetadata().equals(other.getUsageMetadata())) return false;
    }
    if (!getExpirationCase().equals(other.getExpirationCase())) return false;
    switch (expirationCase_) {
      case 9:
        if (!getExpireTime().equals(other.getExpireTime())) return false;
        break;
      case 10:
        if (!getTtl().equals(other.getTtl())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Output only. Metadata on the usage of the cached content.
</pre>

<code>
.google.cloud.vertexai.v1.CachedContent.UsageMetadata usage_metadata = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CachedContent.java