Class Service.Dataset.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Service.Dataset.Builder>
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 Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
    • clear

      public Service.Dataset.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
    • getDefaultInstanceForType

      public Service.Dataset getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Service.Dataset build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Service.Dataset buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Service.Dataset.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
    • setField

      public Service.Dataset.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
    • clearField

      public Service.Dataset.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
    • clearOneof

      public Service.Dataset.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.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:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
    • addRepeatedField

      public Service.Dataset.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
    • mergeFrom

      public Service.Dataset.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.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 interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.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:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.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:
      hasName in interface Service.DatasetOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public 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 interface Service.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 interface Service.DatasetOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Service.Dataset.Builder setName(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 interface Service.DatasetOrBuilder
      Returns:
      Whether the digest field is set.
    • getDigest

      public 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 interface Service.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 interface Service.DatasetOrBuilder
      Returns:
      The bytes for digest.
    • setDigest

      public Service.Dataset.Builder setDigest(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 interface Service.DatasetOrBuilder
      Returns:
      Whether the sourceType field is set.
    • getSourceType

      public 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 interface Service.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 interface Service.DatasetOrBuilder
      Returns:
      The bytes for sourceType.
    • setSourceType

      public Service.Dataset.Builder setSourceType(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 interface Service.DatasetOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public 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 interface Service.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 interface Service.DatasetOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public Service.Dataset.Builder setSource(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 interface Service.DatasetOrBuilder
      Returns:
      Whether the schema field is set.
    • getSchema

      public 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 interface Service.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 interface Service.DatasetOrBuilder
      Returns:
      The bytes for schema.
    • setSchema

      public Service.Dataset.Builder setSchema(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 interface Service.DatasetOrBuilder
      Returns:
      Whether the profile field is set.
    • getProfile

      public 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 interface Service.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 interface Service.DatasetOrBuilder
      Returns:
      The bytes for profile.
    • setProfile

      public Service.Dataset.Builder setProfile(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 interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>
    • mergeUnknownFields

      public final Service.Dataset.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Service.Dataset.Builder>