Package org.mlflow.api.proto
Class Service.LogBatch.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.LogBatch.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>
org.mlflow.api.proto.Service.LogBatch.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.LogBatchOrBuilder
- Enclosing class:
Service.LogBatch
public static final class Service.LogBatch.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>
implements Service.LogBatchOrBuilder
Protobuf type
mlflow.LogBatch
-
Method Summary
Modifier and TypeMethodDescriptionaddAllMetrics
(Iterable<? extends Service.Metric> values) Metrics to log.addAllParams
(Iterable<? extends Service.Param> values) Params to log.addAllTags
(Iterable<? extends Service.RunTag> values) Tags to log.addMetrics
(int index, Service.Metric value) Metrics to log.addMetrics
(int index, Service.Metric.Builder builderForValue) Metrics to log.addMetrics
(Service.Metric value) Metrics to log.addMetrics
(Service.Metric.Builder builderForValue) Metrics to log.Metrics to log.addMetricsBuilder
(int index) Metrics to log.addParams
(int index, Service.Param value) Params to log.addParams
(int index, Service.Param.Builder builderForValue) Params to log.addParams
(Service.Param value) Params to log.addParams
(Service.Param.Builder builderForValue) Params to log.Params to log.addParamsBuilder
(int index) Params to log.addRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) addTags
(int index, Service.RunTag value) Tags to log.addTags
(int index, Service.RunTag.Builder builderForValue) Tags to log.addTags
(Service.RunTag value) Tags to log.addTags
(Service.RunTag.Builder builderForValue) Tags to log.Tags to log.addTagsBuilder
(int index) Tags to log.build()
clear()
clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Metrics to log.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) Params to log.ID of the run to log underTags to log.clone()
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getMetrics
(int index) Metrics to log.getMetricsBuilder
(int index) Metrics to log.Metrics to log.int
Metrics to log.Metrics to log.getMetricsOrBuilder
(int index) Metrics to log.List
<? extends Service.MetricOrBuilder> Metrics to log.getParams
(int index) Params to log.getParamsBuilder
(int index) Params to log.Params to log.int
Params to log.Params to log.getParamsOrBuilder
(int index) Params to log.List
<? extends Service.ParamOrBuilder> Params to log.getRunId()
ID of the run to log undercom.google.protobuf.ByteString
ID of the run to log undergetTags
(int index) Tags to log.getTagsBuilder
(int index) Tags to log.Tags to log.int
Tags to log.Tags to log.getTagsOrBuilder
(int index) Tags to log.List
<? extends Service.RunTagOrBuilder> Tags to log.boolean
hasRunId()
ID of the run to log underprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Service.LogBatch other) final Service.LogBatch.Builder
mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) removeMetrics
(int index) Metrics to log.removeParams
(int index) Params to log.removeTags
(int index) Tags to log.setMetrics
(int index, Service.Metric value) Metrics to log.setMetrics
(int index, Service.Metric.Builder builderForValue) Metrics to log.setParams
(int index, Service.Param value) Params to log.setParams
(int index, Service.Param.Builder builderForValue) Params to log.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) ID of the run to log undersetRunIdBytes
(com.google.protobuf.ByteString value) ID of the run to log undersetTags
(int index, Service.RunTag value) Tags to log.setTags
(int index, Service.RunTag.Builder builderForValue) Tags to log.final Service.LogBatch.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
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.LogBatch.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.LogBatch.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.LogBatch.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.LogBatch.Builder>
-
setField
public Service.LogBatch.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.LogBatch.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>
-
setRepeatedField
public Service.LogBatch.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.LogBatch.Builder>
-
addRepeatedField
public Service.LogBatch.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.LogBatch.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.LogBatch.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>
-
mergeFrom
public Service.LogBatch.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.LogBatch.Builder>
- Throws:
IOException
-
hasRunId
public boolean hasRunId()ID of the run to log under
optional string run_id = 1;
- Specified by:
hasRunId
in interfaceService.LogBatchOrBuilder
- Returns:
- Whether the runId field is set.
-
getRunId
ID of the run to log under
optional string run_id = 1;
- Specified by:
getRunId
in interfaceService.LogBatchOrBuilder
- Returns:
- The runId.
-
getRunIdBytes
public com.google.protobuf.ByteString getRunIdBytes()ID of the run to log under
optional string run_id = 1;
- Specified by:
getRunIdBytes
in interfaceService.LogBatchOrBuilder
- Returns:
- The bytes for runId.
-
setRunId
ID of the run to log under
optional string run_id = 1;
- Parameters:
value
- The runId to set.- Returns:
- This builder for chaining.
-
clearRunId
ID of the run to log under
optional string run_id = 1;
- Returns:
- This builder for chaining.
-
setRunIdBytes
ID of the run to log under
optional string run_id = 1;
- Parameters:
value
- The bytes for runId to set.- Returns:
- This builder for chaining.
-
getMetricsList
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
- Specified by:
getMetricsList
in interfaceService.LogBatchOrBuilder
-
getMetricsCount
public int getMetricsCount()Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
- Specified by:
getMetricsCount
in interfaceService.LogBatchOrBuilder
-
getMetrics
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
- Specified by:
getMetrics
in interfaceService.LogBatchOrBuilder
-
setMetrics
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
setMetrics
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
addMetrics
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
addMetrics
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
addMetrics
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
addMetrics
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
addAllMetrics
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
clearMetrics
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
removeMetrics
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
getMetricsBuilder
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
getMetricsOrBuilder
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
- Specified by:
getMetricsOrBuilder
in interfaceService.LogBatchOrBuilder
-
getMetricsOrBuilderList
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
- Specified by:
getMetricsOrBuilderList
in interfaceService.LogBatchOrBuilder
-
addMetricsBuilder
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
addMetricsBuilder
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
getMetricsBuilderList
Metrics to log. A single request can contain up to 1000 metrics, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Metric metrics = 2;
-
getParamsList
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
- Specified by:
getParamsList
in interfaceService.LogBatchOrBuilder
-
getParamsCount
public int getParamsCount()Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
- Specified by:
getParamsCount
in interfaceService.LogBatchOrBuilder
-
getParams
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
- Specified by:
getParams
in interfaceService.LogBatchOrBuilder
-
setParams
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
setParams
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
addParams
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
addParams
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
addParams
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
addParams
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
addAllParams
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
clearParams
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
removeParams
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
getParamsBuilder
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
getParamsOrBuilder
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
- Specified by:
getParamsOrBuilder
in interfaceService.LogBatchOrBuilder
-
getParamsOrBuilderList
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
- Specified by:
getParamsOrBuilderList
in interfaceService.LogBatchOrBuilder
-
addParamsBuilder
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
addParamsBuilder
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
getParamsBuilderList
Params to log. A single request can contain up to 100 params, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.Param params = 3;
-
getTagsList
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
- Specified by:
getTagsList
in interfaceService.LogBatchOrBuilder
-
getTagsCount
public int getTagsCount()Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
- Specified by:
getTagsCount
in interfaceService.LogBatchOrBuilder
-
getTags
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
- Specified by:
getTags
in interfaceService.LogBatchOrBuilder
-
setTags
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
setTags
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
addTags
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
addTags
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
addTags
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
addTags
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
addAllTags
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
clearTags
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
removeTags
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
getTagsBuilder
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
getTagsOrBuilder
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
- Specified by:
getTagsOrBuilder
in interfaceService.LogBatchOrBuilder
-
getTagsOrBuilderList
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
- Specified by:
getTagsOrBuilderList
in interfaceService.LogBatchOrBuilder
-
addTagsBuilder
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
addTagsBuilder
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
getTagsBuilderList
Tags to log. A single request can contain up to 100 tags, and up to 1000 metrics, params, and tags in total.
repeated .mlflow.RunTag tags = 4;
-
setUnknownFields
public final Service.LogBatch.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.LogBatch.Builder>
-
mergeUnknownFields
public final Service.LogBatch.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.LogBatch.Builder>
-