MutateInResponse
extends Message
in package
Generated from protobuf message <code>couchbase.kv.v1.MutateInResponse</code>
Table of Contents
- $cas : mixed
- Generated from protobuf field <code>uint64 cas = 2;</code>
- $mutation_token : mixed
- Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 3;</code>
- $specs : mixed
- Generated from protobuf field <code>repeated .couchbase.kv.v1.MutateInResponse.Spec specs = 1;</code>
- __construct() : mixed
- Constructor.
- clearMutationToken() : mixed
- getCas() : int|string
- Generated from protobuf field <code>uint64 cas = 2;</code>
- getMutationToken() : MutationToken|null
- Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 3;</code>
- getSpecs() : RepeatedField
- Generated from protobuf field <code>repeated .couchbase.kv.v1.MutateInResponse.Spec specs = 1;</code>
- hasMutationToken() : mixed
- setCas() : $this
- Generated from protobuf field <code>uint64 cas = 2;</code>
- setMutationToken() : $this
- Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 3;</code>
- setSpecs() : $this
- Generated from protobuf field <code>repeated .couchbase.kv.v1.MutateInResponse.Spec specs = 1;</code>
Properties
$cas
Generated from protobuf field <code>uint64 cas = 2;</code>
protected
mixed
$cas
= 0
$mutation_token
Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 3;</code>
protected
mixed
$mutation_token
= null
$specs
Generated from protobuf field <code>repeated .couchbase.kv.v1.MutateInResponse.Spec specs = 1;</code>
private
mixed
$specs
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\KV\V1\MutateInResponse\Spec>|\Google\Protobuf\Internal\RepeatedField $specs @type int|string $cas @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 = 2;</code>
public
getCas() : 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 —getSpecs()
Generated from protobuf field <code>repeated .couchbase.kv.v1.MutateInResponse.Spec specs = 1;</code>
public
getSpecs() : RepeatedField
Return values
RepeatedField —hasMutationToken()
public
hasMutationToken() : mixed
Return values
mixed —setCas()
Generated from protobuf field <code>uint64 cas = 2;</code>
public
setCas(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
Return values
$this —setSpecs()
Generated from protobuf field <code>repeated .couchbase.kv.v1.MutateInResponse.Spec specs = 1;</code>
public
setSpecs(array<string|int, Spec>|RepeatedField $var) : $this
Parameters
- $var : array<string|int, Spec>|RepeatedField