Interface DominantColorsAnnotationOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    DominantColorsAnnotation, DominantColorsAnnotation.Builder

    public interface DominantColorsAnnotationOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      ColorInfo getColors​(int index)
      RGB color values with their score and pixel fraction.
      int getColorsCount()
      RGB color values with their score and pixel fraction.
      List<ColorInfo> getColorsList()
      RGB color values with their score and pixel fraction.
      ColorInfoOrBuilder getColorsOrBuilder​(int index)
      RGB color values with their score and pixel fraction.
      List<? extends ColorInfoOrBuilder> getColorsOrBuilderList()
      RGB color values with their score and pixel fraction.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getColorsList

        List<ColorInfo> getColorsList()
         RGB color values with their score and pixel fraction.
         
        repeated .google.cloud.vision.v1p2beta1.ColorInfo colors = 1;
      • getColors

        ColorInfo getColors​(int index)
         RGB color values with their score and pixel fraction.
         
        repeated .google.cloud.vision.v1p2beta1.ColorInfo colors = 1;
      • getColorsCount

        int getColorsCount()
         RGB color values with their score and pixel fraction.
         
        repeated .google.cloud.vision.v1p2beta1.ColorInfo colors = 1;
      • getColorsOrBuilderList

        List<? extends ColorInfoOrBuilder> getColorsOrBuilderList()
         RGB color values with their score and pixel fraction.
         
        repeated .google.cloud.vision.v1p2beta1.ColorInfo colors = 1;
      • getColorsOrBuilder

        ColorInfoOrBuilder getColorsOrBuilder​(int index)
         RGB color values with their score and pixel fraction.
         
        repeated .google.cloud.vision.v1p2beta1.ColorInfo colors = 1;