Google Cloud Retail V2 Client - Class Interval (1.0.1)

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

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.

Generated from protobuf field double minimum = 1;

Returns
TypeDescription
float

hasMinimum

setMinimum

Inclusive lower bound.

Generated from protobuf field double minimum = 1;

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getExclusiveMinimum

Exclusive lower bound.

Generated from protobuf field double exclusive_minimum = 2;

Returns
TypeDescription
float

hasExclusiveMinimum

setExclusiveMinimum

Exclusive lower bound.

Generated from protobuf field double exclusive_minimum = 2;

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMaximum

Inclusive upper bound.

Generated from protobuf field double maximum = 3;

Returns
TypeDescription
float

hasMaximum

setMaximum

Inclusive upper bound.

Generated from protobuf field double maximum = 3;

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getExclusiveMaximum

Exclusive upper bound.

Generated from protobuf field double exclusive_maximum = 4;

Returns
TypeDescription
float

hasExclusiveMaximum

setExclusiveMaximum

Exclusive upper bound.

Generated from protobuf field double exclusive_maximum = 4;

Parameter
NameDescription
var float
Returns
TypeDescription
$this

getMin

Returns
TypeDescription
string

getMax

Returns
TypeDescription
string