public static final class PreprocessingConfig.Color.Builder extends GeneratedMessageV3.Builder<PreprocessingConfig.Color.Builder> 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.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PreprocessingConfig.Color.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public PreprocessingConfig.Color build()
buildPartial()
public PreprocessingConfig.Color buildPartial()
clear()
public PreprocessingConfig.Color.Builder clear()
Overrides
clearBrightness()
public PreprocessingConfig.Color.Builder clearBrightness()
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;
clearContrast()
public PreprocessingConfig.Color.Builder clearContrast()
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;
clearField(Descriptors.FieldDescriptor field)
public PreprocessingConfig.Color.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public PreprocessingConfig.Color.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSaturation()
public PreprocessingConfig.Color.Builder clearSaturation()
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;
clone()
public PreprocessingConfig.Color.Builder clone()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(PreprocessingConfig.Color other)
public PreprocessingConfig.Color.Builder mergeFrom(PreprocessingConfig.Color other)
public PreprocessingConfig.Color.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public PreprocessingConfig.Color.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PreprocessingConfig.Color.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBrightness(double value)
public PreprocessingConfig.Color.Builder setBrightness(double value)
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;
Parameter |
Name |
Description |
value |
double
The brightness to set.
|
setContrast(double value)
public PreprocessingConfig.Color.Builder setContrast(double value)
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;
Parameter |
Name |
Description |
value |
double
The contrast to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public PreprocessingConfig.Color.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PreprocessingConfig.Color.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSaturation(double value)
public PreprocessingConfig.Color.Builder setSaturation(double value)
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;
Parameter |
Name |
Description |
value |
double
The saturation to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final PreprocessingConfig.Color.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides