Google Cloud Discovery Engine V1 Client - Class Interval (1.5.1)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class Interval.

A floating point interval.

Generated from protobuf message google.cloud.discoveryengine.v1.Interval

Namespace

Google \ Cloud \ DiscoveryEngine \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
dataarray

Optional. Data for populating the Message object.

↳ minimumfloat

Inclusive lower bound.

↳ exclusive_minimumfloat

Exclusive lower bound.

↳ maximumfloat

Inclusive upper bound.

↳ exclusive_maximumfloat

Exclusive upper bound.

getMinimum

Inclusive lower bound.

Returns
TypeDescription
float

hasMinimum

setMinimum

Inclusive lower bound.

Parameter
NameDescription
varfloat
Returns
TypeDescription
$this

getExclusiveMinimum

Exclusive lower bound.

Returns
TypeDescription
float

hasExclusiveMinimum

setExclusiveMinimum

Exclusive lower bound.

Parameter
NameDescription
varfloat
Returns
TypeDescription
$this

getMaximum

Inclusive upper bound.

Returns
TypeDescription
float

hasMaximum

setMaximum

Inclusive upper bound.

Parameter
NameDescription
varfloat
Returns
TypeDescription
$this

getExclusiveMaximum

Exclusive upper bound.

Returns
TypeDescription
float

hasExclusiveMaximum

setExclusiveMaximum

Exclusive upper bound.

Parameter
NameDescription
varfloat
Returns
TypeDescription
$this

getMin

Returns
TypeDescription
string

getMax

Returns
TypeDescription
string