@java.lang.Override
  public boolean equals(final java.lang.Object obj) {
    if (obj == this) {
      return true;
    }
    if (!(obj instanceof com.google.cloud.video.livestream.v1.Encryption)) {
      return super.equals(obj);
    }
    com.google.cloud.video.livestream.v1.Encryption other =
        (com.google.cloud.video.livestream.v1.Encryption) obj;

    if (!getId().equals(other.getId())) return false;
    if (hasDrmSystems() != other.hasDrmSystems()) return false;
    if (hasDrmSystems()) {
      if (!getDrmSystems().equals(other.getDrmSystems())) return false;
    }
    if (!getSecretSourceCase().equals(other.getSecretSourceCase())) return false;
    switch (secretSourceCase_) {
      case 7:
        if (!getSecretManagerKeySource().equals(other.getSecretManagerKeySource())) return false;
        break;
      case 0:
      default:
    }
    if (!getEncryptionModeCase().equals(other.getEncryptionModeCase())) return false;
    switch (encryptionModeCase_) {
      case 4:
        if (!getAes128().equals(other.getAes128())) return false;
        break;
      case 5:
        if (!getSampleAes().equals(other.getSampleAes())) return false;
        break;
      case 6:
        if (!getMpegCenc().equals(other.getMpegCenc())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<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