Google Cloud Capacity Planner V1beta Client - Class Value (0.1.0)

Reference documentation and code samples for the Google Cloud Capacity Planner V1beta Client class Value.

Generated from protobuf message google.cloud.capacityplanner.v1beta.Value

Namespace

Google \ Cloud \ CapacityPlanner \ V1beta

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ int64_value int|string
↳ string_value string
↳ double_value float
↳ bool_value bool

getInt64Value

Generated from protobuf field int64 int64_value = 1;

Returns
Type Description
int|string

hasInt64Value

setInt64Value

Generated from protobuf field int64 int64_value = 1;

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

getStringValue

Generated from protobuf field string string_value = 2;

Returns
Type Description
string

hasStringValue

setStringValue

Generated from protobuf field string string_value = 2;

Parameter
Name Description
var string
Returns
Type Description
$this

getDoubleValue

Generated from protobuf field double double_value = 3;

Returns
Type Description
float

hasDoubleValue

setDoubleValue

Generated from protobuf field double double_value = 3;

Parameter
Name Description
var float
Returns
Type Description
$this

getBoolValue

Generated from protobuf field bool bool_value = 4;

Returns
Type Description
bool

hasBoolValue

setBoolValue

Generated from protobuf field bool bool_value = 4;

Parameter
Name Description
var bool
Returns
Type Description
$this

getValue

Returns
Type Description
string