Interface CompleteTrialRequestOrBuilder (3.31.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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the finalMeasurement field is set.