Class PreprocessingConfig.Color (1.44.0)

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

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()
Returns
Type Description
PreprocessingConfig.Color

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static PreprocessingConfig.Color.Builder newBuilder()
Returns
Type Description
PreprocessingConfig.Color.Builder

newBuilder(PreprocessingConfig.Color prototype)

public static PreprocessingConfig.Color.Builder newBuilder(PreprocessingConfig.Color prototype)
Parameter
Name Description
prototype PreprocessingConfig.Color
Returns
Type Description
PreprocessingConfig.Color.Builder

parseDelimitedFrom(InputStream input)

public static PreprocessingConfig.Color parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PreprocessingConfig.Color
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Color parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Color
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PreprocessingConfig.Color parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PreprocessingConfig.Color
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Color parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Color
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PreprocessingConfig.Color parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PreprocessingConfig.Color
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Color parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Color
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PreprocessingConfig.Color parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PreprocessingConfig.Color
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Color parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Color
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PreprocessingConfig.Color parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PreprocessingConfig.Color
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Color parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Color
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PreprocessingConfig.Color parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PreprocessingConfig.Color
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PreprocessingConfig.Color parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PreprocessingConfig.Color
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PreprocessingConfig.Color> parser()
Returns
Type Description
Parser<Color>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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()
Returns
Type Description
PreprocessingConfig.Color

getParserForType()

public Parser<PreprocessingConfig.Color> getParserForType()
Returns
Type Description
Parser<Color>
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

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PreprocessingConfig.Color.Builder newBuilderForType()
Returns
Type Description
PreprocessingConfig.Color.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PreprocessingConfig.Color.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PreprocessingConfig.Color.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PreprocessingConfig.Color.Builder toBuilder()
Returns
Type Description
PreprocessingConfig.Color.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException