private void buildPartialRepeatedFields(
        com.google.cloud.video.stitcher.v1.VodSessionAd result) {
      if (activityEventsBuilder_ == null) {
        if (((bitField0_ & 0x00000004) != 0)) {
          activityEvents_ = java.util.Collections.unmodifiableList(activityEvents_);
          bitField0_ = (bitField0_ & ~0x00000004);
        }
        result.activityEvents_ = activityEvents_;
      } else {
        result.activityEvents_ = activityEventsBuilder_.build();
      }
    }
<pre>
Metadata for an inserted ad in a VOD session.
</pre>

Protobuf type {@code google.cloud.video.stitcher.v1.VodSessionAd}
java-video-stitcher/proto-google-cloud-video-stitcher-v1/src/main/java/com/google/cloud/video/stitcher/v1/VodSessionAd.java