Class Service.CreateDataset.Builder

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

public static final class Service.CreateDataset.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Service.CreateDataset.Builder> implements Service.CreateDatasetOrBuilder
Protobuf type mlflow.CreateDataset
  • 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.CreateDataset.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.CreateDataset.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.CreateDataset.Builder>
    • getDefaultInstanceForType

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

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

      public Service.CreateDataset buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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.CreateDataset.Builder>
    • setField

      public Service.CreateDataset.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.CreateDataset.Builder>
    • clearField

      public Service.CreateDataset.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.CreateDataset.Builder>
    • clearOneof

      public Service.CreateDataset.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.CreateDataset.Builder>
    • setRepeatedField

      public Service.CreateDataset.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.CreateDataset.Builder>
    • addRepeatedField

      public Service.CreateDataset.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.CreateDataset.Builder>
    • mergeFrom

      public Service.CreateDataset.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.CreateDataset.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Service.CreateDataset.Builder>
    • mergeFrom

      public Service.CreateDataset.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.CreateDataset.Builder>
      Throws:
      IOException
    • hasName

      public boolean hasName()
       Dataset name
       
      optional string name = 1 [(.mlflow.validate_required) = true];
      Specified by:
      hasName in interface Service.CreateDatasetOrBuilder
      Returns:
      Whether the name field is set.
    • getName

      public String getName()
       Dataset name
       
      optional string name = 1 [(.mlflow.validate_required) = true];
      Specified by:
      getName in interface Service.CreateDatasetOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       Dataset name
       
      optional string name = 1 [(.mlflow.validate_required) = true];
      Specified by:
      getNameBytes in interface Service.CreateDatasetOrBuilder
      Returns:
      The bytes for name.
    • setName

      public Service.CreateDataset.Builder setName(String value)
       Dataset name
       
      optional string name = 1 [(.mlflow.validate_required) = true];
      Parameters:
      value - The name to set.
      Returns:
      This builder for chaining.
    • clearName

      public Service.CreateDataset.Builder clearName()
       Dataset name
       
      optional string name = 1 [(.mlflow.validate_required) = true];
      Returns:
      This builder for chaining.
    • setNameBytes

      public Service.CreateDataset.Builder setNameBytes(com.google.protobuf.ByteString value)
       Dataset name
       
      optional string name = 1 [(.mlflow.validate_required) = true];
      Parameters:
      value - The bytes for name to set.
      Returns:
      This builder for chaining.
    • getExperimentIdsList

      public com.google.protobuf.ProtocolStringList getExperimentIdsList()
       Associated experiment IDs. If not provided, defaults to the current active experiment.
       
      repeated string experiment_ids = 2;
      Specified by:
      getExperimentIdsList in interface Service.CreateDatasetOrBuilder
      Returns:
      A list containing the experimentIds.
    • getExperimentIdsCount

      public int getExperimentIdsCount()
       Associated experiment IDs. If not provided, defaults to the current active experiment.
       
      repeated string experiment_ids = 2;
      Specified by:
      getExperimentIdsCount in interface Service.CreateDatasetOrBuilder
      Returns:
      The count of experimentIds.
    • getExperimentIds

      public String getExperimentIds(int index)
       Associated experiment IDs. If not provided, defaults to the current active experiment.
       
      repeated string experiment_ids = 2;
      Specified by:
      getExperimentIds in interface Service.CreateDatasetOrBuilder
      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. If not provided, defaults to the current active experiment.
       
      repeated string experiment_ids = 2;
      Specified by:
      getExperimentIdsBytes in interface Service.CreateDatasetOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the experimentIds at the given index.
    • setExperimentIds

      public Service.CreateDataset.Builder setExperimentIds(int index, String value)
       Associated experiment IDs. If not provided, defaults to the current active experiment.
       
      repeated string experiment_ids = 2;
      Parameters:
      index - The index to set the value at.
      value - The experimentIds to set.
      Returns:
      This builder for chaining.
    • addExperimentIds

      public Service.CreateDataset.Builder addExperimentIds(String value)
       Associated experiment IDs. If not provided, defaults to the current active experiment.
       
      repeated string experiment_ids = 2;
      Parameters:
      value - The experimentIds to add.
      Returns:
      This builder for chaining.
    • addAllExperimentIds

      public Service.CreateDataset.Builder addAllExperimentIds(Iterable<String> values)
       Associated experiment IDs. If not provided, defaults to the current active experiment.
       
      repeated string experiment_ids = 2;
      Parameters:
      values - The experimentIds to add.
      Returns:
      This builder for chaining.
    • clearExperimentIds

      public Service.CreateDataset.Builder clearExperimentIds()
       Associated experiment IDs. If not provided, defaults to the current active experiment.
       
      repeated string experiment_ids = 2;
      Returns:
      This builder for chaining.
    • addExperimentIdsBytes

      public Service.CreateDataset.Builder addExperimentIdsBytes(com.google.protobuf.ByteString value)
       Associated experiment IDs. If not provided, defaults to the current active experiment.
       
      repeated string experiment_ids = 2;
      Parameters:
      value - The bytes of the experimentIds to add.
      Returns:
      This builder for chaining.
    • hasSourceType

      public boolean hasSourceType()
       Source type
       
      optional .mlflow.datasets.DatasetRecordSource.SourceType source_type = 3;
      Specified by:
      hasSourceType in interface Service.CreateDatasetOrBuilder
      Returns:
      Whether the sourceType field is set.
    • getSourceType

       Source type
       
      optional .mlflow.datasets.DatasetRecordSource.SourceType source_type = 3;
      Specified by:
      getSourceType in interface Service.CreateDatasetOrBuilder
      Returns:
      The sourceType.
    • setSourceType

       Source type
       
      optional .mlflow.datasets.DatasetRecordSource.SourceType source_type = 3;
      Parameters:
      value - The sourceType to set.
      Returns:
      This builder for chaining.
    • clearSourceType

      public Service.CreateDataset.Builder clearSourceType()
       Source type
       
      optional .mlflow.datasets.DatasetRecordSource.SourceType source_type = 3;
      Returns:
      This builder for chaining.
    • hasSource

      public boolean hasSource()
       Source information
       
      optional string source = 4;
      Specified by:
      hasSource in interface Service.CreateDatasetOrBuilder
      Returns:
      Whether the source field is set.
    • getSource

      public String getSource()
       Source information
       
      optional string source = 4;
      Specified by:
      getSource in interface Service.CreateDatasetOrBuilder
      Returns:
      The source.
    • getSourceBytes

      public com.google.protobuf.ByteString getSourceBytes()
       Source information
       
      optional string source = 4;
      Specified by:
      getSourceBytes in interface Service.CreateDatasetOrBuilder
      Returns:
      The bytes for source.
    • setSource

      public Service.CreateDataset.Builder setSource(String value)
       Source information
       
      optional string source = 4;
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

      public Service.CreateDataset.Builder clearSource()
       Source information
       
      optional string source = 4;
      Returns:
      This builder for chaining.
    • setSourceBytes

      public Service.CreateDataset.Builder setSourceBytes(com.google.protobuf.ByteString value)
       Source information
       
      optional string source = 4;
      Parameters:
      value - The bytes for source to set.
      Returns:
      This builder for chaining.
    • hasSchema

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

      public String getSchema()
       Schema information (JSON)
       
      optional string schema = 5;
      Specified by:
      getSchema in interface Service.CreateDatasetOrBuilder
      Returns:
      The schema.
    • getSchemaBytes

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

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

      public Service.CreateDataset.Builder clearSchema()
       Schema information (JSON)
       
      optional string schema = 5;
      Returns:
      This builder for chaining.
    • setSchemaBytes

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

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

      public String getProfile()
       Profile information (JSON)
       
      optional string profile = 6;
      Specified by:
      getProfile in interface Service.CreateDatasetOrBuilder
      Returns:
      The profile.
    • getProfileBytes

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

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

      public Service.CreateDataset.Builder clearProfile()
       Profile information (JSON)
       
      optional string profile = 6;
      Returns:
      This builder for chaining.
    • setProfileBytes

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

      public boolean hasCreatedBy()
       User creating the dataset
       
      optional string created_by = 7;
      Specified by:
      hasCreatedBy in interface Service.CreateDatasetOrBuilder
      Returns:
      Whether the createdBy field is set.
    • getCreatedBy

      public String getCreatedBy()
       User creating the dataset
       
      optional string created_by = 7;
      Specified by:
      getCreatedBy in interface Service.CreateDatasetOrBuilder
      Returns:
      The createdBy.
    • getCreatedByBytes

      public com.google.protobuf.ByteString getCreatedByBytes()
       User creating the dataset
       
      optional string created_by = 7;
      Specified by:
      getCreatedByBytes in interface Service.CreateDatasetOrBuilder
      Returns:
      The bytes for createdBy.
    • setCreatedBy

      public Service.CreateDataset.Builder setCreatedBy(String value)
       User creating the dataset
       
      optional string created_by = 7;
      Parameters:
      value - The createdBy to set.
      Returns:
      This builder for chaining.
    • clearCreatedBy

      public Service.CreateDataset.Builder clearCreatedBy()
       User creating the dataset
       
      optional string created_by = 7;
      Returns:
      This builder for chaining.
    • setCreatedByBytes

      public Service.CreateDataset.Builder setCreatedByBytes(com.google.protobuf.ByteString value)
       User creating the dataset
       
      optional string created_by = 7;
      Parameters:
      value - The bytes for createdBy to set.
      Returns:
      This builder for chaining.
    • hasTags

      public boolean hasTags()
       Tags to set on the dataset (JSON string mapping keys to values)
       
      optional string tags = 8;
      Specified by:
      hasTags in interface Service.CreateDatasetOrBuilder
      Returns:
      Whether the tags field is set.
    • getTags

      public String getTags()
       Tags to set on the dataset (JSON string mapping keys to values)
       
      optional string tags = 8;
      Specified by:
      getTags in interface Service.CreateDatasetOrBuilder
      Returns:
      The tags.
    • getTagsBytes

      public com.google.protobuf.ByteString getTagsBytes()
       Tags to set on the dataset (JSON string mapping keys to values)
       
      optional string tags = 8;
      Specified by:
      getTagsBytes in interface Service.CreateDatasetOrBuilder
      Returns:
      The bytes for tags.
    • setTags

      public Service.CreateDataset.Builder setTags(String value)
       Tags to set on the dataset (JSON string mapping keys to values)
       
      optional string tags = 8;
      Parameters:
      value - The tags to set.
      Returns:
      This builder for chaining.
    • clearTags

      public Service.CreateDataset.Builder clearTags()
       Tags to set on the dataset (JSON string mapping keys to values)
       
      optional string tags = 8;
      Returns:
      This builder for chaining.
    • setTagsBytes

      public Service.CreateDataset.Builder setTagsBytes(com.google.protobuf.ByteString value)
       Tags to set on the dataset (JSON string mapping keys to values)
       
      optional string tags = 8;
      Parameters:
      value - The bytes for tags to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Service.CreateDataset.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.CreateDataset.Builder>
    • mergeUnknownFields

      public final Service.CreateDataset.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.CreateDataset.Builder>