Package org.mlflow.api.proto
Class Service.Dataset.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
org.mlflow.api.proto.Service.Dataset.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Service.DatasetOrBuilder
- Enclosing class:
- Service.Dataset
public static final class Service.Dataset.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
implements Service.DatasetOrBuilder
Dataset. Represents a reference to data used for training, testing, or evaluation during the model development process.Protobuf type
mlflow.Dataset-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Dataset digest, e.g.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The name of the dataset.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The profile of the dataset.The schema of the dataset.Source information for the dataset.The type of the dataset source, e.g.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDataset digest, e.g.com.google.protobuf.ByteStringDataset digest, e.g.getName()The name of the dataset.com.google.protobuf.ByteStringThe name of the dataset.The profile of the dataset.com.google.protobuf.ByteStringThe profile of the dataset.The schema of the dataset.com.google.protobuf.ByteStringThe schema of the dataset.Source information for the dataset.com.google.protobuf.ByteStringSource information for the dataset.The type of the dataset source, e.g.com.google.protobuf.ByteStringThe type of the dataset source, e.g.booleanDataset digest, e.g.booleanhasName()The name of the dataset.booleanThe profile of the dataset.booleanThe schema of the dataset.booleanSource information for the dataset.booleanThe type of the dataset source, e.g.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(Service.Dataset other) final Service.Dataset.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Dataset digest, e.g.setDigestBytes(com.google.protobuf.ByteString value) Dataset digest, e.g.The name of the dataset.setNameBytes(com.google.protobuf.ByteString value) The name of the dataset.setProfile(String value) The profile of the dataset.setProfileBytes(com.google.protobuf.ByteString value) The profile of the dataset.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The schema of the dataset.setSchemaBytes(com.google.protobuf.ByteString value) The schema of the dataset.Source information for the dataset.setSourceBytes(com.google.protobuf.ByteString value) Source information for the dataset.setSourceType(String value) The type of the dataset source, e.g.setSourceTypeBytes(com.google.protobuf.ByteString value) The type of the dataset source, e.g.final Service.Dataset.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) 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.Dataset.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.Dataset.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.Dataset.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.Dataset.Builder>
-
setField
public Service.Dataset.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.Dataset.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
-
setRepeatedField
public Service.Dataset.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.Dataset.Builder>
-
addRepeatedField
public Service.Dataset.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.Dataset.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.Dataset.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
-
mergeFrom
public Service.Dataset.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.Dataset.Builder>- Throws:
IOException
-
hasName
public boolean hasName()The name of the dataset. E.g. "my.uc.table@2" "nyc-taxi-dataset", "fantastic-elk-3"
optional string name = 1 [(.mlflow.validate_required) = true];- Specified by:
hasNamein interfaceService.DatasetOrBuilder- Returns:
- Whether the name field is set.
-
getName
The name of the dataset. E.g. "my.uc.table@2" "nyc-taxi-dataset", "fantastic-elk-3"
optional string name = 1 [(.mlflow.validate_required) = true];- Specified by:
getNamein interfaceService.DatasetOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()The name of the dataset. E.g. "my.uc.table@2" "nyc-taxi-dataset", "fantastic-elk-3"
optional string name = 1 [(.mlflow.validate_required) = true];- Specified by:
getNameBytesin interfaceService.DatasetOrBuilder- Returns:
- The bytes for name.
-
setName
The name of the dataset. E.g. "my.uc.table@2" "nyc-taxi-dataset", "fantastic-elk-3"
optional string name = 1 [(.mlflow.validate_required) = true];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
The name of the dataset. E.g. "my.uc.table@2" "nyc-taxi-dataset", "fantastic-elk-3"
optional string name = 1 [(.mlflow.validate_required) = true];- Returns:
- This builder for chaining.
-
setNameBytes
The name of the dataset. E.g. "my.uc.table@2" "nyc-taxi-dataset", "fantastic-elk-3"
optional string name = 1 [(.mlflow.validate_required) = true];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasDigest
public boolean hasDigest()Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name.
optional string digest = 2 [(.mlflow.validate_required) = true];- Specified by:
hasDigestin interfaceService.DatasetOrBuilder- Returns:
- Whether the digest field is set.
-
getDigest
Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name.
optional string digest = 2 [(.mlflow.validate_required) = true];- Specified by:
getDigestin interfaceService.DatasetOrBuilder- Returns:
- The digest.
-
getDigestBytes
public com.google.protobuf.ByteString getDigestBytes()Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name.
optional string digest = 2 [(.mlflow.validate_required) = true];- Specified by:
getDigestBytesin interfaceService.DatasetOrBuilder- Returns:
- The bytes for digest.
-
setDigest
Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name.
optional string digest = 2 [(.mlflow.validate_required) = true];- Parameters:
value- The digest to set.- Returns:
- This builder for chaining.
-
clearDigest
Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name.
optional string digest = 2 [(.mlflow.validate_required) = true];- Returns:
- This builder for chaining.
-
setDigestBytes
Dataset digest, e.g. an md5 hash of the dataset that uniquely identifies it within datasets of the same name.
optional string digest = 2 [(.mlflow.validate_required) = true];- Parameters:
value- The bytes for digest to set.- Returns:
- This builder for chaining.
-
hasSourceType
public boolean hasSourceType()The type of the dataset source, e.g. 'databricks-uc-table', 'DBFS', 'S3', ...
optional string source_type = 3 [(.mlflow.validate_required) = true];- Specified by:
hasSourceTypein interfaceService.DatasetOrBuilder- Returns:
- Whether the sourceType field is set.
-
getSourceType
The type of the dataset source, e.g. 'databricks-uc-table', 'DBFS', 'S3', ...
optional string source_type = 3 [(.mlflow.validate_required) = true];- Specified by:
getSourceTypein interfaceService.DatasetOrBuilder- Returns:
- The sourceType.
-
getSourceTypeBytes
public com.google.protobuf.ByteString getSourceTypeBytes()The type of the dataset source, e.g. 'databricks-uc-table', 'DBFS', 'S3', ...
optional string source_type = 3 [(.mlflow.validate_required) = true];- Specified by:
getSourceTypeBytesin interfaceService.DatasetOrBuilder- Returns:
- The bytes for sourceType.
-
setSourceType
The type of the dataset source, e.g. 'databricks-uc-table', 'DBFS', 'S3', ...
optional string source_type = 3 [(.mlflow.validate_required) = true];- Parameters:
value- The sourceType to set.- Returns:
- This builder for chaining.
-
clearSourceType
The type of the dataset source, e.g. 'databricks-uc-table', 'DBFS', 'S3', ...
optional string source_type = 3 [(.mlflow.validate_required) = true];- Returns:
- This builder for chaining.
-
setSourceTypeBytes
The type of the dataset source, e.g. 'databricks-uc-table', 'DBFS', 'S3', ...
optional string source_type = 3 [(.mlflow.validate_required) = true];- Parameters:
value- The bytes for sourceType to set.- Returns:
- This builder for chaining.
-
hasSource
public boolean hasSource()Source information for the dataset. Note that the source may not exactly reproduce the dataset if it was transformed / modified before use with MLflow.
optional string source = 4 [(.mlflow.validate_required) = true];- Specified by:
hasSourcein interfaceService.DatasetOrBuilder- Returns:
- Whether the source field is set.
-
getSource
Source information for the dataset. Note that the source may not exactly reproduce the dataset if it was transformed / modified before use with MLflow.
optional string source = 4 [(.mlflow.validate_required) = true];- Specified by:
getSourcein interfaceService.DatasetOrBuilder- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()Source information for the dataset. Note that the source may not exactly reproduce the dataset if it was transformed / modified before use with MLflow.
optional string source = 4 [(.mlflow.validate_required) = true];- Specified by:
getSourceBytesin interfaceService.DatasetOrBuilder- Returns:
- The bytes for source.
-
setSource
Source information for the dataset. Note that the source may not exactly reproduce the dataset if it was transformed / modified before use with MLflow.
optional string source = 4 [(.mlflow.validate_required) = true];- Parameters:
value- The source to set.- Returns:
- This builder for chaining.
-
clearSource
Source information for the dataset. Note that the source may not exactly reproduce the dataset if it was transformed / modified before use with MLflow.
optional string source = 4 [(.mlflow.validate_required) = true];- Returns:
- This builder for chaining.
-
setSourceBytes
Source information for the dataset. Note that the source may not exactly reproduce the dataset if it was transformed / modified before use with MLflow.
optional string source = 4 [(.mlflow.validate_required) = true];- Parameters:
value- The bytes for source to set.- Returns:
- This builder for chaining.
-
hasSchema
public boolean hasSchema()The schema of the dataset. E.g., MLflow ColSpec JSON for a dataframe, MLflow TensorSpec JSON for an ndarray, or another schema format.
optional string schema = 5;- Specified by:
hasSchemain interfaceService.DatasetOrBuilder- Returns:
- Whether the schema field is set.
-
getSchema
The schema of the dataset. E.g., MLflow ColSpec JSON for a dataframe, MLflow TensorSpec JSON for an ndarray, or another schema format.
optional string schema = 5;- Specified by:
getSchemain interfaceService.DatasetOrBuilder- Returns:
- The schema.
-
getSchemaBytes
public com.google.protobuf.ByteString getSchemaBytes()The schema of the dataset. E.g., MLflow ColSpec JSON for a dataframe, MLflow TensorSpec JSON for an ndarray, or another schema format.
optional string schema = 5;- Specified by:
getSchemaBytesin interfaceService.DatasetOrBuilder- Returns:
- The bytes for schema.
-
setSchema
The schema of the dataset. E.g., MLflow ColSpec JSON for a dataframe, MLflow TensorSpec JSON for an ndarray, or another schema format.
optional string schema = 5;- Parameters:
value- The schema to set.- Returns:
- This builder for chaining.
-
clearSchema
The schema of the dataset. E.g., MLflow ColSpec JSON for a dataframe, MLflow TensorSpec JSON for an ndarray, or another schema format.
optional string schema = 5;- Returns:
- This builder for chaining.
-
setSchemaBytes
The schema of the dataset. E.g., MLflow ColSpec JSON for a dataframe, MLflow TensorSpec JSON for an ndarray, or another schema format.
optional string schema = 5;- Parameters:
value- The bytes for schema to set.- Returns:
- This builder for chaining.
-
hasProfile
public boolean hasProfile()The profile of the dataset. Summary statistics for the dataset, such as the number of rows in a table, the mean / std / mode of each column in a table, or the number of elements in an array.
optional string profile = 6;- Specified by:
hasProfilein interfaceService.DatasetOrBuilder- Returns:
- Whether the profile field is set.
-
getProfile
The profile of the dataset. Summary statistics for the dataset, such as the number of rows in a table, the mean / std / mode of each column in a table, or the number of elements in an array.
optional string profile = 6;- Specified by:
getProfilein interfaceService.DatasetOrBuilder- Returns:
- The profile.
-
getProfileBytes
public com.google.protobuf.ByteString getProfileBytes()The profile of the dataset. Summary statistics for the dataset, such as the number of rows in a table, the mean / std / mode of each column in a table, or the number of elements in an array.
optional string profile = 6;- Specified by:
getProfileBytesin interfaceService.DatasetOrBuilder- Returns:
- The bytes for profile.
-
setProfile
The profile of the dataset. Summary statistics for the dataset, such as the number of rows in a table, the mean / std / mode of each column in a table, or the number of elements in an array.
optional string profile = 6;- Parameters:
value- The profile to set.- Returns:
- This builder for chaining.
-
clearProfile
The profile of the dataset. Summary statistics for the dataset, such as the number of rows in a table, the mean / std / mode of each column in a table, or the number of elements in an array.
optional string profile = 6;- Returns:
- This builder for chaining.
-
setProfileBytes
The profile of the dataset. Summary statistics for the dataset, such as the number of rows in a table, the mean / std / mode of each column in a table, or the number of elements in an array.
optional string profile = 6;- Parameters:
value- The bytes for profile to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Service.Dataset.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
-
mergeUnknownFields
public final Service.Dataset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
-