Google Cloud Tpu V2 Client - Class Symptom (1.2.0)

Reference documentation and code samples for the Google Cloud Tpu V2 Client class Symptom.

A Symptom instance.

Generated from protobuf message google.cloud.tpu.v2.Symptom

Namespace

Google \ Cloud \ Tpu \ V2

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ create_time Google\Protobuf\Timestamp

Timestamp when the Symptom is created.

↳ symptom_type int

Type of the Symptom.

↳ details string

Detailed information of the current Symptom.

↳ worker_id string

A string used to uniquely distinguish a worker within a TPU node.

getCreateTime

Timestamp when the Symptom is created.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Timestamp when the Symptom is created.

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getSymptomType

Type of the Symptom.

Returns
TypeDescription
int

setSymptomType

Type of the Symptom.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDetails

Detailed information of the current Symptom.

Returns
TypeDescription
string

setDetails

Detailed information of the current Symptom.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getWorkerId

A string used to uniquely distinguish a worker within a TPU node.

Returns
TypeDescription
string

setWorkerId

A string used to uniquely distinguish a worker within a TPU node.

Parameter
NameDescription
var string
Returns
TypeDescription
$this