Interface Vision.ClassificationOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
All Known Implementing Classes:
Vision.Classification, Vision.Classification.Builder
Enclosing class:
Vision

public static interface Vision.ClassificationOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    the class name
    com.google.protobuf.ByteString
    the class name
    double
    the confidence score of the classification

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getClassName

      String getClassName()
       the class name
       
      string class_name = 1 [json_name = "className"];
      Returns:
      The className.
    • getClassNameBytes

      com.google.protobuf.ByteString getClassNameBytes()
       the class name
       
      string class_name = 1 [json_name = "className"];
      Returns:
      The bytes for className.
    • getConfidence

      double getConfidence()
       the confidence score of the classification
       
      double confidence = 2 [json_name = "confidence"];
      Returns:
      The confidence.