Class PreprocessingConfig.Builder (0.14.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PreprocessingConfig build()
Returns
TypeDescription
PreprocessingConfig

buildPartial()

public PreprocessingConfig buildPartial()
Returns
TypeDescription
PreprocessingConfig

clear()

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

clearCrop()

public PreprocessingConfig.Builder clearCrop()

Specify the video cropping configuration.

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

Returns
TypeDescription
PreprocessingConfig.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPad()

public PreprocessingConfig.Builder clearPad()

Specify the video pad filter configuration.

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

Returns
TypeDescription
PreprocessingConfig.Builder

clone()

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

getCrop()

public PreprocessingConfig.Crop getCrop()

Specify the video cropping configuration.

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

Returns
TypeDescription
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
TypeDescription
PreprocessingConfig.Crop.Builder

getCropOrBuilder()

public PreprocessingConfig.CropOrBuilder getCropOrBuilder()

Specify the video cropping configuration.

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

Returns
TypeDescription
PreprocessingConfig.CropOrBuilder

getDefaultInstanceForType()

public PreprocessingConfig getDefaultInstanceForType()
Returns
TypeDescription
PreprocessingConfig

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getPad()

public PreprocessingConfig.Pad getPad()

Specify the video pad filter configuration.

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

Returns
TypeDescription
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
TypeDescription
PreprocessingConfig.Pad.Builder

getPadOrBuilder()

public PreprocessingConfig.PadOrBuilder getPadOrBuilder()

Specify the video pad filter configuration.

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

Returns
TypeDescription
PreprocessingConfig.PadOrBuilder

hasCrop()

public boolean hasCrop()

Specify the video cropping configuration.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the pad field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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
NameDescription
valuePreprocessingConfig.Crop
Returns
TypeDescription
PreprocessingConfig.Builder

mergeFrom(PreprocessingConfig other)

public PreprocessingConfig.Builder mergeFrom(PreprocessingConfig other)
Parameter
NameDescription
otherPreprocessingConfig
Returns
TypeDescription
PreprocessingConfig.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public PreprocessingConfig.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valuePreprocessingConfig.Pad
Returns
TypeDescription
PreprocessingConfig.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreprocessingConfig.Builder
Overrides

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
NameDescription
valuePreprocessingConfig.Crop
Returns
TypeDescription
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
NameDescription
builderForValuePreprocessingConfig.Crop.Builder
Returns
TypeDescription
PreprocessingConfig.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PreprocessingConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valuePreprocessingConfig.Pad
Returns
TypeDescription
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
NameDescription
builderForValuePreprocessingConfig.Pad.Builder
Returns
TypeDescription
PreprocessingConfig.Builder

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

public PreprocessingConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PreprocessingConfig.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PreprocessingConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreprocessingConfig.Builder
Overrides