Google Cloud Retail V2 Client - Class Interval (1.4.2)

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
NameDescription
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
TypeDescription
float

hasMinimum

setMinimum

Inclusive lower bound.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getExclusiveMinimum

Exclusive lower bound.

Returns
TypeDescription
float

hasExclusiveMinimum

setExclusiveMinimum

Exclusive lower bound.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMaximum

Inclusive upper bound.

Returns
TypeDescription
float

hasMaximum

setMaximum

Inclusive upper bound.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getExclusiveMaximum

Exclusive upper bound.

Returns
TypeDescription
float

hasExclusiveMaximum

setExclusiveMaximum

Exclusive upper bound.

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMin

Returns
TypeDescription
string

getMax

Returns
TypeDescription
string