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

    if (!getKey().equals(other.getKey())) return false;
    if (!getElementaryStreamCase().equals(other.getElementaryStreamCase())) return false;
    switch (elementaryStreamCase_) {
      case 1:
        if (!getVideoStream().equals(other.getVideoStream())) return false;
        break;
      case 2:
        if (!getAudioStream().equals(other.getAudioStream())) return false;
        break;
      case 3:
        if (!getTextStream().equals(other.getTextStream())) return false;
        break;
      case 0:
      default:
    }
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Encoding of a text stream. For example, closed captions or subtitles.
</pre>

<code>.google.cloud.video.transcoder.v1.TextStream text_stream = 3;</code>
java-video-transcoder/proto-google-cloud-video-transcoder-v1/src/main/java/com/google/cloud/video/transcoder/v1/ElementaryStream.java