class LabelAnnotation extends Message

Label annotation.

Protobuf type Google\Cloud\Videointelligence\V1beta1\LabelAnnotation

Methods

__construct()

No description

string
getDescription()

Textual description, e.g. Fixed-gear bicycle.

setDescription(string $var)

Textual description, e.g. Fixed-gear bicycle.

string
getLanguageCode()

Language code for description in BCP-47 format.

setLanguageCode(string $var)

Language code for description in BCP-47 format.

RepeatedField
getLocations()

Where the label was detected and with what confidence.

setLocations(array|RepeatedField $var)

Where the label was detected and with what confidence.

Details

at line 37
__construct()

at line 48
string getDescription()

Textual description, e.g. Fixed-gear bicycle.

Generated from protobuf field string description = 1;

Return Value

string

at line 59
setDescription(string $var)

Textual description, e.g. Fixed-gear bicycle.

Generated from protobuf field string description = 1;

Parameters

string $var

at line 71
string getLanguageCode()

Language code for description in BCP-47 format.

Generated from protobuf field string language_code = 2;

Return Value

string

at line 82
setLanguageCode(string $var)

Language code for description in BCP-47 format.

Generated from protobuf field string language_code = 2;

Parameters

string $var

at line 94
RepeatedField getLocations()

Where the label was detected and with what confidence.

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;

Return Value

RepeatedField

at line 105
setLocations(array|RepeatedField $var)

Where the label was detected and with what confidence.

Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.LabelLocation locations = 3;

Parameters

array|RepeatedField $var