Package com.google.cloud.aiplatform.v1
Interface ComputationBasedMetricSpecOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ComputationBasedMetricSpec,ComputationBasedMetricSpec.Builder
@Generated
public interface ComputationBasedMetricSpecOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasType
boolean hasType()Required. The type of the computation based metric.
optional .google.cloud.aiplatform.v1.ComputationBasedMetricSpec.ComputationBasedMetricType type = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the type field is set.
-
getTypeValue
int getTypeValue()Required. The type of the computation based metric.
optional .google.cloud.aiplatform.v1.ComputationBasedMetricSpec.ComputationBasedMetricType type = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The enum numeric value on the wire for type.
-
getType
Required. The type of the computation based metric.
optional .google.cloud.aiplatform.v1.ComputationBasedMetricSpec.ComputationBasedMetricType type = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The type.
-
hasParameters
boolean hasParameters()Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.optional .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the parameters field is set.
-
getParameters
com.google.protobuf.Struct getParameters()Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.optional .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The parameters.
-
getParametersOrBuilder
com.google.protobuf.StructOrBuilder getParametersOrBuilder()Optional. A map of parameters for the metric, e.g. {"rouge_type": "rougeL"}.optional .google.protobuf.Struct parameters = 2 [(.google.api.field_behavior) = OPTIONAL];
-