Class Service.LogBatch

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.mlflow.api.proto.Service.LogBatch
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, 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:
  • Field Details

  • Method Details

    • newInstance

      protected 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 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 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
    • getMetricsOrBuilderList

      public List<? extends Service.MetricOrBuilder> 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 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
    • getMetricsOrBuilder

      public Service.MetricOrBuilder getMetricsOrBuilder(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:
      getMetricsOrBuilder in interface Service.LogBatchOrBuilder
    • getParamsList

      public 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
    • getParamsOrBuilderList

      public List<? extends Service.ParamOrBuilder> 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 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
    • getParamsOrBuilder

      public Service.ParamOrBuilder getParamsOrBuilder(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:
      getParamsOrBuilder in interface Service.LogBatchOrBuilder
    • getTagsList

      public 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
    • getTagsOrBuilderList

      public List<? extends Service.RunTagOrBuilder> 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 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
    • getTagsOrBuilder

      public Service.RunTagOrBuilder getTagsOrBuilder(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:
      getTagsOrBuilder 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 IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      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(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Service.LogBatch parseFrom(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(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

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

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

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

      public static Service.LogBatch parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      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
    • newBuilder

      public static Service.LogBatch.Builder newBuilder()
    • newBuilder

      public static Service.LogBatch.Builder newBuilder(Service.LogBatch prototype)
    • 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
    • getDefaultInstance

      public static Service.LogBatch getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Service.LogBatch> parser()
    • 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