Send feedback
Class PreprocessingConfig.Color (0.4.3)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.4.3 keyboard_arrow_down
public static final class PreprocessingConfig . Color extends GeneratedMessageV3 implements PreprocessingConfig . ColorOrBuilder
Color preprocessing configuration.
Protobuf type google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color
Fields
BRIGHTNESS_FIELD_NUMBER
public static final int BRIGHTNESS_FIELD_NUMBER
Field Value
CONTRAST_FIELD_NUMBER
public static final int CONTRAST_FIELD_NUMBER
Field Value
SATURATION_FIELD_NUMBER
public static final int SATURATION_FIELD_NUMBER
Field Value
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Returns
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.
getDefaultInstance()
public static PreprocessingConfig . Color getDefaultInstance ()
Returns
getDefaultInstanceForType()
public PreprocessingConfig . Color getDefaultInstanceForType ()
Returns
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Returns
getParserForType()
public Parser<PreprocessingConfig . Color > getParserForType ()
Returns
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
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
newBuilder()
public static PreprocessingConfig . Color . Builder newBuilder ()
Returns
newBuilder(PreprocessingConfig.Color prototype)
public static PreprocessingConfig . Color . Builder newBuilder ( PreprocessingConfig . Color prototype )
Parameter
Returns
newBuilderForType()
public PreprocessingConfig . Color . Builder newBuilderForType ()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PreprocessingConfig . Color . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter
Returns
Overrides
public static PreprocessingConfig . Color parseDelimitedFrom ( InputStream input )
Parameter
Returns
Exceptions
public static PreprocessingConfig . Color parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PreprocessingConfig . Color parseFrom ( byte [] data )
Parameter
Name Description data byte []
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig . Color parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PreprocessingConfig . Color parseFrom ( ByteString data )
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig . Color parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static PreprocessingConfig . Color parseFrom ( CodedInputStream input )
Parameter
Returns
Exceptions
public static PreprocessingConfig . Color parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
public static PreprocessingConfig . Color parseFrom ( InputStream input )
Parameter
Returns
Exceptions
public static PreprocessingConfig . Color parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PreprocessingConfig . Color parseFrom ( ByteBuffer data )
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig . Color parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Exceptions
parser()
public static Parser<PreprocessingConfig . Color > parser ()
Returns
toBuilder()
public PreprocessingConfig . Color . Builder toBuilder ()
Returns
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Parameter
Overrides
Exceptions
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-02-14 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-02-14 UTC."],[],[]]