Class PreprocessingConfig.Pad (1.33.0)

publicstaticfinalclass PreprocessingConfig.PadextendsGeneratedMessageV3implementsPreprocessingConfig.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

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

BOTTOM_PIXELS_FIELD_NUMBER

publicstaticfinalintBOTTOM_PIXELS_FIELD_NUMBER
Field Value
Type Description
int

LEFT_PIXELS_FIELD_NUMBER

publicstaticfinalintLEFT_PIXELS_FIELD_NUMBER
Field Value
Type Description
int

RIGHT_PIXELS_FIELD_NUMBER

publicstaticfinalintRIGHT_PIXELS_FIELD_NUMBER
Field Value
Type Description
int

TOP_PIXELS_FIELD_NUMBER

publicstaticfinalintTOP_PIXELS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticPreprocessingConfig.PadgetDefaultInstance()
Returns
Type Description
PreprocessingConfig.Pad

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticPreprocessingConfig.Pad.BuildernewBuilder()
Returns
Type Description
PreprocessingConfig.Pad.Builder

newBuilder(PreprocessingConfig.Pad prototype)

publicstaticPreprocessingConfig.Pad.BuildernewBuilder(PreprocessingConfig.Padprototype)
Parameter
Name Description
prototype PreprocessingConfig.Pad
Returns
Type Description
PreprocessingConfig.Pad.Builder

parseDelimitedFrom(InputStream input)

publicstaticPreprocessingConfig.PadparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
PreprocessingConfig.Pad
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticPreprocessingConfig.PadparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Pad
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticPreprocessingConfig.PadparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
PreprocessingConfig.Pad
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticPreprocessingConfig.PadparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Pad
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticPreprocessingConfig.PadparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
PreprocessingConfig.Pad
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticPreprocessingConfig.PadparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Pad
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticPreprocessingConfig.PadparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PreprocessingConfig.Pad
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticPreprocessingConfig.PadparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Pad
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticPreprocessingConfig.PadparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
PreprocessingConfig.Pad
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticPreprocessingConfig.PadparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Pad
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticPreprocessingConfig.PadparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PreprocessingConfig.Pad
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticPreprocessingConfig.PadparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Pad
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<PreprocessingConfig.Pad>parser()
Returns
Type Description
Parser<Pad>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBottomPixels()

publicintgetBottomPixels()

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

int32 bottom_pixels = 2;

Returns
Type Description
int

The bottomPixels.

getDefaultInstanceForType()

publicPreprocessingConfig.PadgetDefaultInstanceForType()
Returns
Type Description
PreprocessingConfig.Pad

getLeftPixels()

publicintgetLeftPixels()

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

int32 left_pixels = 3;

Returns
Type Description
int

The leftPixels.

getParserForType()

publicParser<PreprocessingConfig.Pad>getParserForType()
Returns
Type Description
Parser<Pad>
Overrides

getRightPixels()

publicintgetRightPixels()

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

int32 right_pixels = 4;

Returns
Type Description
int

The rightPixels.

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getTopPixels()

publicintgetTopPixels()

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

int32 top_pixels = 1;

Returns
Type Description
int

The topPixels.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicPreprocessingConfig.Pad.BuildernewBuilderForType()
Returns
Type Description
PreprocessingConfig.Pad.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedPreprocessingConfig.Pad.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PreprocessingConfig.Pad.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicPreprocessingConfig.Pad.BuildertoBuilder()
Returns
Type Description
PreprocessingConfig.Pad.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.