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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetDatasetDigest()Dataset digest of the dataset associated with the metric, e.g.com.google.protobuf.ByteStringgetDatasetDigestBytes()Dataset digest of the dataset associated with the metric, e.g.java.lang.StringgetDatasetName()The name of the dataset associated with the metric.com.google.protobuf.ByteStringgetDatasetNameBytes()The name of the dataset associated with the metric.java.lang.StringgetKey()Name of the metric.com.google.protobuf.ByteStringgetKeyBytes()Name of the metric.java.lang.StringgetModelId()ID of the logged model associated with the metric, if applicablecom.google.protobuf.ByteStringgetModelIdBytes()ID of the logged model associated with the metric, if applicablejava.lang.StringgetRunId()ID of the run under which to log the metric.com.google.protobuf.ByteStringgetRunIdBytes()ID of the run under which to log the metric.java.lang.StringgetRunUuid()[Deprecated, use run_id instead] ID of the run under which to log the metric.com.google.protobuf.ByteStringgetRunUuidBytes()[Deprecated, use run_id instead] ID of the run under which to log the metric.longgetStep()Step at which to log the metriclonggetTimestamp()Unix timestamp in milliseconds at the time metric was logged.doublegetValue()Double value of the metric being logged.booleanhasDatasetDigest()Dataset digest of the dataset associated with the metric, e.g.booleanhasDatasetName()The name of the dataset associated with the metric.booleanhasKey()Name of the metric.booleanhasModelId()ID of the logged model associated with the metric, if applicablebooleanhasRunId()ID of the run under which to log the metric.booleanhasRunUuid()[Deprecated, use run_id instead] ID of the run under which to log the metric.booleanhasStep()Step at which to log the metricbooleanhasTimestamp()Unix timestamp in milliseconds at the time metric was logged.booleanhasValue()Double value of the metric being logged.- 
Methods inherited from interface com.google.protobuf.MessageOrBuilderfindInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
- 
 
- 
- 
- 
Method Detail- 
hasRunIdboolean 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.
 
 - 
getRunIdjava.lang.String getRunId() ID of the run under which to log the metric. Must be provided. optional string run_id = 6;- Returns:
- The runId.
 
 - 
getRunIdBytescom.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.
 
 - 
hasRunUuidboolean 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.
 
 - 
getRunUuidjava.lang.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.
 
 - 
getRunUuidBytescom.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.
 
 - 
hasKeyboolean hasKey() Name of the metric. optional string key = 2 [(.mlflow.validate_required) = true];- Returns:
- Whether the key field is set.
 
 - 
getKeyjava.lang.String getKey() Name of the metric. optional string key = 2 [(.mlflow.validate_required) = true];- Returns:
- The key.
 
 - 
getKeyBytescom.google.protobuf.ByteString getKeyBytes() Name of the metric. optional string key = 2 [(.mlflow.validate_required) = true];- Returns:
- The bytes for key.
 
 - 
hasValueboolean hasValue() Double value of the metric being logged. optional double value = 3 [(.mlflow.validate_required) = true];- Returns:
- Whether the value field is set.
 
 - 
getValuedouble getValue() Double value of the metric being logged. optional double value = 3 [(.mlflow.validate_required) = true];- Returns:
- The value.
 
 - 
hasTimestampboolean 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.
 
 - 
getTimestamplong getTimestamp() Unix timestamp in milliseconds at the time metric was logged. optional int64 timestamp = 4 [(.mlflow.validate_required) = true];- Returns:
- The timestamp.
 
 - 
hasStepboolean hasStep() Step at which to log the metric optional int64 step = 5 [default = 0];- Returns:
- Whether the step field is set.
 
 - 
getSteplong getStep() Step at which to log the metric optional int64 step = 5 [default = 0];- Returns:
- The step.
 
 - 
hasModelIdboolean hasModelId() ID of the logged model associated with the metric, if applicable optional string model_id = 7 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- Whether the modelId field is set.
 
 - 
getModelIdjava.lang.String getModelId() ID of the logged model associated with the metric, if applicable optional string model_id = 7 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- The modelId.
 
 - 
getModelIdBytescom.google.protobuf.ByteString getModelIdBytes() ID of the logged model associated with the metric, if applicable optional string model_id = 7 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- The bytes for modelId.
 
 - 
hasDatasetNameboolean hasDatasetName() The name of the dataset associated with the metric. E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3” optional string dataset_name = 8 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- Whether the datasetName field is set.
 
 - 
getDatasetNamejava.lang.String getDatasetName() The name of the dataset associated with the metric. E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3” optional string dataset_name = 8 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- The datasetName.
 
 - 
getDatasetNameBytescom.google.protobuf.ByteString getDatasetNameBytes() The name of the dataset associated with the metric. E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3” optional string dataset_name = 8 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- The bytes for datasetName.
 
 - 
hasDatasetDigestboolean hasDatasetDigest() Dataset digest of the dataset associated with the metric, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name. optional string dataset_digest = 9 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- Whether the datasetDigest field is set.
 
 - 
getDatasetDigestjava.lang.String getDatasetDigest() Dataset digest of the dataset associated with the metric, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name. optional string dataset_digest = 9 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- The datasetDigest.
 
 - 
getDatasetDigestBytescom.google.protobuf.ByteString getDatasetDigestBytes() Dataset digest of the dataset associated with the metric, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name. optional string dataset_digest = 9 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- The bytes for datasetDigest.
 
 
- 
 
-