com.google.cloud.vision.v1.ColorInfoOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-vision-v1 Show documentation
Show all versions of proto-google-cloud-vision-v1 Show documentation
PROTO library for proto-google-cloud-vision-v1
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/cloud/vision/v1/image_annotator.proto
package com.google.cloud.vision.v1;
public interface ColorInfoOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.cloud.vision.v1.ColorInfo)
com.google.protobuf.MessageOrBuilder {
/**
*
* RGB components of the color.
*
*
* .google.type.Color color = 1;
*/
boolean 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();
/**
*
* Image-specific score for this color. Value in range [0, 1].
*
*
* float score = 2;
*/
float getScore();
/**
*
* The fraction of pixels the color occupies in the image.
* Value in range [0, 1].
*
*
* float pixel_fraction = 3;
*/
float getPixelFraction();
}