- 0.55.0 (latest)
- 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 ElementaryStream.Builder extends GeneratedMessageV3.Builder<ElementaryStream.Builder> implements ElementaryStreamOrBuilder
Encoding of an input element such as an audio, video, or text track. Elementary streams must be packaged before mapping and sharing between different output formats.
Protobuf type google.cloud.video.livestream.v1.ElementaryStream
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ElementaryStream.BuilderImplements
ElementaryStreamOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ElementaryStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
build()
public ElementaryStream build()
Returns | |
---|---|
Type | Description |
ElementaryStream |
buildPartial()
public ElementaryStream buildPartial()
Returns | |
---|---|
Type | Description |
ElementaryStream |
clear()
public ElementaryStream.Builder clear()
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
clearAudioStream()
public ElementaryStream.Builder clearAudioStream()
Encoding of an audio stream.
.google.cloud.video.livestream.v1.AudioStream audio_stream = 2;
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
clearElementaryStream()
public ElementaryStream.Builder clearElementaryStream()
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
clearField(Descriptors.FieldDescriptor field)
public ElementaryStream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
clearKey()
public ElementaryStream.Builder clearKey()
A unique key for this elementary stream.
string key = 4;
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ElementaryStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
clearTextStream()
public ElementaryStream.Builder clearTextStream()
Encoding of a text stream. For example, closed captions or subtitles.
.google.cloud.video.livestream.v1.TextStream text_stream = 3;
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
clearVideoStream()
public ElementaryStream.Builder clearVideoStream()
Encoding of a video stream.
.google.cloud.video.livestream.v1.VideoStream video_stream = 1;
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
clone()
public ElementaryStream.Builder clone()
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
getAudioStream()
public AudioStream getAudioStream()
Encoding of an audio stream.
.google.cloud.video.livestream.v1.AudioStream audio_stream = 2;
Returns | |
---|---|
Type | Description |
AudioStream |
The audioStream. |
getAudioStreamBuilder()
public AudioStream.Builder getAudioStreamBuilder()
Encoding of an audio stream.
.google.cloud.video.livestream.v1.AudioStream audio_stream = 2;
Returns | |
---|---|
Type | Description |
AudioStream.Builder |
getAudioStreamOrBuilder()
public AudioStreamOrBuilder getAudioStreamOrBuilder()
Encoding of an audio stream.
.google.cloud.video.livestream.v1.AudioStream audio_stream = 2;
Returns | |
---|---|
Type | Description |
AudioStreamOrBuilder |
getDefaultInstanceForType()
public ElementaryStream getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ElementaryStream |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getElementaryStreamCase()
public ElementaryStream.ElementaryStreamCase getElementaryStreamCase()
Returns | |
---|---|
Type | Description |
ElementaryStream.ElementaryStreamCase |
getKey()
public String getKey()
A unique key for this elementary stream.
string key = 4;
Returns | |
---|---|
Type | Description |
String |
The key. |
getKeyBytes()
public ByteString getKeyBytes()
A unique key for this elementary stream.
string key = 4;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for key. |
getTextStream()
public TextStream getTextStream()
Encoding of a text stream. For example, closed captions or subtitles.
.google.cloud.video.livestream.v1.TextStream text_stream = 3;
Returns | |
---|---|
Type | Description |
TextStream |
The textStream. |
getTextStreamBuilder()
public TextStream.Builder getTextStreamBuilder()
Encoding of a text stream. For example, closed captions or subtitles.
.google.cloud.video.livestream.v1.TextStream text_stream = 3;
Returns | |
---|---|
Type | Description |
TextStream.Builder |
getTextStreamOrBuilder()
public TextStreamOrBuilder getTextStreamOrBuilder()
Encoding of a text stream. For example, closed captions or subtitles.
.google.cloud.video.livestream.v1.TextStream text_stream = 3;
Returns | |
---|---|
Type | Description |
TextStreamOrBuilder |
getVideoStream()
public VideoStream getVideoStream()
Encoding of a video stream.
.google.cloud.video.livestream.v1.VideoStream video_stream = 1;
Returns | |
---|---|
Type | Description |
VideoStream |
The videoStream. |
getVideoStreamBuilder()
public VideoStream.Builder getVideoStreamBuilder()
Encoding of a video stream.
.google.cloud.video.livestream.v1.VideoStream video_stream = 1;
Returns | |
---|---|
Type | Description |
VideoStream.Builder |
getVideoStreamOrBuilder()
public VideoStreamOrBuilder getVideoStreamOrBuilder()
Encoding of a video stream.
.google.cloud.video.livestream.v1.VideoStream video_stream = 1;
Returns | |
---|---|
Type | Description |
VideoStreamOrBuilder |
hasAudioStream()
public boolean hasAudioStream()
Encoding of an audio stream.
.google.cloud.video.livestream.v1.AudioStream audio_stream = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the audioStream field is set. |
hasTextStream()
public boolean hasTextStream()
Encoding of a text stream. For example, closed captions or subtitles.
.google.cloud.video.livestream.v1.TextStream text_stream = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the textStream field is set. |
hasVideoStream()
public boolean hasVideoStream()
Encoding of a video stream.
.google.cloud.video.livestream.v1.VideoStream video_stream = 1;
Returns | |
---|---|
Type | Description |
boolean |
Whether the videoStream field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeAudioStream(AudioStream value)
public ElementaryStream.Builder mergeAudioStream(AudioStream value)
Encoding of an audio stream.
.google.cloud.video.livestream.v1.AudioStream audio_stream = 2;
Parameter | |
---|---|
Name | Description |
value |
AudioStream |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
mergeFrom(ElementaryStream other)
public ElementaryStream.Builder mergeFrom(ElementaryStream other)
Parameter | |
---|---|
Name | Description |
other |
ElementaryStream |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ElementaryStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ElementaryStream.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
mergeTextStream(TextStream value)
public ElementaryStream.Builder mergeTextStream(TextStream value)
Encoding of a text stream. For example, closed captions or subtitles.
.google.cloud.video.livestream.v1.TextStream text_stream = 3;
Parameter | |
---|---|
Name | Description |
value |
TextStream |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ElementaryStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
mergeVideoStream(VideoStream value)
public ElementaryStream.Builder mergeVideoStream(VideoStream value)
Encoding of a video stream.
.google.cloud.video.livestream.v1.VideoStream video_stream = 1;
Parameter | |
---|---|
Name | Description |
value |
VideoStream |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
setAudioStream(AudioStream value)
public ElementaryStream.Builder setAudioStream(AudioStream value)
Encoding of an audio stream.
.google.cloud.video.livestream.v1.AudioStream audio_stream = 2;
Parameter | |
---|---|
Name | Description |
value |
AudioStream |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
setAudioStream(AudioStream.Builder builderForValue)
public ElementaryStream.Builder setAudioStream(AudioStream.Builder builderForValue)
Encoding of an audio stream.
.google.cloud.video.livestream.v1.AudioStream audio_stream = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
AudioStream.Builder |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ElementaryStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
setKey(String value)
public ElementaryStream.Builder setKey(String value)
A unique key for this elementary stream.
string key = 4;
Parameter | |
---|---|
Name | Description |
value |
String The key to set. |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
This builder for chaining. |
setKeyBytes(ByteString value)
public ElementaryStream.Builder setKeyBytes(ByteString value)
A unique key for this elementary stream.
string key = 4;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for key to set. |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ElementaryStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
setTextStream(TextStream value)
public ElementaryStream.Builder setTextStream(TextStream value)
Encoding of a text stream. For example, closed captions or subtitles.
.google.cloud.video.livestream.v1.TextStream text_stream = 3;
Parameter | |
---|---|
Name | Description |
value |
TextStream |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
setTextStream(TextStream.Builder builderForValue)
public ElementaryStream.Builder setTextStream(TextStream.Builder builderForValue)
Encoding of a text stream. For example, closed captions or subtitles.
.google.cloud.video.livestream.v1.TextStream text_stream = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
TextStream.Builder |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ElementaryStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
setVideoStream(VideoStream value)
public ElementaryStream.Builder setVideoStream(VideoStream value)
Encoding of a video stream.
.google.cloud.video.livestream.v1.VideoStream video_stream = 1;
Parameter | |
---|---|
Name | Description |
value |
VideoStream |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |
setVideoStream(VideoStream.Builder builderForValue)
public ElementaryStream.Builder setVideoStream(VideoStream.Builder builderForValue)
Encoding of a video stream.
.google.cloud.video.livestream.v1.VideoStream video_stream = 1;
Parameter | |
---|---|
Name | Description |
builderForValue |
VideoStream.Builder |
Returns | |
---|---|
Type | Description |
ElementaryStream.Builder |