@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(1, getStartTimeOffset());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(2, getEndTimeOffset());
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Time-offset, relative to the beginning of the video,
corresponding to the end of the segment (inclusive).
</pre>

<code>.google.protobuf.Duration end_time_offset = 2;</code>
java-video-intelligence/proto-google-cloud-video-intelligence-v1beta2/src/main/java/com/google/cloud/videointelligence/v1beta2/VideoSegment.java