Package org.tensorflow.metadata.v0
Class StringStatistics.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<StringStatistics.Builder>
-
- org.tensorflow.metadata.v0.StringStatistics.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,StringStatisticsOrBuilder
- Enclosing class:
- StringStatistics
public static final class StringStatistics.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<StringStatistics.Builder> implements StringStatisticsOrBuilder
Statistics for a string feature in a dataset.
Protobuf typetensorflow.metadata.v0.StringStatistics
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringStatistics.BuilderaddAllTopValues(Iterable<? extends StringStatistics.FreqAndValue> values)A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatistics.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StringStatistics.BuilderaddTopValues(int index, StringStatistics.FreqAndValue value)A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatistics.BuilderaddTopValues(int index, StringStatistics.FreqAndValue.Builder builderForValue)A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatistics.BuilderaddTopValues(StringStatistics.FreqAndValue value)A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatistics.BuilderaddTopValues(StringStatistics.FreqAndValue.Builder builderForValue)A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatistics.FreqAndValue.BuilderaddTopValuesBuilder()A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatistics.FreqAndValue.BuilderaddTopValuesBuilder(int index)A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatisticsbuild()StringStatisticsbuildPartial()StringStatistics.Builderclear()StringStatistics.BuilderclearAvgLength()The average length of the valuesStringStatistics.BuilderclearCommonStats().tensorflow.metadata.v0.CommonStatistics common_stats = 1;StringStatistics.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)StringStatistics.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)StringStatistics.BuilderclearRankHistogram()The rank histogram for the values of the feature.StringStatistics.BuilderclearTopValues()A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatistics.BuilderclearUnique()The number of unique valuesStringStatistics.BuilderclearVocabularyFile()A vocabulary file, used for vocabularies too large to store in the proto itself.StringStatistics.BuilderclearWeightedStringStats()Weighted statistics for the feature, if the values have weights.StringStatistics.Builderclone()floatgetAvgLength()The average length of the valuesCommonStatisticsgetCommonStats().tensorflow.metadata.v0.CommonStatistics common_stats = 1;CommonStatistics.BuildergetCommonStatsBuilder().tensorflow.metadata.v0.CommonStatistics common_stats = 1;CommonStatisticsOrBuildergetCommonStatsOrBuilder().tensorflow.metadata.v0.CommonStatistics common_stats = 1;StringStatisticsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()RankHistogramgetRankHistogram()The rank histogram for the values of the feature.RankHistogram.BuildergetRankHistogramBuilder()The rank histogram for the values of the feature.RankHistogramOrBuildergetRankHistogramOrBuilder()The rank histogram for the values of the feature.StringStatistics.FreqAndValuegetTopValues(int index)A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatistics.FreqAndValue.BuildergetTopValuesBuilder(int index)A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.List<StringStatistics.FreqAndValue.Builder>getTopValuesBuilderList()A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.intgetTopValuesCount()A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.List<StringStatistics.FreqAndValue>getTopValuesList()A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatistics.FreqAndValueOrBuildergetTopValuesOrBuilder(int index)A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.List<? extends StringStatistics.FreqAndValueOrBuilder>getTopValuesOrBuilderList()A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.longgetUnique()The number of unique valuesStringgetVocabularyFile()A vocabulary file, used for vocabularies too large to store in the proto itself.com.google.protobuf.ByteStringgetVocabularyFileBytes()A vocabulary file, used for vocabularies too large to store in the proto itself.WeightedStringStatisticsgetWeightedStringStats()Weighted statistics for the feature, if the values have weights.WeightedStringStatistics.BuildergetWeightedStringStatsBuilder()Weighted statistics for the feature, if the values have weights.WeightedStringStatisticsOrBuildergetWeightedStringStatsOrBuilder()Weighted statistics for the feature, if the values have weights.booleanhasCommonStats().tensorflow.metadata.v0.CommonStatistics common_stats = 1;booleanhasRankHistogram()The rank histogram for the values of the feature.booleanhasWeightedStringStats()Weighted statistics for the feature, if the values have weights.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()StringStatistics.BuildermergeCommonStats(CommonStatistics value).tensorflow.metadata.v0.CommonStatistics common_stats = 1;StringStatistics.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)StringStatistics.BuildermergeFrom(com.google.protobuf.Message other)StringStatistics.BuildermergeFrom(StringStatistics other)StringStatistics.BuildermergeRankHistogram(RankHistogram value)The rank histogram for the values of the feature.StringStatistics.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)StringStatistics.BuildermergeWeightedStringStats(WeightedStringStatistics value)Weighted statistics for the feature, if the values have weights.StringStatistics.BuilderremoveTopValues(int index)A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatistics.BuildersetAvgLength(float value)The average length of the valuesStringStatistics.BuildersetCommonStats(CommonStatistics value).tensorflow.metadata.v0.CommonStatistics common_stats = 1;StringStatistics.BuildersetCommonStats(CommonStatistics.Builder builderForValue).tensorflow.metadata.v0.CommonStatistics common_stats = 1;StringStatistics.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)StringStatistics.BuildersetRankHistogram(RankHistogram value)The rank histogram for the values of the feature.StringStatistics.BuildersetRankHistogram(RankHistogram.Builder builderForValue)The rank histogram for the values of the feature.StringStatistics.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)StringStatistics.BuildersetTopValues(int index, StringStatistics.FreqAndValue value)A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatistics.BuildersetTopValues(int index, StringStatistics.FreqAndValue.Builder builderForValue)A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.StringStatistics.BuildersetUnique(long value)The number of unique valuesStringStatistics.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)StringStatistics.BuildersetVocabularyFile(String value)A vocabulary file, used for vocabularies too large to store in the proto itself.StringStatistics.BuildersetVocabularyFileBytes(com.google.protobuf.ByteString value)A vocabulary file, used for vocabularies too large to store in the proto itself.StringStatistics.BuildersetWeightedStringStats(WeightedStringStatistics value)Weighted statistics for the feature, if the values have weights.StringStatistics.BuildersetWeightedStringStats(WeightedStringStatistics.Builder builderForValue)Weighted statistics for the feature, if the values have weights.-
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<StringStatistics.Builder>
-
clear
public StringStatistics.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<StringStatistics.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<StringStatistics.Builder>
-
getDefaultInstanceForType
public StringStatistics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public StringStatistics build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public StringStatistics buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public StringStatistics.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<StringStatistics.Builder>
-
setField
public StringStatistics.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<StringStatistics.Builder>
-
clearField
public StringStatistics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<StringStatistics.Builder>
-
clearOneof
public StringStatistics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<StringStatistics.Builder>
-
setRepeatedField
public StringStatistics.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<StringStatistics.Builder>
-
addRepeatedField
public StringStatistics.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<StringStatistics.Builder>
-
mergeFrom
public StringStatistics.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<StringStatistics.Builder>
-
mergeFrom
public StringStatistics.Builder mergeFrom(StringStatistics other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<StringStatistics.Builder>
-
mergeFrom
public StringStatistics.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<StringStatistics.Builder>- Throws:
IOException
-
hasCommonStats
public boolean hasCommonStats()
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;- Specified by:
hasCommonStatsin interfaceStringStatisticsOrBuilder- Returns:
- Whether the commonStats field is set.
-
getCommonStats
public CommonStatistics getCommonStats()
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;- Specified by:
getCommonStatsin interfaceStringStatisticsOrBuilder- Returns:
- The commonStats.
-
setCommonStats
public StringStatistics.Builder setCommonStats(CommonStatistics value)
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;
-
setCommonStats
public StringStatistics.Builder setCommonStats(CommonStatistics.Builder builderForValue)
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;
-
mergeCommonStats
public StringStatistics.Builder mergeCommonStats(CommonStatistics value)
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;
-
clearCommonStats
public StringStatistics.Builder clearCommonStats()
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;
-
getCommonStatsBuilder
public CommonStatistics.Builder getCommonStatsBuilder()
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;
-
getCommonStatsOrBuilder
public CommonStatisticsOrBuilder getCommonStatsOrBuilder()
.tensorflow.metadata.v0.CommonStatistics common_stats = 1;- Specified by:
getCommonStatsOrBuilderin interfaceStringStatisticsOrBuilder
-
getUnique
public long getUnique()
The number of unique values
uint64 unique = 2;- Specified by:
getUniquein interfaceStringStatisticsOrBuilder- Returns:
- The unique.
-
setUnique
public StringStatistics.Builder setUnique(long value)
The number of unique values
uint64 unique = 2;- Parameters:
value- The unique to set.- Returns:
- This builder for chaining.
-
clearUnique
public StringStatistics.Builder clearUnique()
The number of unique values
uint64 unique = 2;- Returns:
- This builder for chaining.
-
getTopValuesList
public List<StringStatistics.FreqAndValue> getTopValuesList()
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;- Specified by:
getTopValuesListin interfaceStringStatisticsOrBuilder
-
getTopValuesCount
public int getTopValuesCount()
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;- Specified by:
getTopValuesCountin interfaceStringStatisticsOrBuilder
-
getTopValues
public StringStatistics.FreqAndValue getTopValues(int index)
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;- Specified by:
getTopValuesin interfaceStringStatisticsOrBuilder
-
setTopValues
public StringStatistics.Builder setTopValues(int index, StringStatistics.FreqAndValue value)
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
setTopValues
public StringStatistics.Builder setTopValues(int index, StringStatistics.FreqAndValue.Builder builderForValue)
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
addTopValues
public StringStatistics.Builder addTopValues(StringStatistics.FreqAndValue value)
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
addTopValues
public StringStatistics.Builder addTopValues(int index, StringStatistics.FreqAndValue value)
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
addTopValues
public StringStatistics.Builder addTopValues(StringStatistics.FreqAndValue.Builder builderForValue)
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
addTopValues
public StringStatistics.Builder addTopValues(int index, StringStatistics.FreqAndValue.Builder builderForValue)
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
addAllTopValues
public StringStatistics.Builder addAllTopValues(Iterable<? extends StringStatistics.FreqAndValue> values)
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
clearTopValues
public StringStatistics.Builder clearTopValues()
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
removeTopValues
public StringStatistics.Builder removeTopValues(int index)
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
getTopValuesBuilder
public StringStatistics.FreqAndValue.Builder getTopValuesBuilder(int index)
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
getTopValuesOrBuilder
public StringStatistics.FreqAndValueOrBuilder getTopValuesOrBuilder(int index)
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;- Specified by:
getTopValuesOrBuilderin interfaceStringStatisticsOrBuilder
-
getTopValuesOrBuilderList
public List<? extends StringStatistics.FreqAndValueOrBuilder> getTopValuesOrBuilderList()
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;- Specified by:
getTopValuesOrBuilderListin interfaceStringStatisticsOrBuilder
-
addTopValuesBuilder
public StringStatistics.FreqAndValue.Builder addTopValuesBuilder()
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
addTopValuesBuilder
public StringStatistics.FreqAndValue.Builder addTopValuesBuilder(int index)
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
getTopValuesBuilderList
public List<StringStatistics.FreqAndValue.Builder> getTopValuesBuilderList()
A sorted list of the most-frequent values and their frequencies, with the most-frequent being first.
repeated .tensorflow.metadata.v0.StringStatistics.FreqAndValue top_values = 3;
-
getAvgLength
public float getAvgLength()
The average length of the values
float avg_length = 4;- Specified by:
getAvgLengthin interfaceStringStatisticsOrBuilder- Returns:
- The avgLength.
-
setAvgLength
public StringStatistics.Builder setAvgLength(float value)
The average length of the values
float avg_length = 4;- Parameters:
value- The avgLength to set.- Returns:
- This builder for chaining.
-
clearAvgLength
public StringStatistics.Builder clearAvgLength()
The average length of the values
float avg_length = 4;- Returns:
- This builder for chaining.
-
hasRankHistogram
public boolean hasRankHistogram()
The rank histogram for the values of the feature. The rank is used to measure of how commonly the value is found in the dataset. The most common value would have a rank of 1, with the second-most common value having a rank of 2, and so on.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 5;- Specified by:
hasRankHistogramin interfaceStringStatisticsOrBuilder- Returns:
- Whether the rankHistogram field is set.
-
getRankHistogram
public RankHistogram getRankHistogram()
The rank histogram for the values of the feature. The rank is used to measure of how commonly the value is found in the dataset. The most common value would have a rank of 1, with the second-most common value having a rank of 2, and so on.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 5;- Specified by:
getRankHistogramin interfaceStringStatisticsOrBuilder- Returns:
- The rankHistogram.
-
setRankHistogram
public StringStatistics.Builder setRankHistogram(RankHistogram value)
The rank histogram for the values of the feature. The rank is used to measure of how commonly the value is found in the dataset. The most common value would have a rank of 1, with the second-most common value having a rank of 2, and so on.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 5;
-
setRankHistogram
public StringStatistics.Builder setRankHistogram(RankHistogram.Builder builderForValue)
The rank histogram for the values of the feature. The rank is used to measure of how commonly the value is found in the dataset. The most common value would have a rank of 1, with the second-most common value having a rank of 2, and so on.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 5;
-
mergeRankHistogram
public StringStatistics.Builder mergeRankHistogram(RankHistogram value)
The rank histogram for the values of the feature. The rank is used to measure of how commonly the value is found in the dataset. The most common value would have a rank of 1, with the second-most common value having a rank of 2, and so on.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 5;
-
clearRankHistogram
public StringStatistics.Builder clearRankHistogram()
The rank histogram for the values of the feature. The rank is used to measure of how commonly the value is found in the dataset. The most common value would have a rank of 1, with the second-most common value having a rank of 2, and so on.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 5;
-
getRankHistogramBuilder
public RankHistogram.Builder getRankHistogramBuilder()
The rank histogram for the values of the feature. The rank is used to measure of how commonly the value is found in the dataset. The most common value would have a rank of 1, with the second-most common value having a rank of 2, and so on.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 5;
-
getRankHistogramOrBuilder
public RankHistogramOrBuilder getRankHistogramOrBuilder()
The rank histogram for the values of the feature. The rank is used to measure of how commonly the value is found in the dataset. The most common value would have a rank of 1, with the second-most common value having a rank of 2, and so on.
.tensorflow.metadata.v0.RankHistogram rank_histogram = 5;- Specified by:
getRankHistogramOrBuilderin interfaceStringStatisticsOrBuilder
-
hasWeightedStringStats
public boolean hasWeightedStringStats()
Weighted statistics for the feature, if the values have weights.
.tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;- Specified by:
hasWeightedStringStatsin interfaceStringStatisticsOrBuilder- Returns:
- Whether the weightedStringStats field is set.
-
getWeightedStringStats
public WeightedStringStatistics getWeightedStringStats()
Weighted statistics for the feature, if the values have weights.
.tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;- Specified by:
getWeightedStringStatsin interfaceStringStatisticsOrBuilder- Returns:
- The weightedStringStats.
-
setWeightedStringStats
public StringStatistics.Builder setWeightedStringStats(WeightedStringStatistics value)
Weighted statistics for the feature, if the values have weights.
.tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;
-
setWeightedStringStats
public StringStatistics.Builder setWeightedStringStats(WeightedStringStatistics.Builder builderForValue)
Weighted statistics for the feature, if the values have weights.
.tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;
-
mergeWeightedStringStats
public StringStatistics.Builder mergeWeightedStringStats(WeightedStringStatistics value)
Weighted statistics for the feature, if the values have weights.
.tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;
-
clearWeightedStringStats
public StringStatistics.Builder clearWeightedStringStats()
Weighted statistics for the feature, if the values have weights.
.tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;
-
getWeightedStringStatsBuilder
public WeightedStringStatistics.Builder getWeightedStringStatsBuilder()
Weighted statistics for the feature, if the values have weights.
.tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;
-
getWeightedStringStatsOrBuilder
public WeightedStringStatisticsOrBuilder getWeightedStringStatsOrBuilder()
Weighted statistics for the feature, if the values have weights.
.tensorflow.metadata.v0.WeightedStringStatistics weighted_string_stats = 6;- Specified by:
getWeightedStringStatsOrBuilderin interfaceStringStatisticsOrBuilder
-
getVocabularyFile
public String getVocabularyFile()
A vocabulary file, used for vocabularies too large to store in the proto itself. Note that the file may be relative to some context-dependent directory. E.g. in TFX the feature statistics will live in a PPP and vocabulary file names will be relative to this PPP.
string vocabulary_file = 7;- Specified by:
getVocabularyFilein interfaceStringStatisticsOrBuilder- Returns:
- The vocabularyFile.
-
getVocabularyFileBytes
public com.google.protobuf.ByteString getVocabularyFileBytes()
A vocabulary file, used for vocabularies too large to store in the proto itself. Note that the file may be relative to some context-dependent directory. E.g. in TFX the feature statistics will live in a PPP and vocabulary file names will be relative to this PPP.
string vocabulary_file = 7;- Specified by:
getVocabularyFileBytesin interfaceStringStatisticsOrBuilder- Returns:
- The bytes for vocabularyFile.
-
setVocabularyFile
public StringStatistics.Builder setVocabularyFile(String value)
A vocabulary file, used for vocabularies too large to store in the proto itself. Note that the file may be relative to some context-dependent directory. E.g. in TFX the feature statistics will live in a PPP and vocabulary file names will be relative to this PPP.
string vocabulary_file = 7;- Parameters:
value- The vocabularyFile to set.- Returns:
- This builder for chaining.
-
clearVocabularyFile
public StringStatistics.Builder clearVocabularyFile()
A vocabulary file, used for vocabularies too large to store in the proto itself. Note that the file may be relative to some context-dependent directory. E.g. in TFX the feature statistics will live in a PPP and vocabulary file names will be relative to this PPP.
string vocabulary_file = 7;- Returns:
- This builder for chaining.
-
setVocabularyFileBytes
public StringStatistics.Builder setVocabularyFileBytes(com.google.protobuf.ByteString value)
A vocabulary file, used for vocabularies too large to store in the proto itself. Note that the file may be relative to some context-dependent directory. E.g. in TFX the feature statistics will live in a PPP and vocabulary file names will be relative to this PPP.
string vocabulary_file = 7;- Parameters:
value- The bytes for vocabularyFile to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final StringStatistics.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StringStatistics.Builder>
-
mergeUnknownFields
public final StringStatistics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<StringStatistics.Builder>
-
-