Class VideoStream (0.14.1)

public final class VideoStream extends GeneratedMessageV3 implements VideoStreamOrBuilder

Video stream resource.

Protobuf type google.events.cloud.video.transcoder.v1.VideoStream

Static Fields

H264_FIELD_NUMBER

public static final int H264_FIELD_NUMBER
Field Value
TypeDescription
int

H265_FIELD_NUMBER

public static final int H265_FIELD_NUMBER
Field Value
TypeDescription
int

VP9_FIELD_NUMBER

public static final int VP9_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.events.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;

Returns
TypeDescription
VideoStream.H264CodecSettings

The h264.

getH264OrBuilder()

public VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder()

H264 codec settings.

.google.events.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;

Returns
TypeDescription
VideoStream.H264CodecSettingsOrBuilder

getH265()

public VideoStream.H265CodecSettings getH265()

H265 codec settings.

.google.events.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;

Returns
TypeDescription
VideoStream.H265CodecSettings

The h265.

getH265OrBuilder()

public VideoStream.H265CodecSettingsOrBuilder getH265OrBuilder()

H265 codec settings.

.google.events.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;

Returns
TypeDescription
VideoStream.H265CodecSettingsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getVp9()

public VideoStream.Vp9CodecSettings getVp9()

VP9 codec settings.

.google.events.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;

Returns
TypeDescription
VideoStream.Vp9CodecSettings

The vp9.

getVp9OrBuilder()

public VideoStream.Vp9CodecSettingsOrBuilder getVp9OrBuilder()

VP9 codec settings.

.google.events.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;

Returns
TypeDescription
VideoStream.Vp9CodecSettingsOrBuilder

hasH264()

public boolean hasH264()

H264 codec settings.

.google.events.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;

Returns
TypeDescription
boolean

Whether the h264 field is set.

hasH265()

public boolean hasH265()

H265 codec settings.

.google.events.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;

Returns
TypeDescription
boolean

Whether the h265 field is set.

hasVp9()

public boolean hasVp9()

VP9 codec settings.

.google.events.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;

Returns
TypeDescription
boolean

Whether the vp9 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