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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.Dataset
build()
Service.Dataset
buildPartial()
Service.Dataset.Builder
clear()
Service.Dataset.Builder
clearDigest()
Dataset digest, e.g.Service.Dataset.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Service.Dataset.Builder
clearName()
The name of the dataset.Service.Dataset.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Service.Dataset.Builder
clearProfile()
The profile of the dataset.Service.Dataset.Builder
clearSchema()
The schema of the dataset.Service.Dataset.Builder
clearSource()
The type of the dataset source, e.g.Service.Dataset.Builder
clearSourceType()
Source information for the dataset.Service.Dataset.Builder
clone()
Service.Dataset
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
java.lang.String
getDigest()
Dataset digest, e.g.com.google.protobuf.ByteString
getDigestBytes()
Dataset digest, e.g.java.lang.String
getName()
The name of the dataset.com.google.protobuf.ByteString
getNameBytes()
The name of the dataset.java.lang.String
getProfile()
The profile of the dataset.com.google.protobuf.ByteString
getProfileBytes()
The profile of the dataset.java.lang.String
getSchema()
The schema of the dataset.com.google.protobuf.ByteString
getSchemaBytes()
The schema of the dataset.java.lang.String
getSource()
The type of the dataset source, e.g.com.google.protobuf.ByteString
getSourceBytes()
The type of the dataset source, e.g.java.lang.String
getSourceType()
Source information for the dataset.com.google.protobuf.ByteString
getSourceTypeBytes()
Source information for the dataset.boolean
hasDigest()
Dataset digest, e.g.boolean
hasName()
The name of the dataset.boolean
hasProfile()
The profile of the dataset.boolean
hasSchema()
The schema of the dataset.boolean
hasSource()
The type of the dataset source, e.g.boolean
hasSourceType()
Source information for the dataset.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
Service.Dataset.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Service.Dataset.Builder
mergeFrom(com.google.protobuf.Message other)
Service.Dataset.Builder
mergeFrom(Service.Dataset other)
Service.Dataset.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Service.Dataset.Builder
setDigest(java.lang.String value)
Dataset digest, e.g.Service.Dataset.Builder
setDigestBytes(com.google.protobuf.ByteString value)
Dataset digest, e.g.Service.Dataset.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
Service.Dataset.Builder
setName(java.lang.String value)
The name of the dataset.Service.Dataset.Builder
setNameBytes(com.google.protobuf.ByteString value)
The name of the dataset.Service.Dataset.Builder
setProfile(java.lang.String value)
The profile of the dataset.Service.Dataset.Builder
setProfileBytes(com.google.protobuf.ByteString value)
The profile of the dataset.Service.Dataset.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
Service.Dataset.Builder
setSchema(java.lang.String value)
The schema of the dataset.Service.Dataset.Builder
setSchemaBytes(com.google.protobuf.ByteString value)
The schema of the dataset.Service.Dataset.Builder
setSource(java.lang.String value)
The type of the dataset source, e.g.Service.Dataset.Builder
setSourceBytes(com.google.protobuf.ByteString value)
The type of the dataset source, e.g.Service.Dataset.Builder
setSourceType(java.lang.String value)
Source information for the dataset.Service.Dataset.Builder
setSourceTypeBytes(com.google.protobuf.ByteString value)
Source information for the dataset.Service.Dataset.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 Detail
-
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.Dataset.Builder>
-
clear
public Service.Dataset.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.Dataset.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.Dataset.Builder>
-
getDefaultInstanceForType
public Service.Dataset getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Service.Dataset build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Service.Dataset buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Service.Dataset.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.Dataset.Builder>
-
setField
public Service.Dataset.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<Service.Dataset.Builder>
-
clearField
public Service.Dataset.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.Dataset.Builder>
-
clearOneof
public Service.Dataset.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.Dataset.Builder>
-
setRepeatedField
public Service.Dataset.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<Service.Dataset.Builder>
-
addRepeatedField
public Service.Dataset.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<Service.Dataset.Builder>
-
mergeFrom
public Service.Dataset.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Service.Dataset.Builder>
-
mergeFrom
public Service.Dataset.Builder mergeFrom(Service.Dataset other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
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.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:
hasName
in 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:
getName
in 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:
getNameBytes
in 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:
hasDigest
in 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:
getDigest
in 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:
getDigestBytes
in 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()
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_type = 3 [(.mlflow.validate_required) = true];
- Specified by:
hasSourceType
in interfaceService.DatasetOrBuilder
- Returns:
- Whether the sourceType field is set.
-
getSourceType
public java.lang.String getSourceType()
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_type = 3 [(.mlflow.validate_required) = true];
- Specified by:
getSourceType
in interfaceService.DatasetOrBuilder
- Returns:
- The sourceType.
-
getSourceTypeBytes
public com.google.protobuf.ByteString getSourceTypeBytes()
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_type = 3 [(.mlflow.validate_required) = true];
- Specified by:
getSourceTypeBytes
in interfaceService.DatasetOrBuilder
- Returns:
- The bytes for sourceType.
-
setSourceType
public Service.Dataset.Builder setSourceType(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_type = 3 [(.mlflow.validate_required) = true];
- Parameters:
value
- The sourceType to set.- Returns:
- This builder for chaining.
-
clearSourceType
public Service.Dataset.Builder clearSourceType()
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_type = 3 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setSourceTypeBytes
public Service.Dataset.Builder setSourceTypeBytes(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_type = 3 [(.mlflow.validate_required) = true];
- Parameters:
value
- The bytes for sourceType to set.- Returns:
- This builder for chaining.
-
hasSource
public boolean hasSource()
The type of the dataset source, e.g. ‘databricks-uc-table’, ‘DBFS’, ‘S3’, ...
optional string source = 4 [(.mlflow.validate_required) = true];
- Specified by:
hasSource
in interfaceService.DatasetOrBuilder
- Returns:
- Whether the source field is set.
-
getSource
public java.lang.String getSource()
The type of the dataset source, e.g. ‘databricks-uc-table’, ‘DBFS’, ‘S3’, ...
optional string source = 4 [(.mlflow.validate_required) = true];
- Specified by:
getSource
in interfaceService.DatasetOrBuilder
- Returns:
- The source.
-
getSourceBytes
public com.google.protobuf.ByteString getSourceBytes()
The type of the dataset source, e.g. ‘databricks-uc-table’, ‘DBFS’, ‘S3’, ...
optional string source = 4 [(.mlflow.validate_required) = true];
- Specified by:
getSourceBytes
in interfaceService.DatasetOrBuilder
- Returns:
- The bytes for source.
-
setSource
public Service.Dataset.Builder setSource(java.lang.String value)
The type of the dataset source, e.g. ‘databricks-uc-table’, ‘DBFS’, ‘S3’, ...
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()
The type of the dataset source, e.g. ‘databricks-uc-table’, ‘DBFS’, ‘S3’, ...
optional string source = 4 [(.mlflow.validate_required) = true];
- Returns:
- This builder for chaining.
-
setSourceBytes
public Service.Dataset.Builder setSourceBytes(com.google.protobuf.ByteString value)
The type of the dataset source, e.g. ‘databricks-uc-table’, ‘DBFS’, ‘S3’, ...
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:
hasSchema
in 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:
getSchema
in 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:
getSchemaBytes
in 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:
hasProfile
in 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:
getProfile
in 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:
getProfileBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
-
mergeUnknownFields
public final Service.Dataset.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.Dataset.Builder>
-
-