Google Cloud Retail V2 Client - Class Interval (1.7.0)

Reference documentation and code samples for the Google Cloud Retail V2 Client class Interval.

A floating point interval.

Generated from protobuf message google.cloud.retail.v2.Interval

Namespace

Google \ Cloud \ Retail \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ minimum float

Inclusive lower bound.

↳ exclusive_minimum float

Exclusive lower bound.

↳ maximum float

Inclusive upper bound.

↳ exclusive_maximum float

Exclusive upper bound.

getMinimum

Inclusive lower bound.

Returns
Type Description
float

hasMinimum

setMinimum

Inclusive lower bound.

Parameter
Name Description
var float
Returns
Type Description
$this

getExclusiveMinimum

Exclusive lower bound.

Returns
Type Description
float

hasExclusiveMinimum

setExclusiveMinimum

Exclusive lower bound.

Parameter
Name Description
var float
Returns
Type Description
$this

getMaximum

Inclusive upper bound.

Returns
Type Description
float

hasMaximum

setMaximum

Inclusive upper bound.

Parameter
Name Description
var float
Returns
Type Description
$this

getExclusiveMaximum

Exclusive upper bound.

Returns
Type Description
float

hasExclusiveMaximum

setExclusiveMaximum

Exclusive upper bound.

Parameter
Name Description
var float
Returns
Type Description
$this

getMin

Returns
Type Description
string

getMax

Returns
Type Description
string