public Builder setCodecBytes(com.google.protobuf.ByteString value) {
      if (value == null) {
        throw new NullPointerException();
      }
      checkByteStringIsUtf8(value);
      codec_ = value;
      bitField0_ |= 0x00000001;
      onChanged();
      return this;
    }
<pre>
Required. The codec for this text stream.

Supported text codecs:

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

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

@param value The bytes for codec to set.
@return This builder for chaining.
java-video-live-stream/proto-google-cloud-live-stream-v1/src/main/java/com/google/cloud/video/livestream/v1/TextStream.java