Class WeightedNumericStatistics.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<WeightedNumericStatistics.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<WeightedNumericStatistics.Builder>
      • getDefaultInstanceForType

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

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

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

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

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

        public WeightedNumericStatistics.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<WeightedNumericStatistics.Builder>
        Throws:
        IOException
      • setMean

        public WeightedNumericStatistics.Builder setMean​(double value)
         The weighted mean of the values
         
        double mean = 1;
        Parameters:
        value - The mean to set.
        Returns:
        This builder for chaining.
      • setStdDev

        public WeightedNumericStatistics.Builder setStdDev​(double value)
         The weighted standard deviation of the values
         
        double std_dev = 2;
        Parameters:
        value - The stdDev to set.
        Returns:
        This builder for chaining.
      • clearStdDev

        public WeightedNumericStatistics.Builder clearStdDev()
         The weighted standard deviation of the values
         
        double std_dev = 2;
        Returns:
        This builder for chaining.
      • setMedian

        public WeightedNumericStatistics.Builder setMedian​(double value)
         The weighted median of the values
         
        double median = 3;
        Parameters:
        value - The median to set.
        Returns:
        This builder for chaining.
      • setHistograms

        public WeightedNumericStatistics.Builder setHistograms​(int index,
                                                               Histogram value)
         The histogram(s) of the weighted feature values.
         
        repeated .tensorflow.metadata.v0.Histogram histograms = 4;
      • addHistograms

        public WeightedNumericStatistics.Builder addHistograms​(int index,
                                                               Histogram value)
         The histogram(s) of the weighted feature values.
         
        repeated .tensorflow.metadata.v0.Histogram histograms = 4;
      • clearHistograms

        public WeightedNumericStatistics.Builder clearHistograms()
         The histogram(s) of the weighted feature values.
         
        repeated .tensorflow.metadata.v0.Histogram histograms = 4;
      • removeHistograms

        public WeightedNumericStatistics.Builder removeHistograms​(int index)
         The histogram(s) of the weighted feature values.
         
        repeated .tensorflow.metadata.v0.Histogram histograms = 4;
      • getHistogramsBuilder

        public Histogram.Builder getHistogramsBuilder​(int index)
         The histogram(s) of the weighted feature values.
         
        repeated .tensorflow.metadata.v0.Histogram histograms = 4;
      • addHistogramsBuilder

        public Histogram.Builder addHistogramsBuilder()
         The histogram(s) of the weighted feature values.
         
        repeated .tensorflow.metadata.v0.Histogram histograms = 4;
      • addHistogramsBuilder

        public Histogram.Builder addHistogramsBuilder​(int index)
         The histogram(s) of the weighted feature values.
         
        repeated .tensorflow.metadata.v0.Histogram histograms = 4;
      • getHistogramsBuilderList

        public List<Histogram.Builder> getHistogramsBuilderList()
         The histogram(s) of the weighted feature values.
         
        repeated .tensorflow.metadata.v0.Histogram histograms = 4;
      • setUnknownFields

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

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