Google Cloud Vision Ai V1 Client - Class Range (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class Range.

The range of values [start, end) for which faceting is applied.

Generated from protobuf message google.cloud.visionai.v1.FacetBucket.Range

Namespace

Google \ Cloud \ VisionAI \ V1 \ FacetBucket

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start Google\Cloud\VisionAI\V1\FacetValue

Start of the range. Non-existence indicates some bound (e.g. -inf).

↳ end Google\Cloud\VisionAI\V1\FacetValue

End of the range. Non-existence indicates some bound (e.g. inf).

getStart

Start of the range. Non-existence indicates some bound (e.g. -inf).

Returns
Type Description
Google\Cloud\VisionAI\V1\FacetValue|null

hasStart

clearStart

setStart

Start of the range. Non-existence indicates some bound (e.g. -inf).

Parameter
Name Description
var Google\Cloud\VisionAI\V1\FacetValue
Returns
Type Description
$this

getEnd

End of the range. Non-existence indicates some bound (e.g. inf).

Returns
Type Description
Google\Cloud\VisionAI\V1\FacetValue|null

hasEnd

clearEnd

setEnd

End of the range. Non-existence indicates some bound (e.g. inf).

Parameter
Name Description
var Google\Cloud\VisionAI\V1\FacetValue
Returns
Type Description
$this