Send feedback
Class ElementaryStream (0.54.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.54.0 keyboard_arrow_down
public final class ElementaryStream extends GeneratedMessageV3 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
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
AUDIO_STREAM_FIELD_NUMBER
public static final int AUDIO_STREAM_FIELD_NUMBER
Field Value
Type
Description
int
KEY_FIELD_NUMBER
public static final int KEY_FIELD_NUMBER
Field Value
Type
Description
int
TEXT_STREAM_FIELD_NUMBER
public static final int TEXT_STREAM_FIELD_NUMBER
Field Value
Type
Description
int
VIDEO_STREAM_FIELD_NUMBER
public static final int VIDEO_STREAM_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static ElementaryStream getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ElementaryStream . Builder newBuilder ()
newBuilder(ElementaryStream prototype)
public static ElementaryStream . Builder newBuilder ( ElementaryStream prototype )
public static ElementaryStream parseDelimitedFrom ( InputStream input )
public static ElementaryStream parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ElementaryStream parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ElementaryStream parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ElementaryStream parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ElementaryStream parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ElementaryStream parseFrom ( CodedInputStream input )
public static ElementaryStream parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ElementaryStream parseFrom ( InputStream input )
public static ElementaryStream parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ElementaryStream parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ElementaryStream parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ElementaryStream> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getAudioStream()
public AudioStream getAudioStream ()
Encoding of an audio stream.
.google.cloud.video.livestream.v1.AudioStream audio_stream = 2;
getAudioStreamOrBuilder()
public AudioStreamOrBuilder getAudioStreamOrBuilder ()
Encoding of an audio stream.
.google.cloud.video.livestream.v1.AudioStream audio_stream = 2;
getDefaultInstanceForType()
public ElementaryStream getDefaultInstanceForType ()
getElementaryStreamCase()
public ElementaryStream . ElementaryStreamCase getElementaryStreamCase ()
getKey()
A unique key for this elementary stream. The key must be 1-63
characters in length. The key must begin and end with a letter (regardless
of case) or a number, but can contain dashes or underscores in between.
string key = 4;
Returns
Type
Description
String
The key.
getKeyBytes()
public ByteString getKeyBytes ()
A unique key for this elementary stream. The key must be 1-63
characters in length. The key must begin and end with a letter (regardless
of case) or a number, but can contain dashes or underscores in between.
string key = 4;
Returns
Type
Description
ByteString
The bytes for key.
getParserForType()
public Parser<ElementaryStream> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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.
getTextStreamOrBuilder()
public TextStreamOrBuilder getTextStreamOrBuilder ()
Encoding of a text stream. For example, closed captions or subtitles.
.google.cloud.video.livestream.v1.TextStream text_stream = 3;
getVideoStream()
public VideoStream getVideoStream ()
Encoding of a video stream.
.google.cloud.video.livestream.v1.VideoStream video_stream = 1;
getVideoStreamOrBuilder()
public VideoStreamOrBuilder getVideoStreamOrBuilder ()
Encoding of a video stream.
.google.cloud.video.livestream.v1.VideoStream video_stream = 1;
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.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ElementaryStream . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ElementaryStream . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public ElementaryStream . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-28 UTC.
Need to tell us more?
[[["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-01-28 UTC."],[],[]]