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

    if (!getCodec().equals(other.getCodec())) return false;
    if (!getUnknownFields().equals(other.getUnknownFields())) return false;
    return true;
  }
<pre>
Required. The codec for this text stream.

Supported text codecs:

- `cea608`
- `cea708`
</pre>

<code>string codec = 1 [(.google.api.field_behavior) = REQUIRED];</code>

@return The bytes for codec.
java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java