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 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

      RubricVerdict getRubricVerdicts(int index)
       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

      RubricVerdictOrBuilder getRubricVerdictsOrBuilder(int index)
       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];