Package org.tensorflow.metadata.v0
Class WeightedNumericStatistics.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<WeightedNumericStatistics.Builder>
-
- org.tensorflow.metadata.v0.WeightedNumericStatistics.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,WeightedNumericStatisticsOrBuilder
- Enclosing class:
- WeightedNumericStatistics
public static final class WeightedNumericStatistics.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<WeightedNumericStatistics.Builder> implements WeightedNumericStatisticsOrBuilder
Statistics for a weighted numeric feature in a dataset.
Protobuf typetensorflow.metadata.v0.WeightedNumericStatistics
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WeightedNumericStatistics.BuilderaddAllHistograms(Iterable<? extends Histogram> values)The histogram(s) of the weighted feature values.WeightedNumericStatistics.BuilderaddHistograms(int index, Histogram value)The histogram(s) of the weighted feature values.WeightedNumericStatistics.BuilderaddHistograms(int index, Histogram.Builder builderForValue)The histogram(s) of the weighted feature values.WeightedNumericStatistics.BuilderaddHistograms(Histogram value)The histogram(s) of the weighted feature values.WeightedNumericStatistics.BuilderaddHistograms(Histogram.Builder builderForValue)The histogram(s) of the weighted feature values.Histogram.BuilderaddHistogramsBuilder()The histogram(s) of the weighted feature values.Histogram.BuilderaddHistogramsBuilder(int index)The histogram(s) of the weighted feature values.WeightedNumericStatistics.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)WeightedNumericStatisticsbuild()WeightedNumericStatisticsbuildPartial()WeightedNumericStatistics.Builderclear()WeightedNumericStatistics.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)WeightedNumericStatistics.BuilderclearHistograms()The histogram(s) of the weighted feature values.WeightedNumericStatistics.BuilderclearMean()The weighted mean of the valuesWeightedNumericStatistics.BuilderclearMedian()The weighted median of the valuesWeightedNumericStatistics.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)WeightedNumericStatistics.BuilderclearStdDev()The weighted standard deviation of the valuesWeightedNumericStatistics.Builderclone()WeightedNumericStatisticsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()HistogramgetHistograms(int index)The histogram(s) of the weighted feature values.Histogram.BuildergetHistogramsBuilder(int index)The histogram(s) of the weighted feature values.List<Histogram.Builder>getHistogramsBuilderList()The histogram(s) of the weighted feature values.intgetHistogramsCount()The histogram(s) of the weighted feature values.List<Histogram>getHistogramsList()The histogram(s) of the weighted feature values.HistogramOrBuildergetHistogramsOrBuilder(int index)The histogram(s) of the weighted feature values.List<? extends HistogramOrBuilder>getHistogramsOrBuilderList()The histogram(s) of the weighted feature values.doublegetMean()The weighted mean of the valuesdoublegetMedian()The weighted median of the valuesdoublegetStdDev()The weighted standard deviation of the valuesprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()WeightedNumericStatistics.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)WeightedNumericStatistics.BuildermergeFrom(com.google.protobuf.Message other)WeightedNumericStatistics.BuildermergeFrom(WeightedNumericStatistics other)WeightedNumericStatistics.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)WeightedNumericStatistics.BuilderremoveHistograms(int index)The histogram(s) of the weighted feature values.WeightedNumericStatistics.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)WeightedNumericStatistics.BuildersetHistograms(int index, Histogram value)The histogram(s) of the weighted feature values.WeightedNumericStatistics.BuildersetHistograms(int index, Histogram.Builder builderForValue)The histogram(s) of the weighted feature values.WeightedNumericStatistics.BuildersetMean(double value)The weighted mean of the valuesWeightedNumericStatistics.BuildersetMedian(double value)The weighted median of the valuesWeightedNumericStatistics.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)WeightedNumericStatistics.BuildersetStdDev(double value)The weighted standard deviation of the valuesWeightedNumericStatistics.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<WeightedNumericStatistics.Builder>
-
clear
public WeightedNumericStatistics.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<WeightedNumericStatistics.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<WeightedNumericStatistics.Builder>
-
getDefaultInstanceForType
public WeightedNumericStatistics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public WeightedNumericStatistics build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public WeightedNumericStatistics buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public WeightedNumericStatistics.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<WeightedNumericStatistics.Builder>
-
setField
public WeightedNumericStatistics.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<WeightedNumericStatistics.Builder>
-
clearField
public WeightedNumericStatistics.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedNumericStatistics.Builder>
-
clearOneof
public WeightedNumericStatistics.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedNumericStatistics.Builder>
-
setRepeatedField
public WeightedNumericStatistics.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<WeightedNumericStatistics.Builder>
-
addRepeatedField
public WeightedNumericStatistics.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<WeightedNumericStatistics.Builder>
-
mergeFrom
public WeightedNumericStatistics.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WeightedNumericStatistics.Builder>
-
mergeFrom
public WeightedNumericStatistics.Builder mergeFrom(WeightedNumericStatistics other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<WeightedNumericStatistics.Builder>- Throws:
IOException
-
getMean
public double getMean()
The weighted mean of the values
double mean = 1;- Specified by:
getMeanin interfaceWeightedNumericStatisticsOrBuilder- Returns:
- The mean.
-
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.
-
clearMean
public WeightedNumericStatistics.Builder clearMean()
The weighted mean of the values
double mean = 1;- Returns:
- This builder for chaining.
-
getStdDev
public double getStdDev()
The weighted standard deviation of the values
double std_dev = 2;- Specified by:
getStdDevin interfaceWeightedNumericStatisticsOrBuilder- Returns:
- The stdDev.
-
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.
-
getMedian
public double getMedian()
The weighted median of the values
double median = 3;- Specified by:
getMedianin interfaceWeightedNumericStatisticsOrBuilder- Returns:
- The median.
-
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.
-
clearMedian
public WeightedNumericStatistics.Builder clearMedian()
The weighted median of the values
double median = 3;- Returns:
- This builder for chaining.
-
getHistogramsList
public List<Histogram> getHistogramsList()
The histogram(s) of the weighted feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 4;- Specified by:
getHistogramsListin interfaceWeightedNumericStatisticsOrBuilder
-
getHistogramsCount
public int getHistogramsCount()
The histogram(s) of the weighted feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 4;- Specified by:
getHistogramsCountin interfaceWeightedNumericStatisticsOrBuilder
-
getHistograms
public Histogram getHistograms(int index)
The histogram(s) of the weighted feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 4;- Specified by:
getHistogramsin interfaceWeightedNumericStatisticsOrBuilder
-
setHistograms
public WeightedNumericStatistics.Builder setHistograms(int index, Histogram value)
The histogram(s) of the weighted feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 4;
-
setHistograms
public WeightedNumericStatistics.Builder setHistograms(int index, Histogram.Builder builderForValue)
The histogram(s) of the weighted feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 4;
-
addHistograms
public WeightedNumericStatistics.Builder addHistograms(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;
-
addHistograms
public WeightedNumericStatistics.Builder addHistograms(Histogram.Builder builderForValue)
The histogram(s) of the weighted feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 4;
-
addHistograms
public WeightedNumericStatistics.Builder addHistograms(int index, Histogram.Builder builderForValue)
The histogram(s) of the weighted feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 4;
-
addAllHistograms
public WeightedNumericStatistics.Builder addAllHistograms(Iterable<? extends Histogram> values)
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;
-
getHistogramsOrBuilder
public HistogramOrBuilder getHistogramsOrBuilder(int index)
The histogram(s) of the weighted feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 4;- Specified by:
getHistogramsOrBuilderin interfaceWeightedNumericStatisticsOrBuilder
-
getHistogramsOrBuilderList
public List<? extends HistogramOrBuilder> getHistogramsOrBuilderList()
The histogram(s) of the weighted feature values.
repeated .tensorflow.metadata.v0.Histogram histograms = 4;- Specified by:
getHistogramsOrBuilderListin interfaceWeightedNumericStatisticsOrBuilder
-
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedNumericStatistics.Builder>
-
mergeUnknownFields
public final WeightedNumericStatistics.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<WeightedNumericStatistics.Builder>
-
-