ExistsResponse
extends Message
in package
Generated from protobuf message <code>couchbase.kv.v1.ExistsResponse</code>
Table of Contents
- $cas : mixed
- Generated from protobuf field <code>uint64 cas = 2;</code>
- $result : mixed
- Generated from protobuf field <code>bool result = 1;</code>
- __construct() : mixed
- Constructor.
- getCas() : int|string
- Generated from protobuf field <code>uint64 cas = 2;</code>
- getResult() : bool
- Generated from protobuf field <code>bool result = 1;</code>
- setCas() : $this
- Generated from protobuf field <code>uint64 cas = 2;</code>
- setResult() : $this
- Generated from protobuf field <code>bool result = 1;</code>
Properties
$cas
Generated from protobuf field <code>uint64 cas = 2;</code>
protected
mixed
$cas
= 0
$result
Generated from protobuf field <code>bool result = 1;</code>
protected
mixed
$result
= false
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 bool $result @type int|string $cas
}
Return values
mixed —getCas()
Generated from protobuf field <code>uint64 cas = 2;</code>
public
getCas() : int|string
Return values
int|string —getResult()
Generated from protobuf field <code>bool result = 1;</code>
public
getResult() : bool
Return values
bool —setCas()
Generated from protobuf field <code>uint64 cas = 2;</code>
public
setCas(int|string $var) : $this
Parameters
- $var : int|string
Return values
$this —setResult()
Generated from protobuf field <code>bool result = 1;</code>
public
setResult(bool $var) : $this
Parameters
- $var : bool