@java.lang.Override
    public com.google.protobuf.DurationOrBuilder getTtlOrBuilder() {
      if ((expirationCase_ == 10) && (ttlBuilder_ != null)) {
        return ttlBuilder_.getMessageOrBuilder();
      } else {
        if (expirationCase_ == 10) {
          return (com.google.protobuf.Duration) expiration_;
        }
        return com.google.protobuf.Duration.getDefaultInstance();
      }
    }
<pre>
Input only. The TTL for this resource. The expiration time is computed:
now + TTL.
</pre>

<code>.google.protobuf.Duration ttl = 10 [(.google.api.field_behavior) = INPUT_ONLY];</code>
java-vertexai/proto-google-cloud-vertexai-v1/src/main/java/com/google/cloud/vertexai/api/CachedContent.java