Class VideoStreamProperty.Builder (0.85.0)

public static final class VideoStreamProperty.Builder extends GeneratedMessage.Builder<VideoStreamProperty.Builder> implements VideoStreamPropertyOrBuilder

Properties of the video stream.

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

Static Methods

getDescriptor()

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

Methods

build()

public VideoStreamProperty build()
Returns
Type Description
VideoStreamProperty

buildPartial()

public VideoStreamProperty buildPartial()
Returns
Type Description
VideoStreamProperty

clear()

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

clearIndex()

public VideoStreamProperty.Builder clearIndex()

Index of this video stream.

int32 index = 1;

Returns
Type Description
VideoStreamProperty.Builder

This builder for chaining.

clearVideoFormat()

public VideoStreamProperty.Builder clearVideoFormat()

Properties of the video format.

.google.cloud.video.livestream.v1.VideoFormat video_format = 2;

Returns
Type Description
VideoStreamProperty.Builder

getDefaultInstanceForType()

public VideoStreamProperty getDefaultInstanceForType()
Returns
Type Description
VideoStreamProperty

getDescriptorForType()

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

getIndex()

public int getIndex()

Index of this video stream.

int32 index = 1;

Returns
Type Description
int

The index.

getVideoFormat()

public VideoFormat getVideoFormat()

Properties of the video format.

.google.cloud.video.livestream.v1.VideoFormat video_format = 2;

Returns
Type Description
VideoFormat

The videoFormat.

getVideoFormatBuilder()

public VideoFormat.Builder getVideoFormatBuilder()

Properties of the video format.

.google.cloud.video.livestream.v1.VideoFormat video_format = 2;

Returns
Type Description
VideoFormat.Builder

getVideoFormatOrBuilder()

public VideoFormatOrBuilder getVideoFormatOrBuilder()

Properties of the video format.

.google.cloud.video.livestream.v1.VideoFormat video_format = 2;

Returns
Type Description
VideoFormatOrBuilder

hasVideoFormat()

public boolean hasVideoFormat()

Properties of the video format.

.google.cloud.video.livestream.v1.VideoFormat video_format = 2;

Returns
Type Description
boolean

Whether the videoFormat field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VideoStreamProperty other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeVideoFormat(VideoFormat value)

public VideoStreamProperty.Builder mergeVideoFormat(VideoFormat value)

Properties of the video format.

.google.cloud.video.livestream.v1.VideoFormat video_format = 2;

Parameter
Name Description
value VideoFormat
Returns
Type Description
VideoStreamProperty.Builder

setIndex(int value)

public VideoStreamProperty.Builder setIndex(int value)

Index of this video stream.

int32 index = 1;

Parameter
Name Description
value int

The index to set.

Returns
Type Description
VideoStreamProperty.Builder

This builder for chaining.

setVideoFormat(VideoFormat value)

public VideoStreamProperty.Builder setVideoFormat(VideoFormat value)

Properties of the video format.

.google.cloud.video.livestream.v1.VideoFormat video_format = 2;

Parameter
Name Description
value VideoFormat
Returns
Type Description
VideoStreamProperty.Builder

setVideoFormat(VideoFormat.Builder builderForValue)

public VideoStreamProperty.Builder setVideoFormat(VideoFormat.Builder builderForValue)

Properties of the video format.

.google.cloud.video.livestream.v1.VideoFormat video_format = 2;

Parameter
Name Description
builderForValue VideoFormat.Builder
Returns
Type Description
VideoStreamProperty.Builder