Documentation

TransactionGetRequest extends Message
in package

Generated from protobuf message <code>couchbase.transactions.v1.TransactionGetRequest</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>
$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
transaction_id and attempt_id are optional to allow read-only transactions.
__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>
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
transaction_id and attempt_id are optional to allow read-only transactions.
setAttemptId()  : $this
Generated from protobuf field <code>string attempt_id = 3;</code>
setBucketName()  : $this
Generated from protobuf field <code>string bucket_name = 1;</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
transaction_id and attempt_id are optional to allow read-only transactions.

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 = ''

$collection_name

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

protected mixed $collection_name = ''

$scope_name

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

protected mixed $scope_name = ''

$transaction_id

transaction_id and attempt_id are optional to allow read-only transactions.

protected mixed $transaction_id = ''

clients are not permitted to use this functionality to optimize non-read-only transactions.

Generated from protobuf field string transaction_id = 2;

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
      transaction_id and attempt_id are optional to allow read-only transactions.
      clients are not permitted to use this functionality to optimize
      non-read-only transactions.
@type string $attempt_id
@type string $scope_name
@type string $collection_name
@type string $key

}

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

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()

transaction_id and attempt_id are optional to allow read-only transactions.

public getTransactionId() : string

clients are not permitted to use this functionality to optimize non-read-only transactions.

Generated from protobuf field string transaction_id = 2;

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

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()

transaction_id and attempt_id are optional to allow read-only transactions.

public setTransactionId(string $var) : $this

clients are not permitted to use this functionality to optimize non-read-only transactions.

Generated from protobuf field string transaction_id = 2;

Parameters
$var : string
Return values
$this

        

Search results