Package org.mlflow.api.proto
Interface Service.MetricOrBuilder
- 
- All Superinterfaces:
- com.google.protobuf.MessageLiteOrBuilder,- com.google.protobuf.MessageOrBuilder
 - All Known Implementing Classes:
- Service.Metric,- Service.Metric.Builder
 - Enclosing class:
- Service
 
 public static interface Service.MetricOrBuilder 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()Key identifying this metric.com.google.protobuf.ByteStringgetKeyBytes()Key identifying this metric.java.lang.StringgetModelId()The ID of the LoggedModel or Registered Model Version associated with the metric, if applicable.com.google.protobuf.ByteStringgetModelIdBytes()The ID of the LoggedModel or Registered Model Version associated with the metric, if applicable.java.lang.StringgetRunId()The ID of the run containing the metric.com.google.protobuf.ByteStringgetRunIdBytes()The ID of the run containing the metric.longgetStep()Step at which to log the metric.longgetTimestamp()The timestamp at which this metric was recorded.doublegetValue()Value associated with this metric.booleanhasDatasetDigest()Dataset digest of the dataset associated with the metric, e.g.booleanhasDatasetName()The name of the dataset associated with the metric.booleanhasKey()Key identifying this metric.booleanhasModelId()The ID of the LoggedModel or Registered Model Version associated with the metric, if applicable.booleanhasRunId()The ID of the run containing the metric.booleanhasStep()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.MessageOrBuilderfindInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
 
- 
 
- 
- 
- 
Method Detail- 
hasKeyboolean hasKey() Key identifying this metric. optional string key = 1;- Returns:
- Whether the key field is set.
 
 - 
getKeyjava.lang.String getKey() Key identifying this metric. optional string key = 1;- Returns:
- The key.
 
 - 
getKeyBytescom.google.protobuf.ByteString getKeyBytes() Key identifying this metric. optional string key = 1;- Returns:
- The bytes for key.
 
 - 
hasValueboolean hasValue() Value associated with this metric. optional double value = 2;- Returns:
- Whether the value field is set.
 
 - 
getValuedouble getValue() Value associated with this metric. optional double value = 2;- Returns:
- The value.
 
 - 
hasTimestampboolean hasTimestamp() The timestamp at which this metric was recorded. optional int64 timestamp = 3;- Returns:
- Whether the timestamp field is set.
 
 - 
getTimestamplong getTimestamp() The timestamp at which this metric was recorded. optional int64 timestamp = 3;- Returns:
- The timestamp.
 
 - 
hasStepboolean hasStep() Step at which to log the metric. optional int64 step = 4 [default = 0];- Returns:
- Whether the step field is set.
 
 - 
getSteplong getStep() Step at which to log the metric. optional int64 step = 4 [default = 0];- Returns:
- The step.
 
 - 
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 = 5 [(.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 = 5 [(.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 = 5 [(.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 = 6 [(.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 = 6 [(.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 = 6 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- The bytes for datasetDigest.
 
 - 
hasModelIdboolean hasModelId() The ID of the LoggedModel or Registered Model Version 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() The ID of the LoggedModel or Registered Model Version associated with the metric, if applicable. optional string model_id = 7 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- The modelId.
 
 - 
getModelIdBytescom.google.protobuf.ByteString getModelIdBytes() The ID of the LoggedModel or Registered Model Version associated with the metric, if applicable. optional string model_id = 7 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- The bytes for modelId.
 
 - 
hasRunIdboolean hasRunId() The ID of the run containing the metric. optional string run_id = 8 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- Whether the runId field is set.
 
 - 
getRunIdjava.lang.String getRunId() The ID of the run containing the metric. optional string run_id = 8 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- The runId.
 
 - 
getRunIdBytescom.google.protobuf.ByteString getRunIdBytes() The ID of the run containing the metric. optional string run_id = 8 [(.mlflow.visibility) = PUBLIC_UNDOCUMENTED];- Returns:
- The bytes for runId.
 
 
- 
 
-