Google Cloud Ai Platform V1 Client - Class NasTrial (1.12.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class NasTrial.

Represents a uCAIP NasJob trial.

Generated from protobuf message google.cloud.aiplatform.v1.NasTrial

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ id string

Output only. The identifier of the NasTrial assigned by the service.

↳ state int

Output only. The detailed state of the NasTrial.

↳ final_measurement Measurement

Output only. The final measurement containing the objective value.

↳ start_time Google\Protobuf\Timestamp

Output only. Time when the NasTrial was started.

↳ end_time Google\Protobuf\Timestamp

Output only. Time when the NasTrial's status changed to SUCCEEDED or INFEASIBLE.

getId

Output only. The identifier of the NasTrial assigned by the service.

Returns
Type Description
string

setId

Output only. The identifier of the NasTrial assigned by the service.

Parameter
Name Description
var string
Returns
Type Description
$this

getState

Output only. The detailed state of the NasTrial.

Returns
Type Description
int

setState

Output only. The detailed state of the NasTrial.

Parameter
Name Description
var int
Returns
Type Description
$this

getFinalMeasurement

Output only. The final measurement containing the objective value.

Returns
Type Description
Measurement|null

hasFinalMeasurement

clearFinalMeasurement

setFinalMeasurement

Output only. The final measurement containing the objective value.

Parameter
Name Description
var Measurement
Returns
Type Description
$this

getStartTime

Output only. Time when the NasTrial was started.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Output only. Time when the NasTrial was started.

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

getEndTime

Output only. Time when the NasTrial's status changed to SUCCEEDED or INFEASIBLE.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. Time when the NasTrial's status changed to SUCCEEDED or INFEASIBLE.

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