Documentation

TermFacet extends Message
in package

Generated from protobuf message <code>couchbase.search.v1.TermFacet</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>
__construct()  : mixed
Constructor.
getField()  : string
Generated from protobuf field <code>string field = 1;</code>
getSize()  : int
Generated from protobuf field <code>uint32 size = 2;</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

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

}

Return values
mixed

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

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