Google Cloud Ai Platform V1 Client - Class Value (0.32.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Value.

Value is the value of the field.

Generated from protobuf message google.cloud.aiplatform.v1.Value

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ int_value int|string

An integer value.

↳ double_value float

A double value.

↳ string_value string

A string value.

getIntValue

An integer value.

Returns
TypeDescription
int|string

hasIntValue

setIntValue

An integer value.

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getDoubleValue

A double value.

Returns
TypeDescription
float

hasDoubleValue

setDoubleValue

A double value.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getStringValue

A string value.

Returns
TypeDescription
string

hasStringValue

setStringValue

A string value.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Returns
TypeDescription
string