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,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 type
mlflow.GetMetricHistoryBulkInterval-
Method Summary
Modifier and TypeMethodDescriptionaddAllRunIds(Iterable<String> values) ID(s) of the run(s) from which to fetch metric values.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) ID(s) of the run(s) from which to fetch metric values.addRunIdsBytes(com.google.protobuf.ByteString value) ID(s) of the run(s) from which to fetch metric values.build()clear()Optional end step to only fetch metrics before the specified step.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Maximum number of results to fetch per run specified.Name of the metric.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) ID(s) of the run(s) from which to fetch metric values.Optional start step to only fetch metrics after the specified step.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorintOptional end step to only fetch metrics before the specified step.intMaximum number of results to fetch per run specified.Name of the metric.com.google.protobuf.ByteStringName of the metric.getRunIds(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.intID(s) of the run(s) from which to fetch metric values.com.google.protobuf.ProtocolStringListID(s) of the run(s) from which to fetch metric values.intOptional start step to only fetch metrics after the specified step.booleanOptional end step to only fetch metrics before the specified step.booleanMaximum number of results to fetch per run specified.booleanName of the metric.booleanOptional start step to only fetch metrics after the specified step.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setEndStep(int value) Optional end step to only fetch metrics before the specified step.setMaxResults(int value) Maximum number of results to fetch per run specified.setMetricKey(String value) Name of the metric.setMetricKeyBytes(com.google.protobuf.ByteString value) Name of the metric.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) ID(s) of the run(s) from which to fetch metric values.setStartStep(int value) Optional start step to only fetch metrics after the specified step.setUnknownFields(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, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<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
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.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, 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, 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, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistoryBulkInterval.Builder>
-
mergeFrom
- 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 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:
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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>
-