Package org.mlflow.api.proto
Class Service.SearchRuns
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.mlflow.api.proto.Service.SearchRuns
-
- All Implemented Interfaces:
com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.io.Serializable
,Service.SearchRunsOrBuilder
- Enclosing class:
- Service
public static final class Service.SearchRuns extends com.google.protobuf.GeneratedMessageV3 implements Service.SearchRunsOrBuilder
Protobuf typemlflow.SearchRuns
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Service.SearchRuns.Builder
Protobuf typemlflow.SearchRuns
static class
Service.SearchRuns.Response
Protobuf typemlflow.SearchRuns.Response
static interface
Service.SearchRuns.ResponseOrBuilder
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
EXPERIMENT_IDS_FIELD_NUMBER
static int
FILTER_FIELD_NUMBER
static int
MAX_RESULTS_FIELD_NUMBER
static int
ORDER_BY_FIELD_NUMBER
static int
PAGE_TOKEN_FIELD_NUMBER
static com.google.protobuf.Parser<Service.SearchRuns>
PARSER
Deprecated.static int
RUN_VIEW_TYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
static Service.SearchRuns
getDefaultInstance()
Service.SearchRuns
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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 params, metrics, and tags, that allows returning a subset of runs.com.google.protobuf.ByteString
getFilterBytes()
A filter expression over params, metrics, and tags, that allows returning a subset of runs.int
getMaxResults()
Maximum number of runs desired.java.lang.String
getOrderBy(int index)
List of columns to be ordered by, including attributes, params, metrics, and tags with an optional "DESC" or "ASC" annotation, where "ASC" is the default.com.google.protobuf.ByteString
getOrderByBytes(int index)
List of columns to be ordered by, including attributes, params, metrics, and tags with an optional "DESC" or "ASC" annotation, where "ASC" is the default.int
getOrderByCount()
List of columns to be ordered by, including attributes, params, metrics, and tags with an optional "DESC" or "ASC" annotation, where "ASC" is the default.com.google.protobuf.ProtocolStringList
getOrderByList()
List of columns to be ordered by, including attributes, params, metrics, and tags with an optional "DESC" or "ASC" annotation, where "ASC" is the default.java.lang.String
getPageToken()
optional string page_token = 7;
com.google.protobuf.ByteString
getPageTokenBytes()
optional string page_token = 7;
com.google.protobuf.Parser<Service.SearchRuns>
getParserForType()
Service.ViewType
getRunViewType()
Whether to display only active, only deleted, or all runs.int
getSerializedSize()
com.google.protobuf.UnknownFieldSet
getUnknownFields()
boolean
hasFilter()
A filter expression over params, metrics, and tags, that allows returning a subset of runs.int
hashCode()
boolean
hasMaxResults()
Maximum number of runs desired.boolean
hasPageToken()
optional string page_token = 7;
boolean
hasRunViewType()
Whether to display only active, only deleted, or all runs.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
static Service.SearchRuns.Builder
newBuilder()
static Service.SearchRuns.Builder
newBuilder(Service.SearchRuns prototype)
Service.SearchRuns.Builder
newBuilderForType()
protected Service.SearchRuns.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected java.lang.Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Service.SearchRuns
parseDelimitedFrom(java.io.InputStream input)
static Service.SearchRuns
parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service.SearchRuns
parseFrom(byte[] data)
static Service.SearchRuns
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service.SearchRuns
parseFrom(com.google.protobuf.ByteString data)
static Service.SearchRuns
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service.SearchRuns
parseFrom(com.google.protobuf.CodedInputStream input)
static Service.SearchRuns
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service.SearchRuns
parseFrom(java.io.InputStream input)
static Service.SearchRuns
parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Service.SearchRuns
parseFrom(java.nio.ByteBuffer data)
static Service.SearchRuns
parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Service.SearchRuns>
parser()
Service.SearchRuns.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
EXPERIMENT_IDS_FIELD_NUMBER
public static final int EXPERIMENT_IDS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RUN_VIEW_TYPE_FIELD_NUMBER
public static final int RUN_VIEW_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MAX_RESULTS_FIELD_NUMBER
public static final int MAX_RESULTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ORDER_BY_FIELD_NUMBER
public static final int ORDER_BY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Service.SearchRuns> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFields
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getUnknownFields
in classcom.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 classcom.google.protobuf.GeneratedMessageV3
-
getExperimentIdsList
public com.google.protobuf.ProtocolStringList getExperimentIdsList()
List of experiment IDs to search over.
repeated string experiment_ids = 1;
- Specified by:
getExperimentIdsList
in interfaceService.SearchRunsOrBuilder
- 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.SearchRunsOrBuilder
- 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.SearchRunsOrBuilder
- 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.SearchRunsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the experimentIds at the given index.
-
hasFilter
public boolean hasFilter()
A filter expression over params, metrics, and tags, that allows returning a subset of runs. The syntax is a subset of SQL that supports ANDing together binary operations between a param, metric, or tag and a constant. Example: ``metrics.rmse < 1 and params.model_class = 'LogisticRegression'`` You can select columns with special characters (hyphen, space, period, etc.) by using double quotes: ``metrics."model class" = 'LinearRegression' and tags."user-name" = 'Tomas'`` Supported operators are ``=``, ``!=``, ``>``, ``>=``, ``<``, and ``<=``.
optional string filter = 4;
- Specified by:
hasFilter
in interfaceService.SearchRunsOrBuilder
- Returns:
- Whether the filter field is set.
-
getFilter
public java.lang.String getFilter()
A filter expression over params, metrics, and tags, that allows returning a subset of runs. The syntax is a subset of SQL that supports ANDing together binary operations between a param, metric, or tag and a constant. Example: ``metrics.rmse < 1 and params.model_class = 'LogisticRegression'`` You can select columns with special characters (hyphen, space, period, etc.) by using double quotes: ``metrics."model class" = 'LinearRegression' and tags."user-name" = 'Tomas'`` Supported operators are ``=``, ``!=``, ``>``, ``>=``, ``<``, and ``<=``.
optional string filter = 4;
- Specified by:
getFilter
in interfaceService.SearchRunsOrBuilder
- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
A filter expression over params, metrics, and tags, that allows returning a subset of runs. The syntax is a subset of SQL that supports ANDing together binary operations between a param, metric, or tag and a constant. Example: ``metrics.rmse < 1 and params.model_class = 'LogisticRegression'`` You can select columns with special characters (hyphen, space, period, etc.) by using double quotes: ``metrics."model class" = 'LinearRegression' and tags."user-name" = 'Tomas'`` Supported operators are ``=``, ``!=``, ``>``, ``>=``, ``<``, and ``<=``.
optional string filter = 4;
- Specified by:
getFilterBytes
in interfaceService.SearchRunsOrBuilder
- Returns:
- The bytes for filter.
-
hasRunViewType
public boolean hasRunViewType()
Whether to display only active, only deleted, or all runs. Defaults to only active runs.
optional .mlflow.ViewType run_view_type = 3 [default = ACTIVE_ONLY];
- Specified by:
hasRunViewType
in interfaceService.SearchRunsOrBuilder
- Returns:
- Whether the runViewType field is set.
-
getRunViewType
public Service.ViewType getRunViewType()
Whether to display only active, only deleted, or all runs. Defaults to only active runs.
optional .mlflow.ViewType run_view_type = 3 [default = ACTIVE_ONLY];
- Specified by:
getRunViewType
in interfaceService.SearchRunsOrBuilder
- Returns:
- The runViewType.
-
hasMaxResults
public boolean hasMaxResults()
Maximum number of runs desired. If unspecified, defaults to 1000. All servers are guaranteed to support a `max_results` threshold of at least 50,000 but may support more. Callers of this endpoint are encouraged to pass max_results explicitly and leverage page_token to iterate through experiments.
optional int32 max_results = 5 [default = 1000];
- Specified by:
hasMaxResults
in interfaceService.SearchRunsOrBuilder
- Returns:
- Whether the maxResults field is set.
-
getMaxResults
public int getMaxResults()
Maximum number of runs desired. If unspecified, defaults to 1000. All servers are guaranteed to support a `max_results` threshold of at least 50,000 but may support more. Callers of this endpoint are encouraged to pass max_results explicitly and leverage page_token to iterate through experiments.
optional int32 max_results = 5 [default = 1000];
- Specified by:
getMaxResults
in interfaceService.SearchRunsOrBuilder
- Returns:
- The maxResults.
-
getOrderByList
public com.google.protobuf.ProtocolStringList getOrderByList()
List of columns to be ordered by, including attributes, params, metrics, and tags with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Example: ["params.input DESC", "metrics.alpha ASC", "metrics.rmse"] Tiebreaks are done by start_time DESC followed by run_id for runs with the same start time (and this is the default ordering criterion if order_by is not provided).
repeated string order_by = 6;
- Specified by:
getOrderByList
in interfaceService.SearchRunsOrBuilder
- Returns:
- A list containing the orderBy.
-
getOrderByCount
public int getOrderByCount()
List of columns to be ordered by, including attributes, params, metrics, and tags with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Example: ["params.input DESC", "metrics.alpha ASC", "metrics.rmse"] Tiebreaks are done by start_time DESC followed by run_id for runs with the same start time (and this is the default ordering criterion if order_by is not provided).
repeated string order_by = 6;
- Specified by:
getOrderByCount
in interfaceService.SearchRunsOrBuilder
- Returns:
- The count of orderBy.
-
getOrderBy
public java.lang.String getOrderBy(int index)
List of columns to be ordered by, including attributes, params, metrics, and tags with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Example: ["params.input DESC", "metrics.alpha ASC", "metrics.rmse"] Tiebreaks are done by start_time DESC followed by run_id for runs with the same start time (and this is the default ordering criterion if order_by is not provided).
repeated string order_by = 6;
- Specified by:
getOrderBy
in interfaceService.SearchRunsOrBuilder
- 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 to be ordered by, including attributes, params, metrics, and tags with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Example: ["params.input DESC", "metrics.alpha ASC", "metrics.rmse"] Tiebreaks are done by start_time DESC followed by run_id for runs with the same start time (and this is the default ordering criterion if order_by is not provided).
repeated string order_by = 6;
- Specified by:
getOrderByBytes
in interfaceService.SearchRunsOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the orderBy at the given index.
-
hasPageToken
public boolean hasPageToken()
optional string page_token = 7;
- Specified by:
hasPageToken
in interfaceService.SearchRunsOrBuilder
- Returns:
- Whether the pageToken field is set.
-
getPageToken
public java.lang.String getPageToken()
optional string page_token = 7;
- Specified by:
getPageToken
in interfaceService.SearchRunsOrBuilder
- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()
optional string page_token = 7;
- Specified by:
getPageTokenBytes
in interfaceService.SearchRunsOrBuilder
- Returns:
- The bytes for pageToken.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
java.io.IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(java.lang.Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Service.SearchRuns parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.SearchRuns parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.SearchRuns parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.SearchRuns 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.SearchRuns parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.SearchRuns parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Service.SearchRuns parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.SearchRuns parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Service.SearchRuns parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Service.SearchRuns parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.SearchRuns parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Service.SearchRuns parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilderForType
public Service.SearchRuns.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Service.SearchRuns.Builder newBuilder()
-
newBuilder
public static Service.SearchRuns.Builder newBuilder(Service.SearchRuns prototype)
-
toBuilder
public Service.SearchRuns.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Service.SearchRuns.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Service.SearchRuns getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Service.SearchRuns> parser()
-
getParserForType
public com.google.protobuf.Parser<Service.SearchRuns> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Service.SearchRuns getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-