@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(id_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_);
    }
    if (((bitField0_ & 0x00000001) != 0)) {
      output.writeMessage(3, getDrmSystems());
    }
    if (encryptionModeCase_ == 4) {
      output.writeMessage(
          4, (com.google.cloud.video.livestream.v1.Encryption.Aes128Encryption) encryptionMode_);
    }
    if (encryptionModeCase_ == 5) {
      output.writeMessage(
          5, (com.google.cloud.video.livestream.v1.Encryption.SampleAesEncryption) encryptionMode_);
    }
    if (encryptionModeCase_ == 6) {
      output.writeMessage(
          6,
          (com.google.cloud.video.livestream.v1.Encryption.MpegCommonEncryption) encryptionMode_);
    }
    if (secretSourceCase_ == 7) {
      output.writeMessage(
          7, (com.google.cloud.video.livestream.v1.Encryption.SecretManagerSource) secretSource_);
    }
    getUnknownFields().writeTo(output);
  }
<pre>
Configuration for MPEG-Dash Common Encryption (MPEG-CENC).
</pre>

<code>.google.cloud.video.livestream.v1.Encryption.MpegCommonEncryption mpeg_cenc = 6;</code>
java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/Encryption.java