Google Cloud Ai Platform V1 Client - Class Value (0.10.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

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.

Generated from protobuf field int64 int_value = 1;

Returns
TypeDescription
int|string

hasIntValue

setIntValue

An integer value.

Generated from protobuf field int64 int_value = 1;

Parameter
NameDescription
var int|string
Returns
TypeDescription
$this

getDoubleValue

A double value.

Generated from protobuf field double double_value = 2;

Returns
TypeDescription
float

hasDoubleValue

setDoubleValue

A double value.

Generated from protobuf field double double_value = 2;

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getStringValue

A string value.

Generated from protobuf field string string_value = 3;

Returns
TypeDescription
string

hasStringValue

setStringValue

A string value.

Generated from protobuf field string string_value = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getValue

Returns
TypeDescription
string