Class VideoStream.Builder (0.49.0)

public static final class VideoStream.Builder extends GeneratedMessageV3.Builder<VideoStream.Builder> implements VideoStreamOrBuilder

Video stream resource.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoStream.Builder
Overrides

build()

public VideoStream build()
Returns
Type Description
VideoStream

buildPartial()

public VideoStream buildPartial()
Returns
Type Description
VideoStream

clear()

public VideoStream.Builder clear()
Returns
Type Description
VideoStream.Builder
Overrides

clearCodecSettings()

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

clearField(Descriptors.FieldDescriptor field)

public VideoStream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VideoStream.Builder
Overrides

clearH264()

public VideoStream.Builder clearH264()

H264 codec settings.

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

Returns
Type Description
VideoStream.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VideoStream.Builder
Overrides

clone()

public VideoStream.Builder clone()
Returns
Type Description
VideoStream.Builder
Overrides

getCodecSettingsCase()

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

getDefaultInstanceForType()

public VideoStream getDefaultInstanceForType()
Returns
Type Description
VideoStream

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getH264()

public VideoStream.H264CodecSettings getH264()

H264 codec settings.

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

Returns
Type Description
VideoStream.H264CodecSettings

The h264.

getH264Builder()

public VideoStream.H264CodecSettings.Builder getH264Builder()

H264 codec settings.

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

Returns
Type Description
VideoStream.H264CodecSettings.Builder

getH264OrBuilder()

public VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder()

H264 codec settings.

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

Returns
Type Description
VideoStream.H264CodecSettingsOrBuilder

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VideoStream other)

public VideoStream.Builder mergeFrom(VideoStream other)
Parameter
Name Description
other VideoStream
Returns
Type Description
VideoStream.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VideoStream.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VideoStream.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VideoStream.Builder
Overrides

mergeH264(VideoStream.H264CodecSettings value)

public VideoStream.Builder mergeH264(VideoStream.H264CodecSettings value)

H264 codec settings.

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

Parameter
Name Description
value VideoStream.H264CodecSettings
Returns
Type Description
VideoStream.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoStream.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VideoStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VideoStream.Builder
Overrides

setH264(VideoStream.H264CodecSettings value)

public VideoStream.Builder setH264(VideoStream.H264CodecSettings value)

H264 codec settings.

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

Parameter
Name Description
value VideoStream.H264CodecSettings
Returns
Type Description
VideoStream.Builder

setH264(VideoStream.H264CodecSettings.Builder builderForValue)

public VideoStream.Builder setH264(VideoStream.H264CodecSettings.Builder builderForValue)

H264 codec settings.

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

Parameter
Name Description
builderForValue VideoStream.H264CodecSettings.Builder
Returns
Type Description
VideoStream.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VideoStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VideoStream.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VideoStream.Builder
Overrides