IncrementResponse
extends Message
in package
Generated from protobuf message <code>couchbase.kv.v1.IncrementResponse</code>
Table of Contents
- $cas : mixed
- Generated from protobuf field <code>uint64 cas = 1;</code>
- $content : mixed
- Generated from protobuf field <code>int64 content = 2;</code>
- $mutation_token : mixed
- Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 3;</code>
- __construct() : mixed
- Constructor.
- clearMutationToken() : mixed
- getCas() : int|string
- Generated from protobuf field <code>uint64 cas = 1;</code>
- getContent() : int|string
- Generated from protobuf field <code>int64 content = 2;</code>
- getMutationToken() : MutationToken|null
- Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 3;</code>
- hasMutationToken() : mixed
- setCas() : $this
- Generated from protobuf field <code>uint64 cas = 1;</code>
- setContent() : $this
- Generated from protobuf field <code>int64 content = 2;</code>
- setMutationToken() : $this
- Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 3;</code>
Properties
$cas
Generated from protobuf field <code>uint64 cas = 1;</code>
protected
mixed
$cas
= 0
$content
Generated from protobuf field <code>int64 content = 2;</code>
protected
mixed
$content
= 0
$mutation_token
Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 3;</code>
protected
mixed
$mutation_token
= null
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 int|string $cas @type int|string $content @type \Couchbase\Protostellar\Generated\KV\V1\MutationToken $mutation_token
}
Return values
mixed —clearMutationToken()
public
clearMutationToken() : mixed
Return values
mixed —getCas()
Generated from protobuf field <code>uint64 cas = 1;</code>
public
getCas() : int|string
Return values
int|string —getContent()
Generated from protobuf field <code>int64 content = 2;</code>
public
getContent() : int|string
Return values
int|string —getMutationToken()
Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 3;</code>
public
getMutationToken() : MutationToken|null
Return values
MutationToken|null —hasMutationToken()
public
hasMutationToken() : mixed
Return values
mixed —setCas()
Generated from protobuf field <code>uint64 cas = 1;</code>
public
setCas(int|string $var) : $this
Parameters
- $var : int|string
Return values
$this —setContent()
Generated from protobuf field <code>int64 content = 2;</code>
public
setContent(int|string $var) : $this
Parameters
- $var : int|string
Return values
$this —setMutationToken()
Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 3;</code>
public
setMutationToken(MutationToken $var) : $this
Parameters
- $var : MutationToken