Class ColorInfo (2.1.4)

public final class ColorInfo extends GeneratedMessageV3 implements ColorInfoOrBuilder

Color information consists of RGB channels, score, and the fraction of the image that the color occupies in the image.

Protobuf type google.cloud.vision.v1p1beta1.ColorInfo

Implements

ColorInfoOrBuilder

Static Fields

COLOR_FIELD_NUMBER

public static final int COLOR_FIELD_NUMBER
Field Value
TypeDescription
int

PIXEL_FRACTION_FIELD_NUMBER

public static final int PIXEL_FRACTION_FIELD_NUMBER
Field Value
TypeDescription
int

SCORE_FIELD_NUMBER

public static final int SCORE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ColorInfo getDefaultInstance()
Returns
TypeDescription
ColorInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ColorInfo.Builder newBuilder()
Returns
TypeDescription
ColorInfo.Builder

newBuilder(ColorInfo prototype)

public static ColorInfo.Builder newBuilder(ColorInfo prototype)
Parameter
NameDescription