Documentation

ReplaceRequest extends Message
in package

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

Table of Contents

$bucket_name  : mixed
Generated from protobuf field <code>string bucket_name = 1;</code>
$cas  : mixed
Generated from protobuf field <code>optional uint64 cas = 7;</code>
$collection_name  : mixed
Generated from protobuf field <code>string collection_name = 3;</code>
$content  : mixed
$content_flags  : mixed
Generated from protobuf field <code>uint32 content_flags = 12;</code>
$durability_level  : mixed
Generated from protobuf field <code>optional .couchbase.kv.v1.DurabilityLevel durability_level = 10;</code>
$expiry  : mixed
$key  : mixed
Generated from protobuf field <code>string key = 4;</code>
$scope_name  : mixed
Generated from protobuf field <code>string scope_name = 2;</code>
__construct()  : mixed
Constructor.
clearCas()  : mixed
clearDurabilityLevel()  : mixed
getBucketName()  : string
Generated from protobuf field <code>string bucket_name = 1;</code>
getCas()  : int|string
Generated from protobuf field <code>optional uint64 cas = 7;</code>
getCollectionName()  : string
Generated from protobuf field <code>string collection_name = 3;</code>
getContent()  : string
getContentCompressed()  : string
Generated from protobuf field <code>bytes content_compressed = 13;</code>
getContentFlags()  : int
Generated from protobuf field <code>uint32 content_flags = 12;</code>
getContentUncompressed()  : string
Generated from protobuf field <code>bytes content_uncompressed = 5;</code>
getDurabilityLevel()  : int
Generated from protobuf field <code>optional .couchbase.kv.v1.DurabilityLevel durability_level = 10;</code>
getExpiry()  : string
getExpirySecs()  : int
Generated from protobuf field <code>uint32 expiry_secs = 11;</code>
getExpiryTime()  : Timestamp|null
Generated from protobuf field <code>.google.protobuf.Timestamp expiry_time = 8;</code>
getKey()  : string
Generated from protobuf field <code>string key = 4;</code>
getScopeName()  : string
Generated from protobuf field <code>string scope_name = 2;</code>
hasCas()  : mixed
hasContentCompressed()  : mixed
hasContentUncompressed()  : mixed
hasDurabilityLevel()  : mixed
hasExpirySecs()  : mixed
hasExpiryTime()  : mixed
setBucketName()  : $this
Generated from protobuf field <code>string bucket_name = 1;</code>
setCas()  : $this
Generated from protobuf field <code>optional uint64 cas = 7;</code>
setCollectionName()  : $this
Generated from protobuf field <code>string collection_name = 3;</code>
setContentCompressed()  : $this
Generated from protobuf field <code>bytes content_compressed = 13;</code>
setContentFlags()  : $this
Generated from protobuf field <code>uint32 content_flags = 12;</code>
setContentUncompressed()  : $this
Generated from protobuf field <code>bytes content_uncompressed = 5;</code>
setDurabilityLevel()  : $this
Generated from protobuf field <code>optional .couchbase.kv.v1.DurabilityLevel durability_level = 10;</code>
setExpirySecs()  : $this
Generated from protobuf field <code>uint32 expiry_secs = 11;</code>
setExpiryTime()  : $this
Generated from protobuf field <code>.google.protobuf.Timestamp expiry_time = 8;</code>
setKey()  : $this
Generated from protobuf field <code>string key = 4;</code>
setScopeName()  : $this
Generated from protobuf field <code>string scope_name = 2;</code>

Properties

$bucket_name

Generated from protobuf field <code>string bucket_name = 1;</code>

protected mixed $bucket_name = ''

$cas

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

protected mixed $cas = null

$collection_name

Generated from protobuf field <code>string collection_name = 3;</code>

protected mixed $collection_name = ''

$content_flags

Generated from protobuf field <code>uint32 content_flags = 12;</code>

protected mixed $content_flags = 0

$durability_level

Generated from protobuf field <code>optional .couchbase.kv.v1.DurabilityLevel durability_level = 10;</code>

protected mixed $durability_level = null

$key

Generated from protobuf field <code>string key = 4;</code>

protected mixed $key = ''

$scope_name

Generated from protobuf field <code>string scope_name = 2;</code>

