Class VideoStream (0.30.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static VideoStream getDefaultInstance()
Returns
TypeDescription
VideoStream

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static VideoStream.Builder newBuilder()
Returns
TypeDescription
VideoStream.Builder

newBuilder(VideoStream prototype)

public static VideoStream.Builder newBuilder(VideoStream prototype)
Parameter
NameDescription
prototypeVideoStream
Returns
TypeDescription
VideoStream.Builder

parseDelimitedFrom(InputStream input)

public static VideoStream parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VideoStream
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoStream parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStream
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VideoStream parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VideoStream
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VideoStream parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStream
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VideoStream parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VideoStream
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VideoStream parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStream
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VideoStream parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VideoStream
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoStream parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStream
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VideoStream parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VideoStream
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VideoStream parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStream
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VideoStream parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VideoStream
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VideoStream parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStream
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VideoStream> parser()
Returns
TypeDescription
Parser<VideoStream>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCodecSettingsCase()

public VideoStream.CodecSettingsCase getCodecSettingsCase()
Returns
TypeDescription
VideoStream.CodecSettingsCase

getDefaultInstanceForType()

public VideoStream getDefaultInstanceForType()
Returns
TypeDescription
VideoStream

getH264()

public VideoStream.H264CodecSettings getH264()

H264 codec settings.

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

Returns
TypeDescription
VideoStream.H264CodecSettings

The h264.

getH264OrBuilder()

public VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder()

H264 codec settings.

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

Returns
TypeDescription
VideoStream.H264CodecSettingsOrBuilder

getParserForType()

public Parser<VideoStream> getParserForType()
Returns
TypeDescription
Parser<VideoStream>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasH264()

public boolean hasH264()

H264 codec settings.

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

Returns
TypeDescription
boolean

Whether the h264 field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VideoStream.Builder newBuilderForType()
Returns
TypeDescription
VideoStream.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VideoStream.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VideoStream.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VideoStream.Builder toBuilder()
Returns
TypeDescription
VideoStream.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException