Class VideoStream (1.43.0)

public final class VideoStream extends GeneratedMessageV3 implements VideoStreamOrBuilder

Video stream resource.

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

Static Fields

H264_FIELD_NUMBER

public static final int H264_FIELD_NUMBER
Field Value
Type Description
int

H265_FIELD_NUMBER

public static final int H265_FIELD_NUMBER
Field Value
Type Description
int

VP9_FIELD_NUMBER

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

Returns
Type Description
VideoStream.H264CodecSettings

The h264.

getH264OrBuilder()

public VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder()

H264 codec settings.

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

Returns
Type Description
VideoStream.H264CodecSettingsOrBuilder

getH265()

public VideoStream.H265CodecSettings getH265()

H265 codec settings.

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

Returns
Type Description
VideoStream.H265CodecSettings

The h265.

getH265OrBuilder()

public VideoStream.H265CodecSettingsOrBuilder getH265OrBuilder()

H265 codec settings.

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

Returns
Type Description
VideoStream.H265CodecSettingsOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getVp9()

public VideoStream.Vp9CodecSettings getVp9()

VP9 codec settings.

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

Returns
Type Description
VideoStream.Vp9CodecSettings

The vp9.

getVp9OrBuilder()

public VideoStream.Vp9CodecSettingsOrBuilder getVp9OrBuilder()

VP9 codec settings.

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

Returns
Type Description
VideoStream.Vp9CodecSettingsOrBuilder

hasH264()

public boolean hasH264()

H264 codec settings.

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

Returns
Type Description
boolean

Whether the h264 field is set.

hasH265()

public boolean hasH265()

H265 codec settings.

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

Returns
Type Description
boolean

Whether the h265 field is set.

hasVp9()

public boolean hasVp9()

VP9 codec settings.

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

Returns
Type Description
boolean

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