@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(corpus_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, corpus_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, region_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(3, getTtl());
    }
    getUnknownFields().writeTo(output);
  }
<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