Cloud Bigtable V2 Client - Class ErrorResponse (2.24.0)

Reference documentation and code samples for the Cloud Bigtable V2 Client class ErrorResponse.

Internal usage only.

Generated from protobuf message google.bigtable.v2.ErrorResponse

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ rpc_id int|string

Which vRPC this response is for.

↳ cluster_info ClusterInformation
↳ status Google\Rpc\Status

The error from the vRPC and any retry information to consider.

↳ retry_info Google\Rpc\RetryInfo

getRpcId

Which vRPC this response is for.

Returns
Type Description
int|string

setRpcId

Which vRPC this response is for.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getClusterInfo

Generated from protobuf field .google.bigtable.v2.ClusterInformation cluster_info = 2;

Returns
Type Description
ClusterInformation|null

hasClusterInfo

clearClusterInfo

setClusterInfo

Generated from protobuf field .google.bigtable.v2.ClusterInformation cluster_info = 2;

Parameter
Name Description
var ClusterInformation
Returns
Type Description
$this

getStatus

The error from the vRPC and any retry information to consider.

Returns
Type Description
Google\Rpc\Status|null

hasStatus

clearStatus

setStatus

The error from the vRPC and any retry information to consider.

Parameter
Name Description
var Google\Rpc\Status
Returns
Type Description
$this

getRetryInfo

Generated from protobuf field .google.rpc.RetryInfo retry_info = 4;

Returns
Type Description
Google\Rpc\RetryInfo|null

hasRetryInfo

clearRetryInfo

setRetryInfo

Generated from protobuf field .google.rpc.RetryInfo retry_info = 4;

Parameter
Name Description
var Google\Rpc\RetryInfo
Returns
Type Description
$this