Interface DetectedAttributeOrBuilder

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

@Generated public interface DetectedAttributeOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    float
    Detected attribute confidence.
    The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    com.google.protobuf.ByteString
    The name of the attribute, for example, glasses, dark_glasses, mouth_open.
    Text value of the detection result.
    com.google.protobuf.ByteString
    Text value of the detection result.

    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 Details

    • getName

      String getName()
       The name of the attribute, for example, glasses, dark_glasses, mouth_open.
       A full list of supported type names will be provided in the document.
       
      string name = 1;
      Returns:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       The name of the attribute, for example, glasses, dark_glasses, mouth_open.
       A full list of supported type names will be provided in the document.
       
      string name = 1;
      Returns:
      The bytes for name.
    • getConfidence

      float getConfidence()
       Detected attribute confidence. Range [0, 1].
       
      float confidence = 2;
      Returns:
      The confidence.
    • getValue

      String getValue()
       Text value of the detection result. For example, the value for "HairColor"
       can be "black", "blonde", etc.
       
      string value = 3;
      Returns:
      The value.
    • getValueBytes

      com.google.protobuf.ByteString getValueBytes()
       Text value of the detection result. For example, the value for "HairColor"
       can be "black", "blonde", etc.
       
      string value = 3;
      Returns:
      The bytes for value.