private void buildPartialOneofs(com.google.cloud.video.stitcher.v1.Companion result) {
      result.adResourceCase_ = adResourceCase_;
      result.adResource_ = this.adResource_;
      if (adResourceCase_ == 10 && iframeAdResourceBuilder_ != null) {
        result.adResource_ = iframeAdResourceBuilder_.build();
      }
      if (adResourceCase_ == 11 && staticAdResourceBuilder_ != null) {
        result.adResource_ = staticAdResourceBuilder_.build();
      }
      if (adResourceCase_ == 12 && htmlAdResourceBuilder_ != null) {
        result.adResource_ = htmlAdResourceBuilder_.build();
      }
    }
<pre>
Metadata for a companion.
</pre>

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