@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.VideoStream)) {
      return super.equals(obj);
    }
    com.google.cloud.video.livestream.v1.VideoStream other =
        (com.google.cloud.video.livestream.v1.VideoStream) obj;

    if (!getCodecSettingsCase().equals(other.getCodecSettingsCase())) return false;
    switch (codecSettingsCase_) {
      case 20:
        if (!getH264().equals(other.getH264())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
H264 codec settings.
</pre>

<code>.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20;</code>
java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/VideoStream.java