Class PreprocessingConfig.Builder (0.53.0)

public static final class PreprocessingConfig.Builder extends GeneratedMessageV3.Builder<PreprocessingConfig.Builder> implements PreprocessingConfigOrBuilder

Preprocessing configurations.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PreprocessingConfig build()
Returns
Type Description
PreprocessingConfig

buildPartial()

public PreprocessingConfig buildPartial()
Returns
Type Description
PreprocessingConfig

clear()

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

clearAudio()

public PreprocessingConfig.Builder clearAudio()

Audio preprocessing configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Audio audio = 1;

Returns
Type Description
PreprocessingConfig.Builder

clearCrop()

public PreprocessingConfig.Builder clearCrop()

Specify the video cropping configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2;

Returns
Type Description
PreprocessingConfig.Builder

clearField(Descriptors.FieldDescriptor field)

public PreprocessingConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PreprocessingConfig.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPad()

public PreprocessingConfig.Builder clearPad()

Specify the video pad filter configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3;

Returns
Type Description
PreprocessingConfig.Builder

clone()

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

getAudio()

public PreprocessingConfig.Audio getAudio()

Audio preprocessing configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Audio audio = 1;

Returns
Type Description
PreprocessingConfig.Audio

The audio.

getAudioBuilder()

public PreprocessingConfig.Audio.Builder getAudioBuilder()

Audio preprocessing configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Audio audio = 1;

Returns
Type Description
PreprocessingConfig.Audio.Builder

getAudioOrBuilder()

public PreprocessingConfig.AudioOrBuilder getAudioOrBuilder()

Audio preprocessing configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Audio audio = 1;

Returns
Type Description
PreprocessingConfig.AudioOrBuilder

getCrop()

public PreprocessingConfig.Crop getCrop()

Specify the video cropping configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2;

Returns
Type Description
PreprocessingConfig.Crop

The crop.

getCropBuilder()

public PreprocessingConfig.Crop.Builder getCropBuilder()

Specify the video cropping configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2;

Returns
Type Description
PreprocessingConfig.Crop.Builder

getCropOrBuilder()

public PreprocessingConfig.CropOrBuilder getCropOrBuilder()

Specify the video cropping configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2;

Returns
Type Description
PreprocessingConfig.CropOrBuilder

getDefaultInstanceForType()

public PreprocessingConfig getDefaultInstanceForType()
Returns
Type Description
PreprocessingConfig

getDescriptorForType()

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

getPad()

public PreprocessingConfig.Pad getPad()

Specify the video pad filter configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3;

Returns
Type Description
PreprocessingConfig.Pad

The pad.

getPadBuilder()

public PreprocessingConfig.Pad.Builder getPadBuilder()

Specify the video pad filter configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3;

Returns
Type Description
PreprocessingConfig.Pad.Builder

getPadOrBuilder()

public PreprocessingConfig.PadOrBuilder getPadOrBuilder()

Specify the video pad filter configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3;

Returns
Type Description
PreprocessingConfig.PadOrBuilder

hasAudio()

public boolean hasAudio()

Audio preprocessing configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Audio audio = 1;

Returns
Type Description
boolean

Whether the audio field is set.

hasCrop()

public boolean hasCrop()

Specify the video cropping configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2;

Returns
Type Description
boolean

Whether the crop field is set.

hasPad()

public boolean hasPad()

Specify the video pad filter configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3;

Returns
Type Description
boolean

Whether the pad field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeAudio(PreprocessingConfig.Audio value)

public PreprocessingConfig.Builder mergeAudio(PreprocessingConfig.Audio value)

Audio preprocessing configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Audio audio = 1;

Parameter
Name Description
value PreprocessingConfig.Audio
Returns
Type Description
PreprocessingConfig.Builder

mergeCrop(PreprocessingConfig.Crop value)

public PreprocessingConfig.Builder mergeCrop(PreprocessingConfig.Crop value)

Specify the video cropping configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2;

Parameter
Name Description
value PreprocessingConfig.Crop
Returns
Type Description
PreprocessingConfig.Builder

mergeFrom(PreprocessingConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergePad(PreprocessingConfig.Pad value)

public PreprocessingConfig.Builder mergePad(PreprocessingConfig.Pad value)

Specify the video pad filter configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3;

Parameter
Name Description
value PreprocessingConfig.Pad
Returns
Type Description
PreprocessingConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PreprocessingConfig.Builder
Overrides

setAudio(PreprocessingConfig.Audio value)

public PreprocessingConfig.Builder setAudio(PreprocessingConfig.Audio value)

Audio preprocessing configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Audio audio = 1;

Parameter
Name Description
value PreprocessingConfig.Audio
Returns
Type Description
PreprocessingConfig.Builder

setAudio(PreprocessingConfig.Audio.Builder builderForValue)

public PreprocessingConfig.Builder setAudio(PreprocessingConfig.Audio.Builder builderForValue)

Audio preprocessing configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Audio audio = 1;

Parameter
Name Description
builderForValue PreprocessingConfig.Audio.Builder
Returns
Type Description
PreprocessingConfig.Builder

setCrop(PreprocessingConfig.Crop value)

public PreprocessingConfig.Builder setCrop(PreprocessingConfig.Crop value)

Specify the video cropping configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2;

Parameter
Name Description
value PreprocessingConfig.Crop
Returns
Type Description
PreprocessingConfig.Builder

setCrop(PreprocessingConfig.Crop.Builder builderForValue)

public PreprocessingConfig.Builder setCrop(PreprocessingConfig.Crop.Builder builderForValue)

Specify the video cropping configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Crop crop = 2;

Parameter
Name Description
builderForValue PreprocessingConfig.Crop.Builder
Returns
Type Description
PreprocessingConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setPad(PreprocessingConfig.Pad value)

public PreprocessingConfig.Builder setPad(PreprocessingConfig.Pad value)

Specify the video pad filter configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3;

Parameter
Name Description
value PreprocessingConfig.Pad
Returns
Type Description
PreprocessingConfig.Builder

setPad(PreprocessingConfig.Pad.Builder builderForValue)

public PreprocessingConfig.Builder setPad(PreprocessingConfig.Pad.Builder builderForValue)

Specify the video pad filter configuration.

.google.cloud.video.livestream.v1.PreprocessingConfig.Pad pad = 3;

Parameter
Name Description
builderForValue PreprocessingConfig.Pad.Builder
Returns
Type Description
PreprocessingConfig.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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