Google Cloud AlloyDB for PostgreSQL V1 Client - Class IntegerRestrictions (0.1.3)

Reference documentation and code samples for the Google Cloud AlloyDB for PostgreSQL V1 Client class IntegerRestrictions.

Restrictions on INTEGER type values.

Generated from protobuf message google.cloud.alloydb.v1.SupportedDatabaseFlag.IntegerRestrictions

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ min_value Google\Protobuf\Int64Value

The minimum value that can be specified, if applicable.

↳ max_value Google\Protobuf\Int64Value

The maximum value that can be specified, if applicable.

getMinValue

The minimum value that can be specified, if applicable.

Returns
TypeDescription
Google\Protobuf\Int64Value|null

hasMinValue

clearMinValue

getMinValueUnwrapped

Returns the unboxed value from getMinValue()

The minimum value that can be specified, if applicable.

Returns
TypeDescription
int|string|null

setMinValue

The minimum value that can be specified, if applicable.

Parameter
NameDescription
var Google\Protobuf\Int64Value
Returns
TypeDescription
$this

setMinValueUnwrapped

Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.

The minimum value that can be specified, if applicable.

Parameter
NameDescription
var int|string|null
Returns
TypeDescription
$this

getMaxValue

The maximum value that can be specified, if applicable.

Returns
TypeDescription
Google\Protobuf\Int64Value|null

hasMaxValue

clearMaxValue

getMaxValueUnwrapped

Returns the unboxed value from getMaxValue()

The maximum value that can be specified, if applicable.

Returns
TypeDescription
int|string|null

setMaxValue

The maximum value that can be specified, if applicable.

Parameter
NameDescription
var Google\Protobuf\Int64Value
Returns
TypeDescription
$this

setMaxValueUnwrapped

Sets the field by wrapping a primitive type in a Google\Protobuf\Int64Value object.

The maximum value that can be specified, if applicable.

Parameter
NameDescription
var int|string|null
Returns
TypeDescription
$this