Package org.mlflow.api.proto
Class Service.GetMetricHistoryBulkInterval.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistoryBulkInterval.Builder>
-
- org.mlflow.api.proto.Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkIntervalOrBuilder
- Enclosing class:
- Service.GetMetricHistoryBulkInterval
public static final class Service.GetMetricHistoryBulkInterval.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistoryBulkInterval.Builder> implements Service.GetMetricHistoryBulkIntervalOrBuilder
Protobuf typemlflow.GetMetricHistoryBulkInterval
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Service.GetMetricHistoryBulkInterval.BuilderaddAllRunIds(java.lang.Iterable<java.lang.String> values)ID(s) of the run(s) from which to fetch metric values.Service.GetMetricHistoryBulkInterval.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Service.GetMetricHistoryBulkInterval.BuilderaddRunIds(java.lang.String value)ID(s) of the run(s) from which to fetch metric values.Service.GetMetricHistoryBulkInterval.BuilderaddRunIdsBytes(com.google.protobuf.ByteString value)ID(s) of the run(s) from which to fetch metric values.Service.GetMetricHistoryBulkIntervalbuild()Service.GetMetricHistoryBulkIntervalbuildPartial()Service.GetMetricHistoryBulkInterval.Builderclear()Service.GetMetricHistoryBulkInterval.BuilderclearEndStep()Optional end step to only fetch metrics before the specified step.Service.GetMetricHistoryBulkInterval.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Service.GetMetricHistoryBulkInterval.BuilderclearMaxResults()Maximum number of results to fetch per run specified.Service.GetMetricHistoryBulkInterval.BuilderclearMetricKey()Name of the metric.Service.GetMetricHistoryBulkInterval.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Service.GetMetricHistoryBulkInterval.BuilderclearRunIds()ID(s) of the run(s) from which to fetch metric values.Service.GetMetricHistoryBulkInterval.BuilderclearStartStep()Optional start step to only fetch metrics after the specified step.Service.GetMetricHistoryBulkInterval.Builderclone()Service.GetMetricHistoryBulkIntervalgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()intgetEndStep()Optional end step to only fetch metrics before the specified step.intgetMaxResults()Maximum number of results to fetch per run specified.java.lang.StringgetMetricKey()Name of the metric.com.google.protobuf.ByteStringgetMetricKeyBytes()Name of the metric.java.lang.StringgetRunIds(int index)ID(s) of the run(s) from which to fetch metric values.com.google.protobuf.ByteStringgetRunIdsBytes(int index)ID(s) of the run(s) from which to fetch metric values.intgetRunIdsCount()ID(s) of the run(s) from which to fetch metric values.com.google.protobuf.ProtocolStringListgetRunIdsList()ID(s) of the run(s) from which to fetch metric values.intgetStartStep()Optional start step to only fetch metrics after the specified step.booleanhasEndStep()Optional end step to only fetch metrics before the specified step.booleanhasMaxResults()Maximum number of results to fetch per run specified.booleanhasMetricKey()Name of the metric.booleanhasStartStep()Optional start step to only fetch metrics after the specified step.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Service.GetMetricHistoryBulkInterval.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Service.GetMetricHistoryBulkInterval.BuildermergeFrom(com.google.protobuf.Message other)Service.GetMetricHistoryBulkInterval.BuildermergeFrom(Service.GetMetricHistoryBulkInterval other)Service.GetMetricHistoryBulkInterval.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Service.GetMetricHistoryBulkInterval.BuildersetEndStep(int value)Optional end step to only fetch metrics before the specified step.Service.GetMetricHistoryBulkInterval.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Service.GetMetricHistoryBulkInterval.BuildersetMaxResults(int value)Maximum number of results to fetch per run specified.Service.GetMetricHistoryBulkInterval.BuildersetMetricKey(java.lang.String value)Name of the metric.Service.GetMetricHistoryBulkInterval.BuildersetMetricKeyBytes(com.google.protobuf.ByteString value)Name of the metric.Service.GetMetricHistoryBulkInterval.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Service.GetMetricHistoryBulkInterval.BuildersetRunIds(int index, java.lang.String value)ID(s) of the run(s) from which to fetch metric values.Service.GetMetricHistoryBulkInterval.BuildersetStartStep(int value)Optional start step to only fetch metrics after the specified step.Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-
clear
public Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-
getDefaultInstanceForType
public Service.GetMetricHistoryBulkInterval getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.GetMetricHistoryBulkInterval build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.GetMetricHistoryBulkInterval buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-
setField
public Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-
clearField
public Service.GetMetricHistoryBulkInterval.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistoryBulkInterval.Builder>
-
clearOneof
public Service.GetMetricHistoryBulkInterval.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistoryBulkInterval.Builder>
-
setRepeatedField
public Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-
addRepeatedField
public Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-
mergeFrom
public Service.GetMetricHistoryBulkInterval.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.GetMetricHistoryBulkInterval.Builder>
-
mergeFrom
public Service.GetMetricHistoryBulkInterval.Builder mergeFrom(Service.GetMetricHistoryBulkInterval other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistoryBulkInterval.Builder>
-
mergeFrom
public Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>- Throws:
java.io.IOException
-
getRunIdsList
public com.google.protobuf.ProtocolStringList getRunIdsList()
ID(s) of the run(s) from which to fetch metric values. Must be provided.
repeated string run_ids = 1;- Specified by:
getRunIdsListin interfaceService.GetMetricHistoryBulkIntervalOrBuilder- Returns:
- A list containing the runIds.
-
getRunIdsCount
public int getRunIdsCount()
ID(s) of the run(s) from which to fetch metric values. Must be provided.
repeated string run_ids = 1;- Specified by:
getRunIdsCountin interfaceService.GetMetricHistoryBulkIntervalOrBuilder- Returns:
- The count of runIds.
-
getRunIds
public java.lang.String getRunIds(int index)
ID(s) of the run(s) from which to fetch metric values. Must be provided.
repeated string run_ids = 1;- Specified by:
getRunIdsin interfaceService.GetMetricHistoryBulkIntervalOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The runIds at the given index.
-
getRunIdsBytes
public com.google.protobuf.ByteString getRunIdsBytes(int index)
ID(s) of the run(s) from which to fetch metric values. Must be provided.
repeated string run_ids = 1;- Specified by:
getRunIdsBytesin interfaceService.GetMetricHistoryBulkIntervalOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the runIds at the given index.
-
setRunIds
public Service.GetMetricHistoryBulkInterval.Builder setRunIds(int index, java.lang.String value)
ID(s) of the run(s) from which to fetch metric values. Must be provided.
repeated string run_ids = 1;- Parameters:
index- The index to set the value at.value- The runIds to set.- Returns:
- This builder for chaining.
-
addRunIds
public Service.GetMetricHistoryBulkInterval.Builder addRunIds(java.lang.String value)
ID(s) of the run(s) from which to fetch metric values. Must be provided.
repeated string run_ids = 1;- Parameters:
value- The runIds to add.- Returns:
- This builder for chaining.
-
addAllRunIds
public Service.GetMetricHistoryBulkInterval.Builder addAllRunIds(java.lang.Iterable<java.lang.String> values)
ID(s) of the run(s) from which to fetch metric values. Must be provided.
repeated string run_ids = 1;- Parameters:
values- The runIds to add.- Returns:
- This builder for chaining.
-
clearRunIds
public Service.GetMetricHistoryBulkInterval.Builder clearRunIds()
ID(s) of the run(s) from which to fetch metric values. Must be provided.
repeated string run_ids = 1;- Returns:
- This builder for chaining.
-
addRunIdsBytes
public Service.GetMetricHistoryBulkInterval.Builder addRunIdsBytes(com.google.protobuf.ByteString value)
ID(s) of the run(s) from which to fetch metric values. Must be provided.
repeated string run_ids = 1;- Parameters:
value- The bytes of the runIds to add.- 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.GetMetricHistoryBulkIntervalOrBuilder- 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.GetMetricHistoryBulkIntervalOrBuilder- 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.GetMetricHistoryBulkIntervalOrBuilder- Returns:
- The bytes for metricKey.
-
setMetricKey
public Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder clearMetricKey()
Name of the metric.
optional string metric_key = 2 [(.mlflow.validate_required) = true];- Returns:
- This builder for chaining.
-
setMetricKeyBytes
public Service.GetMetricHistoryBulkInterval.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.
-
hasStartStep
public boolean hasStartStep()
Optional start step to only fetch metrics after the specified step. Must be defined if end_step is defined.
optional int32 start_step = 3;- Specified by:
hasStartStepin interfaceService.GetMetricHistoryBulkIntervalOrBuilder- Returns:
- Whether the startStep field is set.
-
getStartStep
public int getStartStep()
Optional start step to only fetch metrics after the specified step. Must be defined if end_step is defined.
optional int32 start_step = 3;- Specified by:
getStartStepin interfaceService.GetMetricHistoryBulkIntervalOrBuilder- Returns:
- The startStep.
-
setStartStep
public Service.GetMetricHistoryBulkInterval.Builder setStartStep(int value)
Optional start step to only fetch metrics after the specified step. Must be defined if end_step is defined.
optional int32 start_step = 3;- Parameters:
value- The startStep to set.- Returns:
- This builder for chaining.
-
clearStartStep
public Service.GetMetricHistoryBulkInterval.Builder clearStartStep()
Optional start step to only fetch metrics after the specified step. Must be defined if end_step is defined.
optional int32 start_step = 3;- Returns:
- This builder for chaining.
-
hasEndStep
public boolean hasEndStep()
Optional end step to only fetch metrics before the specified step. Must be defined if start_step is defined.
optional int32 end_step = 4;- Specified by:
hasEndStepin interfaceService.GetMetricHistoryBulkIntervalOrBuilder- Returns:
- Whether the endStep field is set.
-
getEndStep
public int getEndStep()
Optional end step to only fetch metrics before the specified step. Must be defined if start_step is defined.
optional int32 end_step = 4;- Specified by:
getEndStepin interfaceService.GetMetricHistoryBulkIntervalOrBuilder- Returns:
- The endStep.
-
setEndStep
public Service.GetMetricHistoryBulkInterval.Builder setEndStep(int value)
Optional end step to only fetch metrics before the specified step. Must be defined if start_step is defined.
optional int32 end_step = 4;- Parameters:
value- The endStep to set.- Returns:
- This builder for chaining.
-
clearEndStep
public Service.GetMetricHistoryBulkInterval.Builder clearEndStep()
Optional end step to only fetch metrics before the specified step. Must be defined if start_step is defined.
optional int32 end_step = 4;- Returns:
- This builder for chaining.
-
hasMaxResults
public boolean hasMaxResults()
Maximum number of results to fetch per run specified. Must be set to a positive number. Note, in reality, the API returns at most (max_results + # of run IDs) x (# run IDs) metric data points.
optional int32 max_results = 5;- Specified by:
hasMaxResultsin interfaceService.GetMetricHistoryBulkIntervalOrBuilder- Returns:
- Whether the maxResults field is set.
-
getMaxResults
public int getMaxResults()
Maximum number of results to fetch per run specified. Must be set to a positive number. Note, in reality, the API returns at most (max_results + # of run IDs) x (# run IDs) metric data points.
optional int32 max_results = 5;- Specified by:
getMaxResultsin interfaceService.GetMetricHistoryBulkIntervalOrBuilder- Returns:
- The maxResults.
-
setMaxResults
public Service.GetMetricHistoryBulkInterval.Builder setMaxResults(int value)
Maximum number of results to fetch per run specified. Must be set to a positive number. Note, in reality, the API returns at most (max_results + # of run IDs) x (# run IDs) metric data points.
optional int32 max_results = 5;- Parameters:
value- The maxResults to set.- Returns:
- This builder for chaining.
-
clearMaxResults
public Service.GetMetricHistoryBulkInterval.Builder clearMaxResults()
Maximum number of results to fetch per run specified. Must be set to a positive number. Note, in reality, the API returns at most (max_results + # of run IDs) x (# run IDs) metric data points.
optional int32 max_results = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.GetMetricHistoryBulkInterval.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistoryBulkInterval.Builder>
-
mergeUnknownFields
public final Service.GetMetricHistoryBulkInterval.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistoryBulkInterval.Builder>
-
-