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
CONTRAST_FIELD_NUMBER
public static final int CONTRAST_FIELD_NUMBER
Field Value
SATURATION_FIELD_NUMBER
public static final int SATURATION_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PreprocessingConfig.Color getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PreprocessingConfig.Color.Builder newBuilder()
Returns
newBuilder(PreprocessingConfig.Color prototype)
public static PreprocessingConfig.Color.Builder newBuilder(PreprocessingConfig.Color prototype)
Parameter
Returns
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
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.
|
getDefaultInstanceForType()
public PreprocessingConfig.Color getDefaultInstanceForType()
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
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
toBuilder()
public PreprocessingConfig.Color.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions