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

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

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

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

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

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

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

        public WeightedStringStatistics.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<WeightedStringStatistics.Builder>
        Throws:
        IOException
      • getTopValuesCount

        public int getTopValuesCount()
         A sorted list of the most-frequent values and their weighted frequencies,
         with the most-frequent being first.
         
        repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 1;
        Specified by:
        getTopValuesCount in interface WeightedStringStatisticsOrBuilder
      • setTopValues

        public WeightedStringStatistics.Builder setTopValues​(int index,
                                                             StringStatistics.FreqAndValue value)
         A sorted list of the most-frequent values and their weighted frequencies,
         with the most-frequent being first.
         
        repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 1;
      • addTopValues

        public WeightedStringStatistics.Builder addTopValues​(int index,
                                                             StringStatistics.FreqAndValue value)
         A sorted list of the most-frequent values and their weighted frequencies,
         with the most-frequent being first.
         
        repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 1;
      • clearTopValues

        public WeightedStringStatistics.Builder clearTopValues()
         A sorted list of the most-frequent values and their weighted frequencies,
         with the most-frequent being first.
         
        repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 1;
      • removeTopValues

        public WeightedStringStatistics.Builder removeTopValues​(int index)
         A sorted list of the most-frequent values and their weighted frequencies,
         with the most-frequent being first.
         
        repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 1;
      • getTopValuesBuilder

        public StringStatistics.FreqAndValue.Builder getTopValuesBuilder​(int index)
         A sorted list of the most-frequent values and their weighted frequencies,
         with the most-frequent being first.
         
        repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 1;
      • addTopValuesBuilder

        public StringStatistics.FreqAndValue.Builder addTopValuesBuilder()
         A sorted list of the most-frequent values and their weighted frequencies,
         with the most-frequent being first.
         
        repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 1;
      • addTopValuesBuilder

        public StringStatistics.FreqAndValue.Builder addTopValuesBuilder​(int index)
         A sorted list of the most-frequent values and their weighted frequencies,
         with the most-frequent being first.
         
        repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 1;
      • getTopValuesBuilderList

        public List<StringStatistics.FreqAndValue.Builder> getTopValuesBuilderList()
         A sorted list of the most-frequent values and their weighted frequencies,
         with the most-frequent being first.
         
        repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 1;
      • hasRankHistogram

        public boolean hasRankHistogram()
         The rank histogram for the weighted values of the feature.
         
        .tensorflow.metadata.v0.RankHistogram rank_histogram = 2;
        Specified by:
        hasRankHistogram in interface WeightedStringStatisticsOrBuilder
        Returns:
        Whether the rankHistogram field is set.
      • clearRankHistogram

        public WeightedStringStatistics.Builder clearRankHistogram()
         The rank histogram for the weighted values of the feature.
         
        .tensorflow.metadata.v0.RankHistogram rank_histogram = 2;
      • getRankHistogramBuilder

        public RankHistogram.Builder getRankHistogramBuilder()
         The rank histogram for the weighted values of the feature.
         
        .tensorflow.metadata.v0.RankHistogram rank_histogram = 2;
      • setUnknownFields

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

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