Package org.mlflow.api.proto
Class ModelRegistry.SearchModelVersions.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SearchModelVersions.Builder>
org.mlflow.api.proto.ModelRegistry.SearchModelVersions.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
,ModelRegistry.SearchModelVersionsOrBuilder
- Enclosing class:
- ModelRegistry.SearchModelVersions
public static final class ModelRegistry.SearchModelVersions.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SearchModelVersions.Builder> implements ModelRegistry.SearchModelVersionsOrBuilder
Protobuf type
mlflow.SearchModelVersions
-
Method Summary
Modifier and Type Method Description ModelRegistry.SearchModelVersions.Builder
addAllOrderBy(java.lang.Iterable<java.lang.String> values)
List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default.ModelRegistry.SearchModelVersions.Builder
addOrderBy(java.lang.String value)
List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default.ModelRegistry.SearchModelVersions.Builder
addOrderByBytes(com.google.protobuf.ByteString value)
List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default.ModelRegistry.SearchModelVersions.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.SearchModelVersions
build()
ModelRegistry.SearchModelVersions
buildPartial()
ModelRegistry.SearchModelVersions.Builder
clear()
ModelRegistry.SearchModelVersions.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ModelRegistry.SearchModelVersions.Builder
clearFilter()
String filter condition, like "name='my-model-name'".ModelRegistry.SearchModelVersions.Builder
clearMaxResults()
Maximum number of models desired.ModelRegistry.SearchModelVersions.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ModelRegistry.SearchModelVersions.Builder
clearOrderBy()
List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default.ModelRegistry.SearchModelVersions.Builder
clearPageToken()
Pagination token to go to next page based on previous search query.ModelRegistry.SearchModelVersions.Builder
clone()
ModelRegistry.SearchModelVersions
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getFilter()
String filter condition, like "name='my-model-name'".com.google.protobuf.ByteString
getFilterBytes()
String filter condition, like "name='my-model-name'".long
getMaxResults()
Maximum number of models desired.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.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.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.com.google.protobuf.ProtocolStringList
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.String
getPageToken()
Pagination token to go to next page based on previous search query.com.google.protobuf.ByteString
getPageTokenBytes()
Pagination token to go to next page based on previous search query.boolean
hasFilter()
String filter condition, like "name='my-model-name'".boolean
hasMaxResults()
Maximum number of models desired.boolean
hasPageToken()
Pagination token to go to next page based on previous search query.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ModelRegistry.SearchModelVersions.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ModelRegistry.SearchModelVersions.Builder
mergeFrom(com.google.protobuf.Message other)
ModelRegistry.SearchModelVersions.Builder
mergeFrom(ModelRegistry.SearchModelVersions other)
ModelRegistry.SearchModelVersions.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ModelRegistry.SearchModelVersions.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
ModelRegistry.SearchModelVersions.Builder
setFilter(java.lang.String value)
String filter condition, like "name='my-model-name'".ModelRegistry.SearchModelVersions.Builder
setFilterBytes(com.google.protobuf.ByteString value)
String filter condition, like "name='my-model-name'".ModelRegistry.SearchModelVersions.Builder
setMaxResults(long value)
Maximum number of models desired.ModelRegistry.SearchModelVersions.Builder
setOrderBy(int index, java.lang.String value)
List of columns to be ordered by including model name, version, stage with an optional "DESC" or "ASC" annotation, where "ASC" is the default.ModelRegistry.SearchModelVersions.Builder
setPageToken(java.lang.String value)
Pagination token to go to next page based on previous search query.ModelRegistry.SearchModelVersions.Builder
setPageTokenBytes(com.google.protobuf.ByteString value)
Pagination token to go to next page based on previous search query.ModelRegistry.SearchModelVersions.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
ModelRegistry.SearchModelVersions.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 Details
-
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<ModelRegistry.SearchModelVersions.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<ModelRegistry.SearchModelVersions.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<ModelRegistry.SearchModelVersions.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.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<ModelRegistry.SearchModelVersions.Builder>
-
setField
public ModelRegistry.SearchModelVersions.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<ModelRegistry.SearchModelVersions.Builder>
-
clearField
public ModelRegistry.SearchModelVersions.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<ModelRegistry.SearchModelVersions.Builder>
-
clearOneof
public ModelRegistry.SearchModelVersions.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<ModelRegistry.SearchModelVersions.Builder>
-
setRepeatedField
public ModelRegistry.SearchModelVersions.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<ModelRegistry.SearchModelVersions.Builder>
-
addRepeatedField
public ModelRegistry.SearchModelVersions.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<ModelRegistry.SearchModelVersions.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ModelRegistry.SearchModelVersions.Builder>
-
mergeFrom
public ModelRegistry.SearchModelVersions.Builder mergeFrom(ModelRegistry.SearchModelVersions other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SearchModelVersions.Builder>
-
mergeFrom
public ModelRegistry.SearchModelVersions.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<ModelRegistry.SearchModelVersions.Builder>
- Throws:
java.io.IOException
-
hasFilter
public 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;
- Specified by:
hasFilter
in interfaceModelRegistry.SearchModelVersionsOrBuilder
-
getFilter
public 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;
- Specified by:
getFilter
in interfaceModelRegistry.SearchModelVersionsOrBuilder
-
getFilterBytes
public 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;
- Specified by:
getFilterBytes
in interfaceModelRegistry.SearchModelVersionsOrBuilder
-
setFilter
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;
-
clearFilter
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;
-
setFilterBytes
public ModelRegistry.SearchModelVersions.Builder setFilterBytes(com.google.protobuf.ByteString value)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;
-
hasMaxResults
public boolean hasMaxResults()Maximum number of models desired. Max threshold is 200K.
optional int64 max_results = 2 [default = 200000];
- Specified by:
hasMaxResults
in interfaceModelRegistry.SearchModelVersionsOrBuilder
-
getMaxResults
public long getMaxResults()Maximum number of models desired. Max threshold is 200K.
optional int64 max_results = 2 [default = 200000];
- Specified by:
getMaxResults
in interfaceModelRegistry.SearchModelVersionsOrBuilder
-
setMaxResults
Maximum number of models desired. Max threshold is 200K.
optional int64 max_results = 2 [default = 200000];
-
clearMaxResults
Maximum number of models desired. Max threshold is 200K.
optional int64 max_results = 2 [default = 200000];
-
getOrderByList
public com.google.protobuf.ProtocolStringList 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;
- Specified by:
getOrderByList
in interfaceModelRegistry.SearchModelVersionsOrBuilder
-
getOrderByCount
public 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;
- Specified by:
getOrderByCount
in interfaceModelRegistry.SearchModelVersionsOrBuilder
-
getOrderBy
public 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;
- Specified by:
getOrderBy
in interfaceModelRegistry.SearchModelVersionsOrBuilder
-
getOrderByBytes
public 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;
- Specified by:
getOrderByBytes
in interfaceModelRegistry.SearchModelVersionsOrBuilder
-
setOrderBy
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;
-
addOrderBy
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;
-
addAllOrderBy
public ModelRegistry.SearchModelVersions.Builder addAllOrderBy(java.lang.Iterable<java.lang.String> values)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;
-
clearOrderBy
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;
-
addOrderByBytes
public ModelRegistry.SearchModelVersions.Builder addOrderByBytes(com.google.protobuf.ByteString value)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;
-
hasPageToken
public boolean hasPageToken()Pagination token to go to next page based on previous search query.
optional string page_token = 4;
- Specified by:
hasPageToken
in interfaceModelRegistry.SearchModelVersionsOrBuilder
-
getPageToken
public java.lang.String getPageToken()Pagination token to go to next page based on previous search query.
optional string page_token = 4;
- Specified by:
getPageToken
in interfaceModelRegistry.SearchModelVersionsOrBuilder
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Pagination token to go to next page based on previous search query.
optional string page_token = 4;
- Specified by:
getPageTokenBytes
in interfaceModelRegistry.SearchModelVersionsOrBuilder
-
setPageToken
Pagination token to go to next page based on previous search query.
optional string page_token = 4;
-
clearPageToken
Pagination token to go to next page based on previous search query.
optional string page_token = 4;
-
setPageTokenBytes
public ModelRegistry.SearchModelVersions.Builder setPageTokenBytes(com.google.protobuf.ByteString value)Pagination token to go to next page based on previous search query.
optional string page_token = 4;
-
setUnknownFields
public final ModelRegistry.SearchModelVersions.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SearchModelVersions.Builder>
-
mergeUnknownFields
public final ModelRegistry.SearchModelVersions.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ModelRegistry.SearchModelVersions.Builder>
-