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

    if (!getCodecSettingsCase().equals(other.getCodecSettingsCase())) return false;
    switch (codecSettingsCase_) {
      case 1:
        if (!getH264().equals(other.getH264())) return false;
        break;
      case 2:
        if (!getH265().equals(other.getH265())) return false;
        break;
      case 3:
        if (!getVp9().equals(other.getVp9())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
VP9 codec settings.
</pre>

<code>.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;</code>
java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/VideoStream.java