Class DatasetConstraints.Builder

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

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

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

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

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

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

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

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

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

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

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

        public DatasetConstraints.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<DatasetConstraints.Builder>
      • isInitialized

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

        public DatasetConstraints.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<DatasetConstraints.Builder>
        Throws:
        IOException
      • hasNumExamplesDriftComparator

        public boolean hasNumExamplesDriftComparator()
         Tests differences in number of examples between the current data and the
         previous span.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;
        Specified by:
        hasNumExamplesDriftComparator in interface DatasetConstraintsOrBuilder
        Returns:
        Whether the numExamplesDriftComparator field is set.
      • getNumExamplesDriftComparator

        public NumericValueComparator getNumExamplesDriftComparator()
         Tests differences in number of examples between the current data and the
         previous span.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;
        Specified by:
        getNumExamplesDriftComparator in interface DatasetConstraintsOrBuilder
        Returns:
        The numExamplesDriftComparator.
      • setNumExamplesDriftComparator

        public DatasetConstraints.Builder setNumExamplesDriftComparator​(NumericValueComparator value)
         Tests differences in number of examples between the current data and the
         previous span.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;
      • setNumExamplesDriftComparator

        public DatasetConstraints.Builder setNumExamplesDriftComparator​(NumericValueComparator.Builder builderForValue)
         Tests differences in number of examples between the current data and the
         previous span.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;
      • mergeNumExamplesDriftComparator

        public DatasetConstraints.Builder mergeNumExamplesDriftComparator​(NumericValueComparator value)
         Tests differences in number of examples between the current data and the
         previous span.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;
      • clearNumExamplesDriftComparator

        public DatasetConstraints.Builder clearNumExamplesDriftComparator()
         Tests differences in number of examples between the current data and the
         previous span.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;
      • getNumExamplesDriftComparatorBuilder

        public NumericValueComparator.Builder getNumExamplesDriftComparatorBuilder()
         Tests differences in number of examples between the current data and the
         previous span.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_drift_comparator = 1;
      • hasNumExamplesVersionComparator

        public boolean hasNumExamplesVersionComparator()
         Tests comparisions in number of examples between the current data and the
         previous version of that data.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;
        Specified by:
        hasNumExamplesVersionComparator in interface DatasetConstraintsOrBuilder
        Returns:
        Whether the numExamplesVersionComparator field is set.
      • getNumExamplesVersionComparator

        public NumericValueComparator getNumExamplesVersionComparator()
         Tests comparisions in number of examples between the current data and the
         previous version of that data.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;
        Specified by:
        getNumExamplesVersionComparator in interface DatasetConstraintsOrBuilder
        Returns:
        The numExamplesVersionComparator.
      • setNumExamplesVersionComparator

        public DatasetConstraints.Builder setNumExamplesVersionComparator​(NumericValueComparator value)
         Tests comparisions in number of examples between the current data and the
         previous version of that data.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;
      • setNumExamplesVersionComparator

        public DatasetConstraints.Builder setNumExamplesVersionComparator​(NumericValueComparator.Builder builderForValue)
         Tests comparisions in number of examples between the current data and the
         previous version of that data.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;
      • mergeNumExamplesVersionComparator

        public DatasetConstraints.Builder mergeNumExamplesVersionComparator​(NumericValueComparator value)
         Tests comparisions in number of examples between the current data and the
         previous version of that data.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;
      • clearNumExamplesVersionComparator

        public DatasetConstraints.Builder clearNumExamplesVersionComparator()
         Tests comparisions in number of examples between the current data and the
         previous version of that data.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;
      • getNumExamplesVersionComparatorBuilder

        public NumericValueComparator.Builder getNumExamplesVersionComparatorBuilder()
         Tests comparisions in number of examples between the current data and the
         previous version of that data.
         
        optional .tensorflow.metadata.v0.NumericValueComparator num_examples_version_comparator = 2;
      • hasMinExamplesCount

        public boolean hasMinExamplesCount()
         Minimum number of examples in the dataset.
         
        optional int64 min_examples_count = 3;
        Specified by:
        hasMinExamplesCount in interface DatasetConstraintsOrBuilder
        Returns:
        Whether the minExamplesCount field is set.
      • getMinExamplesCount

        public long getMinExamplesCount()
         Minimum number of examples in the dataset.
         
        optional int64 min_examples_count = 3;
        Specified by:
        getMinExamplesCount in interface DatasetConstraintsOrBuilder
        Returns:
        The minExamplesCount.
      • setMinExamplesCount

        public DatasetConstraints.Builder setMinExamplesCount​(long value)
         Minimum number of examples in the dataset.
         
        optional int64 min_examples_count = 3;
        Parameters:
        value - The minExamplesCount to set.
        Returns:
        This builder for chaining.
      • clearMinExamplesCount

        public DatasetConstraints.Builder clearMinExamplesCount()
         Minimum number of examples in the dataset.
         
        optional int64 min_examples_count = 3;
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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