Package com.google.cloud.aiplatform.v1
Interface NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec
,NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.Builder
- Enclosing class:
- NasJobSpec.MultiTrialAlgorithmSpec
public static interface NasJobSpec.MultiTrialAlgorithmSpec.MetricSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NasJobSpec.MultiTrialAlgorithmSpec.MetricSpec.GoalType
getGoal()
Required.int
getGoalValue()
Required.String
getMetricId()
Required.com.google.protobuf.ByteString
getMetricIdBytes()
Required.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMetricId
String getMetricId()
Required. The ID of the metric. Must not contain whitespaces.
string metric_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The metricId.
-
getMetricIdBytes
com.google.protobuf.ByteString getMetricIdBytes()
Required. The ID of the metric. Must not contain whitespaces.
string metric_id = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for metricId.
-
getGoalValue
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:
- The enum numeric value on the wire for goal.
-
getGoal
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:
- The goal.
-
-