Package org.tensorflow.metadata.v0
Class WeightedStringStatistics.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder>
-
- org.tensorflow.metadata.v0.WeightedStringStatistics.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,WeightedStringStatisticsOrBuilder
- Enclosing class:
- WeightedStringStatistics
public static final class WeightedStringStatistics.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder> implements WeightedStringStatisticsOrBuilder
Statistics for a weighted string feature in a dataset.
Protobuf typetensorflow.metadata.v0.WeightedStringStatistics
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WeightedStringStatistics.BuilderaddAllTopValues(Iterable<? extends StringStatistics.FreqAndValue> values)A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.WeightedStringStatistics.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)WeightedStringStatistics.BuilderaddTopValues(int index, StringStatistics.FreqAndValue value)A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.WeightedStringStatistics.BuilderaddTopValues(int index, StringStatistics.FreqAndValue.Builder builderForValue)A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.WeightedStringStatistics.BuilderaddTopValues(StringStatistics.FreqAndValue value)A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.WeightedStringStatistics.BuilderaddTopValues(StringStatistics.FreqAndValue.Builder builderForValue)A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.StringStatistics.FreqAndValue.BuilderaddTopValuesBuilder()A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.StringStatistics.FreqAndValue.BuilderaddTopValuesBuilder(int index)A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.WeightedStringStatisticsbuild()WeightedStringStatisticsbuildPartial()WeightedStringStatistics.Builderclear()WeightedStringStatistics.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WeightedStringStatistics.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WeightedStringStatistics.BuilderclearRankHistogram()The rank histogram for the weighted values of the feature.WeightedStringStatistics.BuilderclearTopValues()A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.WeightedStringStatistics.Builderclone()WeightedStringStatisticsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RankHistogramgetRankHistogram()The rank histogram for the weighted values of the feature.RankHistogram.BuildergetRankHistogramBuilder()The rank histogram for the weighted values of the feature.RankHistogramOrBuildergetRankHistogramOrBuilder()The rank histogram for the weighted values of the feature.StringStatistics.FreqAndValuegetTopValues(int index)A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.StringStatistics.FreqAndValue.BuildergetTopValuesBuilder(int index)A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.List<StringStatistics.FreqAndValue.Builder>getTopValuesBuilderList()A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.intgetTopValuesCount()A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.List<StringStatistics.FreqAndValue>getTopValuesList()A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.StringStatistics.FreqAndValueOrBuildergetTopValuesOrBuilder(int index)A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.List<? extends StringStatistics.FreqAndValueOrBuilder>getTopValuesOrBuilderList()A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.booleanhasRankHistogram()The rank histogram for the weighted values of the feature.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WeightedStringStatistics.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WeightedStringStatistics.BuildermergeFrom(com.google.protobuf.Message other)WeightedStringStatistics.BuildermergeFrom(WeightedStringStatistics other)WeightedStringStatistics.BuildermergeRankHistogram(RankHistogram value)The rank histogram for the weighted values of the feature.WeightedStringStatistics.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WeightedStringStatistics.BuilderremoveTopValues(int index)A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.WeightedStringStatistics.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)WeightedStringStatistics.BuildersetRankHistogram(RankHistogram value)The rank histogram for the weighted values of the feature.WeightedStringStatistics.BuildersetRankHistogram(RankHistogram.Builder builderForValue)The rank histogram for the weighted values of the feature.WeightedStringStatistics.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)WeightedStringStatistics.BuildersetTopValues(int index, StringStatistics.FreqAndValue value)A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.WeightedStringStatistics.BuildersetTopValues(int index, StringStatistics.FreqAndValue.Builder builderForValue)A sorted list of the most-frequent values and their weighted frequencies, with the most-frequent being first.WeightedStringStatistics.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder>
-
clear
public WeightedStringStatistics.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder>
-
getDefaultInstanceForType
public WeightedStringStatistics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WeightedStringStatistics build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WeightedStringStatistics buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WeightedStringStatistics.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder>
-
setField
public WeightedStringStatistics.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder>
-
clearField
public WeightedStringStatistics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder>
-
clearOneof
public WeightedStringStatistics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder>
-
setRepeatedField
public WeightedStringStatistics.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder>
-
addRepeatedField
public WeightedStringStatistics.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder>
-
mergeFrom
public WeightedStringStatistics.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WeightedStringStatistics.Builder>
-
mergeFrom
public WeightedStringStatistics.Builder mergeFrom(WeightedStringStatistics other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WeightedStringStatistics.Builder>- Throws:
IOException
-
getTopValuesList
public List<StringStatistics.FreqAndValue> getTopValuesList()
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:
getTopValuesListin interfaceWeightedStringStatisticsOrBuilder
-
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:
getTopValuesCountin interfaceWeightedStringStatisticsOrBuilder
-
getTopValues
public StringStatistics.FreqAndValue getTopValues(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;- Specified by:
getTopValuesin interfaceWeightedStringStatisticsOrBuilder
-
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;
-
setTopValues
public WeightedStringStatistics.Builder setTopValues(int index, StringStatistics.FreqAndValue.Builder builderForValue)
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(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;
-
addTopValues
public WeightedStringStatistics.Builder addTopValues(StringStatistics.FreqAndValue.Builder builderForValue)
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.Builder builderForValue)
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;
-
addAllTopValues
public WeightedStringStatistics.Builder addAllTopValues(Iterable<? extends StringStatistics.FreqAndValue> values)
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;
-
getTopValuesOrBuilder
public StringStatistics.FreqAndValueOrBuilder getTopValuesOrBuilder(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;- Specified by:
getTopValuesOrBuilderin interfaceWeightedStringStatisticsOrBuilder
-
getTopValuesOrBuilderList
public List<? extends StringStatistics.FreqAndValueOrBuilder> getTopValuesOrBuilderList()
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:
getTopValuesOrBuilderListin interfaceWeightedStringStatisticsOrBuilder
-
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:
hasRankHistogramin interfaceWeightedStringStatisticsOrBuilder- Returns:
- Whether the rankHistogram field is set.
-
getRankHistogram
public RankHistogram getRankHistogram()
The rank histogram for the weighted values of the feature.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 2;- Specified by:
getRankHistogramin interfaceWeightedStringStatisticsOrBuilder- Returns:
- The rankHistogram.
-
setRankHistogram
public WeightedStringStatistics.Builder setRankHistogram(RankHistogram value)
The rank histogram for the weighted values of the feature.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 2;
-
setRankHistogram
public WeightedStringStatistics.Builder setRankHistogram(RankHistogram.Builder builderForValue)
The rank histogram for the weighted values of the feature.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 2;
-
mergeRankHistogram
public WeightedStringStatistics.Builder mergeRankHistogram(RankHistogram value)
The rank histogram for the weighted values of the feature.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 2;
-
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;
-
getRankHistogramOrBuilder
public RankHistogramOrBuilder getRankHistogramOrBuilder()
The rank histogram for the weighted values of the feature.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 2;- Specified by:
getRankHistogramOrBuilderin interfaceWeightedStringStatisticsOrBuilder
-
setUnknownFields
public final WeightedStringStatistics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder>
-
mergeUnknownFields
public final WeightedStringStatistics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedStringStatistics.Builder>
-
-