Google Cloud Vision Ai V1 Client - Class AttributeValue (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class AttributeValue.

Represents an actual value of an operator attribute.

Generated from protobuf message google.cloud.visionai.v1.AttributeValue

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ i int|string

int.

↳ f float

float.

↳ b bool

bool.

↳ s string

string.

getI

int.

Returns
Type Description
int|string

hasI

setI

int.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getF

float.

Returns
Type Description
float

hasF

setF

float.

Parameter
Name Description
var float
Returns
Type Description
$this

getB

bool.

Returns
Type Description
bool

hasB

setB

bool.

Parameter
Name Description
var bool
Returns
Type Description
$this

getS

string.

Returns
Type Description
string

hasS

setS

string.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Returns
Type Description
string