Class Service.BatchGetTraceInfos.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<Service.BatchGetTraceInfos.Builder>
org.mlflow.api.proto.Service.BatchGetTraceInfos.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Service.BatchGetTraceInfosOrBuilder
Enclosing class:
Service.BatchGetTraceInfos

public static final class Service.BatchGetTraceInfos.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.BatchGetTraceInfos.Builder> implements Service.BatchGetTraceInfosOrBuilder
Protobuf type mlflow.BatchGetTraceInfos
  • Method Details

    • 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.BatchGetTraceInfos.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.BatchGetTraceInfos.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.BatchGetTraceInfos.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Service.BatchGetTraceInfos buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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.BatchGetTraceInfos.Builder>
    • setField

      public Service.BatchGetTraceInfos.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.BatchGetTraceInfos.Builder>
    • clearField

      public Service.BatchGetTraceInfos.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.BatchGetTraceInfos.Builder>
    • clearOneof

      public Service.BatchGetTraceInfos.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.BatchGetTraceInfos.Builder>
    • setRepeatedField

      public Service.BatchGetTraceInfos.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.BatchGetTraceInfos.Builder>
    • addRepeatedField

      public Service.BatchGetTraceInfos.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.BatchGetTraceInfos.Builder>
    • mergeFrom

      public Service.BatchGetTraceInfos.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.BatchGetTraceInfos.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Service.BatchGetTraceInfos.Builder>
    • mergeFrom

      public Service.BatchGetTraceInfos.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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.BatchGetTraceInfos.Builder>
      Throws:
      IOException
    • getTraceIdsList

      public com.google.protobuf.ProtocolStringList getTraceIdsList()
       IDs of the traces to fetch. Must be provided.
       
      repeated string trace_ids = 1;
      Specified by:
      getTraceIdsList in interface Service.BatchGetTraceInfosOrBuilder
      Returns:
      A list containing the traceIds.
    • getTraceIdsCount

      public int getTraceIdsCount()
       IDs of the traces to fetch. Must be provided.
       
      repeated string trace_ids = 1;
      Specified by:
      getTraceIdsCount in interface Service.BatchGetTraceInfosOrBuilder
      Returns:
      The count of traceIds.
    • getTraceIds

      public String getTraceIds(int index)
       IDs of the traces to fetch. Must be provided.
       
      repeated string trace_ids = 1;
      Specified by:
      getTraceIds in interface Service.BatchGetTraceInfosOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The traceIds at the given index.
    • getTraceIdsBytes

      public com.google.protobuf.ByteString getTraceIdsBytes(int index)
       IDs of the traces to fetch. Must be provided.
       
      repeated string trace_ids = 1;
      Specified by:
      getTraceIdsBytes in interface Service.BatchGetTraceInfosOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the traceIds at the given index.
    • setTraceIds

      public Service.BatchGetTraceInfos.Builder setTraceIds(int index, String value)
       IDs of the traces to fetch. Must be provided.
       
      repeated string trace_ids = 1;
      Parameters:
      index - The index to set the value at.
      value - The traceIds to set.
      Returns:
      This builder for chaining.
    • addTraceIds

      public Service.BatchGetTraceInfos.Builder addTraceIds(String value)
       IDs of the traces to fetch. Must be provided.
       
      repeated string trace_ids = 1;
      Parameters:
      value - The traceIds to add.
      Returns:
      This builder for chaining.
    • addAllTraceIds

      public Service.BatchGetTraceInfos.Builder addAllTraceIds(Iterable<String> values)
       IDs of the traces to fetch. Must be provided.
       
      repeated string trace_ids = 1;
      Parameters:
      values - The traceIds to add.
      Returns:
      This builder for chaining.
    • clearTraceIds

      public Service.BatchGetTraceInfos.Builder clearTraceIds()
       IDs of the traces to fetch. Must be provided.
       
      repeated string trace_ids = 1;
      Returns:
      This builder for chaining.
    • addTraceIdsBytes

      public Service.BatchGetTraceInfos.Builder addTraceIdsBytes(com.google.protobuf.ByteString value)
       IDs of the traces to fetch. Must be provided.
       
      repeated string trace_ids = 1;
      Parameters:
      value - The bytes of the traceIds to add.
      Returns:
      This builder for chaining.
    • getExperimentIdsList

      public com.google.protobuf.ProtocolStringList getExperimentIdsList()
       Optional list of experiment IDs to scope the query. When provided, only
       traces belonging to these experiments are returned. Not supported when
       proxying to a Databricks-hosted backend, since that API has no
       corresponding field.
       
      repeated string experiment_ids = 2;
      Specified by:
      getExperimentIdsList in interface Service.BatchGetTraceInfosOrBuilder
      Returns:
      A list containing the experimentIds.
    • getExperimentIdsCount

      public int getExperimentIdsCount()
       Optional list of experiment IDs to scope the query. When provided, only
       traces belonging to these experiments are returned. Not supported when
       proxying to a Databricks-hosted backend, since that API has no
       corresponding field.
       
      repeated string experiment_ids = 2;
      Specified by:
      getExperimentIdsCount in interface Service.BatchGetTraceInfosOrBuilder
      Returns:
      The count of experimentIds.
    • getExperimentIds

      public String getExperimentIds(int index)
       Optional list of experiment IDs to scope the query. When provided, only
       traces belonging to these experiments are returned. Not supported when
       proxying to a Databricks-hosted backend, since that API has no
       corresponding field.
       
      repeated string experiment_ids = 2;
      Specified by:
      getExperimentIds in interface Service.BatchGetTraceInfosOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The experimentIds at the given index.
    • getExperimentIdsBytes

      public com.google.protobuf.ByteString getExperimentIdsBytes(int index)
       Optional list of experiment IDs to scope the query. When provided, only
       traces belonging to these experiments are returned. Not supported when
       proxying to a Databricks-hosted backend, since that API has no
       corresponding field.
       
      repeated string experiment_ids = 2;
      Specified by:
      getExperimentIdsBytes in interface Service.BatchGetTraceInfosOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the experimentIds at the given index.
    • setExperimentIds

      public Service.BatchGetTraceInfos.Builder setExperimentIds(int index, String value)
       Optional list of experiment IDs to scope the query. When provided, only
       traces belonging to these experiments are returned. Not supported when
       proxying to a Databricks-hosted backend, since that API has no
       corresponding field.
       
      repeated string experiment_ids = 2;
      Parameters:
      index - The index to set the value at.
      value - The experimentIds to set.
      Returns:
      This builder for chaining.
    • addExperimentIds

      public Service.BatchGetTraceInfos.Builder addExperimentIds(String value)
       Optional list of experiment IDs to scope the query. When provided, only
       traces belonging to these experiments are returned. Not supported when
       proxying to a Databricks-hosted backend, since that API has no
       corresponding field.
       
      repeated string experiment_ids = 2;
      Parameters:
      value - The experimentIds to add.
      Returns:
      This builder for chaining.
    • addAllExperimentIds

      public Service.BatchGetTraceInfos.Builder addAllExperimentIds(Iterable<String> values)
       Optional list of experiment IDs to scope the query. When provided, only
       traces belonging to these experiments are returned. Not supported when
       proxying to a Databricks-hosted backend, since that API has no
       corresponding field.
       
      repeated string experiment_ids = 2;
      Parameters:
      values - The experimentIds to add.
      Returns:
      This builder for chaining.
    • clearExperimentIds

      public Service.BatchGetTraceInfos.Builder clearExperimentIds()
       Optional list of experiment IDs to scope the query. When provided, only
       traces belonging to these experiments are returned. Not supported when
       proxying to a Databricks-hosted backend, since that API has no
       corresponding field.
       
      repeated string experiment_ids = 2;
      Returns:
      This builder for chaining.
    • addExperimentIdsBytes

      public Service.BatchGetTraceInfos.Builder addExperimentIdsBytes(com.google.protobuf.ByteString value)
       Optional list of experiment IDs to scope the query. When provided, only
       traces belonging to these experiments are returned. Not supported when
       proxying to a Databricks-hosted backend, since that API has no
       corresponding field.
       
      repeated string experiment_ids = 2;
      Parameters:
      value - The bytes of the experimentIds to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Service.BatchGetTraceInfos.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.BatchGetTraceInfos.Builder>
    • mergeUnknownFields

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