Class VideoStreamProperty.Builder (0.26.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VideoStreamProperty build()
Returns
TypeDescription
VideoStreamProperty

buildPartial()

public VideoStreamProperty buildPartial()
Returns
TypeDescription
VideoStreamProperty

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIndex()

public VideoStreamProperty.Builder clearIndex()

Index of this video stream.

int32 index = 1;

Returns
TypeDescription
VideoStreamProperty.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVideoFormat()

public VideoStreamProperty.Builder clearVideoFormat()

Properties of the video format.

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

Returns
TypeDescription
VideoStreamProperty.Builder

clone()

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

getDefaultInstanceForType()

public VideoStreamProperty getDefaultInstanceForType()
Returns
TypeDescription
VideoStreamProperty

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getIndex()

public int getIndex()

Index of this video stream.

int32 index = 1;

Returns
TypeDescription
int

The index.

getVideoFormat()

public VideoFormat getVideoFormat()

Properties of the video format.

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

Returns
TypeDescription
VideoFormat

The videoFormat.

getVideoFormatBuilder()

public VideoFormat.Builder getVideoFormatBuilder()

Properties of the video format.

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

Returns
TypeDescription
VideoFormat.Builder

getVideoFormatOrBuilder()

public VideoFormatOrBuilder getVideoFormatOrBuilder()

Properties of the video format.

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

Returns
TypeDescription
VideoFormatOrBuilder

hasVideoFormat()

public boolean hasVideoFormat()

Properties of the video format.

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

Returns
TypeDescription
boolean

Whether the videoFormat field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VideoStreamProperty other)

public VideoStreamProperty.Builder mergeFrom(VideoStreamProperty other)
Parameter
NameDescription
otherVideoStreamProperty
Returns
TypeDescription
VideoStreamProperty.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public VideoStreamProperty.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VideoStreamProperty.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VideoStreamProperty.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVideoFormat
Returns
TypeDescription
VideoStreamProperty.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setIndex(int value)

public VideoStreamProperty.Builder setIndex(int value)

Index of this video stream.

int32 index = 1;

Parameter
NameDescription
valueint

The index to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VideoStreamProperty.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VideoStreamProperty.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueVideoFormat
Returns
TypeDescription
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
NameDescription
builderForValueVideoFormat.Builder
Returns
TypeDescription
VideoStreamProperty.Builder