Class Service.LogBatch

  • All Implemented Interfaces:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, java.io.Serializable, Service.LogBatchOrBuilder
    Enclosing class:
    Service

    public static final class Service.LogBatch
    extends com.google.protobuf.GeneratedMessageV3
    implements Service.LogBatchOrBuilder
    Protobuf type mlflow.LogBatch
    See Also:
    Serialized Form
    • Method Detail

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        Overrides:
        newInstance in class com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        Specified by:
        getUnknownFields in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getUnknownFields in class com.google.protobuf.GeneratedMessageV3
      • 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
      • 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.
      • 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
      • 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
      • 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
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        Specified by:
        writeTo in interface com.google.protobuf.MessageLite
        Overrides:
        writeTo in class com.google.protobuf.GeneratedMessageV3
        Throws:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        Specified by:
        getSerializedSize in interface com.google.protobuf.MessageLite
        Overrides:
        getSerializedSize in class com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        Specified by:
        equals in interface com.google.protobuf.Message
        Overrides:
        equals in class com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        Specified by:
        hashCode in interface com.google.protobuf.Message
        Overrides:
        hashCode in class com.google.protobuf.AbstractMessage
      • parseFrom

        public static Service.LogBatch parseFrom​(java.nio.ByteBuffer data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.LogBatch parseFrom​(java.nio.ByteBuffer data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.LogBatch parseFrom​(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.LogBatch parseFrom​(com.google.protobuf.ByteString data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.LogBatch parseFrom​(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.LogBatch parseFrom​(byte[] data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static Service.LogBatch parseFrom​(java.io.InputStream input)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Service.LogBatch parseFrom​(java.io.InputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Service.LogBatch parseDelimitedFrom​(java.io.InputStream input)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static Service.LogBatch parseDelimitedFrom​(java.io.InputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Service.LogBatch parseFrom​(com.google.protobuf.CodedInputStream input)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static Service.LogBatch parseFrom​(com.google.protobuf.CodedInputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • newBuilderForType

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

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

        protected Service.LogBatch.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        Specified by:
        newBuilderForType in class com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<Service.LogBatch> getParserForType()
        Specified by:
        getParserForType in interface com.google.protobuf.Message
        Specified by:
        getParserForType in interface com.google.protobuf.MessageLite
        Overrides:
        getParserForType in class com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

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