Package org.tensorflow.metadata.v0
Class Histogram
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.tensorflow.metadata.v0.Histogram
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,HistogramOrBuilder
public final class Histogram extends com.google.protobuf.GeneratedMessageV3 implements HistogramOrBuilder
The data used to create a histogram of a numeric feature for a dataset.
Protobuf typetensorflow.metadata.v0.Histogram- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHistogram.BucketEach bucket defines its low and high values along with its count.static interfaceHistogram.BucketOrBuilderstatic classHistogram.BuilderThe data used to create a histogram of a numeric feature for a dataset.static classHistogram.HistogramTypeThe type of the histogram.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intBUCKETS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNUM_NAN_FIELD_NUMBERstatic intNUM_UNDEFINED_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)Histogram.BucketgetBuckets(int index)A list of buckets in the histogram, sorted from lowest bucket to highest bucket.intgetBucketsCount()A list of buckets in the histogram, sorted from lowest bucket to highest bucket.List<Histogram.Bucket>getBucketsList()A list of buckets in the histogram, sorted from lowest bucket to highest bucket.Histogram.BucketOrBuildergetBucketsOrBuilder(int index)A list of buckets in the histogram, sorted from lowest bucket to highest bucket.List<? extends Histogram.BucketOrBuilder>getBucketsOrBuilderList()A list of buckets in the histogram, sorted from lowest bucket to highest bucket.static HistogramgetDefaultInstance()HistogramgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetName()An optional descriptive name of the histogram, to be used for labeling.com.google.protobuf.ByteStringgetNameBytes()An optional descriptive name of the histogram, to be used for labeling.longgetNumNan()The number of NaN values in the dataset.longgetNumUndefined()The number of undefined values in the dataset.com.google.protobuf.Parser<Histogram>getParserForType()intgetSerializedSize()Histogram.HistogramTypegetType()The type of the histogram.intgetTypeValue()The type of the histogram.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Histogram.BuildernewBuilder()static Histogram.BuildernewBuilder(Histogram prototype)Histogram.BuildernewBuilderForType()protected Histogram.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static HistogramparseDelimitedFrom(InputStream input)static HistogramparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HistogramparseFrom(byte[] data)static HistogramparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HistogramparseFrom(com.google.protobuf.ByteString data)static HistogramparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HistogramparseFrom(com.google.protobuf.CodedInputStream input)static HistogramparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HistogramparseFrom(InputStream input)static HistogramparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static HistogramparseFrom(ByteBuffer data)static HistogramparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Histogram>parser()Histogram.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NUM_NAN_FIELD_NUMBER
public static final int NUM_NAN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUM_UNDEFINED_FIELD_NUMBER
public static final int NUM_UNDEFINED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BUCKETS_FIELD_NUMBER
public static final int BUCKETS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3
-
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
-
getNumNan
public long getNumNan()
The number of NaN values in the dataset.
uint64 num_nan = 1;- Specified by:
getNumNanin interfaceHistogramOrBuilder- Returns:
- The numNan.
-
getNumUndefined
public long getNumUndefined()
The number of undefined values in the dataset.
uint64 num_undefined = 2;- Specified by:
getNumUndefinedin interfaceHistogramOrBuilder- Returns:
- The numUndefined.
-
getBucketsList
public List<Histogram.Bucket> getBucketsList()
A list of buckets in the histogram, sorted from lowest bucket to highest bucket.
repeated .tensorflow.metadata.v0.Histogram.Bucket buckets = 3;- Specified by:
getBucketsListin interfaceHistogramOrBuilder
-
getBucketsOrBuilderList
public List<? extends Histogram.BucketOrBuilder> getBucketsOrBuilderList()
A list of buckets in the histogram, sorted from lowest bucket to highest bucket.
repeated .tensorflow.metadata.v0.Histogram.Bucket buckets = 3;- Specified by:
getBucketsOrBuilderListin interfaceHistogramOrBuilder
-
getBucketsCount
public int getBucketsCount()
A list of buckets in the histogram, sorted from lowest bucket to highest bucket.
repeated .tensorflow.metadata.v0.Histogram.Bucket buckets = 3;- Specified by:
getBucketsCountin interfaceHistogramOrBuilder
-
getBuckets
public Histogram.Bucket getBuckets(int index)
A list of buckets in the histogram, sorted from lowest bucket to highest bucket.
repeated .tensorflow.metadata.v0.Histogram.Bucket buckets = 3;- Specified by:
getBucketsin interfaceHistogramOrBuilder
-
getBucketsOrBuilder
public Histogram.BucketOrBuilder getBucketsOrBuilder(int index)
A list of buckets in the histogram, sorted from lowest bucket to highest bucket.
repeated .tensorflow.metadata.v0.Histogram.Bucket buckets = 3;- Specified by:
getBucketsOrBuilderin interfaceHistogramOrBuilder
-
getTypeValue
public int getTypeValue()
The type of the histogram.
.tensorflow.metadata.v0.Histogram.HistogramType type = 4;- Specified by:
getTypeValuein interfaceHistogramOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public Histogram.HistogramType getType()
The type of the histogram.
.tensorflow.metadata.v0.Histogram.HistogramType type = 4;- Specified by:
getTypein interfaceHistogramOrBuilder- Returns:
- The type.
-
getName
public String getName()
An optional descriptive name of the histogram, to be used for labeling.
string name = 5;- Specified by:
getNamein interfaceHistogramOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
An optional descriptive name of the histogram, to be used for labeling.
string name = 5;- Specified by:
getNameBytesin interfaceHistogramOrBuilder- Returns:
- The bytes for name.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Histogram parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Histogram parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Histogram parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Histogram parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Histogram parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Histogram parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Histogram parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Histogram parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Histogram parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Histogram parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Histogram parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Histogram parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Histogram.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Histogram.Builder newBuilder()
-
newBuilder
public static Histogram.Builder newBuilder(Histogram prototype)
-
toBuilder
public Histogram.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Histogram.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Histogram getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Histogram> parser()
-
getParserForType
public com.google.protobuf.Parser<Histogram> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Histogram getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-