Documentation

ViewQueryResponse extends Message
in package

Generated from protobuf message <code>couchbase.view.v1.ViewQueryResponse</code>

Table of Contents

$meta_data  : mixed
Generated from protobuf field <code>optional .couchbase.view.v1.ViewQueryResponse.MetaData meta_data = 2;</code>
$rows  : mixed
Generated from protobuf field <code>repeated .couchbase.view.v1.ViewQueryResponse.Row rows = 1;</code>
__construct()  : mixed
Constructor.
clearMetaData()  : mixed
getMetaData()  : MetaData|null
Generated from protobuf field <code>optional .couchbase.view.v1.ViewQueryResponse.MetaData meta_data = 2;</code>
getRows()  : RepeatedField
Generated from protobuf field <code>repeated .couchbase.view.v1.ViewQueryResponse.Row rows = 1;</code>
hasMetaData()  : mixed
setMetaData()  : $this
Generated from protobuf field <code>optional .couchbase.view.v1.ViewQueryResponse.MetaData meta_data = 2;</code>
setRows()  : $this
Generated from protobuf field <code>repeated .couchbase.view.v1.ViewQueryResponse.Row rows = 1;</code>

Properties

$meta_data

Generated from protobuf field <code>optional .couchbase.view.v1.ViewQueryResponse.MetaData meta_data = 2;</code>

protected mixed $meta_data = null

$rows

Generated from protobuf field <code>repeated .couchbase.view.v1.ViewQueryResponse.Row rows = 1;</code>

private mixed $rows

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 array<\Couchbase\Protostellar\Generated\View\V1\ViewQueryResponse\Row>|\Google\Protobuf\Internal\RepeatedField $rows
@type \Couchbase\Protostellar\Generated\View\V1\ViewQueryResponse\MetaData $meta_data

}

Return values
mixed

getMetaData()

Generated from protobuf field <code>optional .couchbase.view.v1.ViewQueryResponse.MetaData meta_data = 2;</code>

public getMetaData() : MetaData|null
Return values
MetaData|null

getRows()

Generated from protobuf field <code>repeated .couchbase.view.v1.ViewQueryResponse.Row rows = 1;</code>

public getRows() : RepeatedField
Return values
RepeatedField

setMetaData()

Generated from protobuf field <code>optional .couchbase.view.v1.ViewQueryResponse.MetaData meta_data = 2;</code>

public setMetaData(MetaData $var) : $this
Parameters
$var : MetaData
Return values
$this

setRows()

Generated from protobuf field <code>repeated .couchbase.view.v1.ViewQueryResponse.Row rows = 1;</code>

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

        

Search results