Documentation

TransactionBeginAttemptRequest extends Message
in package

Generated from protobuf message <code>couchbase.transactions.v1.TransactionBeginAttemptRequest</code>

Table of Contents

$bucket_name  : mixed
Generated from protobuf field <code>string bucket_name = 1;</code>
$transaction_id  : mixed
Generated from protobuf field <code>optional string transaction_id = 2;</code>
__construct()  : mixed
Constructor.
clearTransactionId()  : mixed
getBucketName()  : string
Generated from protobuf field <code>string bucket_name = 1;</code>
getTransactionId()  : string
Generated from protobuf field <code>optional string transaction_id = 2;</code>
hasTransactionId()  : mixed
setBucketName()  : $this
Generated from protobuf field <code>string bucket_name = 1;</code>
setTransactionId()  : $this
Generated from protobuf field <code>optional string transaction_id = 2;</code>

Properties

$transaction_id

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

protected mixed $transaction_id = 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 string $bucket_name
@type string $transaction_id

}

Return values
mixed

getBucketName()

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

public getBucketName() : string
Return values
string

getTransactionId()

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

public getTransactionId() : string
Return values
string

setBucketName()

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

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

setTransactionId()

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

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

        

Search results