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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TextStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public TextStream build()
Returns
buildPartial()
public TextStream buildPartial()
Returns
clear()
public TextStream.Builder clear()
Returns
Overrides
clearCodec()
public TextStream.Builder clearCodec()
Required. The codec for this text stream.
Supported text codecs:
string codec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
clearField(Descriptors.FieldDescriptor field)
public TextStream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public TextStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public TextStream.Builder clone()
Returns
Overrides
getCodec()
Required. The codec for this text stream.
Supported text codecs:
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:
string codec = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
getDefaultInstanceForType()
public TextStream getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(TextStream other)
public TextStream.Builder mergeFrom(TextStream other)
Parameter
Returns
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TextStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public TextStream.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TextStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setCodec(String value)
public TextStream.Builder setCodec(String value)
Required. The codec for this text stream.
Supported text codecs:
string codec = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | String
The codec to set.
|
Returns
setCodecBytes(ByteString value)
public TextStream.Builder setCodecBytes(ByteString value)
Required. The codec for this text stream.
Supported text codecs:
string codec = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name | Description |
value | ByteString
The bytes for codec to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public TextStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TextStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TextStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides