class TypedValue extends Message

A single strongly-typed value.

Protobuf type Google\Monitoring\V3\TypedValue

Properties

protected $value

Methods

__construct()

No description

bool
getBoolValue()

A Boolean value: true or false.

setBoolValue(bool $var)

A Boolean value: true or false.

int|string
getInt64Value()

A 64-bit integer. Its range is approximately ±9.2x1018.

setInt64Value(int|string $var)

A 64-bit integer. Its range is approximately ±9.2x1018.

float
getDoubleValue()

A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision.

setDoubleValue(float $var)

A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision.

string
getStringValue()

A variable-length string value.

setStringValue(string $var)

A variable-length string value.

getDistributionValue()

A distribution value.

setDistributionValue(Distribution $var)

A distribution value.

string
getValue()

No description

Details

at line 20
__construct()

at line 31
bool getBoolValue()

A Boolean value: true or false.

Generated from protobuf field bool bool_value = 1;

Return Value

bool

at line 42
setBoolValue(bool $var)

A Boolean value: true or false.

Generated from protobuf field bool bool_value = 1;

Parameters

bool $var

at line 54
int|string getInt64Value()

A 64-bit integer. Its range is approximately ±9.2x1018.

Generated from protobuf field int64 int64_value = 2;

Return Value

int|string

at line 65
setInt64Value(int|string $var)

A 64-bit integer. Its range is approximately ±9.2x1018.

Generated from protobuf field int64 int64_value = 2;

Parameters

int|string $var

at line 79
float getDoubleValue()

A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision.

Generated from protobuf field double double_value = 3;

Return Value

float

at line 92
setDoubleValue(float $var)

A 64-bit double-precision floating-point number. Its magnitude is approximately ±10±300 and it has 16 significant digits of precision.

Generated from protobuf field double double_value = 3;

Parameters

float $var

at line 104
string getStringValue()

A variable-length string value.

Generated from protobuf field string string_value = 4;

Return Value

string

at line 115
setStringValue(string $var)

A variable-length string value.

Generated from protobuf field string string_value = 4;

Parameters

string $var

at line 127
Distribution getDistributionValue()

A distribution value.

Generated from protobuf field .google.api.Distribution distribution_value = 5;

Return Value

Distribution

at line 138
setDistributionValue(Distribution $var)

A distribution value.

Generated from protobuf field .google.api.Distribution distribution_value = 5;

Parameters

Distribution $var

at line 147
string getValue()

Return Value

string