TransactionReplaceRequest
extends Message
in package
Generated from protobuf message <code>couchbase.transactions.v1.TransactionReplaceRequest</code>
Table of Contents
- $attempt_id : mixed
- Generated from protobuf field <code>string attempt_id = 3;</code>
- $bucket_name : mixed
- Generated from protobuf field <code>string bucket_name = 1;</code>
- $cas : mixed
- Generated from protobuf field <code>uint64 cas = 7;</code>
- $collection_name : mixed
- Generated from protobuf field <code>string collection_name = 5;</code>
- $key : mixed
- Generated from protobuf field <code>string key = 6;</code>
- $scope_name : mixed
- Generated from protobuf field <code>string scope_name = 4;</code>
- $transaction_id : mixed
- Generated from protobuf field <code>string transaction_id = 2;</code>
- $value : mixed
- Generated from protobuf field <code>bytes value = 8;</code>
- __construct() : mixed
- Constructor.
- getAttemptId() : string
- Generated from protobuf field <code>string attempt_id = 3;</code>
- getBucketName() : string
- Generated from protobuf field <code>string bucket_name = 1;</code>
- getCas() : int|string
- Generated from protobuf field <code>uint64 cas = 7;</code>
- getCollectionName() : string
- Generated from protobuf field <code>string collection_name = 5;</code>
- getKey() : string
- Generated from protobuf field <code>string key = 6;</code>
- getScopeName() : string
- Generated from protobuf field <code>string scope_name = 4;</code>
- getTransactionId() : string
- Generated from protobuf field <code>string transaction_id = 2;</code>
- getValue() : string
- Generated from protobuf field <code>bytes value = 8;</code>
- setAttemptId() : $this
- Generated from protobuf field <code>string attempt_id = 3;</code>
- setBucketName() : $this
- Generated from protobuf field <code>string bucket_name = 1;</code>
- setCas() : $this
- Generated from protobuf field <code>uint64 cas = 7;</code>
- setCollectionName() : $this
- Generated from protobuf field <code>string collection_name = 5;</code>
- setKey() : $this
- Generated from protobuf field <code>string key = 6;</code>
- setScopeName() : $this
- Generated from protobuf field <code>string scope_name = 4;</code>
- setTransactionId() : $this
- Generated from protobuf field <code>string transaction_id = 2;</code>
- setValue() : $this
- Generated from protobuf field <code>bytes value = 8;</code>
Properties
$attempt_id
Generated from protobuf field <code>string attempt_id = 3;</code>
protected
mixed
$attempt_id
= ''
$bucket_name
Generated from protobuf field <code>string bucket_name = 1;</code>
protected
mixed
$bucket_name
= ''
$cas
Generated from protobuf field <code>uint64 cas = 7;</code>
protected
mixed
$cas
= 0
$collection_name
Generated from protobuf field <code>string collection_name = 5;</code>
protected
mixed
$collection_name
= ''
$key
Generated from protobuf field <code>string key = 6;</code>
protected
mixed
$key
= ''
$scope_name
Generated from protobuf field <code>string scope_name = 4;</code>
protected
mixed
$scope_name
= ''
$transaction_id
Generated from protobuf field <code>string transaction_id = 2;</code>
protected
mixed
$transaction_id
= ''
$value
Generated from protobuf field <code>bytes value = 8;</code>
protected
mixed
$value
= ''
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 $transaction_id @type string $attempt_id @type string $scope_name @type string $collection_name @type string $key @type int|string $cas @type string $value
}
Return values
mixed —getAttemptId()
Generated from protobuf field <code>string attempt_id = 3;</code>
public
getAttemptId() : string
Return values
string —getBucketName()
Generated from protobuf field <code>string bucket_name = 1;</code>
public
getBucketName() : string
Return values
string —getCas()
Generated from protobuf field <code>uint64 cas = 7;</code>
public
getCas() : int|string
Return values
int|string —getCollectionName()
Generated from protobuf field <code>string collection_name = 5;</code>
public
getCollectionName() : string
Return values
string —getKey()
Generated from protobuf field <code>string key = 6;</code>
public
getKey() : string
Return values
string —getScopeName()
Generated from protobuf field <code>string scope_name = 4;</code>
public
getScopeName() : string
Return values
string —getTransactionId()
Generated from protobuf field <code>string transaction_id = 2;</code>
public
getTransactionId() : string
Return values
string —getValue()
Generated from protobuf field <code>bytes value = 8;</code>
public
getValue() : string
Return values
string —setAttemptId()
Generated from protobuf field <code>string attempt_id = 3;</code>
public
setAttemptId(string $var) : $this
Parameters
- $var : string
Return values
$this —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>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 = 5;</code>
public
setCollectionName(string $var) : $this
Parameters
- $var : string
Return values
$this —setKey()
Generated from protobuf field <code>string key = 6;</code>
public
setKey(string $var) : $this
Parameters
- $var : string
Return values
$this —setScopeName()
Generated from protobuf field <code>string scope_name = 4;</code>
public
setScopeName(string $var) : $this
Parameters
- $var : string
Return values
$this —setTransactionId()
Generated from protobuf field <code>string transaction_id = 2;</code>
public
setTransactionId(string $var) : $this
Parameters
- $var : string
Return values
$this —setValue()
Generated from protobuf field <code>bytes value = 8;</code>
public
setValue(string $var) : $this
Parameters
- $var : string