Package org.mlflow.api.proto
Class Service.SearchLoggedModels.OrderBy.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Service.SearchLoggedModels.OrderBy.Builder>
org.mlflow.api.proto.Service.SearchLoggedModels.OrderBy.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
,Service.SearchLoggedModels.OrderByOrBuilder
- Enclosing class:
- Service.SearchLoggedModels.OrderBy
public static final class Service.SearchLoggedModels.OrderBy.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.SearchLoggedModels.OrderBy.Builder>
implements Service.SearchLoggedModels.OrderByOrBuilder
Protobuf type
mlflow.SearchLoggedModels.OrderBy
-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Whether the order is ascending or not.If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated with the metric.If ``field_name`` refers to a metric, this field specifies the name of the dataset associated with the metric.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Name of the field to order by, e.g.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) clone()
boolean
Whether the order is ascending or not.If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated with the metric.com.google.protobuf.ByteString
If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated with the metric.If ``field_name`` refers to a metric, this field specifies the name of the dataset associated with the metric.com.google.protobuf.ByteString
If ``field_name`` refers to a metric, this field specifies the name of the dataset associated with the metric.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Name of the field to order by, e.g.com.google.protobuf.ByteString
Name of the field to order by, e.g.boolean
Whether the order is ascending or not.boolean
If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated with the metric.boolean
If ``field_name`` refers to a metric, this field specifies the name of the dataset associated with the metric.boolean
Name of the field to order by, e.g.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setAscending
(boolean value) Whether the order is ascending or not.setDatasetDigest
(String value) If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated with the metric.setDatasetDigestBytes
(com.google.protobuf.ByteString value) If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated with the metric.setDatasetName
(String value) If ``field_name`` refers to a metric, this field specifies the name of the dataset associated with the metric.setDatasetNameBytes
(com.google.protobuf.ByteString value) If ``field_name`` refers to a metric, this field specifies the name of the dataset associated with the metric.setFieldName
(String value) Name of the field to order by, e.g.setFieldNameBytes
(com.google.protobuf.ByteString value) Name of the field to order by, e.g.setRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) 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
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchLoggedModels.OrderBy.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.SearchLoggedModels.OrderBy.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.SearchLoggedModels.OrderBy.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<Service.SearchLoggedModels.OrderBy.Builder>
-
setField
public Service.SearchLoggedModels.OrderBy.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchLoggedModels.OrderBy.Builder>
-
clearField
public Service.SearchLoggedModels.OrderBy.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.SearchLoggedModels.OrderBy.Builder>
-
clearOneof
public Service.SearchLoggedModels.OrderBy.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.SearchLoggedModels.OrderBy.Builder>
-
setRepeatedField
public Service.SearchLoggedModels.OrderBy.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchLoggedModels.OrderBy.Builder>
-
addRepeatedField
public Service.SearchLoggedModels.OrderBy.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchLoggedModels.OrderBy.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.SearchLoggedModels.OrderBy.Builder>
-
mergeFrom
public Service.SearchLoggedModels.OrderBy.Builder mergeFrom(Service.SearchLoggedModels.OrderBy other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.SearchLoggedModels.OrderBy.Builder>
-
mergeFrom
public Service.SearchLoggedModels.OrderBy.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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.SearchLoggedModels.OrderBy.Builder>
- Throws:
IOException
-
hasFieldName
public boolean hasFieldName()Name of the field to order by, e.g. "metrics.accuracy".
optional string field_name = 1 [(.mlflow.validate_required) = true];
- Specified by:
hasFieldName
in interfaceService.SearchLoggedModels.OrderByOrBuilder
- Returns:
- Whether the fieldName field is set.
-
getFieldName
Name of the field to order by, e.g. "metrics.accuracy".
optional string field_name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getFieldName
in interfaceService.SearchLoggedModels.OrderByOrBuilder
- Returns:
- The fieldName.
-
getFieldNameBytes
public com.google.protobuf.ByteString getFieldNameBytes()Name of the field to order by, e.g. "metrics.accuracy".
optional string field_name = 1 [(.mlflow.validate_required) = true];
- Specified by:
getFieldNameBytes
in interfaceService.SearchLoggedModels.OrderByOrBuilder
- Returns:
- The bytes for fieldName.
-
setFieldName
Name of the field to order by, e.g. "metrics.accuracy".
optional string field_name = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The fieldName to set.- Returns:
- This builder for chaining.
-
clearFieldName
Name of the field to order by, e.g. "metrics.accuracy".
optional string field_name = 1 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setFieldNameBytes
public Service.SearchLoggedModels.OrderBy.Builder setFieldNameBytes(com.google.protobuf.ByteString value) Name of the field to order by, e.g. "metrics.accuracy".
optional string field_name = 1 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for fieldName to set.- Returns:
- This builder for chaining.
-
hasAscending
public boolean hasAscending()Whether the order is ascending or not.
optional bool ascending = 2 [default = true];
- Specified by:
hasAscending
in interfaceService.SearchLoggedModels.OrderByOrBuilder
- Returns:
- Whether the ascending field is set.
-
getAscending
public boolean getAscending()Whether the order is ascending or not.
optional bool ascending = 2 [default = true];
- Specified by:
getAscending
in interfaceService.SearchLoggedModels.OrderByOrBuilder
- Returns:
- The ascending.
-
setAscending
Whether the order is ascending or not.
optional bool ascending = 2 [default = true];
- Parameters:
value
- The ascending to set.- Returns:
- This builder for chaining.
-
clearAscending
Whether the order is ascending or not.
optional bool ascending = 2 [default = true];
- Returns:
- This builder for chaining.
-
hasDatasetName
public boolean hasDatasetName()If ``field_name`` refers to a metric, this field specifies the name of the dataset associated with the metric. Only metrics associated with the specified dataset name will be considered for ordering. This field may only be set if ``field_name`` refers to a metric.
optional string dataset_name = 3;
- Specified by:
hasDatasetName
in interfaceService.SearchLoggedModels.OrderByOrBuilder
- Returns:
- Whether the datasetName field is set.
-
getDatasetName
If ``field_name`` refers to a metric, this field specifies the name of the dataset associated with the metric. Only metrics associated with the specified dataset name will be considered for ordering. This field may only be set if ``field_name`` refers to a metric.
optional string dataset_name = 3;
- Specified by:
getDatasetName
in interfaceService.SearchLoggedModels.OrderByOrBuilder
- Returns:
- The datasetName.
-
getDatasetNameBytes
public com.google.protobuf.ByteString getDatasetNameBytes()If ``field_name`` refers to a metric, this field specifies the name of the dataset associated with the metric. Only metrics associated with the specified dataset name will be considered for ordering. This field may only be set if ``field_name`` refers to a metric.
optional string dataset_name = 3;
- Specified by:
getDatasetNameBytes
in interfaceService.SearchLoggedModels.OrderByOrBuilder
- Returns:
- The bytes for datasetName.
-
setDatasetName
If ``field_name`` refers to a metric, this field specifies the name of the dataset associated with the metric. Only metrics associated with the specified dataset name will be considered for ordering. This field may only be set if ``field_name`` refers to a metric.
optional string dataset_name = 3;
- Parameters:
value
- The datasetName to set.- Returns:
- This builder for chaining.
-
clearDatasetName
If ``field_name`` refers to a metric, this field specifies the name of the dataset associated with the metric. Only metrics associated with the specified dataset name will be considered for ordering. This field may only be set if ``field_name`` refers to a metric.
optional string dataset_name = 3;
- Returns:
- This builder for chaining.
-
setDatasetNameBytes
public Service.SearchLoggedModels.OrderBy.Builder setDatasetNameBytes(com.google.protobuf.ByteString value) If ``field_name`` refers to a metric, this field specifies the name of the dataset associated with the metric. Only metrics associated with the specified dataset name will be considered for ordering. This field may only be set if ``field_name`` refers to a metric.
optional string dataset_name = 3;
- Parameters:
value
- The bytes for datasetName to set.- Returns:
- This builder for chaining.
-
hasDatasetDigest
public boolean hasDatasetDigest()If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated with the metric. Only metrics associated with the specified dataset name and digest will be considered for ordering. This field may only be set if ``dataset_name`` is also set.
optional string dataset_digest = 4;
- Specified by:
hasDatasetDigest
in interfaceService.SearchLoggedModels.OrderByOrBuilder
- Returns:
- Whether the datasetDigest field is set.
-
getDatasetDigest
If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated with the metric. Only metrics associated with the specified dataset name and digest will be considered for ordering. This field may only be set if ``dataset_name`` is also set.
optional string dataset_digest = 4;
- Specified by:
getDatasetDigest
in interfaceService.SearchLoggedModels.OrderByOrBuilder
- Returns:
- The datasetDigest.
-
getDatasetDigestBytes
public com.google.protobuf.ByteString getDatasetDigestBytes()If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated with the metric. Only metrics associated with the specified dataset name and digest will be considered for ordering. This field may only be set if ``dataset_name`` is also set.
optional string dataset_digest = 4;
- Specified by:
getDatasetDigestBytes
in interfaceService.SearchLoggedModels.OrderByOrBuilder
- Returns:
- The bytes for datasetDigest.
-
setDatasetDigest
If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated with the metric. Only metrics associated with the specified dataset name and digest will be considered for ordering. This field may only be set if ``dataset_name`` is also set.
optional string dataset_digest = 4;
- Parameters:
value
- The datasetDigest to set.- Returns:
- This builder for chaining.
-
clearDatasetDigest
If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated with the metric. Only metrics associated with the specified dataset name and digest will be considered for ordering. This field may only be set if ``dataset_name`` is also set.
optional string dataset_digest = 4;
- Returns:
- This builder for chaining.
-
setDatasetDigestBytes
public Service.SearchLoggedModels.OrderBy.Builder setDatasetDigestBytes(com.google.protobuf.ByteString value) If ``field_name`` refers to a metric, this field specifies the digest of the dataset associated with the metric. Only metrics associated with the specified dataset name and digest will be considered for ordering. This field may only be set if ``dataset_name`` is also set.
optional string dataset_digest = 4;
- Parameters:
value
- The bytes for datasetDigest to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.SearchLoggedModels.OrderBy.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.SearchLoggedModels.OrderBy.Builder>
-
mergeUnknownFields
public final Service.SearchLoggedModels.OrderBy.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.SearchLoggedModels.OrderBy.Builder>
-