Class PreprocessingConfig.Color (1.59.0)

publicstaticfinalclassPreprocessingConfig.ColorextendsGeneratedMessageV3implementsPreprocessingConfig.ColorOrBuilder

Color preprocessing configuration.

Note: This configuration is not supported.

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

Static Fields

BRIGHTNESS_FIELD_NUMBER

publicstaticfinalintBRIGHTNESS_FIELD_NUMBER
Field Value
TypeDescription
int

CONTRAST_FIELD_NUMBER

publicstaticfinalintCONTRAST_FIELD_NUMBER
Field Value
TypeDescription
int

SATURATION_FIELD_NUMBER

publicstaticfinalintSATURATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticPreprocessingConfig.ColorgetDefaultInstance()
Returns
TypeDescription
PreprocessingConfig.Color

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticPreprocessingConfig.Color.BuildernewBuilder()
Returns
TypeDescription
PreprocessingConfig.Color.Builder

newBuilder(PreprocessingConfig.Color prototype)

publicstaticPreprocessingConfig.Color.BuildernewBuilder(PreprocessingConfig.Colorprototype)
Parameter
NameDescription
prototypePreprocessingConfig.Color
Returns
TypeDescription
PreprocessingConfig.Color.Builder

parseDelimitedFrom(InputStream input)

publicstaticPreprocessingConfig.ColorparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreprocessingConfig.Color
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticPreprocessingConfig.ColorparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Color
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticPreprocessingConfig.ColorparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PreprocessingConfig.Color
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticPreprocessingConfig.ColorparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Color
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticPreprocessingConfig.ColorparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PreprocessingConfig.Color
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticPreprocessingConfig.ColorparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Color
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticPreprocessingConfig.ColorparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PreprocessingConfig.Color
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticPreprocessingConfig.ColorparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Color
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticPreprocessingConfig.ColorparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PreprocessingConfig.Color
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticPreprocessingConfig.ColorparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Color
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticPreprocessingConfig.ColorparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PreprocessingConfig.Color
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticPreprocessingConfig.ColorparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PreprocessingConfig.Color
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<PreprocessingConfig.Color>parser()
Returns
TypeDescription
Parser<Color>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBrightness()

publicdoublegetBrightness()

Control brightness of the video. Enter a value between -1 and 1, where -1 is minimum brightness and 1 is maximum brightness. 0 is no change. The default is 0.

double brightness = 3;

Returns
TypeDescription
double

The brightness.

getContrast()

publicdoublegetContrast()

Control black and white contrast of the video. Enter a value between -1 and 1, where -1 is minimum contrast and 1 is maximum contrast. 0 is no change. The default is 0.

double contrast = 2;

Returns
TypeDescription
double

The contrast.

getDefaultInstanceForType()

publicPreprocessingConfig.ColorgetDefaultInstanceForType()
Returns
TypeDescription
PreprocessingConfig.Color

getParserForType()

publicParser<PreprocessingConfig.Color>getParserForType()
Returns
TypeDescription
Parser<Color>
Overrides

getSaturation()

publicdoublegetSaturation()

Control color saturation of the video. Enter a value between -1 and 1, where -1 is fully desaturated and 1 is maximum saturation. 0 is no change. The default is 0.

double saturation = 1;

Returns
TypeDescription
double

The saturation.

getSerializedSize()

publicintgetSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicPreprocessingConfig.Color.BuildernewBuilderForType()
Returns
TypeDescription
PreprocessingConfig.Color.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedPreprocessingConfig.Color.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PreprocessingConfig.Color.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicPreprocessingConfig.Color.BuildertoBuilder()
Returns
TypeDescription
PreprocessingConfig.Color.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException