Class ColorInfo.Builder

public static final class ColorInfo.Builder extends GeneratedMessageV3.Builder<ColorInfo.Builder> 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.v1p3beta1.ColorInfo

Implements

ColorInfoOrBuilder

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ColorInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ColorInfo.Builder
Overrides

build()

public ColorInfo build()
Returns
TypeDescription
ColorInfo