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

Returns
TypeDescription
VideoStream.Builder

clearH265()

public VideoStream.Builder clearH265()

H265 codec settings.

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

Returns
TypeDescription
VideoStream.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearVp9()

public VideoStream.Builder clearVp9()

VP9 codec settings.

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

Returns
TypeDescription
VideoStream.Builder

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

Returns
TypeDescription
VideoStream.H264CodecSettings

The h264.

getH264Builder()

public VideoStream.H264CodecSettings.Builder getH264Builder()

H264 codec settings.

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

Returns
TypeDescription
VideoStream.H264CodecSettings.Builder

getH264OrBuilder()

public VideoStream.H264CodecSettingsOrBuilder getH264OrBuilder()

H264 codec settings.

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

Returns
TypeDescription
VideoStream.H264CodecSettingsOrBuilder

getH265()

public VideoStream.H265CodecSettings getH265()

H265 codec settings.

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

Returns
TypeDescription
VideoStream.H265CodecSettings

The h265.

getH265Builder()

public VideoStream.H265CodecSettings.Builder getH265Builder()

H265 codec settings.

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

Returns
TypeDescription
VideoStream.H265CodecSettings.Builder

getH265OrBuilder()

public VideoStream.H265CodecSettingsOrBuilder getH265OrBuilder()

H265 codec settings.

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

Returns
TypeDescription
VideoStream.H265CodecSettingsOrBuilder

getVp9()

public VideoStream.Vp9CodecSettings getVp9()

VP9 codec settings.

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

Returns
TypeDescription
VideoStream.Vp9CodecSettings

The vp9.

getVp9Builder()

public VideoStream.Vp9CodecSettings.Builder getVp9Builder()

VP9 codec settings.

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

Returns
TypeDescription
VideoStream.Vp9CodecSettings.Builder

getVp9OrBuilder()

public VideoStream.Vp9CodecSettingsOrBuilder getVp9OrBuilder()

VP9 codec settings.

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

Returns
TypeDescription
VideoStream.Vp9CodecSettingsOrBuilder

hasH264()

public boolean hasH264()

H264 codec settings.

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

Returns
TypeDescription
boolean

Whether the h264 field is set.

hasH265()

public boolean hasH265()

H265 codec settings.

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

Returns
TypeDescription
boolean

Whether the h265 field is set.

hasVp9()

public boolean hasVp9()

VP9 codec settings.

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

Returns
TypeDescription
boolean

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

Parameter
NameDescription
valueVideoStream.H264CodecSettings
Returns
TypeDescription
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
NameDescription
valueVideoStream.H265CodecSettings
Returns
TypeDescription
VideoStream.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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

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

Parameter
NameDescription
builderForValueVideoStream.H264CodecSettings.Builder
Returns
TypeDescription
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
NameDescription
valueVideoStream.H265CodecSettings
Returns
TypeDescription
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
NameDescription
builderForValueVideoStream.H265CodecSettings.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

setVp9(VideoStream.Vp9CodecSettings value)

public VideoStream.Builder setVp9(VideoStream.Vp9CodecSettings value)

VP9 codec settings.

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

Parameter
NameDescription
valueVideoStream.Vp9CodecSettings
Returns
TypeDescription
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
NameDescription
builderForValueVideoStream.Vp9CodecSettings.Builder
Returns
TypeDescription
VideoStream.Builder