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)
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.
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.
|
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;
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)
Overrides
toBuilder()
public ElementaryStream.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides