Interface DetectedAttributeOrBuilder (2.47.0)

public interface DetectedAttributeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getConfidence()

public abstract float getConfidence()

Detected attribute confidence. Range [0, 1].

float confidence = 2;

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for value.