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

    size = 0;
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(apiFramework_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, apiFramework_);
    }
    if (heightPx_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(2, heightPx_);
    }
    if (widthPx_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(3, widthPx_);
    }
    if (assetHeightPx_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(4, assetHeightPx_);
    }
    if (expandedHeightPx_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(5, expandedHeightPx_);
    }
    if (assetWidthPx_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, assetWidthPx_);
    }
    if (expandedWidthPx_ != 0) {
      size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, expandedWidthPx_);
    }
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(adSlotId_)) {
      size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, adSlotId_);
    }
    for (int i = 0; i < events_.size(); i++) {
      size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, events_.get(i));
    }
    if (adResourceCase_ == 10) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              10, (com.google.cloud.video.stitcher.v1.IframeAdResource) adResource_);
    }
    if (adResourceCase_ == 11) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              11, (com.google.cloud.video.stitcher.v1.StaticAdResource) adResource_);
    }
    if (adResourceCase_ == 12) {
      size +=
          com.google.protobuf.CodedOutputStream.computeMessageSize(
              12, (com.google.cloud.video.stitcher.v1.HtmlAdResource) adResource_);
    }
    size += getUnknownFields().getSerializedSize();
    memoizedSize = size;
    return size;
  }
<pre>
The list of tracking events for the companion.
</pre>

<code>repeated .google.cloud.video.stitcher.v1.Event events = 9;</code>
java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/Companion.java