Package org.mlflow.api.proto
Interface Service.MetricDataPointOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.MetricDataPoint,Service.MetricDataPoint.Builder
- Enclosing class:
- Service
public static interface Service.MetricDataPointOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsDimensions(String key) Dimension values for this data point Keys correspond to dimensions e.g., {"status": "OK"}booleancontainsValues(String key) Metric values for this data point Keys are aggregation types e.g., {"AVG": 150, "P99": 234.5}Deprecated.intDimension values for this data point Keys correspond to dimensions e.g., {"status": "OK"}Dimension values for this data point Keys correspond to dimensions e.g., {"status": "OK"}getDimensionsOrDefault(String key, String defaultValue) Dimension values for this data point Keys correspond to dimensions e.g., {"status": "OK"}Dimension values for this data point Keys correspond to dimensions e.g., {"status": "OK"}Metric name, e.g.com.google.protobuf.ByteStringMetric name, e.g.Deprecated.intMetric values for this data point Keys are aggregation types e.g., {"AVG": 150, "P99": 234.5}Metric values for this data point Keys are aggregation types e.g., {"AVG": 150, "P99": 234.5}doublegetValuesOrDefault(String key, double defaultValue) Metric values for this data point Keys are aggregation types e.g., {"AVG": 150, "P99": 234.5}doublegetValuesOrThrow(String key) Metric values for this data point Keys are aggregation types e.g., {"AVG": 150, "P99": 234.5}booleanMetric name, e.g.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
-
hasMetricName
boolean hasMetricName()Metric name, e.g. "latency"
optional string metric_name = 1;- Returns:
- Whether the metricName field is set.
-
getMetricName
String getMetricName()Metric name, e.g. "latency"
optional string metric_name = 1;- Returns:
- The metricName.
-
getMetricNameBytes
com.google.protobuf.ByteString getMetricNameBytes()Metric name, e.g. "latency"
optional string metric_name = 1;- Returns:
- The bytes for metricName.
-
getDimensionsCount
int getDimensionsCount()Dimension values for this data point Keys correspond to dimensions e.g., {"status": "OK"}map<string, string> dimensions = 2; -
containsDimensions
Dimension values for this data point Keys correspond to dimensions e.g., {"status": "OK"}map<string, string> dimensions = 2; -
getDimensions
Deprecated.UsegetDimensionsMap()instead. -
getDimensionsMap
Dimension values for this data point Keys correspond to dimensions e.g., {"status": "OK"}map<string, string> dimensions = 2; -
getDimensionsOrDefault
Dimension values for this data point Keys correspond to dimensions e.g., {"status": "OK"}map<string, string> dimensions = 2; -
getDimensionsOrThrow
Dimension values for this data point Keys correspond to dimensions e.g., {"status": "OK"}map<string, string> dimensions = 2; -
getValuesCount
int getValuesCount()Metric values for this data point Keys are aggregation types e.g., {"AVG": 150, "P99": 234.5}map<string, double> values = 3; -
containsValues
Metric values for this data point Keys are aggregation types e.g., {"AVG": 150, "P99": 234.5}map<string, double> values = 3; -
getValues
Deprecated.UsegetValuesMap()instead. -
getValuesMap
Metric values for this data point Keys are aggregation types e.g., {"AVG": 150, "P99": 234.5}map<string, double> values = 3; -
getValuesOrDefault
Metric values for this data point Keys are aggregation types e.g., {"AVG": 150, "P99": 234.5}map<string, double> values = 3; -
getValuesOrThrow
Metric values for this data point Keys are aggregation types e.g., {"AVG": 150, "P99": 234.5}map<string, double> values = 3;
-