Interface NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder (3.41.0)

public static interface NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGoal()

public abstract NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType getGoal()

Required. The optimization goal of the metric.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType

The goal.

getGoalValue()

public abstract int getGoalValue()

Required. The optimization goal of the metric.

.google.cloud.aiplatform.v1.NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType goal = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for goal.

getMetricId()

public abstract String getMetricId()

Required. The ID of the metric. Must not contain whitespaces.

string metric_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The metricId.

getMetricIdBytes()

public abstract ByteString getMetricIdBytes()

Required. The ID of the metric. Must not contain whitespaces.

string metric_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for metricId.