Reference documentation and code samples for the Cloud Bigtable V2 Client class VirtualRpcRequest.
Internal usage only.
Generated from protobuf message google.bigtable.v2.VirtualRpcRequest
Namespace
Google \ Cloud \ Bigtable \ V2Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ rpc_id |
int|string
Client chosen, monotonically increasing identifier for the request. Must be unique within a session. |
↳ deadline |
Google\Protobuf\Duration
Attempt deadline. Note, this may not be needed for V1, TBD (e.g. operation vs attempt deadline). |
↳ metadata |
VirtualRpcRequest\Metadata
vRPC metadata. |
↳ payload |
string
Could be TableRequest (or in post-V1, SqlRequest) |
getRpcId
Client chosen, monotonically increasing identifier for the request.
Must be unique within a session.
| Returns | |
|---|---|
| Type | Description |
int|string |
|
setRpcId
Client chosen, monotonically increasing identifier for the request.
Must be unique within a session.
| Parameter | |
|---|---|
| Name | Description |
var |
int|string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getDeadline
Attempt deadline.
Note, this may not be needed for V1, TBD (e.g. operation vs attempt deadline).
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Duration|null |
|
hasDeadline
clearDeadline
setDeadline
Attempt deadline.
Note, this may not be needed for V1, TBD (e.g. operation vs attempt deadline).
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Duration
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMetadata
vRPC metadata.
| Returns | |
|---|---|
| Type | Description |
VirtualRpcRequest\Metadata|null |
|
hasMetadata
clearMetadata
setMetadata
vRPC metadata.
| Parameter | |
|---|---|
| Name | Description |
var |
VirtualRpcRequest\Metadata
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPayload
Could be TableRequest (or in post-V1, SqlRequest)
| Returns | |
|---|---|
| Type | Description |
string |
|
setPayload
Could be TableRequest (or in post-V1, SqlRequest)
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|