@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (type_
        != com.google.cloud.video.stitcher.v1.Event.EventType.EVENT_TYPE_UNSPECIFIED.getNumber()) {
      output.writeEnum(1, type_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(uri_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 2, uri_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 3, id_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(4, getOffset());
    }
    getUnknownFields().writeTo(output);
  }
<pre>
The offset in seconds if the event type is `PROGRESS`.
</pre>

<code>.google.protobuf.Duration offset = 4;</code>
java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/Event.java