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 | |
---|---|
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.
Generated from protobuf field double minimum = 1;
Returns | |
---|---|
Type | Description |
float |
hasMinimum
setMinimum
Inclusive lower bound.
Generated from protobuf field double minimum = 1;
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getExclusiveMinimum
Exclusive lower bound.
Generated from protobuf field double exclusive_minimum = 2;
Returns | |
---|---|
Type | Description |
float |
hasExclusiveMinimum
setExclusiveMinimum
Exclusive lower bound.
Generated from protobuf field double exclusive_minimum = 2;
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getMaximum
Inclusive upper bound.
Generated from protobuf field double maximum = 3;
Returns | |
---|---|
Type | Description |
float |
hasMaximum
setMaximum
Inclusive upper bound.
Generated from protobuf field double maximum = 3;
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getExclusiveMaximum
Exclusive upper bound.
Generated from protobuf field double exclusive_maximum = 4;
Returns | |
---|---|
Type | Description |
float |
hasExclusiveMaximum
setExclusiveMaximum
Exclusive upper bound.
Generated from protobuf field double exclusive_maximum = 4;
Parameter | |
---|---|
Name | Description |
var |
float
|
Returns | |
---|---|
Type | Description |
$this |
getMin
Returns | |
---|---|
Type | Description |
string |
getMax
Returns | |
---|---|
Type | Description |
string |