Interface DetectedAttributeOrBuilder (2.21.0)

public interface DetectedAttributeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidence()

public abstract float getConfidence()

Detected attribute confidence. Range [0, 1].

float confidence = 2;

Returns
TypeDescription
float

The confidence.

getName()

public abstract 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
TypeDescription
String

The name.

getNameBytes()

public abstract 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
TypeDescription
ByteString

The bytes for name.

getValue()

public abstract String getValue()

Text value of the detection result. For example, the value for "HairColor" can be "black", "blonde", etc.

string value = 3;

Returns
TypeDescription
String

The value.

getValueBytes()

public abstract ByteString getValueBytes()

Text value of the detection result. For example, the value for "HairColor" can be "black", "blonde", etc.

string value = 3;

Returns
TypeDescription
ByteString

The bytes for value.