public static final class PreprocessingConfig.Color extends GeneratedMessageV3 implements PreprocessingConfig.ColorOrBuilder
Color preprocessing configuration.
Protobuf type google.cloud.video.transcoder.v1beta1.PreprocessingConfig.Color
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > PreprocessingConfig.ColorImplements
PreprocessingConfig.ColorOrBuilderStatic Fields
BRIGHTNESS_FIELD_NUMBER
public static final int BRIGHTNESS_FIELD_NUMBER
Type | Description |
int |
CONTRAST_FIELD_NUMBER
public static final int CONTRAST_FIELD_NUMBER
Type | Description |
int |
SATURATION_FIELD_NUMBER
public static final int SATURATION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static PreprocessingConfig.Color getDefaultInstance()
Type | Description |
PreprocessingConfig.Color |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static PreprocessingConfig.Color.Builder newBuilder()
Type | Description |
PreprocessingConfig.Color.Builder |
newBuilder(PreprocessingConfig.Color prototype)
public static PreprocessingConfig.Color.Builder newBuilder(PreprocessingConfig.Color prototype)
Name | Description |
prototype | PreprocessingConfig.Color |
Type | Description |
PreprocessingConfig.Color.Builder |
parseDelimitedFrom(InputStream input)
public static PreprocessingConfig.Color parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PreprocessingConfig.Color |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig.Color parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PreprocessingConfig.Color |
Type | Description |
IOException |
parseFrom(byte[] data)
public static PreprocessingConfig.Color parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
PreprocessingConfig.Color |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig.Color parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PreprocessingConfig.Color |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static PreprocessingConfig.Color parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
PreprocessingConfig.Color |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig.Color parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PreprocessingConfig.Color |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static PreprocessingConfig.Color parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
PreprocessingConfig.Color |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig.Color parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PreprocessingConfig.Color |
Type | Description |
IOException |
parseFrom(InputStream input)
public static PreprocessingConfig.Color parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
PreprocessingConfig.Color |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig.Color parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PreprocessingConfig.Color |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static PreprocessingConfig.Color parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
PreprocessingConfig.Color |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PreprocessingConfig.Color parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
PreprocessingConfig.Color |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<PreprocessingConfig.Color> parser()
Type | Description |
Parser<Color> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
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 |
getParserForType()
public Parser<PreprocessingConfig.Color> getParserForType()
Type | Description |
Parser<Color> |
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. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public PreprocessingConfig.Color.Builder newBuilderForType()
Type | Description |
PreprocessingConfig.Color.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PreprocessingConfig.Color.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
PreprocessingConfig.Color.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public PreprocessingConfig.Color.Builder toBuilder()
Type | Description |
PreprocessingConfig.Color.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |