NumericRange
extends Message
in package
Generated from protobuf message <code>couchbase.search.v1.NumericRange</code>
Table of Contents
- $max : mixed
- Generated from protobuf field <code>optional float max = 3;</code>
- $min : mixed
- Generated from protobuf field <code>optional float min = 2;</code>
- $name : mixed
- Generated from protobuf field <code>string name = 1;</code>
- __construct() : mixed
- Constructor.
- clearMax() : mixed
- clearMin() : mixed
- getMax() : float
- Generated from protobuf field <code>optional float max = 3;</code>
- getMin() : float
- Generated from protobuf field <code>optional float min = 2;</code>
- getName() : string
- Generated from protobuf field <code>string name = 1;</code>
- hasMax() : mixed
- hasMin() : mixed
- setMax() : $this
- Generated from protobuf field <code>optional float max = 3;</code>
- setMin() : $this
- Generated from protobuf field <code>optional float min = 2;</code>
- setName() : $this
- Generated from protobuf field <code>string name = 1;</code>
Properties
$max
Generated from protobuf field <code>optional float max = 3;</code>
protected
mixed
$max
= null
$min
Generated from protobuf field <code>optional float min = 2;</code>
protected
mixed
$min
= null
$name
Generated from protobuf field <code>string name = 1;</code>
protected
mixed
$name
= ''
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type string $name @type float $min @type float $max
}
Return values
mixed —clearMax()
public
clearMax() : mixed
Return values
mixed —clearMin()
public
clearMin() : mixed
Return values
mixed —getMax()
Generated from protobuf field <code>optional float max = 3;</code>
public
getMax() : float
Return values
float —getMin()
Generated from protobuf field <code>optional float min = 2;</code>
public
getMin() : float
Return values
float —getName()
Generated from protobuf field <code>string name = 1;</code>
public
getName() : string
Return values
string —hasMax()
public
hasMax() : mixed
Return values
mixed —hasMin()
public
hasMin() : mixed
Return values
mixed —setMax()
Generated from protobuf field <code>optional float max = 3;</code>
public
setMax(float $var) : $this
Parameters
- $var : float
Return values
$this —setMin()
Generated from protobuf field <code>optional float min = 2;</code>
public
setMin(float $var) : $this
Parameters
- $var : float
Return values
$this —setName()
Generated from protobuf field <code>string name = 1;</code>
public
setName(string $var) : $this
Parameters
- $var : string