Package org.mlflow.api.proto
Class Service.SearchTraces.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
- org.mlflow.api.proto.Service.SearchTraces.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.SearchTracesOrBuilder
- Enclosing class:
- Service.SearchTraces
public static final class Service.SearchTraces.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder> implements Service.SearchTracesOrBuilder
Protobuf typemlflow.SearchTraces
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Service.SearchTraces.Builder
addAllExperimentIds(java.lang.Iterable<java.lang.String> values)
List of experiment IDs to search over.Service.SearchTraces.Builder
addAllOrderBy(java.lang.Iterable<java.lang.String> values)
List of columns for ordering the results, e.g.Service.SearchTraces.Builder
addExperimentIds(java.lang.String value)
List of experiment IDs to search over.Service.SearchTraces.Builder
addExperimentIdsBytes(com.google.protobuf.ByteString value)
List of experiment IDs to search over.Service.SearchTraces.Builder
addOrderBy(java.lang.String value)
List of columns for ordering the results, e.g.Service.SearchTraces.Builder
addOrderByBytes(com.google.protobuf.ByteString value)
List of columns for ordering the results, e.g.Service.SearchTraces.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.SearchTraces
build()
Service.SearchTraces
buildPartial()
Service.SearchTraces.Builder
clear()
Service.SearchTraces.Builder
clearExperimentIds()
List of experiment IDs to search over.Service.SearchTraces.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.SearchTraces.Builder
clearFilter()
A filter expression over trace attributes and tags that allows returning a subset of traces.Service.SearchTraces.Builder
clearMaxResults()
Maximum number of traces desired.Service.SearchTraces.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.SearchTraces.Builder
clearOrderBy()
List of columns for ordering the results, e.g.Service.SearchTraces.Builder
clearPageToken()
Token indicating the page of traces to fetch.Service.SearchTraces.Builder
clone()
Service.SearchTraces
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getExperimentIds(int index)
List of experiment IDs to search over.com.google.protobuf.ByteString
getExperimentIdsBytes(int index)
List of experiment IDs to search over.int
getExperimentIdsCount()
List of experiment IDs to search over.com.google.protobuf.ProtocolStringList
getExperimentIdsList()
List of experiment IDs to search over.java.lang.String
getFilter()
A filter expression over trace attributes and tags that allows returning a subset of traces.com.google.protobuf.ByteString
getFilterBytes()
A filter expression over trace attributes and tags that allows returning a subset of traces.int
getMaxResults()
Maximum number of traces desired.java.lang.String
getOrderBy(int index)
List of columns for ordering the results, e.g.com.google.protobuf.ByteString
getOrderByBytes(int index)
List of columns for ordering the results, e.g.int
getOrderByCount()
List of columns for ordering the results, e.g.com.google.protobuf.ProtocolStringList
getOrderByList()
List of columns for ordering the results, e.g.java.lang.String
getPageToken()
Token indicating the page of traces to fetch.com.google.protobuf.ByteString
getPageTokenBytes()
Token indicating the page of traces to fetch.boolean
hasFilter()
A filter expression over trace attributes and tags that allows returning a subset of traces.boolean
hasMaxResults()
Maximum number of traces desired.boolean
hasPageToken()
Token indicating the page of traces to fetch.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.SearchTraces.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.SearchTraces.Builder
mergeFrom(com.google.protobuf.Message other)
Service.SearchTraces.Builder
mergeFrom(Service.SearchTraces other)
Service.SearchTraces.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.SearchTraces.Builder
setExperimentIds(int index, java.lang.String value)
List of experiment IDs to search over.Service.SearchTraces.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.SearchTraces.Builder
setFilter(java.lang.String value)
A filter expression over trace attributes and tags that allows returning a subset of traces.Service.SearchTraces.Builder
setFilterBytes(com.google.protobuf.ByteString value)
A filter expression over trace attributes and tags that allows returning a subset of traces.Service.SearchTraces.Builder
setMaxResults(int value)
Maximum number of traces desired.Service.SearchTraces.Builder
setOrderBy(int index, java.lang.String value)
List of columns for ordering the results, e.g.Service.SearchTraces.Builder
setPageToken(java.lang.String value)
Token indicating the page of traces to fetch.Service.SearchTraces.Builder
setPageTokenBytes(com.google.protobuf.ByteString value)
Token indicating the page of traces to fetch.Service.SearchTraces.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.SearchTraces.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
clear
public Service.SearchTraces.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
getDefaultInstanceForType
public Service.SearchTraces getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.SearchTraces build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.SearchTraces buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.SearchTraces.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
setField
public Service.SearchTraces.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
clearField
public Service.SearchTraces.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
clearOneof
public Service.SearchTraces.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
setRepeatedField
public Service.SearchTraces.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
addRepeatedField
public Service.SearchTraces.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
mergeFrom
public Service.SearchTraces.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.SearchTraces.Builder>
-
mergeFrom
public Service.SearchTraces.Builder mergeFrom(Service.SearchTraces other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
mergeFrom
public Service.SearchTraces.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.SearchTraces.Builder>
- Throws:
java.io.IOException
-
getExperimentIdsList
public com.google.protobuf.ProtocolStringList getExperimentIdsList()
List of experiment IDs to search over.
repeated string experiment_ids = 1;
- Specified by:
getExperimentIdsList
in interfaceService.SearchTracesOrBuilder
- Returns:
- A list containing the experimentIds.
-
getExperimentIdsCount
public int getExperimentIdsCount()
List of experiment IDs to search over.
repeated string experiment_ids = 1;
- Specified by:
getExperimentIdsCount
in interfaceService.SearchTracesOrBuilder
- Returns:
- The count of experimentIds.
-
getExperimentIds
public java.lang.String getExperimentIds(int index)
List of experiment IDs to search over.
repeated string experiment_ids = 1;
- Specified by:
getExperimentIds
in interfaceService.SearchTracesOrBuilder
- 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)
List of experiment IDs to search over.
repeated string experiment_ids = 1;
- Specified by:
getExperimentIdsBytes
in interfaceService.SearchTracesOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the experimentIds at the given index.
-
setExperimentIds
public Service.SearchTraces.Builder setExperimentIds(int index, java.lang.String value)
List of experiment IDs to search over.
repeated string experiment_ids = 1;
- Parameters:
index
- The index to set the value at.value
- The experimentIds to set.- Returns:
- This builder for chaining.
-
addExperimentIds
public Service.SearchTraces.Builder addExperimentIds(java.lang.String value)
List of experiment IDs to search over.
repeated string experiment_ids = 1;
- Parameters:
value
- The experimentIds to add.- Returns:
- This builder for chaining.
-
addAllExperimentIds
public Service.SearchTraces.Builder addAllExperimentIds(java.lang.Iterable<java.lang.String> values)
List of experiment IDs to search over.
repeated string experiment_ids = 1;
- Parameters:
values
- The experimentIds to add.- Returns:
- This builder for chaining.
-
clearExperimentIds
public Service.SearchTraces.Builder clearExperimentIds()
List of experiment IDs to search over.
repeated string experiment_ids = 1;
- Returns:
- This builder for chaining.
-
addExperimentIdsBytes
public Service.SearchTraces.Builder addExperimentIdsBytes(com.google.protobuf.ByteString value)
List of experiment IDs to search over.
repeated string experiment_ids = 1;
- Parameters:
value
- The bytes of the experimentIds to add.- Returns:
- This builder for chaining.
-
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 interfaceService.SearchTracesOrBuilder
- Returns:
- Whether the filter field is set.
-
getFilter
public java.lang.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 interfaceService.SearchTracesOrBuilder
- 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 interfaceService.SearchTracesOrBuilder
- Returns:
- The bytes for filter.
-
setFilter
public Service.SearchTraces.Builder setFilter(java.lang.String 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 filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public Service.SearchTraces.Builder 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.SearchTraces.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 interfaceService.SearchTracesOrBuilder
- 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 interfaceService.SearchTracesOrBuilder
- Returns:
- The maxResults.
-
setMaxResults
public Service.SearchTraces.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.SearchTraces.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 interfaceService.SearchTracesOrBuilder
- 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 interfaceService.SearchTracesOrBuilder
- Returns:
- The count of orderBy.
-
getOrderBy
public java.lang.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 interfaceService.SearchTracesOrBuilder
- 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 interfaceService.SearchTracesOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the orderBy at the given index.
-
setOrderBy
public Service.SearchTraces.Builder setOrderBy(int index, java.lang.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.SearchTraces.Builder addOrderBy(java.lang.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.SearchTraces.Builder addAllOrderBy(java.lang.Iterable<java.lang.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
public Service.SearchTraces.Builder 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.SearchTraces.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 interfaceService.SearchTracesOrBuilder
- Returns:
- Whether the pageToken field is set.
-
getPageToken
public java.lang.String getPageToken()
Token indicating the page of traces to fetch.
optional string page_token = 5;
- Specified by:
getPageToken
in interfaceService.SearchTracesOrBuilder
- 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 interfaceService.SearchTracesOrBuilder
- Returns:
- The bytes for pageToken.
-
setPageToken
public Service.SearchTraces.Builder setPageToken(java.lang.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.SearchTraces.Builder clearPageToken()
Token indicating the page of traces to fetch.
optional string page_token = 5;
- Returns:
- This builder for chaining.
-
setPageTokenBytes
public Service.SearchTraces.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.SearchTraces.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
mergeUnknownFields
public final Service.SearchTraces.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchTraces.Builder>
-
-