public Builder setTtl(com.google.protobuf.Duration.Builder builderForValue) {
      if (ttlBuilder_ == null) {
        ttl_ = builderForValue.build();
      } else {
        ttlBuilder_.setMessage(builderForValue.build());
      }
      bitField0_ |= 0x00000002;
      onChanged();
      return this;
    }
<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>
java-visionai/proto-google-cloud-visionai-v1/src/main/java/com/google/cloud/visionai/v1/Asset.java