publicfinalclass TextStreamextendsGeneratedMessageV3implementsTextStreamOrBuilder
Encoding of a text stream. For example, closed captions or subtitles.
Protobuf type google.cloud.video.transcoder.v1.TextStream
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CODEC_FIELD_NUMBER
publicstaticfinalintCODEC_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
DISPLAY_NAME_FIELD_NUMBER
publicstaticfinalintDISPLAY_NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
LANGUAGE_CODE_FIELD_NUMBER
publicstaticfinalintLANGUAGE_CODE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
MAPPING_FIELD_NUMBER
publicstaticfinalintMAPPING_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticTextStreamgetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticTextStream.BuildernewBuilder()
newBuilder(TextStream prototype)
publicstaticTextStream.BuildernewBuilder(TextStreamprototype)
parseDelimitedFrom(InputStream input)
publicstaticTextStreamparseDelimitedFrom(InputStreaminput)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticTextStreamparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticTextStreamparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticTextStreamparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticTextStreamparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticTextStreamparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
parseFrom(CodedInputStream input)
publicstaticTextStreamparseFrom(CodedInputStreaminput)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticTextStreamparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(InputStream input)
publicstaticTextStreamparseFrom(InputStreaminput)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
publicstaticTextStreamparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticTextStreamparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticTextStreamparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<TextStream>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCodec()
The codec for this text stream. The default is webvtt.
Supported text codecs:
srt
ttml
cea608
cea708
webvtt
string codec = 1;
| Returns |
| Type |
Description |
String |
The codec.
|
getCodecBytes()
publicByteStringgetCodecBytes()
The codec for this text stream. The default is webvtt.
Supported text codecs:
srt
ttml
cea608
cea708
webvtt
string codec = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for codec.
|
getDefaultInstanceForType()
publicTextStreamgetDefaultInstanceForType()
getDisplayName()
publicStringgetDisplayName()
The name for this particular text stream that
will be added to the HLS/DASH manifest. Not supported in MP4 files.
string display_name = 4;
| Returns |
| Type |
Description |
String |
The displayName.
|
getDisplayNameBytes()
publicByteStringgetDisplayNameBytes()
The name for this particular text stream that
will be added to the HLS/DASH manifest. Not supported in MP4 files.
string display_name = 4;
| Returns |
| Type |
Description |
ByteString |
The bytes for displayName.
|
getLanguageCode()
publicStringgetLanguageCode()
| Returns |
| Type |
Description |
String |
The languageCode.
|
getLanguageCodeBytes()
publicByteStringgetLanguageCodeBytes()
| Returns |
| Type |
Description |
ByteString |
The bytes for languageCode.
|
getMapping(int index)
publicTextStream.TextMappinggetMapping(intindex)
The mapping for the Job.edit_list atoms with text EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
| Parameter |
| Name |
Description |
index |
int
|
getMappingCount()
publicintgetMappingCount()
The mapping for the Job.edit_list atoms with text EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
| Returns |
| Type |
Description |
int |
getMappingList()
publicList<TextStream.TextMapping>getMappingList()
The mapping for the Job.edit_list atoms with text EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
getMappingOrBuilder(int index)
publicTextStream.TextMappingOrBuildergetMappingOrBuilder(intindex)
The mapping for the Job.edit_list atoms with text EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
| Parameter |
| Name |
Description |
index |
int
|
getMappingOrBuilderList()
publicList<?extendsTextStream.TextMappingOrBuilder>getMappingOrBuilderList()
The mapping for the Job.edit_list atoms with text EditAtom.inputs.
repeated .google.cloud.video.transcoder.v1.TextStream.TextMapping mapping = 3;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.video.transcoder.v1.TextStream.TextMappingOrBuilder> |
getParserForType()
publicParser<TextStream>getParserForType()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicTextStream.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedTextStream.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicTextStream.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides