@java.lang.Override
  public com.google.protobuf.Duration getTtl() {
    return ttl_ == null ? com.google.protobuf.Duration.getDefaultInstance() : ttl_;
  }
<pre>
The duration for which all media assets, associated metadata, and search
documents can exist. If not set, then it will using the default ttl in the
parent corpus resource.
</pre>

<code>.google.protobuf.Duration ttl = 2;</code>

@return The ttl.
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Asset.java