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

    if (!getCorpus().equals(other.getCorpus())) return false;
    if (!getRegion().equals(other.getRegion())) return false;
    if (hasTtl() != other.hasTtl()) return false;
    if (hasTtl()) {
      if (!getTtl().equals(other.getTtl())) return false;
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
The duration for which all media assets, associated metadata, and search
documents can exist.
</pre>

<code>.google.protobuf.Duration ttl = 3;</code>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/MediaWarehouseConfig.java