Class Datasets.Dataset.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<Datasets.Dataset.Builder>
org.mlflow.api.proto.Datasets.Dataset.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, Datasets.DatasetOrBuilder
Enclosing class:
Datasets.Dataset

public static final class Datasets.Dataset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Datasets.Dataset.Builder> implements Datasets.DatasetOrBuilder
Protobuf type mlflow.datasets.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<Datasets.Dataset.Builder>
    • clear

      public Datasets.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<Datasets.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<Datasets.Dataset.Builder>
    • getDefaultInstanceForType

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

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

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

      public Datasets.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<Datasets.Dataset.Builder>
    • setField

      public Datasets.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<Datasets.Dataset.Builder>
    • clearField

      public Datasets.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<Datasets.Dataset.Builder>
    • clearOneof

      public Datasets.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<Datasets.Dataset.Builder>
    • setRepeatedField

      public Datasets.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<Datasets.Dataset.Builder>
    • addRepeatedField

      public Datasets.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<Datasets.Dataset.Builder>
    • mergeFrom

      public Datasets.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<Datasets.Dataset.Builder>
    • mergeFrom

      public Datasets.Dataset.Builder mergeFrom(Datasets.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<Datasets.Dataset.Builder>
    • mergeFrom

      public Datasets.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<Datasets.Dataset.Builder>
      Throws:
      IOException
    • hasDatasetId

      public boolean hasDatasetId()
       Unique identifier for the dataset
       
      optional string dataset_id = 1;
      Specified by:
      hasDatasetId in interface Datasets.DatasetOrBuilder
      Returns:
      Whether the datasetId field is set.
    • getDatasetId

      public String getDatasetId()
       Unique identifier for the dataset
       
      optional string dataset_id = 1;
      Specified by:
      getDatasetId in interface Datasets.DatasetOrBuilder
      Returns:
      The datasetId.
    • getDatasetIdBytes

      public com.google.protobuf.ByteString getDatasetIdBytes()
       Unique identifier for the dataset
       
      optional string dataset_id = 1;
      Specified by:
      getDatasetIdBytes in interface Datasets.DatasetOrBuilder
      Returns:
      The bytes for datasetId.
    • setDatasetId

      public Datasets.Dataset.Builder setDatasetId(String value)
       Unique identifier for the dataset
       
      optional string dataset_id = 1;
      Parameters:
      value - The datasetId to set.
      Returns:
      This builder for chaining.
    • clearDatasetId

      public Datasets.Dataset.Builder clearDatasetId()
       Unique identifier for the dataset
       
      optional string dataset_id = 1;
      Returns:
      This builder for chaining.
    • setDatasetIdBytes

      public Datasets.Dataset.Builder setDatasetIdBytes(com.google.protobuf.ByteString value)
       Unique identifier for the dataset
       
      optional string dataset_id = 1;
      Parameters:
      value - The bytes for datasetId to set.
      Returns:
      This builder for chaining.
    • hasName

      public boolean hasName()
       Dataset name (user-friendly identifier)
       
      optional string name = 2;
      Specified by:
      hasName in interface Datasets.DatasetOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Dataset name (user-friendly identifier)
       
      optional string name = 2;
      Specified by:
      getName in interface Datasets.DatasetOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Dataset name (user-friendly identifier)
       
      optional string name = 2;
      Specified by:
      getNameBytes in interface Datasets.DatasetOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Datasets.Dataset.Builder setName(String value)
       Dataset name (user-friendly identifier)
       
      optional string name = 2;
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Datasets.Dataset.Builder clearName()
       Dataset name (user-friendly identifier)
       
      optional string name = 2;
      Returns:
      This builder for chaining.
    • setNameBytes

      public Datasets.Dataset.Builder setNameBytes(com.google.protobuf.ByteString value)
       Dataset name (user-friendly identifier)
       
      optional string name = 2;
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • hasTags

      public boolean hasTags()
       Tags as JSON string (key-value pairs for metadata)
       
      optional string tags = 3;
      Specified by:
      hasTags in interface Datasets.DatasetOrBuilder
      Returns:
      Whether the tags field is set.
    • getTags

      public String getTags()
       Tags as JSON string (key-value pairs for metadata)
       
      optional string tags = 3;
      Specified by:
      getTags in interface Datasets.DatasetOrBuilder
      Returns:
      The tags.
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes()
       Tags as JSON string (key-value pairs for metadata)
       
      optional string tags = 3;
      Specified by:
      getTagsBytes in interface Datasets.DatasetOrBuilder
      Returns:
      The bytes for tags.
    • setTags

      public Datasets.Dataset.Builder setTags(String value)
       Tags as JSON string (key-value pairs for metadata)
       
      optional string tags = 3;
      Parameters:
      value - The tags to set.
      Returns:
      This builder for chaining.
    • clearTags

      public Datasets.Dataset.Builder clearTags()
       Tags as JSON string (key-value pairs for metadata)
       
      optional string tags = 3;
      Returns:
      This builder for chaining.
    • setTagsBytes

      public Datasets.Dataset.Builder setTagsBytes(com.google.protobuf.ByteString value)
       Tags as JSON string (key-value pairs for metadata)
       
      optional string tags = 3;
      Parameters:
      value - The bytes for tags to set.
      Returns:
      This builder for chaining.
    • hasSchema

      public boolean hasSchema()
       Schema information (JSON)
       
      optional string schema = 4;
      Specified by:
      hasSchema in interface Datasets.DatasetOrBuilder
      Returns:
      Whether the schema field is set.
    • getSchema

      public String getSchema()
       Schema information (JSON)
       
      optional string schema = 4;
      Specified by:
      getSchema in interface Datasets.DatasetOrBuilder
      Returns:
      The schema.
    • getSchemaBytes

      public com.google.protobuf.ByteString getSchemaBytes()
       Schema information (JSON)
       
      optional string schema = 4;
      Specified by:
      getSchemaBytes in interface Datasets.DatasetOrBuilder
      Returns:
      The bytes for schema.
    • setSchema

      public Datasets.Dataset.Builder setSchema(String value)
       Schema information (JSON)
       
      optional string schema = 4;
      Parameters:
      value - The schema to set.
      Returns:
      This builder for chaining.
    • clearSchema

      public Datasets.Dataset.Builder clearSchema()
       Schema information (JSON)
       
      optional string schema = 4;
      Returns:
      This builder for chaining.
    • setSchemaBytes

      public Datasets.Dataset.Builder setSchemaBytes(com.google.protobuf.ByteString value)
       Schema information (JSON)
       
      optional string schema = 4;
      Parameters:
      value - The bytes for schema to set.
      Returns:
      This builder for chaining.
    • hasProfile

      public boolean hasProfile()
       Profile information (JSON)
       
      optional string profile = 5;
      Specified by:
      hasProfile in interface Datasets.DatasetOrBuilder
      Returns:
      Whether the profile field is set.
    • getProfile

      public String getProfile()
       Profile information (JSON)
       
      optional string profile = 5;
      Specified by:
      getProfile in interface Datasets.DatasetOrBuilder
      Returns:
      The profile.
    • getProfileBytes

      public com.google.protobuf.ByteString getProfileBytes()
       Profile information (JSON)
       
      optional string profile = 5;
      Specified by:
      getProfileBytes in interface Datasets.DatasetOrBuilder
      Returns:
      The bytes for profile.
    • setProfile

      public Datasets.Dataset.Builder setProfile(String value)
       Profile information (JSON)
       
      optional string profile = 5;
      Parameters:
      value - The profile to set.
      Returns:
      This builder for chaining.
    • clearProfile

      public Datasets.Dataset.Builder clearProfile()
       Profile information (JSON)
       
      optional string profile = 5;
      Returns:
      This builder for chaining.
    • setProfileBytes

      public Datasets.Dataset.Builder setProfileBytes(com.google.protobuf.ByteString value)
       Profile information (JSON)
       
      optional string profile = 5;
      Parameters:
      value - The bytes for profile to set.
      Returns:
      This builder for chaining.
    • hasDigest

      public boolean hasDigest()
       Dataset digest for integrity checking
       
      optional string digest = 6;
      Specified by:
      hasDigest in interface Datasets.DatasetOrBuilder
      Returns:
      Whether the digest field is set.
    • getDigest

      public String getDigest()
       Dataset digest for integrity checking
       
      optional string digest = 6;
      Specified by:
      getDigest in interface Datasets.DatasetOrBuilder
      Returns:
      The digest.
    • getDigestBytes

      public com.google.protobuf.ByteString getDigestBytes()
       Dataset digest for integrity checking
       
      optional string digest = 6;
      Specified by:
      getDigestBytes in interface Datasets.DatasetOrBuilder
      Returns:
      The bytes for digest.
    • setDigest

      public Datasets.Dataset.Builder setDigest(String value)
       Dataset digest for integrity checking
       
      optional string digest = 6;
      Parameters:
      value - The digest to set.
      Returns:
      This builder for chaining.
    • clearDigest

      public Datasets.Dataset.Builder clearDigest()
       Dataset digest for integrity checking
       
      optional string digest = 6;
      Returns:
      This builder for chaining.
    • setDigestBytes

      public Datasets.Dataset.Builder setDigestBytes(com.google.protobuf.ByteString value)
       Dataset digest for integrity checking
       
      optional string digest = 6;
      Parameters:
      value - The bytes for digest to set.
      Returns:
      This builder for chaining.
    • hasCreatedTime

      public boolean hasCreatedTime()
       Creation timestamp in milliseconds
       
      optional int64 created_time = 7;
      Specified by:
      hasCreatedTime in interface Datasets.DatasetOrBuilder
      Returns:
      Whether the createdTime field is set.
    • getCreatedTime

      public long getCreatedTime()
       Creation timestamp in milliseconds
       
      optional int64 created_time = 7;
      Specified by:
      getCreatedTime in interface Datasets.DatasetOrBuilder
      Returns:
      The createdTime.
    • setCreatedTime

      public Datasets.Dataset.Builder setCreatedTime(long value)
       Creation timestamp in milliseconds
       
      optional int64 created_time = 7;
      Parameters:
      value - The createdTime to set.
      Returns:
      This builder for chaining.
    • clearCreatedTime

      public Datasets.Dataset.Builder clearCreatedTime()
       Creation timestamp in milliseconds
       
      optional int64 created_time = 7;
      Returns:
      This builder for chaining.
    • hasLastUpdateTime

      public boolean hasLastUpdateTime()
       Last update timestamp in milliseconds
       
      optional int64 last_update_time = 8;
      Specified by:
      hasLastUpdateTime in interface Datasets.DatasetOrBuilder
      Returns:
      Whether the lastUpdateTime field is set.
    • getLastUpdateTime

      public long getLastUpdateTime()
       Last update timestamp in milliseconds
       
      optional int64 last_update_time = 8;
      Specified by:
      getLastUpdateTime in interface Datasets.DatasetOrBuilder
      Returns:
      The lastUpdateTime.
    • setLastUpdateTime

      public Datasets.Dataset.Builder setLastUpdateTime(long value)
       Last update timestamp in milliseconds
       
      optional int64 last_update_time = 8;
      Parameters:
      value - The lastUpdateTime to set.
      Returns:
      This builder for chaining.
    • clearLastUpdateTime

      public Datasets.Dataset.Builder clearLastUpdateTime()
       Last update timestamp in milliseconds
       
      optional int64 last_update_time = 8;
      Returns:
      This builder for chaining.
    • hasCreatedBy

      public boolean hasCreatedBy()
       User who created the dataset
       
      optional string created_by = 9;
      Specified by:
      hasCreatedBy in interface Datasets.DatasetOrBuilder
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      public String getCreatedBy()
       User who created the dataset
       
      optional string created_by = 9;
      Specified by:
      getCreatedBy in interface Datasets.DatasetOrBuilder
      Returns:
      The createdBy.
    • getCreatedByBytes

      public com.google.protobuf.ByteString getCreatedByBytes()
       User who created the dataset
       
      optional string created_by = 9;
      Specified by:
      getCreatedByBytes in interface Datasets.DatasetOrBuilder
      Returns:
      The bytes for createdBy.
    • setCreatedBy

      public Datasets.Dataset.Builder setCreatedBy(String value)
       User who created the dataset
       
      optional string created_by = 9;
      Parameters:
      value - The createdBy to set.
      Returns:
      This builder for chaining.
    • clearCreatedBy

      public Datasets.Dataset.Builder clearCreatedBy()
       User who created the dataset
       
      optional string created_by = 9;
      Returns:
      This builder for chaining.
    • setCreatedByBytes

      public Datasets.Dataset.Builder setCreatedByBytes(com.google.protobuf.ByteString value)
       User who created the dataset
       
      optional string created_by = 9;
      Parameters:
      value - The bytes for createdBy to set.
      Returns:
      This builder for chaining.
    • hasLastUpdatedBy

      public boolean hasLastUpdatedBy()
       User who last updated the dataset
       
      optional string last_updated_by = 10;
      Specified by:
      hasLastUpdatedBy in interface Datasets.DatasetOrBuilder
      Returns:
      Whether the lastUpdatedBy field is set.
    • getLastUpdatedBy

      public String getLastUpdatedBy()
       User who last updated the dataset
       
      optional string last_updated_by = 10;
      Specified by:
      getLastUpdatedBy in interface Datasets.DatasetOrBuilder
      Returns:
      The lastUpdatedBy.
    • getLastUpdatedByBytes

      public com.google.protobuf.ByteString getLastUpdatedByBytes()
       User who last updated the dataset
       
      optional string last_updated_by = 10;
      Specified by:
      getLastUpdatedByBytes in interface Datasets.DatasetOrBuilder
      Returns:
      The bytes for lastUpdatedBy.
    • setLastUpdatedBy

      public Datasets.Dataset.Builder setLastUpdatedBy(String value)
       User who last updated the dataset
       
      optional string last_updated_by = 10;
      Parameters:
      value - The lastUpdatedBy to set.
      Returns:
      This builder for chaining.
    • clearLastUpdatedBy

      public Datasets.Dataset.Builder clearLastUpdatedBy()
       User who last updated the dataset
       
      optional string last_updated_by = 10;
      Returns:
      This builder for chaining.
    • setLastUpdatedByBytes

      public Datasets.Dataset.Builder setLastUpdatedByBytes(com.google.protobuf.ByteString value)
       User who last updated the dataset
       
      optional string last_updated_by = 10;
      Parameters:
      value - The bytes for lastUpdatedBy to set.
      Returns:
      This builder for chaining.
    • getExperimentIdsList

      public com.google.protobuf.ProtocolStringList getExperimentIdsList()
       Associated experiment IDs (populated from entity_associations table)
       
      repeated string experiment_ids = 11;
      Specified by:
      getExperimentIdsList in interface Datasets.DatasetOrBuilder
      Returns:
      A list containing the experimentIds.
    • getExperimentIdsCount

      public int getExperimentIdsCount()
       Associated experiment IDs (populated from entity_associations table)
       
      repeated string experiment_ids = 11;
      Specified by:
      getExperimentIdsCount in interface Datasets.DatasetOrBuilder
      Returns:
      The count of experimentIds.
    • getExperimentIds

      public String getExperimentIds(int index)
       Associated experiment IDs (populated from entity_associations table)
       
      repeated string experiment_ids = 11;
      Specified by:
      getExperimentIds in interface Datasets.DatasetOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The experimentIds at the given index.
    • getExperimentIdsBytes

      public com.google.protobuf.ByteString getExperimentIdsBytes(int index)
       Associated experiment IDs (populated from entity_associations table)
       
      repeated string experiment_ids = 11;
      Specified by:
      getExperimentIdsBytes in interface Datasets.DatasetOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the experimentIds at the given index.
    • setExperimentIds

      public Datasets.Dataset.Builder setExperimentIds(int index, String value)
       Associated experiment IDs (populated from entity_associations table)
       
      repeated string experiment_ids = 11;
      Parameters:
      index - The index to set the value at.
      value - The experimentIds to set.
      Returns:
      This builder for chaining.
    • addExperimentIds

      public Datasets.Dataset.Builder addExperimentIds(String value)
       Associated experiment IDs (populated from entity_associations table)
       
      repeated string experiment_ids = 11;
      Parameters:
      value - The experimentIds to add.
      Returns:
      This builder for chaining.
    • addAllExperimentIds

      public Datasets.Dataset.Builder addAllExperimentIds(Iterable<String> values)
       Associated experiment IDs (populated from entity_associations table)
       
      repeated string experiment_ids = 11;
      Parameters:
      values - The experimentIds to add.
      Returns:
      This builder for chaining.
    • clearExperimentIds

      public Datasets.Dataset.Builder clearExperimentIds()
       Associated experiment IDs (populated from entity_associations table)
       
      repeated string experiment_ids = 11;
      Returns:
      This builder for chaining.
    • addExperimentIdsBytes

      public Datasets.Dataset.Builder addExperimentIdsBytes(com.google.protobuf.ByteString value)
       Associated experiment IDs (populated from entity_associations table)
       
      repeated string experiment_ids = 11;
      Parameters:
      value - The bytes of the experimentIds to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Datasets.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<Datasets.Dataset.Builder>
    • mergeUnknownFields

      public final Datasets.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<Datasets.Dataset.Builder>