Class VideoStreamProperty.Builder (0.46.0)

public static final class VideoStreamProperty.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

public VideoStreamProperty.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVideoFormat()

public VideoStreamProperty.Builder clearVideoFormat()

Properties of the video format.

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

Returns
Type Description
VideoStreamProperty.Builder

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoStreamProperty.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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

setField(Descriptors.FieldDescriptor field, Object value)

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

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.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

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