Package org.mlflow.api.proto
Interface Service.LogMetricOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.LogMetric
,Service.LogMetric.Builder
- Enclosing class:
Service
public static interface Service.LogMetricOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetKey()
Name of the metric.com.google.protobuf.ByteString
Name of the metric.getRunId()
ID of the run under which to log the metric.com.google.protobuf.ByteString
ID of the run under which to log the metric.[Deprecated, use run_id instead] ID of the run under which to log the metric.com.google.protobuf.ByteString
[Deprecated, use run_id instead] ID of the run under which to log the metric.long
getStep()
Step at which to log the metriclong
Unix timestamp in milliseconds at the time metric was logged.double
getValue()
Double value of the metric being logged.boolean
hasKey()
Name of the metric.boolean
hasRunId()
ID of the run under which to log the metric.boolean
[Deprecated, use run_id instead] ID of the run under which to log the metric.boolean
hasStep()
Step at which to log the metricboolean
Unix timestamp in milliseconds at the time metric was logged.boolean
hasValue()
Double value of the metric being logged.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
-
hasRunId
boolean hasRunId()ID of the run under which to log the metric. Must be provided.
optional string run_id = 6;
- Returns:
- Whether the runId field is set.
-
getRunId
String getRunId()ID of the run under which to log the metric. Must be provided.
optional string run_id = 6;
- Returns:
- The runId.
-
getRunIdBytes
com.google.protobuf.ByteString getRunIdBytes()ID of the run under which to log the metric. Must be provided.
optional string run_id = 6;
- Returns:
- The bytes for runId.
-
hasRunUuid
boolean hasRunUuid()[Deprecated, use run_id instead] ID of the run under which to log the metric. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Returns:
- Whether the runUuid field is set.
-
getRunUuid
String getRunUuid()[Deprecated, use run_id instead] ID of the run under which to log the metric. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Returns:
- The runUuid.
-
getRunUuidBytes
com.google.protobuf.ByteString getRunUuidBytes()[Deprecated, use run_id instead] ID of the run under which to log the metric. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Returns:
- The bytes for runUuid.
-
hasKey
boolean hasKey()Name of the metric.
optional string key = 2 [(.mlflow.validate_required) = true];
- Returns:
- Whether the key field is set.
-
getKey
String getKey()Name of the metric.
optional string key = 2 [(.mlflow.validate_required) = true];
- Returns:
- The key.
-
getKeyBytes
com.google.protobuf.ByteString getKeyBytes()Name of the metric.
optional string key = 2 [(.mlflow.validate_required) = true];
- Returns:
- The bytes for key.
-
hasValue
boolean hasValue()Double value of the metric being logged.
optional double value = 3 [(.mlflow.validate_required) = true];
- Returns:
- Whether the value field is set.
-
getValue
double getValue()Double value of the metric being logged.
optional double value = 3 [(.mlflow.validate_required) = true];
- Returns:
- The value.
-
hasTimestamp
boolean hasTimestamp()Unix timestamp in milliseconds at the time metric was logged.
optional int64 timestamp = 4 [(.mlflow.validate_required) = true];
- Returns:
- Whether the timestamp field is set.
-
getTimestamp
long getTimestamp()Unix timestamp in milliseconds at the time metric was logged.
optional int64 timestamp = 4 [(.mlflow.validate_required) = true];
- Returns:
- The timestamp.
-
hasStep
boolean hasStep()Step at which to log the metric
optional int64 step = 5 [default = 0];
- Returns:
- Whether the step field is set.
-
getStep
long getStep()Step at which to log the metric
optional int64 step = 5 [default = 0];
- Returns:
- The step.
-