Package org.mlflow.api.proto
Class Service.LogBatch.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
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
,java.lang.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 Type Method Description Service.LogBatch.Builder
addAllMetrics(java.lang.Iterable<? extends Service.Metric> values)
Metrics to log.Service.LogBatch.Builder
addAllParams(java.lang.Iterable<? extends Service.Param> values)
Params to log.Service.LogBatch.Builder
addAllTags(java.lang.Iterable<? extends Service.RunTag> values)
Tags to log.Service.LogBatch.Builder
addMetrics(int index, Service.Metric value)
Metrics to log.Service.LogBatch.Builder
addMetrics(int index, Service.Metric.Builder builderForValue)
Metrics to log.Service.LogBatch.Builder
addMetrics(Service.Metric value)
Metrics to log.Service.LogBatch.Builder
addMetrics(Service.Metric.Builder builderForValue)
Metrics to log.Service.Metric.Builder
addMetricsBuilder()
Metrics to log.Service.Metric.Builder
addMetricsBuilder(int index)
Metrics to log.Service.LogBatch.Builder
addParams(int index, Service.Param value)
Params to log.Service.LogBatch.Builder
addParams(int index, Service.Param.Builder builderForValue)
Params to log.Service.LogBatch.Builder
addParams(Service.Param value)
Params to log.Service.LogBatch.Builder
addParams(Service.Param.Builder builderForValue)
Params to log.Service.Param.Builder
addParamsBuilder()
Params to log.Service.Param.Builder
addParamsBuilder(int index)
Params to log.Service.LogBatch.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.LogBatch.Builder
addTags(int index, Service.RunTag value)
Tags to log.Service.LogBatch.Builder
addTags(int index, Service.RunTag.Builder builderForValue)
Tags to log.Service.LogBatch.Builder
addTags(Service.RunTag value)
Tags to log.Service.LogBatch.Builder
addTags(Service.RunTag.Builder builderForValue)
Tags to log.Service.RunTag.Builder
addTagsBuilder()
Tags to log.Service.RunTag.Builder
addTagsBuilder(int index)
Tags to log.Service.LogBatch
build()
Service.LogBatch
buildPartial()
Service.LogBatch.Builder
clear()
Service.LogBatch.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.LogBatch.Builder
clearMetrics()
Metrics to log.Service.LogBatch.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.LogBatch.Builder
clearParams()
Params to log.Service.LogBatch.Builder
clearRunId()
ID of the run to log underService.LogBatch.Builder
clearTags()
Tags to log.Service.LogBatch.Builder
clone()
Service.LogBatch
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Service.Metric
getMetrics(int index)
Metrics to log.Service.Metric.Builder
getMetricsBuilder(int index)
Metrics to log.java.util.List<Service.Metric.Builder>
getMetricsBuilderList()
Metrics to log.int
getMetricsCount()
Metrics to log.java.util.List<Service.Metric>
getMetricsList()
Metrics to log.Service.MetricOrBuilder
getMetricsOrBuilder(int index)
Metrics to log.java.util.List<? extends Service.MetricOrBuilder>
getMetricsOrBuilderList()
Metrics to log.Service.Param
getParams(int index)
Params to log.Service.Param.Builder
getParamsBuilder(int index)
Params to log.java.util.List<Service.Param.Builder>
getParamsBuilderList()
Params to log.int
getParamsCount()
Params to log.java.util.List<Service.Param>
getParamsList()
Params to log.Service.ParamOrBuilder
getParamsOrBuilder(int index)
Params to log.java.util.List<? extends Service.ParamOrBuilder>
getParamsOrBuilderList()
Params to log.java.lang.String
getRunId()
ID of the run to log undercom.google.protobuf.ByteString
getRunIdBytes()
ID of the run to log underService.RunTag
getTags(int index)
Tags to log.Service.RunTag.Builder
getTagsBuilder(int index)
Tags to log.java.util.List<Service.RunTag.Builder>
getTagsBuilderList()
Tags to log.int
getTagsCount()
Tags to log.java.util.List<Service.RunTag>
getTagsList()
Tags to log.Service.RunTagOrBuilder
getTagsOrBuilder(int index)
Tags to log.java.util.List<? extends Service.RunTagOrBuilder>
getTagsOrBuilderList()
Tags to log.boolean
hasRunId()
ID of the run to log underprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.LogBatch.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.LogBatch.Builder
mergeFrom(com.google.protobuf.Message other)
Service.LogBatch.Builder
mergeFrom(Service.LogBatch other)
Service.LogBatch.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.LogBatch.Builder
removeMetrics(int index)
Metrics to log.Service.LogBatch.Builder
removeParams(int index)
Params to log.Service.LogBatch.Builder
removeTags(int index)
Tags to log.Service.LogBatch.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.LogBatch.Builder
setMetrics(int index, Service.Metric value)
Metrics to log.Service.LogBatch.Builder
setMetrics(int index, Service.Metric.Builder builderForValue)
Metrics to log.Service.LogBatch.Builder
setParams(int index, Service.Param value)
Params to log.Service.LogBatch.Builder
setParams(int index, Service.Param.Builder builderForValue)
Params to log.Service.LogBatch.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.LogBatch.Builder
setRunId(java.lang.String value)
ID of the run to log underService.LogBatch.Builder
setRunIdBytes(com.google.protobuf.ByteString value)
ID of the run to log underService.LogBatch.Builder
setTags(int index, Service.RunTag value)
Tags to log.Service.LogBatch.Builder
setTags(int index, Service.RunTag.Builder builderForValue)
Tags to log.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
-
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, java.lang.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, java.lang.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, java.lang.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 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.LogBatch.Builder>
- Throws:
java.io.IOException
-
hasRunId
public boolean hasRunId()ID of the run to log under
optional string run_id = 1;
- Specified by:
hasRunId
in interfaceService.LogBatchOrBuilder
-
getRunId
public java.lang.String getRunId()ID of the run to log under
optional string run_id = 1;
- Specified by:
getRunId
in interfaceService.LogBatchOrBuilder
-
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
-
setRunId
ID of the run to log under
optional string run_id = 1;
-
clearRunId
ID of the run to log under
optional string run_id = 1;
-
setRunIdBytes
ID of the run to log under
optional string run_id = 1;
-
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>
-