@java.lang.Override
  public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
    if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(codec_)) {
      com.google.protobuf.GeneratedMessageV3.writeString(output, 1, codec_);
    }
    getUnknownFields().writeTo(output);
  }
<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