public interface ColorInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.type.Color |
getColor()
RGB components of the color.
|
com.google.type.ColorOrBuilder |
getColorOrBuilder()
RGB components of the color.
|
float |
getPixelFraction()
The fraction of pixels the color occupies in the image.
|
float |
getScore()
Image-specific score for this color.
|
boolean |
hasColor()
RGB components of the color.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasColor()
RGB components of the color.
.google.type.Color color = 1;com.google.type.Color getColor()
RGB components of the color.
.google.type.Color color = 1;com.google.type.ColorOrBuilder getColorOrBuilder()
RGB components of the color.
.google.type.Color color = 1;float getScore()
Image-specific score for this color. Value in range [0, 1].
float score = 2;float getPixelFraction()
The fraction of pixels the color occupies in the image. Value in range [0, 1].
float pixel_fraction = 3;Copyright © 2022 Google LLC. All rights reserved.