[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Interface TextStreamOrBuilder (0.16.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.16.0 (latest)](/java/docs/reference/google-cloudevent-types/latest/com.google.events.cloud.video.transcoder.v1.TextStreamOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloudevent-types/0.15.0/com.google.events.cloud.video.transcoder.v1.TextStreamOrBuilder)\n- [0.14.1](/java/docs/reference/google-cloudevent-types/0.14.1/com.google.events.cloud.video.transcoder.v1.TextStreamOrBuilder) \n\n public interface TextStreamOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getCodec()\n\n public abstract String getCodec()\n\nThe codec for this text stream. The default is `webvtt`.\nSupported text codecs:\n\n- `srt`\n- `ttml`\n- `cea608`\n- `cea708`\n- `webvtt`\n\n`string codec = 1;`\n\n### getCodecBytes()\n\n public abstract ByteString getCodecBytes()\n\nThe codec for this text stream. The default is `webvtt`.\nSupported text codecs:\n\n- `srt`\n- `ttml`\n- `cea608`\n- `cea708`\n- `webvtt`\n\n`string codec = 1;`\n\n### getDisplayName()\n\n public abstract String getDisplayName()\n\nThe name for this particular text stream that\nwill be added to the HLS/DASH manifest. Not supported in MP4 files.\n\n`string display_name = 4;`\n\n### getDisplayNameBytes()\n\n public abstract ByteString getDisplayNameBytes()\n\nThe name for this particular text stream that\nwill be added to the HLS/DASH manifest. Not supported in MP4 files.\n\n`string display_name = 4;`\n\n### getLanguageCode()\n\n public abstract String getLanguageCode()\n\nThe BCP-47 language code, such as `en-US` or `sr-Latn`. For more\ninformation, see\n\u003chttps://www.unicode.org/reports/tr35/#Unicode_locale_identifier\u003e. Not\nsupported in MP4 files.\n\n`string language_code = 2;`\n\n### getLanguageCodeBytes()\n\n public abstract ByteString getLanguageCodeBytes()\n\nThe BCP-47 language code, such as `en-US` or `sr-Latn`. For more\ninformation, see\n\u003chttps://www.unicode.org/reports/tr35/#Unicode_locale_identifier\u003e. Not\nsupported in MP4 files.\n\n`string language_code = 2;`\n\n### getMapping(int index)\n\n public abstract TextStream.TextMapping getMapping(int index)\n\nThe mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.\n\n`repeated .google.events.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;\n`\n\n### getMappingCount()\n\n public abstract int getMappingCount()\n\nThe mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.\n\n`repeated .google.events.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;\n`\n\n### getMappingList()\n\n public abstract List\u003cTextStream.TextMapping\u003e getMappingList()\n\nThe mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.\n\n`repeated .google.events.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;\n`\n\n### getMappingOrBuilder(int index)\n\n public abstract TextStream.TextMappingOrBuilder getMappingOrBuilder(int index)\n\nThe mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.\n\n`repeated .google.events.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;\n`\n\n### getMappingOrBuilderList()\n\n public abstract List\u003c? extends TextStream.TextMappingOrBuilder\u003e getMappingOrBuilderList()\n\nThe mapping for the `Job.edit_list` atoms with text `EditAtom.inputs`.\n\n`repeated .google.events.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;\n`"]]