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 SummaryAll 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.BuildergetAllFields, 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.BuilderfindInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
 - 
Methods inherited from class com.google.protobuf.AbstractMessageLite.BuilderaddAll, addAll, mergeFrom, newUninitializedMessageException
 
- 
 
- 
- 
- 
Method Detail- 
getDescriptorpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor() 
 - 
internalGetFieldAccessorTableprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() - Specified by:
- internalGetFieldAccessorTablein class- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 - 
clearpublic Service.GetMetricHistory.Builder clear() - Specified by:
- clearin interface- com.google.protobuf.Message.Builder
- Specified by:
- clearin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clearin class- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 - 
getDescriptorForTypepublic com.google.protobuf.Descriptors.Descriptor getDescriptorForType() - Specified by:
- getDescriptorForTypein interface- com.google.protobuf.Message.Builder
- Specified by:
- getDescriptorForTypein interface- com.google.protobuf.MessageOrBuilder
- Overrides:
- getDescriptorForTypein class- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 - 
getDefaultInstanceForTypepublic Service.GetMetricHistory getDefaultInstanceForType() - Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageLiteOrBuilder
- Specified by:
- getDefaultInstanceForTypein interface- com.google.protobuf.MessageOrBuilder
 
 - 
buildpublic Service.GetMetricHistory build() - Specified by:
- buildin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildin interface- com.google.protobuf.MessageLite.Builder
 
 - 
buildPartialpublic Service.GetMetricHistory buildPartial() - Specified by:
- buildPartialin interface- com.google.protobuf.Message.Builder
- Specified by:
- buildPartialin interface- com.google.protobuf.MessageLite.Builder
 
 - 
clonepublic Service.GetMetricHistory.Builder clone() - Specified by:
- clonein interface- com.google.protobuf.Message.Builder
- Specified by:
- clonein interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- clonein class- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 - 
setFieldpublic Service.GetMetricHistory.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) - Specified by:
- setFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- setFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 - 
clearFieldpublic Service.GetMetricHistory.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
- clearFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- clearFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 - 
clearOneofpublic Service.GetMetricHistory.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
- clearOneofin interface- com.google.protobuf.Message.Builder
- Overrides:
- clearOneofin class- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 - 
setRepeatedFieldpublic Service.GetMetricHistory.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) - Specified by:
- setRepeatedFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- setRepeatedFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 - 
addRepeatedFieldpublic Service.GetMetricHistory.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) - Specified by:
- addRepeatedFieldin interface- com.google.protobuf.Message.Builder
- Overrides:
- addRepeatedFieldin class- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 - 
mergeFrompublic Service.GetMetricHistory.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<Service.GetMetricHistory.Builder>
 
 - 
mergeFrompublic Service.GetMetricHistory.Builder mergeFrom(Service.GetMetricHistory other) 
 - 
isInitializedpublic final boolean isInitialized() - Specified by:
- isInitializedin interface- com.google.protobuf.MessageLiteOrBuilder
- Overrides:
- isInitializedin class- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 - 
mergeFrompublic Service.GetMetricHistory.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException - Specified by:
- mergeFromin interface- com.google.protobuf.Message.Builder
- Specified by:
- mergeFromin interface- com.google.protobuf.MessageLite.Builder
- Overrides:
- mergeFromin class- com.google.protobuf.AbstractMessage.Builder<Service.GetMetricHistory.Builder>
- Throws:
- java.io.IOException
 
 - 
hasRunIdpublic boolean hasRunId() ID of the run from which to fetch metric values. Must be provided. optional string run_id = 3;- Specified by:
- hasRunIdin interface- Service.GetMetricHistoryOrBuilder
- Returns:
- Whether the runId field is set.
 
 - 
getRunIdpublic 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 interface- Service.GetMetricHistoryOrBuilder
- Returns:
- The runId.
 
 - 
getRunIdBytespublic 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 interface- Service.GetMetricHistoryOrBuilder
- Returns:
- The bytes for runId.
 
 - 
