Interface Data.ClassificationOrBuilder

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

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

    Modifier and Type
    Method
    Description
    double
    confidence is an optional range from 0 - 1
    string label = 1 [json_name = "label"];
    com.google.protobuf.ByteString
    string label = 1 [json_name = "label"];
    boolean
    confidence is an optional range from 0 - 1

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    getDefaultInstanceForType, isInitialized
  • Method Details

    • getLabel

      String getLabel()
      string label = 1 [json_name = "label"];
      Returns:
      The label.
    • getLabelBytes

      com.google.protobuf.ByteString getLabelBytes()
      string label = 1 [json_name = "label"];
      Returns:
      The bytes for label.
    • hasConfidence

      boolean hasConfidence()
       confidence is an optional range from 0 - 1
       
      optional double confidence = 2 [json_name = "confidence"];
      Returns:
      Whether the confidence field is set.
    • getConfidence

      double getConfidence()
       confidence is an optional range from 0 - 1
       
      optional double confidence = 2 [json_name = "confidence"];
      Returns:
      The confidence.