Package org.mlflow.api.proto
Class Service.GetMetricHistoryBulkInterval.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.GetMetricHistoryBulkInterval.Builder>
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.Descriptor
com.google.protobuf.Descriptors.Descriptor
int
Optional end step to only fetch metrics before the specified step.int
Maximum number of results to fetch per run specified.Name of the metric.com.google.protobuf.ByteString
Name of the metric.getRunIds
(int index) ID(s) of the run(s) from which to fetch metric values.com.google.protobuf.ByteString
getRunIdsBytes
(int index) ID(s) of the run(s) from which to fetch metric values.int
ID(s) of the run(s) from which to fetch metric values.com.google.protobuf.ProtocolStringList
ID(s) of the run(s) from which to fetch metric values.int
Optional start step to only fetch metrics after the specified step.boolean
Optional end step to only fetch metrics before the specified step.boolean
Maximum number of results to fetch per run specified.boolean
Name of the metric.boolean
Optional start step to only fetch metrics after the specified step.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) 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, 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.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-
setField
public Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-
clearField
public Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-
clearOneof
public Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-
setRepeatedField
public Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-
addRepeatedField
public Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.GetMetricHistoryBulkInterval.Builder>
-
mergeFrom
public Service.GetMetricHistoryBulkInterval.Builder mergeFrom(Service.GetMetricHistoryBulkInterval other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.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:
getRunIdsList
in 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:
getRunIdsCount
in 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:
getRunIds
in 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:
getRunIdsBytes
in 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:
hasMetricKey
in 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:
getMetricKey
in 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:
getMetricKeyBytes
in 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:
hasStartStep
in 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:
getStartStep
in 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:
hasEndStep
in 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:
getEndStep
in 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:
hasMaxResults
in 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:
getMaxResults
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistoryBulkInterval.Builder>
-
mergeUnknownFields
public final Service.GetMetricHistoryBulkInterval.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.GetMetricHistoryBulkInterval.Builder>
-