setRunIdpublic 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.
 
 - 
clearRunIdpublic 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.
 
 - 
setRunIdBytespublic 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.
 
 - 
hasRunUuidpublic 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 interface- Service.GetMetricHistoryOrBuilder
- Returns:
- Whether the runUuid field is set.
 
 - 
getRunUuidpublic 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 interface- Service.GetMetricHistoryOrBuilder
- Returns:
- The runUuid.
 
 - 
getRunUuidBytespublic 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 interface- Service.GetMetricHistoryOrBuilder
- Returns:
- The bytes for runUuid.
 
 - 
setRunUuidpublic 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.
 
 - 
clearRunUuidpublic 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.
 
 - 
setRunUuidBytespublic 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.
 
 - 
hasMetricKeypublic boolean hasMetricKey() Name of the metric. optional string metric_key = 2 [(.mlflow.validate_required) = true];- Specified by:
- hasMetricKeyin interface- Service.GetMetricHistoryOrBuilder
- Returns:
- Whether the metricKey field is set.
 
 - 
getMetricKeypublic java.lang.String getMetricKey() Name of the metric. optional string metric_key = 2 [(.mlflow.validate_required) = true];- Specified by:
- getMetricKeyin interface- Service.GetMetricHistoryOrBuilder
- Returns:
- The metricKey.
 
 - 
getMetricKeyBytespublic com.google.protobuf.ByteString getMetricKeyBytes() Name of the metric. optional string metric_key = 2 [(.mlflow.validate_required) = true];- Specified by:
- getMetricKeyBytesin interface- Service.GetMetricHistoryOrBuilder
- Returns:
- The bytes for metricKey.
 
 - 
setMetricKeypublic 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.
 
 - 
clearMetricKeypublic Service.GetMetricHistory.Builder clearMetricKey() Name of the metric. optional string metric_key = 2 [(.mlflow.validate_required) = true];- Returns:
- This builder for chaining.
 
 - 
setMetricKeyBytespublic 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.
 
 - 
hasPageTokenpublic boolean hasPageToken() Token indicating the page of metric history to fetch optional string page_token = 4;- Specified by:
- hasPageTokenin interface- Service.GetMetricHistoryOrBuilder
- Returns:
- Whether the pageToken field is set.
 
 - 
getPageTokenpublic java.lang.String getPageToken() Token indicating the page of metric history to fetch optional string page_token = 4;- Specified by:
- getPageTokenin interface- Service.GetMetricHistoryOrBuilder
- Returns:
- The pageToken.
 
 - 
getPageTokenBytespublic com.google.protobuf.ByteString getPageTokenBytes() Token indicating the page of metric history to fetch optional string page_token = 4;- Specified by:
- getPageTokenBytesin interface- Service.GetMetricHistoryOrBuilder
- Returns:
- The bytes for pageToken.
 
 - 
setPageTokenpublic 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.
 
 - 
clearPageTokenpublic Service.GetMetricHistory.Builder clearPageToken() Token indicating the page of metric history to fetch optional string page_token = 4;- Returns:
- This builder for chaining.
 
 - 
setPageTokenBytespublic 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.
 
 - 
hasMaxResultspublic 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 interface- Service.GetMetricHistoryOrBuilder
- Returns:
- Whether the maxResults field is set.
 
 - 
getMaxResultspublic 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 interface- Service.GetMetricHistoryOrBuilder
- Returns:
- The maxResults.
 
 - 
setMaxResultspublic 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.
 
 - 
clearMaxResultspublic 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.
 
 - 
setUnknownFieldspublic final Service.GetMetricHistory.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
- setUnknownFieldsin interface- com.google.protobuf.Message.Builder
- Overrides:
- setUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 - 
mergeUnknownFieldspublic final Service.GetMetricHistory.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
- mergeUnknownFieldsin interface- com.google.protobuf.Message.Builder
- Overrides:
- mergeUnknownFieldsin class- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistory.Builder>
 
 
- 
 
-