@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getDuration());
      }
      getUnknownFields().writeTo(output);
    }
<pre>
Duration of an ad opportunity. Must be greater than 0.
</pre>

<code>.google.protobuf.Duration duration = 1;</code>
java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java