Package org.mlflow.api.proto
Interface Service.GetMetricHistoryOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Service.GetMetricHistory
,Service.GetMetricHistory.Builder
- Enclosing class:
Service
public static interface Service.GetMetricHistoryOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionint
Maximum number of logged instances of a metric for a run to return per call.Name of the metric.com.google.protobuf.ByteString
Name of the metric.Token indicating the page of metric history to fetchcom.google.protobuf.ByteString
Token indicating the page of metric history to fetchgetRunId()
ID of the run from which to fetch metric values.com.google.protobuf.ByteString
ID of the run from which to fetch metric values.[Deprecated, use run_id instead] ID of the run from which to fetch metric values.com.google.protobuf.ByteString
[Deprecated, use run_id instead] ID of the run from which to fetch metric values.boolean
Maximum number of logged instances of a metric for a run to return per call.boolean
Name of the metric.boolean
Token indicating the page of metric history to fetchboolean
hasRunId()
ID of the run from which to fetch metric values.boolean
[Deprecated, use run_id instead] ID of the run from which to fetch metric values.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 from which to fetch metric values. Must be provided.
optional string run_id = 3;
- Returns:
- Whether the runId field is set.
-
getRunId
String getRunId()ID of the run from which to fetch metric values. Must be provided.
optional string run_id = 3;
- Returns:
- The runId.
-
getRunIdBytes
com.google.protobuf.ByteString getRunIdBytes()ID of the run from which to fetch metric values. Must be provided.
optional string run_id = 3;
- Returns:
- The bytes for runId.
-
hasRunUuid
boolean hasRunUuid()[Deprecated, use run_id instead] ID of the run from which to fetch metric values. 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 from which to fetch metric values. 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 from which to fetch metric values. This field will be removed in a future MLflow version.
optional string run_uuid = 1;
- Returns:
- The bytes for runUuid.
-
hasMetricKey
boolean hasMetricKey()Name of the metric.
optional string metric_key = 2 [(.mlflow.validate_required) = true];
- Returns:
- Whether the metricKey field is set.
-
getMetricKey
String getMetricKey()Name of the metric.
optional string metric_key = 2 [(.mlflow.validate_required) = true];
- Returns:
- The metricKey.
-
getMetricKeyBytes
com.google.protobuf.ByteString getMetricKeyBytes()Name of the metric.
optional string metric_key = 2 [(.mlflow.validate_required) = true];
- Returns:
- The bytes for metricKey.
-
hasPageToken
boolean hasPageToken()Token indicating the page of metric history to fetch
optional string page_token = 4;
- Returns:
- Whether the pageToken field is set.
-
getPageToken
String getPageToken()Token indicating the page of metric history to fetch
optional string page_token = 4;
- Returns:
- The pageToken.
-
getPageTokenBytes
com.google.protobuf.ByteString getPageTokenBytes()Token indicating the page of metric history to fetch
optional string page_token = 4;
- Returns:
- The bytes for pageToken.
-
hasMaxResults
boolean hasMaxResults()Maximum number of logged instances of a metric for a run to return per call. Backend servers may restrict the value of `max_results` depending on performance requirements. Requests that do not specify this value will behave as non-paginated queries where all metric history values for a given metric within a run are returned in a single response.
optional int32 max_results = 5;
- Returns:
- Whether the maxResults field is set.
-
getMaxResults
int getMaxResults()Maximum number of logged instances of a metric for a run to return per call. Backend servers may restrict the value of `max_results` depending on performance requirements. Requests that do not specify this value will behave as non-paginated queries where all metric history values for a given metric within a run are returned in a single response.
optional int32 max_results = 5;
- Returns:
- The maxResults.
-