@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(1, getStartTime());
    }
    if (((bitField0_ & 0x00000002) != 0)) {
      output.writeMessage(2, getEndTime());
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Optional. The end time of the interval.
</pre>

<code>.google.protobuf.Timestamp end_time = 2 [(.google.api.field_behavior) = OPTIONAL];</code>
java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TimeInterval.java