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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
int|string |
hasIntValue
setIntValue
An integer value.
Parameter | |
---|---|
Name | Description |
var |
int|string
|
Returns | |
---|---|
Type | Description |
$this |
getDoubleValue
A double value.
Returns | |
---|---|
Type | Description |
float |
hasDoubleValue
setDoubleValue
A double value.
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getStringValue
A string value.
Returns | |
---|---|
Type | Description |
string |
hasStringValue
setStringValue
A string value.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getValue
Returns | |
---|---|
Type | Description |
string |