Cloud Bigtable V2 Client - Class SessionResponse (2.24.0)

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

Internal usage only.

Generated from protobuf message google.bigtable.v2.SessionResponse

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ open_session OpenSessionResponse
↳ virtual_rpc VirtualRpcResponse

A vRPC can result in either a successful result or an error. Error results are separate to allow for multiple vRPC responses, e.g. for streaming calls like scans (post-V1). See Flow Control.

↳ error ErrorResponse
↳ session_parameters SessionParametersResponse
↳ heartbeat HeartbeatResponse
↳ go_away GoAwayResponse
↳ session_refresh_config SessionRefreshConfig

getOpenSession

Generated from protobuf field .google.bigtable.v2.OpenSessionResponse open_session = 1;

Returns
Type Description
OpenSessionResponse|null

hasOpenSession

setOpenSession

Generated from protobuf field .google.bigtable.v2.OpenSessionResponse open_session = 1;

Parameter
Name Description
var OpenSessionResponse
Returns
Type Description
$this

getVirtualRpc

A vRPC can result in either a successful result or an error.

Error results are separate to allow for multiple vRPC responses, e.g. for streaming calls like scans (post-V1). See Flow Control.

Returns
Type Description
VirtualRpcResponse|null

hasVirtualRpc

setVirtualRpc

A vRPC can result in either a successful result or an error.

Error results are separate to allow for multiple vRPC responses, e.g. for streaming calls like scans (post-V1). See Flow Control.

Parameter
Name Description
var VirtualRpcResponse
Returns
Type Description
$this

getError

Generated from protobuf field .google.bigtable.v2.ErrorResponse error = 3;

Returns
Type Description
ErrorResponse|null

hasError

setError

Generated from protobuf field .google.bigtable.v2.ErrorResponse error = 3;

Parameter
Name Description
var ErrorResponse
Returns
Type Description
$this

getSessionParameters

Generated from protobuf field .google.bigtable.v2.SessionParametersResponse session_parameters = 4;

Returns
Type Description
SessionParametersResponse|null

hasSessionParameters

setSessionParameters

Generated from protobuf field .google.bigtable.v2.SessionParametersResponse session_parameters = 4;

Parameter
Name Description
var SessionParametersResponse
Returns
Type Description
$this

getHeartbeat

Generated from protobuf field .google.bigtable.v2.HeartbeatResponse heartbeat = 5;

Returns
Type Description
HeartbeatResponse|null

hasHeartbeat

setHeartbeat

Generated from protobuf field .google.bigtable.v2.HeartbeatResponse heartbeat = 5;

Parameter
Name Description
var HeartbeatResponse
Returns
Type Description
$this

getGoAway

Generated from protobuf field .google.bigtable.v2.GoAwayResponse go_away = 6;

Returns
Type Description
GoAwayResponse|null

hasGoAway

setGoAway

Generated from protobuf field .google.bigtable.v2.GoAwayResponse go_away = 6;

Parameter
Name Description
var GoAwayResponse
Returns
Type Description
$this

getSessionRefreshConfig

Generated from protobuf field .google.bigtable.v2.SessionRefreshConfig session_refresh_config = 7;

Returns
Type Description
SessionRefreshConfig|null

hasSessionRefreshConfig

setSessionRefreshConfig

Generated from protobuf field .google.bigtable.v2.SessionRefreshConfig session_refresh_config = 7;

Parameter
Name Description
var SessionRefreshConfig
Returns
Type Description
$this

getPayload

Returns
Type Description
string