Google Cloud Tpu V2 Client - Class Symptom (2.1.2)

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
Name Description
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
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Timestamp when the Symptom is created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getSymptomType

Type of the Symptom.

Returns
Type Description
int Enum of type SymptomType.

setSymptomType

Type of the Symptom.

Parameter
Name Description
var int

Enum of type SymptomType.

Returns
Type Description
$this

getDetails

Detailed information of the current Symptom.

Returns
Type Description
string

setDetails

Detailed information of the current Symptom.

Parameter
Name Description
var string
Returns
Type Description
$this

getWorkerId

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

Returns
Type Description
string

setWorkerId

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

Parameter
Name Description
var string
Returns
Type Description
$this