Interface CompleteTrialRequestOrBuilder (3.48.0)

public interface CompleteTrialRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFinalMeasurement()

public abstract Measurement getFinalMeasurement()

Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement

.google.cloud.aiplatform.v1.Measurement final_measurement = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Measurement

The finalMeasurement.

getFinalMeasurementOrBuilder()

public abstract MeasurementOrBuilder getFinalMeasurementOrBuilder()

Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement

.google.cloud.aiplatform.v1.Measurement final_measurement = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
MeasurementOrBuilder

getInfeasibleReason()

public abstract String getInfeasibleReason()

Optional. A human readable reason why the trial was infeasible. This should only be provided if trial_infeasible is true.

string infeasible_reason = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The infeasibleReason.

getInfeasibleReasonBytes()

public abstract ByteString getInfeasibleReasonBytes()

Optional. A human readable reason why the trial was infeasible. This should only be provided if trial_infeasible is true.

string infeasible_reason = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for infeasibleReason.

getName()

public abstract String getName()

Required. The Trial's name. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The Trial's name. Format: projects/{project}/locations/{location}/studies/{study}/trials/{trial}

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getTrialInfeasible()

public abstract boolean getTrialInfeasible()

Optional. True if the Trial cannot be run with the given Parameter, and final_measurement will be ignored.

bool trial_infeasible = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The trialInfeasible.

hasFinalMeasurement()

public abstract boolean hasFinalMeasurement()

Optional. If provided, it will be used as the completed Trial's final_measurement; Otherwise, the service will auto-select a previously reported measurement as the final-measurement

.google.cloud.aiplatform.v1.Measurement final_measurement = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the finalMeasurement field is set.