@java.lang.Override
  public int hashCode() {
    if (memoizedHashCode != 0) {
      return memoizedHashCode;
    }
    int hash = 41;
    hash = (19 * hash) + getDescriptor().hashCode();
    hash = (37 * hash) + KEY_FIELD_NUMBER;
    hash = (53 * hash) + getKey().hashCode();
    switch (elementaryStreamCase_) {
      case 1:
        hash = (37 * hash) + VIDEO_STREAM_FIELD_NUMBER;
        hash = (53 * hash) + getVideoStream().hashCode();
        break;
      case 2:
        hash = (37 * hash) + AUDIO_STREAM_FIELD_NUMBER;
        hash = (53 * hash) + getAudioStream().hashCode();
        break;
      case 3:
        hash = (37 * hash) + TEXT_STREAM_FIELD_NUMBER;
        hash = (53 * hash) + getTextStream().hashCode();
        break;
      case 0:
      default:
    }
    hash = (29 * hash) + getUnknownFields().hashCode();
    memoizedHashCode = hash;
    return hash;
  }
<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