Package org.mlflow.api.proto
Interface ModelRegistry.SearchModelVersionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelRegistry.SearchModelVersions,ModelRegistry.SearchModelVersions.Builder
- Enclosing class:
- ModelRegistry
public static interface ModelRegistry.SearchModelVersionsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetFilter()String filter condition, like "name='my-model-name'".com.google.protobuf.ByteStringgetFilterBytes()String filter condition, like "name='my-model-name'".longgetMaxResults()Maximum number of models desired.java.lang.StringgetOrderBy(int index)List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default.com.google.protobuf.ByteStringgetOrderByBytes(int index)List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default.intgetOrderByCount()List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default.java.util.List<java.lang.String>getOrderByList()List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default.java.lang.StringgetPageToken()Pagination token to go to next page based on previous search query.com.google.protobuf.ByteStringgetPageTokenBytes()Pagination token to go to next page based on previous search query.booleanhasFilter()String filter condition, like "name='my-model-name'".booleanhasMaxResults()Maximum number of models desired.booleanhasPageToken()Pagination token to go to next page based on previous search query.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasFilter
boolean hasFilter()
String filter condition, like "name='my-model-name'". Must be a single boolean condition, with string values wrapped in single quotes.
optional string filter = 1;- Returns:
- Whether the filter field is set.
-
getFilter
java.lang.String getFilter()
String filter condition, like "name='my-model-name'". Must be a single boolean condition, with string values wrapped in single quotes.
optional string filter = 1;- Returns:
- The filter.
-
getFilterBytes
com.google.protobuf.ByteString getFilterBytes()
String filter condition, like "name='my-model-name'". Must be a single boolean condition, with string values wrapped in single quotes.
optional string filter = 1;- Returns:
- The bytes for filter.
-
hasMaxResults
boolean hasMaxResults()
Maximum number of models desired. Max threshold is 200K. Backends may choose a lower default value and maximum threshold.
optional int64 max_results = 2 [default = 200000];- Returns:
- Whether the maxResults field is set.
-
getMaxResults
long getMaxResults()
Maximum number of models desired. Max threshold is 200K. Backends may choose a lower default value and maximum threshold.
optional int64 max_results = 2 [default = 200000];- Returns:
- The maxResults.
-
getOrderByList
java.util.List<java.lang.String> getOrderByList()
List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by latest stage transition timestamp, followed by name ASC, followed by version DESC.
repeated string order_by = 3;- Returns:
- A list containing the orderBy.
-
getOrderByCount
int getOrderByCount()
List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by latest stage transition timestamp, followed by name ASC, followed by version DESC.
repeated string order_by = 3;- Returns:
- The count of orderBy.
-
getOrderBy
java.lang.String getOrderBy(int index)
List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by latest stage transition timestamp, followed by name ASC, followed by version DESC.
repeated string order_by = 3;- Parameters:
index- The index of the element to return.- Returns:
- The orderBy at the given index.
-
getOrderByBytes
com.google.protobuf.ByteString getOrderByBytes(int index)
List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by latest stage transition timestamp, followed by name ASC, followed by version DESC.
repeated string order_by = 3;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the orderBy at the given index.
-
hasPageToken
boolean hasPageToken()
Pagination token to go to next page based on previous search query.
optional string page_token = 4;- Returns:
- Whether the pageToken field is set.
-
getPageToken
java.lang.String getPageToken()
Pagination token to go to next page based on previous search query.
optional string page_token = 4;- Returns:
- The pageToken.
-
getPageTokenBytes
com.google.protobuf.ByteString getPageTokenBytes()
Pagination token to go to next page based on previous search query.
optional string page_token = 4;- Returns:
- The bytes for pageToken.
-
-