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 Type
    Method
    Description
    Output only.
    Output only.
    Output only.
    com.google.protobuf.ByteString
    Output only.
    float
    Output only.
    boolean
    Output only.
    boolean
    Output only.
    boolean
    Output only.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.
    • 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];