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,java.lang.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 typemlflow.Dataset
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Service.Dataset.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Service.Datasetbuild()Service.DatasetbuildPartial()Service.Dataset.Builderclear()Service.Dataset.BuilderclearDigest()Dataset digest, e.g.Service.Dataset.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Service.Dataset.BuilderclearName()The name of the dataset.Service.Dataset.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Service.Dataset.BuilderclearProfile()The profile of the dataset.Service.Dataset.BuilderclearSchema()The schema of the dataset.Service.Dataset.BuilderclearSource()Source information for the dataset.Service.Dataset.BuilderclearSourceType()The type of the dataset source, e.g.Service.Dataset.Builderclone()Service.DatasetgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()java.lang.StringgetDigest()Dataset digest, e.g.com.google.protobuf.ByteStringgetDigestBytes()Dataset digest, e.g.java.lang.StringgetName()The name of the dataset.com.google.protobuf.ByteStringgetNameBytes()The name of the dataset.java.lang.StringgetProfile()The profile of the dataset.com.google.protobuf.ByteStringgetProfileBytes()The profile of the dataset.java.lang.StringgetSchema()The schema of the dataset.com.google.protobuf.ByteStringgetSchemaBytes()The schema of the dataset.java.lang.StringgetSource()Source information for the dataset.com.google.protobuf.ByteStringgetSourceBytes()Source information for the dataset.java.lang.StringgetSourceType()The type of the dataset source, e.g.com.google.protobuf.ByteStringgetSourceTypeBytes()The type of the dataset source, e.g.booleanhasDigest()Dataset digest, e.g.booleanhasName()The name of the dataset.booleanhasProfile()The profile of the dataset.booleanhasSchema()The schema of the dataset.booleanhasSource()Source information for the dataset.booleanhasSourceType()The type of the dataset source, e.g.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Service.Dataset.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Service.Dataset.BuildermergeFrom(com.google.protobuf.Message other)Service.Dataset.BuildermergeFrom(Service.Dataset other)Service.Dataset.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Service.Dataset.BuildersetDigest(java.lang.String value)Dataset digest, e.g.Service.Dataset.BuildersetDigestBytes(com.google.protobuf.ByteString value)Dataset digest, e.g.Service.Dataset.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)Service.Dataset.BuildersetName(java.lang.String value)The name of the dataset.Service.Dataset.BuildersetNameBytes(com.google.protobuf.ByteString value)The name of the dataset.Service.Dataset.BuildersetProfile(java.lang.String value)The profile of the dataset.Service.Dataset.BuildersetProfileBytes(com.google.protobuf.ByteString value)The profile of the dataset.Service.Dataset.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)Service.Dataset.BuildersetSchema(java.lang.String value)The schema of the dataset.Service.Dataset.BuildersetSchemaBytes(com.google.protobuf.ByteString value)The schema of the dataset.Service.Dataset.BuildersetSource(java.lang.String value)Source information for the dataset.Service.Dataset.BuildersetSourceBytes(com.google.protobuf.ByteString value)Source information for the dataset.Service.Dataset.BuildersetSourceType(java.lang.String value)The type of the dataset source, e.g.Service.Dataset.BuildersetSourceTypeBytes(com.google.protobuf.ByteString value)The type of the dataset source, e.g.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, 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 Detail
-
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
public 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
public Service.Dataset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.Dataset build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.Dataset buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.Dataset.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, java.lang.Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
-
clearField
public Service.Dataset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
-
clearOneof
public Service.Dataset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- 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, java.lang.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, java.lang.Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
-
mergeFrom
public Service.Dataset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Service.Dataset.Builder>
-
mergeFrom
public Service.Dataset.Builder mergeFrom(Service.Dataset other)
-
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 java.io.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:
java.io.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
public java.lang.String 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
public Service.Dataset.Builder setName(java.lang.String value)
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
public Service.Dataset.Builder 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
public Service.Dataset.Builder setNameBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Service.Dataset.Builder setDigest(java.lang.String value)
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
public Service.Dataset.Builder 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
public Service.Dataset.Builder setDigestBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Service.Dataset.Builder setSourceType(java.lang.String value)
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
public Service.Dataset.Builder 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
public Service.Dataset.Builder setSourceTypeBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Service.Dataset.Builder setSource(java.lang.String value)
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
public Service.Dataset.Builder 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
public Service.Dataset.Builder setSourceBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Service.Dataset.Builder setSchema(java.lang.String value)
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
public Service.Dataset.Builder 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
public Service.Dataset.Builder setSchemaBytes(com.google.protobuf.ByteString value)
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
public java.lang.String 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
public Service.Dataset.Builder setProfile(java.lang.String value)
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
public Service.Dataset.Builder 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
public Service.Dataset.Builder setProfileBytes(com.google.protobuf.ByteString value)
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>
-
-