Google Cloud AlloyDB for PostgreSQL V1 Client - Class IntegerRestrictions (0.10.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

Namespace

Google \ Cloud \ AlloyDb \ V1 \ SupportedDatabaseFlag

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Int64Value|null

hasMinValue

clearMinValue

getMinValueUnwrapped

Returns the unboxed value from getMinValue()

The minimum value that can be specified, if applicable.

Returns
Type Description
int|string|null

setMinValue

The minimum value that can be specified, if applicable.

Parameter
Name Description
var Google\Protobuf\Int64Value
Returns
Type Description
$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
Name Description
var int|string|null
Returns
Type Description
$this

getMaxValue

The maximum value that can be specified, if applicable.

Returns
Type Description
Google\Protobuf\Int64Value|null

hasMaxValue

clearMaxValue

getMaxValueUnwrapped

Returns the unboxed value from getMaxValue()

The maximum value that can be specified, if applicable.

Returns
Type Description
int|string|null

setMaxValue

The maximum value that can be specified, if applicable.

Parameter
Name Description
var Google\Protobuf\Int64Value
Returns
Type Description
$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
Name Description
var int|string|null
Returns
Type Description
$this