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.Builder
addAllRunIds(java.lang.Iterable<java.lang.String> values)
ID(s) of the run(s) from which to fetch metric values.Service.GetMetricHistoryBulkInterval.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.GetMetricHistoryBulkInterval.Builder
addRunIds(java.lang.String value)
ID(s) of the run(s) from which to fetch metric values.Service.GetMetricHistoryBulkInterval.Builder
addRunIdsBytes(com.google.protobuf.ByteString value)
ID(s) of the run(s) from which to fetch metric values.Service.GetMetricHistoryBulkInterval
build()
Service.GetMetricHistoryBulkInterval
buildPartial()
Service.GetMetricHistoryBulkInterval.Builder
clear()
Service.GetMetricHistoryBulkInterval.Builder
clearEndStep()
Optional end step to only fetch metrics before the specified step.Service.GetMetricHistoryBulkInterval.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.GetMetricHistoryBulkInterval.Builder
clearMaxResults()
Maximum number of results to fetch per run specified.Service.GetMetricHistoryBulkInterval.Builder
clearMetricKey()
Name of the metric.Service.GetMetricHistoryBulkInterval.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.GetMetricHistoryBulkInterval.Builder
clearRunIds()
ID(s) of the run(s) from which to fetch metric values.Service.GetMetricHistoryBulkInterval.Builder
clearStartStep()
Optional start step to only fetch metrics after the specified step.Service.GetMetricHistoryBulkInterval.Builder
clone()
Service.GetMetricHistoryBulkInterval
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
int
getEndStep()
Optional end step to only fetch metrics before the specified step.int
getMaxResults()
Maximum number of results to fetch per run specified.java.lang.String
getMetricKey()
Name of the metric.com.google.protobuf.ByteString
getMetricKeyBytes()
Name of the metric.java.lang.String
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
getRunIdsCount()
ID(s) of the run(s) from which to fetch metric values.com.google.protobuf.ProtocolStringList
getRunIdsList()
ID(s) of the run(s) from which to fetch metric values.int
getStartStep()
Optional start step to only fetch metrics after the specified step.boolean
hasEndStep()
Optional end step to only fetch metrics before the specified step.boolean
hasMaxResults()
Maximum number of results to fetch per run specified.boolean
hasMetricKey()
Name of the metric.boolean
hasStartStep()
Optional start step to only fetch metrics after the specified step.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.GetMetricHistoryBulkInterval.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.GetMetricHistoryBulkInterval.Builder
mergeFrom(com.google.protobuf.Message other)
Service.GetMetricHistoryBulkInterval.Builder
mergeFrom(Service.GetMetricHistoryBulkInterval other)
Service.GetMetricHistoryBulkInterval.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.GetMetricHistoryBulkInterval.Builder
setEndStep(int value)
Optional end step to only fetch metrics before the specified step.Service.GetMetricHistoryBulkInterval.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.GetMetricHistoryBulkInterval.Builder
setMaxResults(int value)
Maximum number of results to fetch per run specified.Service.GetMetricHistoryBulkInterval.Builder
setMetricKey(java.lang.String value)
Name of the metric.Service.GetMetricHistoryBulkInterval.Builder
setMetricKeyBytes(com.google.protobuf.ByteString value)
Name of the metric.Service.GetMetricHistoryBulkInterval.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.GetMetricHistoryBulkInterval.Builder
setRunIds(int index, java.lang.String value)
ID(s) of the run(s) from which to fetch metric values.Service.GetMetricHistoryBulkInterval.Builder
setStartStep(int value)
Optional start step to only fetch metrics after the specified step.Service.GetMetricHistoryBulkInterval.Builder
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
-
-
-
-
Method Detail
-
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
public 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
public Service.GetMetricHistoryBulkInterval getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.GetMetricHistoryBulkInterval build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.GetMetricHistoryBulkInterval buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.GetMetricHistoryBulkInterval.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, java.lang.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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.GetMetricHistoryBulkInterval.Builder>
-
mergeFrom
public Service.GetMetricHistoryBulkInterval.Builder mergeFrom(com.google.protobuf.Message other)
- 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 java.io.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:
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:
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
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:
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
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:
hasMetricKey
in 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:
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
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:
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
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:
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
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:
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
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:
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>
-
-