Interface DetectedAttributeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DetectedAttribute
,DetectedAttribute.Builder
public interface DetectedAttributeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description float
getConfidence()
Detected attribute confidence.String
getName()
The name of the attribute, for example, glasses, dark_glasses, mouth_open.com.google.protobuf.ByteString
getNameBytes()
The name of the attribute, for example, glasses, dark_glasses, mouth_open.String
getValue()
Text value of the detection result.com.google.protobuf.ByteString
getValueBytes()
Text value of the detection result.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
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.
-
-