Class Service.SearchTracesV3Request.Builder

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

public static final class Service.SearchTracesV3Request.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTracesV3Request.Builder> implements Service.SearchTracesV3RequestOrBuilder
Protobuf type mlflow.SearchTracesV3Request
  • 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.SearchTracesV3Request.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.SearchTracesV3Request.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.SearchTracesV3Request.Builder>
    • getDefaultInstanceForType

      public Service.SearchTracesV3Request 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.SearchTracesV3Request 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.SearchTracesV3Request.Builder>
    • setField

      public Service.SearchTracesV3Request.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.SearchTracesV3Request.Builder>
    • clearField

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

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

      public Service.SearchTracesV3Request.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.SearchTracesV3Request.Builder>
    • addRepeatedField

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

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

      public Service.SearchTracesV3Request.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.SearchTracesV3Request.Builder>
      Throws:
      IOException
    • getLocationsList

      public List<Service.TraceLocation> getLocationsList()
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
      Specified by:
      getLocationsList in interface Service.SearchTracesV3RequestOrBuilder
    • getLocationsCount

      public int getLocationsCount()
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
      Specified by:
      getLocationsCount in interface Service.SearchTracesV3RequestOrBuilder
    • getLocations

      public Service.TraceLocation getLocations(int index)
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
      Specified by:
      getLocations in interface Service.SearchTracesV3RequestOrBuilder
    • setLocations

      public Service.SearchTracesV3Request.Builder setLocations(int index, Service.TraceLocation value)
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • setLocations

      public Service.SearchTracesV3Request.Builder setLocations(int index, Service.TraceLocation.Builder builderForValue)
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • addLocations

       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • addLocations

      public Service.SearchTracesV3Request.Builder addLocations(int index, Service.TraceLocation value)
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • addLocations

       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • addLocations

      public Service.SearchTracesV3Request.Builder addLocations(int index, Service.TraceLocation.Builder builderForValue)
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • addAllLocations

      public Service.SearchTracesV3Request.Builder addAllLocations(Iterable<? extends Service.TraceLocation> values)
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • clearLocations

      public Service.SearchTracesV3Request.Builder clearLocations()
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • removeLocations

      public Service.SearchTracesV3Request.Builder removeLocations(int index)
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • getLocationsBuilder

      public Service.TraceLocation.Builder getLocationsBuilder(int index)
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • getLocationsOrBuilder

      public Service.TraceLocationOrBuilder getLocationsOrBuilder(int index)
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
      Specified by:
      getLocationsOrBuilder in interface Service.SearchTracesV3RequestOrBuilder
    • getLocationsOrBuilderList

      public List<? extends Service.TraceLocationOrBuilder> getLocationsOrBuilderList()
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
      Specified by:
      getLocationsOrBuilderList in interface Service.SearchTracesV3RequestOrBuilder
    • addLocationsBuilder

      public Service.TraceLocation.Builder addLocationsBuilder()
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • addLocationsBuilder

      public Service.TraceLocation.Builder addLocationsBuilder(int index)
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • getLocationsBuilderList

      public List<Service.TraceLocation.Builder> getLocationsBuilderList()
       A list of MLflow experiments to search over.
       
      repeated .mlflow.TraceLocation locations = 1;
    • hasFilter

      public boolean hasFilter()
       A filter expression over trace attributes and tags that allows returning a subset of
       traces. The syntax is a subset of SQL that supports ANDing together binary operations
       Example: ``trace.status = 'OK' and trace.timestamp_ms > 1711089570679``.
       
      optional string filter = 2;
      Specified by:
      hasFilter in interface Service.SearchTracesV3RequestOrBuilder
      Returns:
      Whether the filter field is set.
    • getFilter

      public String getFilter()
       A filter expression over trace attributes and tags that allows returning a subset of
       traces. The syntax is a subset of SQL that supports ANDing together binary operations
       Example: ``trace.status = 'OK' and trace.timestamp_ms > 1711089570679``.
       
      optional string filter = 2;
      Specified by:
      getFilter in interface Service.SearchTracesV3RequestOrBuilder
      Returns:
      The filter.
    • getFilterBytes

      public com.google.protobuf.ByteString getFilterBytes()
       A filter expression over trace attributes and tags that allows returning a subset of
       traces. The syntax is a subset of SQL that supports ANDing together binary operations
       Example: ``trace.status = 'OK' and trace.timestamp_ms > 1711089570679``.
       
      optional string filter = 2;
      Specified by:
      getFilterBytes in interface Service.SearchTracesV3RequestOrBuilder
      Returns:
      The bytes for filter.
    • setFilter

       A filter expression over trace attributes and tags that allows returning a subset of
       traces. The syntax is a subset of SQL that supports ANDing together binary operations
       Example: ``trace.status = 'OK' and trace.timestamp_ms > 1711089570679``.
       
      optional string filter = 2;
      Parameters:
      value - The filter to set.
      Returns:
      This builder for chaining.
    • clearFilter

       A filter expression over trace attributes and tags that allows returning a subset of
       traces. The syntax is a subset of SQL that supports ANDing together binary operations
       Example: ``trace.status = 'OK' and trace.timestamp_ms > 1711089570679``.
       
      optional string filter = 2;
      Returns:
      This builder for chaining.
    • setFilterBytes

      public Service.SearchTracesV3Request.Builder setFilterBytes(com.google.protobuf.ByteString value)
       A filter expression over trace attributes and tags that allows returning a subset of
       traces. The syntax is a subset of SQL that supports ANDing together binary operations
       Example: ``trace.status = 'OK' and trace.timestamp_ms > 1711089570679``.
       
      optional string filter = 2;
      Parameters:
      value - The bytes for filter to set.
      Returns:
      This builder for chaining.
    • hasMaxResults

      public boolean hasMaxResults()
       Maximum number of traces desired. Max threshold is 500.
       
      optional int32 max_results = 3 [default = 100];
      Specified by:
      hasMaxResults in interface Service.SearchTracesV3RequestOrBuilder
      Returns:
      Whether the maxResults field is set.
    • getMaxResults

      public int getMaxResults()
       Maximum number of traces desired. Max threshold is 500.
       
      optional int32 max_results = 3 [default = 100];
      Specified by:
      getMaxResults in interface Service.SearchTracesV3RequestOrBuilder
      Returns:
      The maxResults.
    • setMaxResults

      public Service.SearchTracesV3Request.Builder setMaxResults(int value)
       Maximum number of traces desired. Max threshold is 500.
       
      optional int32 max_results = 3 [default = 100];
      Parameters:
      value - The maxResults to set.
      Returns:
      This builder for chaining.
    • clearMaxResults

      public Service.SearchTracesV3Request.Builder clearMaxResults()
       Maximum number of traces desired. Max threshold is 500.
       
      optional int32 max_results = 3 [default = 100];
      Returns:
      This builder for chaining.
    • getOrderByList

      public com.google.protobuf.ProtocolStringList getOrderByList()
       List of columns for ordering the results, e.g. ``["timestamp_ms DESC"]``.
       
      repeated string order_by = 4;
      Specified by:
      getOrderByList in interface Service.SearchTracesV3RequestOrBuilder
      Returns:
      A list containing the orderBy.
    • getOrderByCount

      public int getOrderByCount()
       List of columns for ordering the results, e.g. ``["timestamp_ms DESC"]``.
       
      repeated string order_by = 4;
      Specified by:
      getOrderByCount in interface Service.SearchTracesV3RequestOrBuilder
      Returns:
      The count of orderBy.
    • getOrderBy

      public String getOrderBy(int index)
       List of columns for ordering the results, e.g. ``["timestamp_ms DESC"]``.
       
      repeated string order_by = 4;
      Specified by:
      getOrderBy in interface Service.SearchTracesV3RequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The orderBy at the given index.
    • getOrderByBytes

      public com.google.protobuf.ByteString getOrderByBytes(int index)
       List of columns for ordering the results, e.g. ``["timestamp_ms DESC"]``.
       
      repeated string order_by = 4;
      Specified by:
      getOrderByBytes in interface Service.SearchTracesV3RequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the orderBy at the given index.
    • setOrderBy

      public Service.SearchTracesV3Request.Builder setOrderBy(int index, String value)
       List of columns for ordering the results, e.g. ``["timestamp_ms DESC"]``.
       
      repeated string order_by = 4;
      Parameters:
      index - The index to set the value at.
      value - The orderBy to set.
      Returns:
      This builder for chaining.
    • addOrderBy

      public Service.SearchTracesV3Request.Builder addOrderBy(String value)
       List of columns for ordering the results, e.g. ``["timestamp_ms DESC"]``.
       
      repeated string order_by = 4;
      Parameters:
      value - The orderBy to add.
      Returns:
      This builder for chaining.
    • addAllOrderBy

      public Service.SearchTracesV3Request.Builder addAllOrderBy(Iterable<String> values)
       List of columns for ordering the results, e.g. ``["timestamp_ms DESC"]``.
       
      repeated string order_by = 4;
      Parameters:
      values - The orderBy to add.
      Returns:
      This builder for chaining.
    • clearOrderBy

       List of columns for ordering the results, e.g. ``["timestamp_ms DESC"]``.
       
      repeated string order_by = 4;
      Returns:
      This builder for chaining.
    • addOrderByBytes

      public Service.SearchTracesV3Request.Builder addOrderByBytes(com.google.protobuf.ByteString value)
       List of columns for ordering the results, e.g. ``["timestamp_ms DESC"]``.
       
      repeated string order_by = 4;
      Parameters:
      value - The bytes of the orderBy to add.
      Returns:
      This builder for chaining.
    • hasPageToken

      public boolean hasPageToken()
       Token indicating the page of traces to fetch.
       
      optional string page_token = 5;
      Specified by:
      hasPageToken in interface Service.SearchTracesV3RequestOrBuilder
      Returns:
      Whether the pageToken field is set.
    • getPageToken

      public String getPageToken()
       Token indicating the page of traces to fetch.
       
      optional string page_token = 5;
      Specified by:
      getPageToken in interface Service.SearchTracesV3RequestOrBuilder
      Returns:
      The pageToken.
    • getPageTokenBytes

      public com.google.protobuf.ByteString getPageTokenBytes()
       Token indicating the page of traces to fetch.
       
      optional string page_token = 5;
      Specified by:
      getPageTokenBytes in interface Service.SearchTracesV3RequestOrBuilder
      Returns:
      The bytes for pageToken.
    • setPageToken

      public Service.SearchTracesV3Request.Builder setPageToken(String value)
       Token indicating the page of traces to fetch.
       
      optional string page_token = 5;
      Parameters:
      value - The pageToken to set.
      Returns:
      This builder for chaining.
    • clearPageToken

      public Service.SearchTracesV3Request.Builder clearPageToken()
       Token indicating the page of traces to fetch.
       
      optional string page_token = 5;
      Returns:
      This builder for chaining.
    • setPageTokenBytes

      public Service.SearchTracesV3Request.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
       Token indicating the page of traces to fetch.
       
      optional string page_token = 5;
      Parameters:
      value - The bytes for pageToken to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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