Documentation

UpsertResponse extends Message
in package

Generated from protobuf message <code>couchbase.kv.v1.UpsertResponse</code>

Table of Contents

$cas  : mixed
Generated from protobuf field <code>uint64 cas = 1;</code>
$mutation_token  : mixed
Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 2;</code>
__construct()  : mixed
Constructor.
clearMutationToken()  : mixed
getCas()  : int|string
Generated from protobuf field <code>uint64 cas = 1;</code>
getMutationToken()  : MutationToken|null
Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 2;</code>
hasMutationToken()  : mixed
setCas()  : $this
Generated from protobuf field <code>uint64 cas = 1;</code>
setMutationToken()  : $this
Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 2;</code>

Properties

$cas

Generated from protobuf field <code>uint64 cas = 1;</code>

protected mixed $cas = 0

$mutation_token

Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 2;</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 \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

getMutationToken()

Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 2;</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

setMutationToken()

Generated from protobuf field <code>.couchbase.kv.v1.MutationToken mutation_token = 2;</code>

public setMutationToken(MutationToken $var) : $this
Parameters
$var : MutationToken
Return values
$this

        

Search results