Interface MetricMetadata.ScoreRangeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetricMetadata.ScoreRange,MetricMetadata.ScoreRange.Builder
- Enclosing class:
- MetricMetadata
public static interface MetricMetadata.ScoreRangeOrBuilder
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
-
hasMin
boolean hasMin()Required. The minimum value of the score range (inclusive).
optional double min = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the min field is set.
-
getMin
double getMin()Required. The minimum value of the score range (inclusive).
optional double min = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The min.
-
hasMax
boolean hasMax()Required. The maximum value of the score range (inclusive).
optional double max = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- Whether the max field is set.
-
getMax
double getMax()Required. The maximum value of the score range (inclusive).
optional double max = 2 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The max.
-
hasStep
boolean hasStep()Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous.
optional double step = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- Whether the step field is set.
-
getStep
double getStep()Optional. The distance between discrete steps in the range. If unset, the range is assumed to be continuous.
optional double step = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The step.
-
getDescription
String getDescription()Optional. The description of the score explaining the directionality etc.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()Optional. The description of the score explaining the directionality etc.
string description = 4 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- The bytes for description.
-