Documentation

NumericRangeFacet extends Message
in package

Generated from protobuf message <code>couchbase.search.v1.NumericRangeFacet</code>

Table of Contents

$field  : mixed
Generated from protobuf field <code>string field = 1;</code>
$size  : mixed
Generated from protobuf field <code>uint32 size = 2;</code>
$numeric_ranges  : mixed
Generated from protobuf field <code>repeated .couchbase.search.v1.NumericRange numeric_ranges = 3;</code>
__construct()  : mixed
Constructor.
getField()  : string
Generated from protobuf field <code>string field = 1;</code>
getNumericRanges()  : RepeatedField
Generated from protobuf field <code>repeated .couchbase.search.v1.NumericRange numeric_ranges = 3;</code>
getSize()  : int
Generated from protobuf field <code>uint32 size = 2;</code>
setField()  : $this
Generated from protobuf field <code>string field = 1;</code>
setNumericRanges()  : $this
Generated from protobuf field <code>repeated .couchbase.search.v1.NumericRange numeric_ranges = 3;</code>
setSize()  : $this
Generated from protobuf field <code>uint32 size = 2;</code>

Properties

$field

Generated from protobuf field <code>string field = 1;</code>

protected mixed $field = ''

$size

Generated from protobuf field <code>uint32 size = 2;</code>

protected mixed $size = 0

$numeric_ranges

Generated from protobuf field <code>repeated .couchbase.search.v1.NumericRange numeric_ranges = 3;</code>

private mixed $numeric_ranges

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 $field
@type int $size
@type array<\Couchbase\Protostellar\Generated\Search\V1\NumericRange>|\Google\Protobuf\Internal\RepeatedField $numeric_ranges

}

Return values
mixed

getField()

Generated from protobuf field <code>string field = 1;</code>

public getField() : string
Return values
string

getNumericRanges()

Generated from protobuf field <code>repeated .couchbase.search.v1.NumericRange numeric_ranges = 3;</code>

public getNumericRanges() : RepeatedField
Return values
RepeatedField

getSize()

Generated from protobuf field <code>uint32 size = 2;</code>

public getSize() : int
Return values
int

setField()

Generated from protobuf field <code>string field = 1;</code>

public setField(string $var) : $this
Parameters
$var : string
Return values
$this

setNumericRanges()

Generated from protobuf field <code>repeated .couchbase.search.v1.NumericRange numeric_ranges = 3;</code>

public setNumericRanges(array<string|int, NumericRange>|RepeatedField $var) : $this
Parameters
$var : array<string|int, NumericRange>|RepeatedField
Return values
$this

setSize()

Generated from protobuf field <code>uint32 size = 2;</code>

public setSize(int $var) : $this
Parameters
$var : int
Return values
$this

        

Search results