Documentation

DateRangeFacet extends Message
in package

Generated from protobuf message <code>couchbase.search.v1.DateRangeFacet</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>
$date_ranges  : mixed
Generated from protobuf field <code>repeated .couchbase.search.v1.DateRange date_ranges = 3;</code>
__construct()  : mixed
Constructor.
getDateRanges()  : RepeatedField
Generated from protobuf field <code>repeated .couchbase.search.v1.DateRange date_ranges = 3;</code>
getField()  : string
Generated from protobuf field <code>string field = 1;</code>
getSize()  : int
Generated from protobuf field <code>uint32 size = 2;</code>
setDateRanges()  : $this
Generated from protobuf field <code>repeated .couchbase.search.v1.DateRange date_ranges = 3;</code>
setField()  : $this
Generated from protobuf field <code>string field = 1;</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

$date_ranges

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

private mixed $date_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\DateRange>|\Google\Protobuf\Internal\RepeatedField $date_ranges

}

Return values
mixed

getDateRanges()

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

public getDateRanges() : RepeatedField
Return values
RepeatedField

getField()

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

public getField() : string
Return values
string

getSize()

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

public getSize() : int
Return values
int

setDateRanges()

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

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

setField()

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

public setField(string $var) : $this
Parameters
$var : string
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