Package org.mlflow.api.proto
Interface Service.MetricWithRunIdOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.MetricWithRunId,Service.MetricWithRunId.Builder
- Enclosing class:
- Service
public static interface Service.MetricWithRunIdOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetKey()Key identifying this metric.com.google.protobuf.ByteStringgetKeyBytes()Key identifying this metric.java.lang.StringgetRunId()The ID of the run containing the metriccom.google.protobuf.ByteStringgetRunIdBytes()The ID of the run containing the metriclonggetStep()Step at which to log the metric.longgetTimestamp()The timestamp at which this metric was recorded.doublegetValue()Value associated with this metric.booleanhasKey()Key identifying this metric.booleanhasRunId()The ID of the run containing the metricbooleanhasStep()Step at which to log the metric.booleanhasTimestamp()The timestamp at which this metric was recorded.booleanhasValue()Value associated with this metric.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasKey
boolean hasKey()
Key identifying this metric.
optional string key = 1;- Returns:
- Whether the key field is set.
-
getKey
java.lang.String getKey()
Key identifying this metric.
optional string key = 1;- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()
Key identifying this metric.
optional string key = 1;- Returns:
- The bytes for key.
-
hasValue
boolean hasValue()
Value associated with this metric.
optional double value = 2;- Returns:
- Whether the value field is set.
-
getValue
double getValue()
Value associated with this metric.
optional double value = 2;- Returns:
- The value.
-
hasTimestamp
boolean hasTimestamp()
The timestamp at which this metric was recorded.
optional int64 timestamp = 3;- Returns:
- Whether the timestamp field is set.
-
getTimestamp
long getTimestamp()
The timestamp at which this metric was recorded.
optional int64 timestamp = 3;- Returns:
- The timestamp.
-
hasStep
boolean hasStep()
Step at which to log the metric.
optional int64 step = 4 [default = 0];- Returns:
- Whether the step field is set.
-
getStep
long getStep()
Step at which to log the metric.
optional int64 step = 4 [default = 0];- Returns:
- The step.
-
hasRunId
boolean hasRunId()
The ID of the run containing the metric
optional string run_id = 5;- Returns:
- Whether the runId field is set.
-
getRunId
java.lang.String getRunId()
The ID of the run containing the metric
optional string run_id = 5;- Returns:
- The runId.
-
getRunIdBytes
com.google.protobuf.ByteString getRunIdBytes()
The ID of the run containing the metric
optional string run_id = 5;- Returns:
- The bytes for runId.
-
-