Interface MetricResultOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetricResult,MetricResult.Builder
@Generated
public interface MetricResultOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetError()Output only.Output only.Output only.com.google.protobuf.ByteStringOutput only.getRubricVerdicts(int index) Output only.intOutput only.Output only.getRubricVerdictsOrBuilder(int index) Output only.List<? extends RubricVerdictOrBuilder>Output only.floatgetScore()Output only.booleanhasError()Output only.booleanOutput only.booleanhasScore()Output only.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
-
hasScore
boolean hasScore()Output only. The score for the metric. Please refer to each metric's documentation for the meaning of the score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the score field is set.
-
getScore
float getScore()Output only. The score for the metric. Please refer to each metric's documentation for the meaning of the score.
optional float score = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The score.
-
getRubricVerdictsList
List<RubricVerdict> getRubricVerdictsList()Output only. For rubric-based metrics, the verdicts for each rubric.
repeated .google.cloud.aiplatform.v1beta1.RubricVerdict rubric_verdicts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRubricVerdicts
Output only. For rubric-based metrics, the verdicts for each rubric.
repeated .google.cloud.aiplatform.v1beta1.RubricVerdict rubric_verdicts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRubricVerdictsCount
int getRubricVerdictsCount()Output only. For rubric-based metrics, the verdicts for each rubric.
repeated .google.cloud.aiplatform.v1beta1.RubricVerdict rubric_verdicts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRubricVerdictsOrBuilderList
List<? extends RubricVerdictOrBuilder> getRubricVerdictsOrBuilderList()Output only. For rubric-based metrics, the verdicts for each rubric.
repeated .google.cloud.aiplatform.v1beta1.RubricVerdict rubric_verdicts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
getRubricVerdictsOrBuilder
Output only. For rubric-based metrics, the verdicts for each rubric.
repeated .google.cloud.aiplatform.v1beta1.RubricVerdict rubric_verdicts = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; -
hasExplanation
boolean hasExplanation()Output only. The explanation for the metric result.
optional string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the explanation field is set.
-
getExplanation
String getExplanation()Output only. The explanation for the metric result.
optional string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The explanation.
-
getExplanationBytes
com.google.protobuf.ByteString getExplanationBytes()Output only. The explanation for the metric result.
optional string explanation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for explanation.
-
hasError
boolean hasError()Output only. The error status for the metric result.
optional .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- Whether the error field is set.
-
getError
Status getError()Output only. The error status for the metric result.
optional .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The error.
-
getErrorOrBuilder
StatusOrBuilder getErrorOrBuilder()Output only. The error status for the metric result.
optional .google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-