Package org.mlflow.api.proto
Class Service.GetMetricHistory.Builder
- java.lang.Object
 - 
- com.google.protobuf.AbstractMessageLite.Builder
 - 
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
 - 
- 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,java.lang.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 typemlflow.GetMetricHistory 
- 
- 
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Service.GetMetricHistory.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Service.GetMetricHistorybuild()Service.GetMetricHistorybuildPartial()Service.GetMetricHistory.Builderclear()Service.GetMetricHistory.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Service.GetMetricHistory.BuilderclearMaxResults()Maximum number of logged instances of a metric for a run to return per call.Service.GetMetricHistory.BuilderclearMetricKey()Name of the metric.Service.GetMetricHistory.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Service.GetMetricHistory.BuilderclearPageToken()Token indicating the page of metric history to fetchService.GetMetricHistory.BuilderclearRunId()ID of the run from which to fetch metric values.Service.GetMetricHistory.BuilderclearRunUuid()[Deprecated, use run_id instead] ID of the run from which to fetch metric values.Service.GetMetricHistory.Builderclone()Service.GetMetricHistorygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetMaxResults()Maximum number of logged instances of a metric for a run to return per call.java.lang.StringgetMetricKey()Name of the metric.com.google.protobuf.ByteStringgetMetricKeyBytes()Name of the metric.java.lang.StringgetPageToken()Token indicating the page of metric history to fetchcom.google.protobuf.ByteStringgetPageTokenBytes()Token indicating the page of metric history to fetchjava.lang.StringgetRunId()ID of the run from which to fetch metric values.com.google.protobuf.ByteStringgetRunIdBytes()ID of the run from which to fetch metric values.java.lang.StringgetRunUuid()[Deprecated, use run_id instead] ID of the run from which to fetch metric values.com.google.protobuf.ByteStringgetRunUuidBytes()[Deprecated, use run_id instead] ID of the run from which to fetch metric values.booleanhasMaxResults()Maximum number of logged instances of a metric for a run to return per call.booleanhasMetricKey()Name of the metric.booleanhasPageToken()Token indicating the page of metric history to fetchbooleanhasRunId()ID of the run from which to fetch metric values.booleanhasRunUuid()[Deprecated, use run_id instead] ID of the run from which to fetch metric values.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Service.GetMetricHistory.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Service.GetMetricHistory.BuildermergeFrom(com.google.protobuf.Message other)Service.GetMetricHistory.BuildermergeFrom(Service.GetMetricHistory other)Service.GetMetricHistory.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Service.GetMetricHistory.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Service.GetMetricHistory.BuildersetMaxResults(int value)Maximum number of logged instances of a metric for a run to return per call.Service.GetMetricHistory.BuildersetMetricKey(java.lang.String value)Name of the metric.Service.GetMetricHistory.BuildersetMetricKeyBytes(com.google.protobuf.ByteString value)Name of the metric.Service.GetMetricHistory.BuildersetPageToken(java.lang.String value)Token indicating the page of metric history to fetchService.GetMetricHistory.BuildersetPageTokenBytes(com.google.protobuf.ByteString value)Token indicating the page of metric history to fetchService.GetMetricHistory.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Service.GetMetricHistory.BuildersetRunId(java.lang.String value)ID of the run from which to fetch metric values.Service.GetMetricHistory.BuildersetRunIdBytes(com.google.protobuf.ByteString value)ID of the run from which to fetch metric values.Service.GetMetricHistory.BuildersetRunUuid(java.lang.String value)[Deprecated, use run_id instead] ID of the run from which to fetch metric values.Service.GetMetricHistory.BuildersetRunUuidBytes(com.google.protobuf.ByteString value)[Deprecated, use run_id instead] ID of the run from which to fetch metric values.Service.GetMetricHistory.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- 
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
 
- 
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
 internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
- 
clear
public Service.GetMetricHistory.Builder clear()
- Specified by:
 clearin interfacecom.google.protobuf.Message.Builder- Specified by:
 clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
 clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
- 
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
 getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
 getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
 getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
- 
getDefaultInstanceForType
public Service.GetMetricHistory getDefaultInstanceForType()
- Specified by:
 getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
 getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
 
- 
build
public Service.GetMetricHistory build()
- Specified by:
 buildin interfacecom.google.protobuf.Message.Builder- Specified by:
 buildin interfacecom.google.protobuf.MessageLite.Builder
 
- 
buildPartial
public Service.GetMetricHistory buildPartial()
- Specified by:
 buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
 buildPartialin interfacecom.google.protobuf.MessageLite.Builder
 
