Google Cloud Tpu V1 Client - Class NetworkEndpoint (1.1.1)

Reference documentation and code samples for the Google Cloud Tpu V1 Client class NetworkEndpoint.

A network endpoint over which a TPU worker can be reached.

Generated from protobuf message google.cloud.tpu.v1.NetworkEndpoint

Namespace

Google \ Cloud \ Tpu \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ ip_address string

The IP address of this network endpoint.

↳ port int

The port of this network endpoint.

getIpAddress

The IP address of this network endpoint.

Returns
TypeDescription
string

setIpAddress

The IP address of this network endpoint.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getPort

The port of this network endpoint.

Returns
TypeDescription
int

setPort

The port of this network endpoint.

Parameter
NameDescription
var int
Returns
TypeDescription
$this