Package org.mlflow.api.proto
Class Service.GetMetricHistory.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.GetMetricHistory.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
org.mlflow.api.proto.Service.GetMetricHistory.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.GetMetricHistoryOrBuilder
- Enclosing class:
Service.GetMetricHistory
public static final class Service.GetMetricHistory.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
implements Service.GetMetricHistoryOrBuilder
Protobuf type
mlflow.GetMetricHistory
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Maximum number of logged instances of a metric for a run to return per call.Name of the metric.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Token indicating the page of metric history to fetchID of the run from which to fetch metric values.[Deprecated, use run_id instead] ID of the run from which to fetch metric values.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setMaxResults
(int value) Maximum number of logged instances of a metric for a run to return per call.setMetricKey
(String value) Name of the metric.setMetricKeyBytes
(com.google.protobuf.ByteString value) Name of the metric.setPageToken
(String value) Token indicating the page of metric history to fetchsetPageTokenBytes
(com.google.protobuf.ByteString value) Token indicating the page of metric history to fetchsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) ID of the run from which to fetch metric values.setRunIdBytes
(com.google.protobuf.ByteString value) ID of the run from which to fetch metric values.setRunUuid
(String value) [Deprecated, use run_id instead] ID of the run from which to fetch metric values.setRunUuidBytes
(com.google.protobuf.ByteString value) [Deprecated, use run_id instead] ID of the run from which to fetch metric values.setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
-
setField
public Service.GetMetricHistory.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
-
clearField
public Service.GetMetricHistory.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
-
clearOneof
public Service.GetMetricHistory.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
-
setRepeatedField
public Service.GetMetricHistory.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
-
addRepeatedField
public Service.GetMetricHistory.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.GetMetricHistory.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
-
mergeFrom
public Service.GetMetricHistory.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.GetMetricHistory.Builder>
- Throws:
IOException
-
hasRunId
public boolean hasRunId()ID of the run from which to fetch metric values. Must be provided.
optional string run_id = 3;
- Specified by:
hasRunId
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- Whether the runId field is set.
-
getRunId
ID of the run from which to fetch metric values. Must be provided.
optional string run_id = 3;
- Specified by:
getRunId
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()ID of the run from which to fetch metric values. Must be provided.
optional string run_id = 3;
- Specified by:
getRunIdBytes
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- The bytes for runId.
-
setRunId
ID of the run from which to fetch metric values. Must be provided.
optional string run_id = 3;
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
ID of the run from which to fetch metric values. Must be provided.
optional string run_id = 3;
- Returns:
- This builder for chaining.
-
setRunIdBytes
ID of the run from which to fetch metric values. Must be provided.
optional string run_id = 3;
- Parameters:
value
- The bytes for runId to set.- Returns:
- This builder for chaining.
-
hasRunUuid
public 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;
- Specified by:
hasRunUuid
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- Whether the runUuid field is set.
-
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;
- Specified by:
getRunUuid
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- The runUuid.
-
getRunUuidBytes
public 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;
- Specified by:
getRunUuidBytes
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- The bytes for runUuid.
-
setRunUuid
[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;
- Parameters:
value
- The runUuid to set.- Returns:
- This builder for chaining.
-
clearRunUuid
[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:
- This builder for chaining.
-
setRunUuidBytes
[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;
- Parameters:
value
- The bytes for runUuid to set.- Returns:
- This builder for chaining.
-
hasMetricKey
public boolean hasMetricKey()Name of the metric.
optional string metric_key = 2 [(.mlflow.validate_required) = true];
- Specified by:
hasMetricKey
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- Whether the metricKey field is set.
-
getMetricKey
Name of the metric.
optional string metric_key = 2 [(.mlflow.validate_required) = true];
- Specified by:
getMetricKey
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- The metricKey.
-
getMetricKeyBytes
public com.google.protobuf.ByteString getMetricKeyBytes()Name of the metric.
optional string metric_key = 2 [(.mlflow.validate_required) = true];
- Specified by:
getMetricKeyBytes
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- The bytes for metricKey.
-
setMetricKey
Name of the metric.
optional string metric_key = 2 [(.mlflow.validate_required) = true];
- Parameters:
value
- The metricKey to set.- Returns:
- This builder for chaining.
-
clearMetricKey
Name of the metric.
optional string metric_key = 2 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setMetricKeyBytes
Name of the metric.
optional string metric_key = 2 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for metricKey to set.- Returns:
- This builder for chaining.
-
hasPageToken
public boolean hasPageToken()Token indicating the page of metric history to fetch
optional string page_token = 4;
- Specified by:
hasPageToken
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- Whether the pageToken field is set.
-
getPageToken
Token indicating the page of metric history to fetch
optional string page_token = 4;
- Specified by:
getPageToken
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Token indicating the page of metric history to fetch
optional string page_token = 4;
- Specified by:
getPageTokenBytes
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- The bytes for pageToken.
-
setPageToken
Token indicating the page of metric history to fetch
optional string page_token = 4;
- Parameters:
value
- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
Token indicating the page of metric history to fetch
optional string page_token = 4;
- Returns:
- This builder for chaining.
-
setPageTokenBytes
Token indicating the page of metric history to fetch
optional string page_token = 4;
- Parameters:
value
- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
hasMaxResults
public 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;
- Specified by:
hasMaxResults
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- Whether the maxResults field is set.
-
getMaxResults
public 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;
- Specified by:
getMaxResults
in interfaceService.GetMetricHistoryOrBuilder
- Returns:
- The maxResults.
-
setMaxResults
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;
- Parameters:
value
- The maxResults to set.- Returns:
- This builder for chaining.
-
clearMaxResults
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:
- This builder for chaining.
-
setUnknownFields
public final Service.GetMetricHistory.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
-
mergeUnknownFields
public final Service.GetMetricHistory.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
-