Interface DominantColorsAnnotationOrBuilder (3.44.0)

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
Name Description
index int
Returns
Type Description
ColorInfo

getColorsCount()

public abstract int getColorsCount()

RGB color values with their score and pixel fraction.

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

Returns
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.vision.v1p1beta1.ColorInfoOrBuilder>