Class VideoStream.Builder (0.13.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VideoStream.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VideoStream.Builder
Overrides

build()

public VideoStream build()
Returns
TypeDescription
VideoStream

buildPartial()

public VideoStream buildPartial()
Returns
TypeDescription
VideoStream

clear()

public VideoStream.Builder clear()
Returns
TypeDescription
VideoStream.Builder
Overrides

clearCodecSettings()

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

clearField(Descriptors.FieldDescriptor field)

public VideoStream.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VideoStream.Builder
Overrides

clearH264()

public VideoStream.Builder clearH264()

H264 codec settings.

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

Returns
TypeDescription
VideoStream.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public VideoStream.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
VideoStream.Builder
Overrides

clone()

public VideoStream.Builder clone()
Returns
TypeDescription
VideoStream.Builder
Overrides

getCodecSettingsCase()

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

getDefaultInstanceForType()

public VideoStream getDefaultInstanceForType()
Returns
TypeDescription
VideoStream

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getH264()

public VideoStream.H264CodecSettings getH264()

H264 codec settings.

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

Returns
TypeDescription
VideoStream.H264CodecSettings

The h264.

getH264Builder()

public VideoStream.H264CodecSettings.Builder getH264Builder()

H264 codec settings.

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

Returns
TypeDescription
VideoStream.H264CodecSettings.Builder

getH264OrBuilder()

public VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder()

H264 codec settings.

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

Returns
TypeDescription
VideoStream.H264CodecSettingsOrBuilder

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VideoStream other)

public VideoStream.Builder mergeFrom(VideoStream other)
Parameter
NameDescription
otherVideoStream
Returns
TypeDescription
VideoStream.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VideoStream.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VideoStream.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VideoStream.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueVideoStream.H264CodecSettings
Returns
TypeDescription
VideoStream.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoStream.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VideoStream.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public VideoStream.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueVideoStream.H264CodecSettings
Returns
TypeDescription
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
NameDescription
builderForValueVideoStream.H264CodecSettings.Builder
Returns
TypeDescription
VideoStream.Builder

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

public VideoStream.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VideoStream.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoStream.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VideoStream.Builder
Overrides