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 TypeMethodDescriptionfloatDetected attribute confidence.getName()The name of the attribute, for example, glasses, dark_glasses, mouth_open.com.google.protobuf.ByteStringThe name of the attribute, for example, glasses, dark_glasses, mouth_open.getValue()Text value of the detection result.com.google.protobuf.ByteStringText value of the detection result.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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.
-