- 0.77.0 (latest)
- 0.76.0
- 0.75.0
- 0.74.0
- 0.72.0
- 0.70.0
- 0.69.0
- 0.66.0
- 0.65.0
- 0.64.0
- 0.62.0
- 0.61.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.51.0
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.8
- 0.3.0
public static final class TextStream.Builder extends GeneratedMessageV3.Builder<TextStream.Builder> implements TextStreamOrBuilder
Encoding of a text stream. For example, closed captions or subtitles.
Protobuf type google.cloud.video.livestream.v1.TextStream
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TextStream.BuilderImplements
TextStreamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllMapping(Iterable<? extends TextStream.TextMapping> values)
public TextStream.Builder addAllMapping(Iterable<? extends TextStream.TextMapping> values)
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.video.livestream.v1.TextStream.TextMapping> |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
addMapping(TextStream.TextMapping value)
public TextStream.Builder addMapping(TextStream.TextMapping value)
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
TextStream.TextMapping |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
addMapping(TextStream.TextMapping.Builder builderForValue)
public TextStream.Builder addMapping(TextStream.TextMapping.Builder builderForValue)
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
TextStream.TextMapping.Builder |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
addMapping(int index, TextStream.TextMapping value)
public TextStream.Builder addMapping(int index, TextStream.TextMapping value)
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
TextStream.TextMapping |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
addMapping(int index, TextStream.TextMapping.Builder builderForValue)
public TextStream.Builder addMapping(int index, TextStream.TextMapping.Builder builderForValue)
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
TextStream.TextMapping.Builder |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
addMappingBuilder()
public TextStream.TextMapping.Builder addMappingBuilder()
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TextStream.TextMapping.Builder |
addMappingBuilder(int index)
public TextStream.TextMapping.Builder addMappingBuilder(int index)
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TextStream.TextMapping.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TextStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
build()
public TextStream build()
Returns | |
---|---|
Type | Description |
TextStream |
buildPartial()
public TextStream buildPartial()
Returns | |
---|---|
Type | Description |
TextStream |
clear()
public TextStream.Builder clear()
Returns | |
---|---|
Type | Description |
TextStream.Builder |
clearCodec()
public TextStream.Builder clearCodec()
Required. The codec for this text stream.
Supported text codecs:
cea608
cea708
webvtt
string codec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
TextStream.Builder |
This builder for chaining. |
clearDisplayName()
public TextStream.Builder clearDisplayName()
Optional. The name for this particular text stream that will be added to the HLS/DASH manifest.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TextStream.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TextStream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
clearLanguageCode()
public TextStream.Builder clearLanguageCode()
Optional. The BCP-47 language code, such as en-US
or sr-Latn
. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TextStream.Builder |
This builder for chaining. |
clearMapping()
public TextStream.Builder clearMapping()
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TextStream.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public TextStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
clearOutputCeaChannel()
public TextStream.Builder clearOutputCeaChannel()
Optional. The channel of the closed caption in the output stream.
This field should only be set when textstream is used for partner
distribution.
Must be one of CC1
, CC2
, CC3
, and CC4
, if the
codec is cea608
;
Must be one between SERVICE1
and SERVICE63
, if the
codec is cea708
.
string output_cea_channel = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
TextStream.Builder |
This builder for chaining. |
clone()
public TextStream.Builder clone()
Returns | |
---|---|
Type | Description |
TextStream.Builder |
getCodec()
public String getCodec()
Required. The codec for this text stream.
Supported text codecs:
cea608
cea708
webvtt
string codec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
String |
The codec. |
getCodecBytes()
public ByteString getCodecBytes()
Required. The codec for this text stream.
Supported text codecs:
cea608
cea708
webvtt
string codec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for codec. |
getDefaultInstanceForType()
public TextStream getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
TextStream |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()
Optional. The name for this particular text stream that will be added to the HLS/DASH manifest.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
Optional. The name for this particular text stream that will be added to the HLS/DASH manifest.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for displayName. |
getLanguageCode()
public String getLanguageCode()
Optional. The BCP-47 language code, such as en-US
or sr-Latn
. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The languageCode. |
getLanguageCodeBytes()
public ByteString getLanguageCodeBytes()
Optional. The BCP-47 language code, such as en-US
or sr-Latn
. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for languageCode. |
getMapping(int index)
public TextStream.TextMapping getMapping(int index)
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TextStream.TextMapping |
getMappingBuilder(int index)
public TextStream.TextMapping.Builder getMappingBuilder(int index)
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TextStream.TextMapping.Builder |
getMappingBuilderList()
public List<TextStream.TextMapping.Builder> getMappingBuilderList()
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<Builder> |
getMappingCount()
public int getMappingCount()
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getMappingList()
public List<TextStream.TextMapping> getMappingList()
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<TextMapping> |
getMappingOrBuilder(int index)
public TextStream.TextMappingOrBuilder getMappingOrBuilder(int index)
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TextStream.TextMappingOrBuilder |
getMappingOrBuilderList()
public List<? extends TextStream.TextMappingOrBuilder> getMappingOrBuilderList()
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.video.livestream.v1.TextStream.TextMappingOrBuilder> |
getOutputCeaChannel()
public String getOutputCeaChannel()
Optional. The channel of the closed caption in the output stream.
This field should only be set when textstream is used for partner
distribution.
Must be one of CC1
, CC2
, CC3
, and CC4
, if the
codec is cea608
;
Must be one between SERVICE1
and SERVICE63
, if the
codec is cea708
.
string output_cea_channel = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
String |
The outputCeaChannel. |
getOutputCeaChannelBytes()
public ByteString getOutputCeaChannelBytes()
Optional. The channel of the closed caption in the output stream.
This field should only be set when textstream is used for partner
distribution.
Must be one of CC1
, CC2
, CC3
, and CC4
, if the
codec is cea608
;
Must be one between SERVICE1
and SERVICE63
, if the
codec is cea708
.
string output_cea_channel = 5 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for outputCeaChannel. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(TextStream other)
public TextStream.Builder mergeFrom(TextStream other)
Parameter | |
---|---|
Name | Description |
other |
TextStream |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TextStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public TextStream.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TextStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
removeMapping(int index)
public TextStream.Builder removeMapping(int index)
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
setCodec(String value)
public TextStream.Builder setCodec(String value)
Required. The codec for this text stream.
Supported text codecs:
cea608
cea708
webvtt
string codec = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
String The codec to set. |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
This builder for chaining. |
setCodecBytes(ByteString value)
public TextStream.Builder setCodecBytes(ByteString value)
Required. The codec for this text stream.
Supported text codecs:
cea608
cea708
webvtt
string codec = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for codec to set. |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
This builder for chaining. |
setDisplayName(String value)
public TextStream.Builder setDisplayName(String value)
Optional. The name for this particular text stream that will be added to the HLS/DASH manifest.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public TextStream.Builder setDisplayNameBytes(ByteString value)
Optional. The name for this particular text stream that will be added to the HLS/DASH manifest.
string display_name = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TextStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
setLanguageCode(String value)
public TextStream.Builder setLanguageCode(String value)
Optional. The BCP-47 language code, such as en-US
or sr-Latn
. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The languageCode to set. |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
This builder for chaining. |
setLanguageCodeBytes(ByteString value)
public TextStream.Builder setLanguageCodeBytes(ByteString value)
Optional. The BCP-47 language code, such as en-US
or sr-Latn
. For more
information, see
https://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
string language_code = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for languageCode to set. |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
This builder for chaining. |
setMapping(int index, TextStream.TextMapping value)
public TextStream.Builder setMapping(int index, TextStream.TextMapping value)
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
TextStream.TextMapping |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
setMapping(int index, TextStream.TextMapping.Builder builderForValue)
public TextStream.Builder setMapping(int index, TextStream.TextMapping.Builder builderForValue)
Optional. The mapping for the input streams and text tracks.
repeated .google.cloud.video.livestream.v1.TextStream.TextMapping mapping = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
TextStream.TextMapping.Builder |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
setOutputCeaChannel(String value)
public TextStream.Builder setOutputCeaChannel(String value)
Optional. The channel of the closed caption in the output stream.
This field should only be set when textstream is used for partner
distribution.
Must be one of CC1
, CC2
, CC3
, and CC4
, if the
codec is cea608
;
Must be one between SERVICE1
and SERVICE63
, if the
codec is cea708
.
string output_cea_channel = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The outputCeaChannel to set. |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
This builder for chaining. |
setOutputCeaChannelBytes(ByteString value)
public TextStream.Builder setOutputCeaChannelBytes(ByteString value)
Optional. The channel of the closed caption in the output stream.
This field should only be set when textstream is used for partner
distribution.
Must be one of CC1
, CC2
, CC3
, and CC4
, if the
codec is cea608
;
Must be one between SERVICE1
and SERVICE63
, if the
codec is cea708
.
string output_cea_channel = 5 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for outputCeaChannel to set. |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TextStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
TextStream.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TextStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
TextStream.Builder |