@java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (animationTypeCase_ == 1) {
        size +=
            com.google.protobuf.CodedOutputStream.computeMessageSize(
                1, (com.google.cloud.video.transcoder.v1.Overlay.AnimationStatic) animationType_);
      }
      if (animationTypeCase_ == 2) {
        size +=
            com.google.protobuf.CodedOutputStream.computeMessageSize(
                2, (com.google.cloud.video.transcoder.v1.Overlay.AnimationFade) animationType_);
      }
      if (animationTypeCase_ == 3) {
        size +=
            com.google.protobuf.CodedOutputStream.computeMessageSize(
                3, (com.google.cloud.video.transcoder.v1.Overlay.AnimationEnd) animationType_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }
<pre>
End previous animation.
</pre>

<code>.google.cloud.video.transcoder.v1.Overlay.AnimationEnd animation_end = 3;</code>
java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/Overlay.java