Package org.mlflow.api.proto
Class Service.SearchExperiments.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
org.mlflow.api.proto.Service.SearchExperiments.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Service.SearchExperimentsOrBuilder
- Enclosing class:
- Service.SearchExperiments
public static final class Service.SearchExperiments.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
implements Service.SearchExperimentsOrBuilder
Protobuf type
mlflow.SearchExperiments-
Method Summary
Modifier and TypeMethodDescriptionaddAllOrderBy(Iterable<String> values) List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default.addOrderBy(String value) List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default.addOrderByBytes(com.google.protobuf.ByteString value) List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) A filter expression over experiment attributes and tags that allows returning a subset of experiments.Maximum number of experiments desired.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default.Token indicating the page of experiments to fetchQualifier for type of experiments to be returned.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorA filter expression over experiment attributes and tags that allows returning a subset of experiments.com.google.protobuf.ByteStringA filter expression over experiment attributes and tags that allows returning a subset of experiments.longMaximum number of experiments desired.getOrderBy(int index) List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default.com.google.protobuf.ByteStringgetOrderByBytes(int index) List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default.intList of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default.com.google.protobuf.ProtocolStringListList of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default.Token indicating the page of experiments to fetchcom.google.protobuf.ByteStringToken indicating the page of experiments to fetchQualifier for type of experiments to be returned.booleanA filter expression over experiment attributes and tags that allows returning a subset of experiments.booleanMaximum number of experiments desired.booleanToken indicating the page of experiments to fetchbooleanQualifier for type of experiments to be returned.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) A filter expression over experiment attributes and tags that allows returning a subset of experiments.setFilterBytes(com.google.protobuf.ByteString value) A filter expression over experiment attributes and tags that allows returning a subset of experiments.setMaxResults(long value) Maximum number of experiments desired.setOrderBy(int index, String value) List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default.setPageToken(String value) Token indicating the page of experiments to fetchsetPageTokenBytes(com.google.protobuf.ByteString value) Token indicating the page of experiments to fetchsetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setViewType(Service.ViewType value) Qualifier for type of experiments to be returned.Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
-
setField
public Service.SearchExperiments.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
-
clearField
public Service.SearchExperiments.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
-
clearOneof
public Service.SearchExperiments.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
-
setRepeatedField
public Service.SearchExperiments.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
-
addRepeatedField
public Service.SearchExperiments.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.SearchExperiments.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
-
mergeFrom
public Service.SearchExperiments.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.SearchExperiments.Builder>- Throws:
IOException
-
hasMaxResults
public boolean hasMaxResults()Maximum number of experiments desired. Servers may select a desired default `max_results` value. All servers are guaranteed to support a `max_results` threshold of at least 1,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 int64 max_results = 1;- Specified by:
hasMaxResultsin interfaceService.SearchExperimentsOrBuilder- Returns:
- Whether the maxResults field is set.
-
getMaxResults
public long getMaxResults()Maximum number of experiments desired. Servers may select a desired default `max_results` value. All servers are guaranteed to support a `max_results` threshold of at least 1,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 int64 max_results = 1;- Specified by:
getMaxResultsin interfaceService.SearchExperimentsOrBuilder- Returns:
- The maxResults.
-
setMaxResults
Maximum number of experiments desired. Servers may select a desired default `max_results` value. All servers are guaranteed to support a `max_results` threshold of at least 1,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 int64 max_results = 1;- Parameters:
value- The maxResults to set.- Returns:
- This builder for chaining.
-
clearMaxResults
Maximum number of experiments desired. Servers may select a desired default `max_results` value. All servers are guaranteed to support a `max_results` threshold of at least 1,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 int64 max_results = 1;- Returns:
- This builder for chaining.
-
hasPageToken
public boolean hasPageToken()Token indicating the page of experiments to fetch
optional string page_token = 2;- Specified by:
hasPageTokenin interfaceService.SearchExperimentsOrBuilder- Returns:
- Whether the pageToken field is set.
-
getPageToken
Token indicating the page of experiments to fetch
optional string page_token = 2;- Specified by:
getPageTokenin interfaceService.SearchExperimentsOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()Token indicating the page of experiments to fetch
optional string page_token = 2;- Specified by:
getPageTokenBytesin interfaceService.SearchExperimentsOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
Token indicating the page of experiments to fetch
optional string page_token = 2;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
Token indicating the page of experiments to fetch
optional string page_token = 2;- Returns:
- This builder for chaining.
-
setPageTokenBytes
Token indicating the page of experiments to fetch
optional string page_token = 2;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
hasFilter
public boolean hasFilter()A filter expression over experiment attributes and tags that allows returning a subset of experiments. The syntax is a subset of SQL that supports ANDing together binary operations between an attribute or tag, and a constant. Example: ``name LIKE 'test-%' AND tags.key = 'value'`` You can select columns with special characters (hyphen, space, period, etc.) by using double quotes or backticks. Example: ``tags."extra-key" = 'value'`` or ``tags.`extra-key` = 'value'`` Supported operators are ``=``, ``!=``, ``LIKE``, and ``ILIKE``.
optional string filter = 3;- Specified by:
hasFilterin interfaceService.SearchExperimentsOrBuilder- Returns:
- Whether the filter field is set.
-
getFilter
A filter expression over experiment attributes and tags that allows returning a subset of experiments. The syntax is a subset of SQL that supports ANDing together binary operations between an attribute or tag, and a constant. Example: ``name LIKE 'test-%' AND tags.key = 'value'`` You can select columns with special characters (hyphen, space, period, etc.) by using double quotes or backticks. Example: ``tags."extra-key" = 'value'`` or ``tags.`extra-key` = 'value'`` Supported operators are ``=``, ``!=``, ``LIKE``, and ``ILIKE``.
optional string filter = 3;- Specified by:
getFilterin interfaceService.SearchExperimentsOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()A filter expression over experiment attributes and tags that allows returning a subset of experiments. The syntax is a subset of SQL that supports ANDing together binary operations between an attribute or tag, and a constant. Example: ``name LIKE 'test-%' AND tags.key = 'value'`` You can select columns with special characters (hyphen, space, period, etc.) by using double quotes or backticks. Example: ``tags."extra-key" = 'value'`` or ``tags.`extra-key` = 'value'`` Supported operators are ``=``, ``!=``, ``LIKE``, and ``ILIKE``.
optional string filter = 3;- Specified by:
getFilterBytesin interfaceService.SearchExperimentsOrBuilder- Returns:
- The bytes for filter.
-
setFilter
A filter expression over experiment attributes and tags that allows returning a subset of experiments. The syntax is a subset of SQL that supports ANDing together binary operations between an attribute or tag, and a constant. Example: ``name LIKE 'test-%' AND tags.key = 'value'`` You can select columns with special characters (hyphen, space, period, etc.) by using double quotes or backticks. Example: ``tags."extra-key" = 'value'`` or ``tags.`extra-key` = 'value'`` Supported operators are ``=``, ``!=``, ``LIKE``, and ``ILIKE``.
optional string filter = 3;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
A filter expression over experiment attributes and tags that allows returning a subset of experiments. The syntax is a subset of SQL that supports ANDing together binary operations between an attribute or tag, and a constant. Example: ``name LIKE 'test-%' AND tags.key = 'value'`` You can select columns with special characters (hyphen, space, period, etc.) by using double quotes or backticks. Example: ``tags."extra-key" = 'value'`` or ``tags.`extra-key` = 'value'`` Supported operators are ``=``, ``!=``, ``LIKE``, and ``ILIKE``.
optional string filter = 3;- Returns:
- This builder for chaining.
-
setFilterBytes
A filter expression over experiment attributes and tags that allows returning a subset of experiments. The syntax is a subset of SQL that supports ANDing together binary operations between an attribute or tag, and a constant. Example: ``name LIKE 'test-%' AND tags.key = 'value'`` You can select columns with special characters (hyphen, space, period, etc.) by using double quotes or backticks. Example: ``tags."extra-key" = 'value'`` or ``tags.`extra-key` = 'value'`` Supported operators are ``=``, ``!=``, ``LIKE``, and ``ILIKE``.
optional string filter = 3;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getOrderByList
public com.google.protobuf.ProtocolStringList getOrderByList()List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by experiment id DESC.
repeated string order_by = 4;- Specified by:
getOrderByListin interfaceService.SearchExperimentsOrBuilder- Returns:
- A list containing the orderBy.
-
getOrderByCount
public int getOrderByCount()List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by experiment id DESC.
repeated string order_by = 4;- Specified by:
getOrderByCountin interfaceService.SearchExperimentsOrBuilder- Returns:
- The count of orderBy.
-
getOrderBy
List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by experiment id DESC.
repeated string order_by = 4;- Specified by:
getOrderByin interfaceService.SearchExperimentsOrBuilder- 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 search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by experiment id DESC.
repeated string order_by = 4;- Specified by:
getOrderByBytesin interfaceService.SearchExperimentsOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the orderBy at the given index.
-
setOrderBy
List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by experiment id 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
List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by experiment id DESC.
repeated string order_by = 4;- Parameters:
value- The orderBy to add.- Returns:
- This builder for chaining.
-
addAllOrderBy
List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by experiment id DESC.
repeated string order_by = 4;- Parameters:
values- The orderBy to add.- Returns:
- This builder for chaining.
-
clearOrderBy
List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by experiment id DESC.
repeated string order_by = 4;- Returns:
- This builder for chaining.
-
addOrderByBytes
List of columns for ordering search results, which can include experiment name and id with an optional "DESC" or "ASC" annotation, where "ASC" is the default. Tiebreaks are done by experiment id DESC.
repeated string order_by = 4;- Parameters:
value- The bytes of the orderBy to add.- Returns:
- This builder for chaining.
-
hasViewType
public boolean hasViewType()Qualifier for type of experiments to be returned. If unspecified, return only active experiments.
optional .mlflow.ViewType view_type = 5;- Specified by:
hasViewTypein interfaceService.SearchExperimentsOrBuilder- Returns:
- Whether the viewType field is set.
-
getViewType
Qualifier for type of experiments to be returned. If unspecified, return only active experiments.
optional .mlflow.ViewType view_type = 5;- Specified by:
getViewTypein interfaceService.SearchExperimentsOrBuilder- Returns:
- The viewType.
-
setViewType
Qualifier for type of experiments to be returned. If unspecified, return only active experiments.
optional .mlflow.ViewType view_type = 5;- Parameters:
value- The viewType to set.- Returns:
- This builder for chaining.
-
clearViewType
Qualifier for type of experiments to be returned. If unspecified, return only active experiments.
optional .mlflow.ViewType view_type = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.SearchExperiments.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
-
mergeUnknownFields
public final Service.SearchExperiments.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchExperiments.Builder>
-