- 
clone
public Service.GetMetricHistory.Builder clone()
- Specified by:
 clonein interfacecom.google.protobuf.Message.Builder- Specified by:
 clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
 clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
- 
setField
public Service.GetMetricHistory.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
 setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
 setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
- 
clearField
public Service.GetMetricHistory.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
 clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
 clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
- 
clearOneof
public Service.GetMetricHistory.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
 clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
 clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
- 
setRepeatedField
public Service.GetMetricHistory.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
 setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
 setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
- 
addRepeatedField
public Service.GetMetricHistory.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
 addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
 addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
- 
mergeFrom
public Service.GetMetricHistory.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
 mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
 mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.GetMetricHistory.Builder>
 
- 
mergeFrom
public Service.GetMetricHistory.Builder mergeFrom(Service.GetMetricHistory other)
 
- 
isInitialized
public final boolean isInitialized()
- Specified by:
 isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
 isInitializedin 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 java.io.IOException
- Specified by:
 mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
 mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
 mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.GetMetricHistory.Builder>- Throws:
 java.io.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:
 hasRunIdin interfaceService.GetMetricHistoryOrBuilder- Returns:
 - Whether the runId field is set.
 
 
- 
getRunId
public java.lang.String getRunId()
ID of the run from which to fetch metric values. Must be provided.
optional string run_id = 3;- Specified by:
 getRunIdin 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:
 getRunIdBytesin interfaceService.GetMetricHistoryOrBuilder- Returns:
 - The bytes for runId.
 
 
- 
setRunId
public Service.GetMetricHistory.Builder setRunId(java.lang.String value)
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
public Service.GetMetricHistory.Builder 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
public Service.GetMetricHistory.Builder setRunIdBytes(com.google.protobuf.ByteString value)
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:
 hasRunUuidin interfaceService.GetMetricHistoryOrBuilder- Returns:
 - Whether the runUuid field is set.
 
 
- 
getRunUuid
public java.lang.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;- Specified by:
 getRunUuidin 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:
 getRunUuidBytesin interfaceService.GetMetricHistoryOrBuilder- Returns:
 - The bytes for runUuid.
 
 
- 
setRunUuid
public Service.GetMetricHistory.Builder setRunUuid(java.lang.String value)
[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
public Service.GetMetricHistory.Builder 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
public Service.GetMetricHistory.Builder setRunUuidBytes(com.google.protobuf.ByteString value)
[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:
 hasMetricKeyin interfaceService.GetMetricHistoryOrBuilder- Returns:
 - Whether the metricKey field is set.
 
 
- 
getMetricKey
public java.lang.String getMetricKey()
Name of the metric.
optional string metric_key = 2 [(.mlflow.validate_required) = true];- Specified by:
 getMetricKeyin 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:
 getMetricKeyBytesin interfaceService.GetMetricHistoryOrBuilder- Returns:
 - The bytes for metricKey.
 
 
- 
setMetricKey
public Service.GetMetricHistory.Builder setMetricKey(java.lang.String value)
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
public Service.GetMetricHistory.Builder clearMetricKey()
Name of the metric.
optional string metric_key = 2 [(.mlflow.validate_required) = true];- Returns:
 - This builder for chaining.
 
 
- 
setMetricKeyBytes
public Service.GetMetricHistory.Builder setMetricKeyBytes(com.google.protobuf.ByteString value)
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:
 hasPageTokenin interfaceService.GetMetricHistoryOrBuilder- Returns:
 - Whether the pageToken field is set.
 
 
- 
getPageToken
public java.lang.String getPageToken()
Token indicating the page of metric history to fetch
optional string page_token = 4;- Specified by:
 getPageTokenin 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:
 getPageTokenBytesin interfaceService.GetMetricHistoryOrBuilder- Returns:
 - The bytes for pageToken.
 
 
- 
setPageToken
public Service.GetMetricHistory.Builder setPageToken(java.lang.String value)
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
public Service.GetMetricHistory.Builder clearPageToken()
Token indicating the page of metric history to fetch
optional string page_token = 4;- Returns:
 - This builder for chaining.
 
 
- 
setPageTokenBytes
public Service.GetMetricHistory.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
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:
 hasMaxResultsin 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:
 getMaxResultsin interfaceService.GetMetricHistoryOrBuilder- Returns:
 - The maxResults.
 
 
- 
setMaxResults
public Service.GetMetricHistory.Builder setMaxResults(int value)
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
public Service.GetMetricHistory.Builder 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:
 setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
 setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
- 
mergeUnknownFields
public final Service.GetMetricHistory.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
 mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
 mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 - 
 
 -