@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (fadeType_
          != com.google.cloud.video.transcoder.v1.Overlay.FadeType.FADE_TYPE_UNSPECIFIED
              .getNumber()) {
        output.writeEnum(1, fadeType_);
      }
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(2, getXy());
      }
      if (((bitField0_ & 0x00000002) != 0)) {
        output.writeMessage(3, getStartTimeOffset());
      }
      if (((bitField0_ & 0x00000004) != 0)) {
        output.writeMessage(4, getEndTimeOffset());
      }
      getUnknownFields().writeTo(output);
    }
<pre>
The time to end the fade animation, in seconds. Default:
`start_time_offset` + 1s
</pre>

<code>.google.protobuf.Duration end_time_offset = 4;</code>
java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java