public Builder mergeFrom(com.google.cloud.video.stitcher.v1.VodSessionAd other) {
      if (other == com.google.cloud.video.stitcher.v1.VodSessionAd.getDefaultInstance())
        return this;
      if (other.hasDuration()) {
        mergeDuration(other.getDuration());
      }
      if (other.hasCompanionAds()) {
        mergeCompanionAds(other.getCompanionAds());
      }
      if (activityEventsBuilder_ == null) {
        if (!other.activityEvents_.isEmpty()) {
          if (activityEvents_.isEmpty()) {
            activityEvents_ = other.activityEvents_;
            bitField0_ = (bitField0_ & ~0x00000004);
          } else {
            ensureActivityEventsIsMutable();
            activityEvents_.addAll(other.activityEvents_);
          }
          onChanged();
        }
      } else {
        if (!other.activityEvents_.isEmpty()) {
          if (activityEventsBuilder_.isEmpty()) {
            activityEventsBuilder_.dispose();
            activityEventsBuilder_ = null;
            activityEvents_ = other.activityEvents_;
            bitField0_ = (bitField0_ & ~0x00000004);
            activityEventsBuilder_ =
                com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders
                    ? getActivityEventsFieldBuilder()
                    : null;
          } else {
            activityEventsBuilder_.addAllMessages(other.activityEvents_);
          }
        }
      }
      this.mergeUnknownFields(other.getUnknownFields());
      onChanged();
      return this;
    }
<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