Class 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 Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>
      • clear

        public Service.LogBatch.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>
      • getDefaultInstanceForType

        public Service.LogBatch getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public Service.LogBatch build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public Service.LogBatch buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • clone

        public Service.LogBatch.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>
      • clearField

        public Service.LogBatch.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>
      • clearOneof

        public Service.LogBatch.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.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 interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>
      • mergeFrom

        public Service.LogBatch.Builder mergeFrom​(com.google.protobuf.Message other)
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Service.LogBatch.Builder>
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.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 interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.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 interface Service.LogBatchOrBuilder
        Returns:
        Whether the runId field is set.
      • getRunId

        public java.lang.String getRunId()
         ID of the run to log under
         
        optional string run_id = 1;
        Specified by:
        getRunId in interface Service.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 interface Service.LogBatchOrBuilder
        Returns:
        The bytes for runId.
      • setRunId

        public Service.LogBatch.Builder setRunId​(java.lang.String value)
         ID of the run to log under
         
        optional string run_id = 1;
        Parameters:
        value - The runId to set.
        Returns:
        This builder for chaining.
      • clearRunId

        public Service.LogBatch.Builder clearRunId()
         ID of the run to log under
         
        optional string run_id = 1;
        Returns:
        This builder for chaining.
      • setRunIdBytes

        public Service.LogBatch.Builder setRunIdBytes​(com.google.protobuf.ByteString value)
         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

        public java.util.List<Service.Metric> 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 interface Service.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 interface Service.LogBatchOrBuilder
      • getMetrics

        public Service.Metric getMetrics​(int index)
         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 interface Service.LogBatchOrBuilder
      • setMetrics

        public Service.LogBatch.Builder setMetrics​(int index,
                                                   Service.Metric value)
         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

        public Service.LogBatch.Builder setMetrics​(int index,
                                                   Service.Metric.Builder builderForValue)
         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

        public Service.LogBatch.Builder addMetrics​(Service.Metric value)
         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

        public Service.LogBatch.Builder addMetrics​(int index,
                                                   Service.Metric value)
         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

        public Service.LogBatch.Builder addMetrics​(Service.Metric.Builder builderForValue)
         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

        public Service.LogBatch.Builder addMetrics​(int index,
                                                   Service.Metric.Builder builderForValue)
         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

        public Service.LogBatch.Builder addAllMetrics​(java.lang.Iterable<? extends Service.Metric> values)
         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

        public Service.LogBatch.Builder 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

        public Service.LogBatch.Builder removeMetrics​(int index)
         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

        public Service.Metric.Builder getMetricsBuilder​(int index)
         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

        public Service.Metric.Builder 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

        public Service.Metric.Builder addMetricsBuilder​(int index)
         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

        public java.util.List<Service.Metric.Builder> 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

        public java.util.List<Service.Param> 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 interface Service.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 interface Service.LogBatchOrBuilder
      • getParams

        public Service.Param getParams​(int index)
         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 interface Service.LogBatchOrBuilder
      • setParams

        public Service.LogBatch.Builder setParams​(int index,
                                                  Service.Param value)
         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

        public Service.LogBatch.Builder setParams​(int index,
                                                  Service.Param.Builder builderForValue)
         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

        public Service.LogBatch.Builder addParams​(Service.Param value)
         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

        public Service.LogBatch.Builder addParams​(int index,
                                                  Service.Param value)
         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

        public Service.LogBatch.Builder addParams​(Service.Param.Builder builderForValue)
         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

        public Service.LogBatch.Builder addParams​(int index,
                                                  Service.Param.Builder builderForValue)
         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

        public Service.LogBatch.Builder addAllParams​(java.lang.Iterable<? extends Service.Param> values)
         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

        public Service.LogBatch.Builder 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

        public Service.LogBatch.Builder removeParams​(int index)
         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

        public Service.Param.Builder getParamsBuilder​(int index)
         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

        public Service.Param.Builder 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

        public Service.Param.Builder addParamsBuilder​(int index)
         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

        public java.util.List<Service.Param.Builder> 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

        public java.util.List<Service.RunTag> 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 interface Service.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 interface Service.LogBatchOrBuilder
      • getTags

        public Service.RunTag getTags​(int index)
         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 interface Service.LogBatchOrBuilder
      • setTags

        public Service.LogBatch.Builder setTags​(int index,
                                                Service.RunTag value)
         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

        public Service.LogBatch.Builder setTags​(int index,
                                                Service.RunTag.Builder builderForValue)
         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

        public Service.LogBatch.Builder addTags​(Service.RunTag value)
         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

        public Service.LogBatch.Builder addTags​(int index,
                                                Service.RunTag value)
         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

        public Service.LogBatch.Builder addTags​(Service.RunTag.Builder builderForValue)
         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

        public Service.LogBatch.Builder addTags​(int index,
                                                Service.RunTag.Builder builderForValue)
         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

        public Service.LogBatch.Builder addAllTags​(java.lang.Iterable<? extends Service.RunTag> values)
         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

        public Service.LogBatch.Builder 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

        public Service.LogBatch.Builder removeTags​(int index)
         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

        public Service.RunTag.Builder getTagsBuilder​(int index)
         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

        public Service.RunTag.Builder 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

        public Service.RunTag.Builder addTagsBuilder​(int index)
         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

        public java.util.List<Service.RunTag.Builder> 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 interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>
      • mergeUnknownFields

        public final Service.LogBatch.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.LogBatch.Builder>