Cloud Bigtable V2 Client - Class PeerInfo (2.20.0)

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

PeerInfo contains information about the peer that the client is connecting to.

Generated from protobuf message google.bigtable.v2.PeerInfo

Namespace

Google \ Cloud \ Bigtable \ V2

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ google_frontend_id int|string

An opaque identifier for the Google Frontend which serviced this request. Only set when not using DirectAccess.

↳ application_frontend_id int|string

An opaque identifier for the application frontend which serviced this request.

↳ application_frontend_zone string

The Cloud zone of the application frontend that served this request.

↳ application_frontend_subzone string

The subzone of the application frontend that served this request, e.g. an identifier for where within the zone the application frontend is.

↳ transport_type int

getGoogleFrontendId

An opaque identifier for the Google Frontend which serviced this request.

Only set when not using DirectAccess.

Returns
Type Description
int|string

setGoogleFrontendId

An opaque identifier for the Google Frontend which serviced this request.

Only set when not using DirectAccess.

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

getApplicationFrontendId

An opaque identifier for the application frontend which serviced this request.

Returns
Type Description
int|string

setApplicationFrontendId

An opaque identifier for the application frontend which serviced this request.

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

getApplicationFrontendZone

The Cloud zone of the application frontend that served this request.

Returns
Type Description
string

setApplicationFrontendZone

The Cloud zone of the application frontend that served this request.

Parameter
Name Description
var string
Returns
Type Description
$this

getApplicationFrontendSubzone

The subzone of the application frontend that served this request, e.g. an identifier for where within the zone the application frontend is.

Returns
Type Description
string

setApplicationFrontendSubzone

The subzone of the application frontend that served this request, e.g. an identifier for where within the zone the application frontend is.

Parameter
Name Description
var string
Returns
Type Description
$this

getTransportType

Generated from protobuf field .google.bigtable.v2.PeerInfo.TransportType transport_type = 5;

Returns
Type Description
int

setTransportType

Generated from protobuf field .google.bigtable.v2.PeerInfo.TransportType transport_type = 5;

Parameter
Name Description
var int
Returns
Type Description
$this