Class DominantColorsAnnotation (2.1.2)

public final class DominantColorsAnnotation extends GeneratedMessageV3 implements DominantColorsAnnotationOrBuilder

Set of dominant colors and their corresponding scores.

Protobuf type google.cloud.vision.v1.DominantColorsAnnotation

Static Fields

COLORS_FIELD_NUMBER

public static final int COLORS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DominantColorsAnnotation getDefaultInstance()
Returns
TypeDescription
DominantColorsAnnotation

getDescriptor()

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

newBuilder()

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

newBuilder(DominantColorsAnnotation prototype)

public static DominantColorsAnnotation.Builder newBuilder(DominantColorsAnnotation prototype)
Parameter
NameDescription
prototypeDominantColorsAnnotation
Returns
TypeDescription
DominantColorsAnnotation.Builder

parseDelimitedFrom(InputStream input)

public static DominantColorsAnnotation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DominantColorsAnnotation
Exceptions
TypeDescription
IOException