Class VideoStream.Builder (1.41.0)

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

Video stream resource.

Protobuf type google.cloud.video.transcoder.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.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;

Returns
Type Description
VideoStream.Builder

clearH265()

public VideoStream.Builder clearH265()

H265 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;

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

clearVp9()

public VideoStream.Builder clearVp9()

VP9 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;

Returns
Type Description
VideoStream.Builder

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.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;

Returns
Type Description
VideoStream.H264CodecSettings

The h264.

getH264Builder()

public VideoStream.H264CodecSettings.Builder getH264Builder()

H264 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;

Returns
Type Description
VideoStream.H264CodecSettings.Builder

getH264OrBuilder()

public VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder()

H264 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;

Returns
Type Description
VideoStream.H264CodecSettingsOrBuilder

getH265()

public VideoStream.H265CodecSettings getH265()

H265 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;

Returns
Type Description
VideoStream.H265CodecSettings

The h265.

getH265Builder()

public VideoStream.H265CodecSettings.Builder getH265Builder()

H265 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;

Returns
Type Description
VideoStream.H265CodecSettings.Builder

getH265OrBuilder()

public VideoStream.H265CodecSettingsOrBuilder getH265OrBuilder()

H265 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;

Returns
Type Description
VideoStream.H265CodecSettingsOrBuilder

getVp9()

public VideoStream.Vp9CodecSettings getVp9()

VP9 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;

Returns
Type Description
VideoStream.Vp9CodecSettings

The vp9.

getVp9Builder()

public VideoStream.Vp9CodecSettings.Builder getVp9Builder()

VP9 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;

Returns
Type Description
VideoStream.Vp9CodecSettings.Builder

getVp9OrBuilder()

public VideoStream.Vp9CodecSettingsOrBuilder getVp9OrBuilder()

VP9 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;

Returns
Type Description
VideoStream.Vp9CodecSettingsOrBuilder

hasH264()

public boolean hasH264()

H264 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;

Returns
Type Description
boolean

Whether the h264 field is set.

hasH265()

public boolean hasH265()

H265 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;

Returns
Type Description
boolean

Whether the h265 field is set.

hasVp9()

public boolean hasVp9()

VP9 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;

Returns
Type Description
boolean

Whether the vp9 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.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;

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

mergeH265(VideoStream.H265CodecSettings value)

public VideoStream.Builder mergeH265(VideoStream.H265CodecSettings value)

H265 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;

Parameter
Name Description
value VideoStream.H265CodecSettings
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

mergeVp9(VideoStream.Vp9CodecSettings value)

public VideoStream.Builder mergeVp9(VideoStream.Vp9CodecSettings value)

VP9 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;

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

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.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;

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.transcoder.v1.VideoStream.H264CodecSettings h264 = 1;

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

setH265(VideoStream.H265CodecSettings value)

public VideoStream.Builder setH265(VideoStream.H265CodecSettings value)

H265 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;

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

setH265(VideoStream.H265CodecSettings.Builder builderForValue)

public VideoStream.Builder setH265(VideoStream.H265CodecSettings.Builder builderForValue)

H265 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.H265CodecSettings h265 = 2;

Parameter
Name Description
builderForValue VideoStream.H265CodecSettings.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

setVp9(VideoStream.Vp9CodecSettings value)

public VideoStream.Builder setVp9(VideoStream.Vp9CodecSettings value)

VP9 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;

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

setVp9(VideoStream.Vp9CodecSettings.Builder builderForValue)

public VideoStream.Builder setVp9(VideoStream.Vp9CodecSettings.Builder builderForValue)

VP9 codec settings.

.google.cloud.video.transcoder.v1.VideoStream.Vp9CodecSettings vp9 = 3;

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