Interface DominantColorsAnnotationOrBuilder (2.1.4)

public interface DominantColorsAnnotationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getColors(int index)

public abstract ColorInfo getColors(int index)

RGB color values with their score and pixel fraction.

repeated .google.cloud.vision.v1p1beta1.ColorInfo colors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ColorInfo

getColorsCount()

public abstract int getColorsCount()

RGB color values with their score and pixel fraction.

repeated .google.cloud.vision.v1p1beta1.ColorInfo colors = 1;

Returns
TypeDescription
int

getColorsList()

public abstract List<ColorInfo> getColorsList()

RGB color values with their score and pixel fraction.

repeated .google.cloud.vision.v1p1beta1.ColorInfo colors = 1;

Returns
TypeDescription
List<ColorInfo>

getColorsOrBuilder(int index)

public abstract ColorInfoOrBuilder getColorsOrBuilder(int index)

RGB color values with their score and pixel fraction.

repeated .google.cloud.vision.v1p1beta1.ColorInfo colors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ColorInfoOrBuilder

getColorsOrBuilderList()

public abstract List<? extends ColorInfoOrBuilder> getColorsOrBuilderList()

RGB color values with their score and pixel fraction.

repeated .google.cloud.vision.v1p1beta1.ColorInfo colors = 1;

Returns
TypeDescription
List<? extends com.google.cloud.vision.v1p1beta1.ColorInfoOrBuilder>