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.v1p2beta1.ColorInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ColorInfo.BuilderImplements
ColorInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ColorInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ColorInfo.Builder |
build()
public ColorInfo build()
Type | Description |
ColorInfo |
buildPartial()
public ColorInfo buildPartial()
Type | Description |
ColorInfo |
clear()
public ColorInfo.Builder clear()
Type | Description |
ColorInfo.Builder |
clearColor()
public ColorInfo.Builder clearColor()
RGB components of the color.
.google.type.Color color = 1;
Type | Description |
ColorInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public ColorInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ColorInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ColorInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof |
|