Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class AnnotationValue.
Value of annotation, including all types available in data schema.
Generated from protobuf message google.cloud.visionai.v1.AnnotationValue
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ int_value
int|string
Value of int type annotation.
↳ float_value
float
Value of float type annotation.
↳ str_value
string
Value of string type annotation.
↳ datetime_value
string
Value of date time type annotation.
↳ geo_coordinate
↳ proto_any_value
↳ bool_value
bool
Value of boolean type annotation.
↳ customized_struct_data_value
Google\Protobuf\Struct
Value of customized struct annotation. This field does not have effects. Use customized_struct_value instead for customized struct annotation.
↳ list_value
↳ customized_struct_value
getIntValue
Value of int type annotation.
int|string
hasIntValue
setIntValue
Value of int type annotation.
var
int|string
$this
getFloatValue
Value of float type annotation.
float
hasFloatValue
setFloatValue
Value of float type annotation.
var
float
$this
getStrValue
Value of string type annotation.
string
hasStrValue
setStrValue
Value of string type annotation.
var
string
$this
getDatetimeValue
Value of date time type annotation.
string
hasDatetimeValue
setDatetimeValue
Value of date time type annotation.
var
string
$this
getGeoCoordinate
Value of geo coordinate type annotation.
hasGeoCoordinate
setGeoCoordinate
Value of geo coordinate type annotation.
$this
getProtoAnyValue
Value of any proto value.
hasProtoAnyValue
setProtoAnyValue
Value of any proto value.
$this
getBoolValue
Value of boolean type annotation.
bool
hasBoolValue
setBoolValue
Value of boolean type annotation.
var
bool
$this
getCustomizedStructDataValue
Value of customized struct annotation. This field does not have effects.
Use customized_struct_value instead for customized struct annotation.
hasCustomizedStructDataValue
setCustomizedStructDataValue
Value of customized struct annotation. This field does not have effects.
Use customized_struct_value instead for customized struct annotation.
$this
getListValue
Value of list type annotation.
hasListValue
setListValue
Value of list type annotation.
$this
getCustomizedStructValue
Value of custom struct type annotation.
hasCustomizedStructValue
setCustomizedStructValue
Value of custom struct type annotation.
$this
getValue
string

