Class Service.DatasetSummary.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.DatasetSummaryOrBuilder
    Enclosing class:
    Service.DatasetSummary

    public static final class Service.DatasetSummary.Builder
    extends com.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetSummary.Builder>
    implements Service.DatasetSummaryOrBuilder
     DatasetSummary. Represents a summary of information about a dataset.
     
    Protobuf type mlflow.DatasetSummary
    • Method Detail

      • 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.DatasetSummary.Builder>
      • clear

        public Service.DatasetSummary.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.DatasetSummary.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.DatasetSummary.Builder>
      • getDefaultInstanceForType

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

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

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

        public Service.DatasetSummary.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.DatasetSummary.Builder>
      • setField

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

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

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

        public Service.DatasetSummary.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                               int index,
                                                               java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Service.DatasetSummary.Builder>
      • addRepeatedField

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

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

        public Service.DatasetSummary.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                 throws java.io.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.DatasetSummary.Builder>
        Throws:
        java.io.IOException
      • hasExperimentId

        public boolean hasExperimentId()
         Unique identifier for the experiment.
         
        optional string experiment_id = 1 [(.mlflow.validate_required) = true];
        Specified by:
        hasExperimentId in interface Service.DatasetSummaryOrBuilder
        Returns:
        Whether the experimentId field is set.
      • getExperimentId

        public java.lang.String getExperimentId()
         Unique identifier for the experiment.
         
        optional string experiment_id = 1 [(.mlflow.validate_required) = true];
        Specified by:
        getExperimentId in interface Service.DatasetSummaryOrBuilder
        Returns:
        The experimentId.
      • getExperimentIdBytes

        public com.google.protobuf.ByteString getExperimentIdBytes()
         Unique identifier for the experiment.
         
        optional string experiment_id = 1 [(.mlflow.validate_required) = true];
        Specified by:
        getExperimentIdBytes in interface Service.DatasetSummaryOrBuilder
        Returns:
        The bytes for experimentId.
      • setExperimentId

        public Service.DatasetSummary.Builder setExperimentId​(java.lang.String value)
         Unique identifier for the experiment.
         
        optional string experiment_id = 1 [(.mlflow.validate_required) = true];
        Parameters:
        value - The experimentId to set.
        Returns:
        This builder for chaining.
      • clearExperimentId

        public Service.DatasetSummary.Builder clearExperimentId()
         Unique identifier for the experiment.
         
        optional string experiment_id = 1 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setExperimentIdBytes

        public Service.DatasetSummary.Builder setExperimentIdBytes​(com.google.protobuf.ByteString value)
         Unique identifier for the experiment.
         
        optional string experiment_id = 1 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for experimentId to set.
        Returns:
        This builder for chaining.
      • hasName

        public boolean hasName()
         The name of the dataset. E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3”
         
        optional string name = 2 [(.mlflow.validate_required) = true];
        Specified by:
        hasName in interface Service.DatasetSummaryOrBuilder
        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 = 2 [(.mlflow.validate_required) = true];
        Specified by:
        getName in interface Service.DatasetSummaryOrBuilder
        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 = 2 [(.mlflow.validate_required) = true];
        Specified by:
        getNameBytes in interface Service.DatasetSummaryOrBuilder
        Returns:
        The bytes for name.
      • setName

        public Service.DatasetSummary.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 = 2 [(.mlflow.validate_required) = true];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Service.DatasetSummary.Builder clearName()
         The name of the dataset. E.g. “my.uc.table@2” “nyc-taxi-dataset”, “fantastic-elk-3”
         
        optional string name = 2 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Service.DatasetSummary.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 = 2 [(.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 = 3 [(.mlflow.validate_required) = true];
        Specified by:
        hasDigest in interface Service.DatasetSummaryOrBuilder
        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 = 3 [(.mlflow.validate_required) = true];
        Specified by:
        getDigest in interface Service.DatasetSummaryOrBuilder
        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 = 3 [(.mlflow.validate_required) = true];
        Specified by:
        getDigestBytes in interface Service.DatasetSummaryOrBuilder
        Returns:
        The bytes for digest.
      • setDigest

        public Service.DatasetSummary.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 = 3 [(.mlflow.validate_required) = true];
        Parameters:
        value - The digest to set.
        Returns:
        This builder for chaining.
      • clearDigest

        public Service.DatasetSummary.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 = 3 [(.mlflow.validate_required) = true];
        Returns:
        This builder for chaining.
      • setDigestBytes

        public Service.DatasetSummary.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 = 3 [(.mlflow.validate_required) = true];
        Parameters:
        value - The bytes for digest to set.
        Returns:
        This builder for chaining.
      • hasContext

        public boolean hasContext()
         Value of "context" tag if set for the given dataset.
         
        optional string context = 4;
        Specified by:
        hasContext in interface Service.DatasetSummaryOrBuilder
        Returns:
        Whether the context field is set.
      • getContext

        public java.lang.String getContext()
         Value of "context" tag if set for the given dataset.
         
        optional string context = 4;
        Specified by:
        getContext in interface Service.DatasetSummaryOrBuilder
        Returns:
        The context.
      • getContextBytes

        public com.google.protobuf.ByteString getContextBytes()
         Value of "context" tag if set for the given dataset.
         
        optional string context = 4;
        Specified by:
        getContextBytes in interface Service.DatasetSummaryOrBuilder
        Returns:
        The bytes for context.
      • setContext

        public Service.DatasetSummary.Builder setContext​(java.lang.String value)
         Value of "context" tag if set for the given dataset.
         
        optional string context = 4;
        Parameters:
        value - The context to set.
        Returns:
        This builder for chaining.
      • clearContext

        public Service.DatasetSummary.Builder clearContext()
         Value of "context" tag if set for the given dataset.
         
        optional string context = 4;
        Returns:
        This builder for chaining.
      • setContextBytes

        public Service.DatasetSummary.Builder setContextBytes​(com.google.protobuf.ByteString value)
         Value of "context" tag if set for the given dataset.
         
        optional string context = 4;
        Parameters:
        value - The bytes for context to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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