protected mixed $scope_name = ''

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 string $bucket_name
@type string $scope_name
@type string $collection_name
@type string $key
@type string $content_uncompressed
@type string $content_compressed
@type int $content_flags
@type int|string $cas
@type \Google\Protobuf\Timestamp $expiry_time
@type int $expiry_secs
@type int $durability_level

}

Return values
mixed

clearDurabilityLevel()

public clearDurabilityLevel() : mixed
Return values
mixed

getBucketName()

Generated from protobuf field <code>string bucket_name = 1;</code>

public getBucketName() : string
Return values
string

getCas()

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

public getCas() : int|string
Return values
int|string

getCollectionName()

Generated from protobuf field <code>string collection_name = 3;</code>

public getCollectionName() : string
Return values
string

getContent()

public getContent() : string
Return values
string

getContentCompressed()

Generated from protobuf field <code>bytes content_compressed = 13;</code>

public getContentCompressed() : string
Return values
string

getContentFlags()

Generated from protobuf field <code>uint32 content_flags = 12;</code>

public getContentFlags() : int
Return values
int

getContentUncompressed()

Generated from protobuf field <code>bytes content_uncompressed = 5;</code>

public getContentUncompressed() : string
Return values
string

getDurabilityLevel()

Generated from protobuf field <code>optional .couchbase.kv.v1.DurabilityLevel durability_level = 10;</code>

public getDurabilityLevel() : int
Return values
int

getExpiry()

public getExpiry() : string
Return values
string

getExpirySecs()

Generated from protobuf field <code>uint32 expiry_secs = 11;</code>

public getExpirySecs() : int
Return values
int

getExpiryTime()

Generated from protobuf field <code>.google.protobuf.Timestamp expiry_time = 8;</code>

public getExpiryTime() : Timestamp|null
Return values
Timestamp|null

getKey()

Generated from protobuf field <code>string key = 4;</code>

public getKey() : string
Return values
string

getScopeName()

Generated from protobuf field <code>string scope_name = 2;</code>

public getScopeName() : string
Return values
string

hasContentCompressed()

public hasContentCompressed() : mixed
Return values
mixed

hasContentUncompressed()

public hasContentUncompressed() : mixed
Return values
mixed

hasDurabilityLevel()

public hasDurabilityLevel() : mixed
Return values
mixed

hasExpirySecs()

public hasExpirySecs() : mixed
Return values
mixed

hasExpiryTime()

public hasExpiryTime() : mixed
Return values
mixed

setBucketName()

Generated from protobuf field <code>string bucket_name = 1;</code>

public setBucketName(string $var) : $this
Parameters
$var : string
Return values
$this

setCas()

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

public setCas(int|string $var) : $this
Parameters
$var : int|string
Return values
$this

setCollectionName()

Generated from protobuf field <code>string collection_name = 3;</code>

public setCollectionName(string $var) : $this
Parameters
$var : string
Return values
$this

setContentCompressed()

Generated from protobuf field <code>bytes content_compressed = 13;</code>

public setContentCompressed(string $var) : $this
Parameters
$var : string
Return values
$this

setContentFlags()

Generated from protobuf field <code>uint32 content_flags = 12;</code>

public setContentFlags(int $var) : $this
Parameters
$var : int
Return values
$this

setContentUncompressed()

Generated from protobuf field <code>bytes content_uncompressed = 5;</code>

public setContentUncompressed(string $var) : $this
Parameters
$var : string
Return values
$this

setDurabilityLevel()

Generated from protobuf field <code>optional .couchbase.kv.v1.DurabilityLevel durability_level = 10;</code>

public setDurabilityLevel(int $var) : $this
Parameters
$var : int
Return values
$this

setExpirySecs()

Generated from protobuf field <code>uint32 expiry_secs = 11;</code>

public setExpirySecs(int $var) : $this
Parameters
$var : int
Return values
$this

setExpiryTime()

Generated from protobuf field <code>.google.protobuf.Timestamp expiry_time = 8;</code>

public setExpiryTime(Timestamp $var) : $this
Parameters
$var : Timestamp
Return values
$this

setKey()

Generated from protobuf field <code>string key = 4;</code>

public setKey(string $var) : $this
Parameters
$var : string
Return values
$this

setScopeName()

Generated from protobuf field <code>string scope_name = 2;</code>

public setScopeName(string $var) : $this
Parameters
$var : string
Return values
$this

        

Search results