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 \ V1Methods
__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 |