Class VideoStream (0.50.0)

public final class VideoStream extends GeneratedMessageV3 implements VideoStreamOrBuilder

Video stream resource.

Protobuf type google.cloud.video.livestream.v1.VideoStream

Static Fields

H264_FIELD_NUMBER

public static final int H264_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VideoStream getDefaultInstance()
Returns
Type Description
VideoStream

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static VideoStream.Builder newBuilder()
Returns
Type Description
VideoStream.Builder

newBuilder(VideoStream prototype)

public static VideoStream.Builder newBuilder(VideoStream prototype)
Parameter
Name Description
prototype VideoStream
Returns
Type Description
VideoStream.Builder

parseDelimitedFrom(InputStream input)

public static VideoStream parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VideoStream
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoStream parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoStream
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VideoStream parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VideoStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VideoStream parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VideoStream parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VideoStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VideoStream parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VideoStream parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VideoStream
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoStream parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoStream
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VideoStream parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VideoStream
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoStream parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoStream
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VideoStream parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VideoStream
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VideoStream parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoStream
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VideoStream> parser()
Returns
Type Description
Parser<VideoStream>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCodecSettingsCase()

public VideoStream.CodecSettingsCase getCodecSettingsCase()
Returns
Type Description
VideoStream.CodecSettingsCase

getDefaultInstanceForType()

public VideoStream getDefaultInstanceForType()
Returns
Type Description
VideoStream

getH264()

public VideoStream.H264CodecSettings getH264()

H264 codec settings.

.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20;

Returns
Type Description
VideoStream.H264CodecSettings

The h264.

getH264OrBuilder()

public VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder()

H264 codec settings.

.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20;

Returns
Type Description
VideoStream.H264CodecSettingsOrBuilder

getParserForType()

public Parser<VideoStream> getParserForType()
Returns
Type Description
Parser<VideoStream>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasH264()

public boolean hasH264()

H264 codec settings.

.google.cloud.video.livestream.v1.VideoStream.H264CodecSettings h264 = 20;

Returns
Type Description
boolean

Whether the h264 field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VideoStream.Builder newBuilderForType()
Returns
Type Description
VideoStream.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VideoStream.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VideoStream.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VideoStream.Builder toBuilder()
Returns
Type Description
VideoStream.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException