Class PreprocessingConfig.Pad.Builder (1.59.0)

publicstaticfinalclassPreprocessingConfig.Pad.BuilderextendsGeneratedMessageV3.Builder<PreprocessingConfig.Pad.Builder>implementsPreprocessingConfig.PadOrBuilder

Pad filter configuration for the input video. The padded input video is scaled after padding with black to match the output resolution.

Protobuf type google.cloud.video.transcoder.v1.PreprocessingConfig.Pad

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicPreprocessingConfig.Pad.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PreprocessingConfig.Pad.Builder
Overrides

build()

publicPreprocessingConfig.Padbuild()
Returns
TypeDescription
PreprocessingConfig.Pad

buildPartial()

publicPreprocessingConfig.PadbuildPartial()
Returns
TypeDescription
PreprocessingConfig.Pad

clear()

publicPreprocessingConfig.Pad.Builderclear()
Returns
TypeDescription
PreprocessingConfig.Pad.Builder
Overrides

clearBottomPixels()

publicPreprocessingConfig.Pad.BuilderclearBottomPixels()

The number of pixels to add to the bottom. The default is 0.

int32 bottom_pixels = 2;

Returns
TypeDescription
PreprocessingConfig.Pad.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

publicPreprocessingConfig.Pad.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
PreprocessingConfig.Pad.Builder
Overrides

clearLeftPixels()

publicPreprocessingConfig.Pad.BuilderclearLeftPixels()

The number of pixels to add to the left. The default is 0.

int32 left_pixels = 3;

Returns
TypeDescription
PreprocessingConfig.Pad.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

publicPreprocessingConfig.Pad.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
PreprocessingConfig.Pad.Builder
Overrides

clearRightPixels()

publicPreprocessingConfig.Pad.BuilderclearRightPixels()

The number of pixels to add to the right. The default is 0.

int32 right_pixels = 4;

Returns
TypeDescription
PreprocessingConfig.Pad.Builder

This builder for chaining.

clearTopPixels()

publicPreprocessingConfig.Pad.BuilderclearTopPixels()

The number of pixels to add to the top. The default is 0.

int32 top_pixels = 1;

Returns
TypeDescription
PreprocessingConfig.Pad.Builder

This builder for chaining.

clone()

publicPreprocessingConfig.Pad.Builderclone()
Returns
TypeDescription
PreprocessingConfig.Pad.Builder
Overrides

getBottomPixels()

publicintgetBottomPixels()

The number of pixels to add to the bottom. The default is 0.

int32 bottom_pixels = 2;

Returns
TypeDescription
int

The bottomPixels.

getDefaultInstanceForType()

publicPreprocessingConfig.PadgetDefaultInstanceForType()
Returns
TypeDescription
PreprocessingConfig.Pad

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getLeftPixels()

publicintgetLeftPixels()

The number of pixels to add to the left. The default is 0.

int32 left_pixels = 3;

Returns
TypeDescription
int

The leftPixels.

getRightPixels()

publicintgetRightPixels()

The number of pixels to add to the right. The default is 0.

int32 right_pixels = 4;

Returns
TypeDescription
int

The rightPixels.

getTopPixels()

publicintgetTopPixels()

The number of pixels to add to the top. The default is 0.

int32 top_pixels = 1;

Returns
TypeDescription
int

The topPixels.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(PreprocessingConfig.Pad other)

publicPreprocessingConfig.Pad.BuildermergeFrom(PreprocessingConfig.Padother)
Parameter
NameDescription
otherPreprocessingConfig.Pad
Returns
TypeDescription
PreprocessingConfig.Pad.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicPreprocessingConfig.Pad.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Pad.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

publicPreprocessingConfig.Pad.BuildermergeFrom(Messageother)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
PreprocessingConfig.Pad.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalPreprocessingConfig.Pad.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreprocessingConfig.Pad.Builder
Overrides

setBottomPixels(int value)

publicPreprocessingConfig.Pad.BuildersetBottomPixels(intvalue)

The number of pixels to add to the bottom. The default is 0.

int32 bottom_pixels = 2;

Parameter
NameDescription
valueint

The bottomPixels to set.

Returns
TypeDescription
PreprocessingConfig.Pad.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

publicPreprocessingConfig.Pad.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
PreprocessingConfig.Pad.Builder
Overrides

setLeftPixels(int value)

publicPreprocessingConfig.Pad.BuildersetLeftPixels(intvalue)

The number of pixels to add to the left. The default is 0.

int32 left_pixels = 3;

Parameter
NameDescription
valueint

The leftPixels to set.

Returns
TypeDescription
PreprocessingConfig.Pad.Builder

This builder for chaining.

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

publicPreprocessingConfig.Pad.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
PreprocessingConfig.Pad.Builder
Overrides

setRightPixels(int value)

publicPreprocessingConfig.Pad.BuildersetRightPixels(intvalue)

The number of pixels to add to the right. The default is 0.

int32 right_pixels = 4;

Parameter
NameDescription
valueint

The rightPixels to set.

Returns
TypeDescription
PreprocessingConfig.Pad.Builder

This builder for chaining.

setTopPixels(int value)

publicPreprocessingConfig.Pad.BuildersetTopPixels(intvalue)

The number of pixels to add to the top. The default is 0.

int32 top_pixels = 1;

Parameter
NameDescription
valueint

The topPixels to set.

Returns
TypeDescription
PreprocessingConfig.Pad.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalPreprocessingConfig.Pad.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
PreprocessingConfig.Pad.Builder
Overrides