- 1.54.0 (latest)
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.5
- 1.0.4
- 0.4.3
public static final class PreprocessingConfig.Color.Builder extends GeneratedMessageV3.Builder<PreprocessingConfig.Color.Builder> implements PreprocessingConfig.ColorOrBuilder
Color preprocessing configuration.
Protobuf type google.cloud.video.transcoder.v1.PreprocessingConfig.Color
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PreprocessingConfig.Color.BuilderImplements
PreprocessingConfig.ColorOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PreprocessingConfig.Color.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PreprocessingConfig.Color.Builder |
build()
public PreprocessingConfig.Color build()
Type | Description |
PreprocessingConfig.Color |
buildPartial()
public PreprocessingConfig.Color buildPartial()
Type | Description |
PreprocessingConfig.Color |
clear()
public PreprocessingConfig.Color.Builder clear()
Type | Description |
PreprocessingConfig.Color.Builder |
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;
Type | Description |
PreprocessingConfig.Color.Builder | This builder for chaining. |
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;
Type | Description |
PreprocessingConfig.Color.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PreprocessingConfig.Color.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
PreprocessingConfig.Color.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PreprocessingConfig.Color.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
PreprocessingConfig.Color.Builder |
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;
Type | Description |
PreprocessingConfig.Color.Builder | This builder for chaining. |
clone()
public PreprocessingConfig.Color.Builder clone()
Type | Description |
PreprocessingConfig.Color.Builder |
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;
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;
Type | Description |
double | The contrast. |
getDefaultInstanceForType()
public PreprocessingConfig.Color getDefaultInstanceForType()
Type | Description |
PreprocessingConfig.Color |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
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;
Type | Description |
double | The saturation. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(PreprocessingConfig.Color other)
public PreprocessingConfig.Color.Builder mergeFrom(PreprocessingConfig.Color other)
Name | Description |
other | PreprocessingConfig.Color |
Type | Description |
PreprocessingConfig.Color.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PreprocessingConfig.Color.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PreprocessingConfig.Color.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public PreprocessingConfig.Color.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
PreprocessingConfig.Color.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PreprocessingConfig.Color.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PreprocessingConfig.Color.Builder |
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;
Name | Description |
value | double The brightness to set. |
Type | Description |
PreprocessingConfig.Color.Builder | This builder for chaining. |
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;
Name | Description |
value | double The contrast to set. |
Type | Description |
PreprocessingConfig.Color.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PreprocessingConfig.Color.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
PreprocessingConfig.Color.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PreprocessingConfig.Color.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
PreprocessingConfig.Color.Builder |
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;
Name | Description |
value | double The saturation to set. |
Type | Description |
PreprocessingConfig.Color.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PreprocessingConfig.Color.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
PreprocessingConfig.Color.Builder |