private void buildPartialOneofs(com.google.cloud.video.livestream.v1.Event result) {
      result.taskCase_ = taskCase_;
      result.task_ = this.task_;
      if (taskCase_ == 5 && inputSwitchBuilder_ != null) {
        result.task_ = inputSwitchBuilder_.build();
      }
      if (taskCase_ == 6 && adBreakBuilder_ != null) {
        result.task_ = adBreakBuilder_.build();
      }
      if (taskCase_ == 13 && returnToProgramBuilder_ != null) {
        result.task_ = returnToProgramBuilder_.build();
      }
      if (taskCase_ == 14 && slateBuilder_ != null) {
        result.task_ = slateBuilder_.build();
      }
      if (taskCase_ == 15 && muteBuilder_ != null) {
        result.task_ = muteBuilder_.build();
      }
      if (taskCase_ == 16 && unmuteBuilder_ != null) {
        result.task_ = unmuteBuilder_.build();
      }
    }
<pre>
Event is a sub-resource of a channel, which can be scheduled by the user to
execute operations on a channel resource without having to stop the channel.
</pre>

Protobuf type {@code google.cloud.video.livestream.v1.Event}
java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Event.java