Send feedback
Class PreprocessingConfig.Color (1.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.17.0 keyboard_arrow_down
public static final class PreprocessingConfig . Color extends GeneratedMessageV3 implements PreprocessingConfig . ColorOrBuilder
Color preprocessing configuration.
Note: This configuration is not supported.
Protobuf type google.cloud.video.transcoder.v1.PreprocessingConfig.Color
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
BRIGHTNESS_FIELD_NUMBER
public static final int BRIGHTNESS_FIELD_NUMBER
Field Value
Type
Description
int
CONTRAST_FIELD_NUMBER
public static final int CONTRAST_FIELD_NUMBER
Field Value
Type
Description
int
SATURATION_FIELD_NUMBER
public static final int SATURATION_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static PreprocessingConfig . Color getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static PreprocessingConfig . Color . Builder newBuilder ()
newBuilder(PreprocessingConfig.Color prototype)
public static PreprocessingConfig . Color . Builder newBuilder ( PreprocessingConfig . Color prototype )
public static PreprocessingConfig . Color parseDelimitedFrom ( InputStream input )
public static PreprocessingConfig . Color parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static PreprocessingConfig . Color parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig . Color parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static PreprocessingConfig . Color parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig . Color parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static PreprocessingConfig . Color parseFrom ( CodedInputStream input )
public static PreprocessingConfig . Color parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static PreprocessingConfig . Color parseFrom ( InputStream input )
public static PreprocessingConfig . Color parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static PreprocessingConfig . Color parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig . Color parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<PreprocessingConfig . Color > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getBrightness()
public double getBrightness ()
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
Type
Description
double
The brightness.
getContrast()
public double getContrast ()
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
Type
Description
double
The contrast.
getDefaultInstanceForType()
public PreprocessingConfig . Color getDefaultInstanceForType ()
getParserForType()
public Parser<PreprocessingConfig . Color > getParserForType ()
Overrides
getSaturation()
public double getSaturation ()
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
Type
Description
double
The saturation.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public PreprocessingConfig . Color . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PreprocessingConfig . Color . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public PreprocessingConfig . Color . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
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-04-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-04-28 UTC."],[],[]]