Package org.tensorflow.metadata.v0
Class FeatureNameStatistics
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- org.tensorflow.metadata.v0.FeatureNameStatistics
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,FeatureNameStatisticsOrBuilder
public final class FeatureNameStatistics extends com.google.protobuf.GeneratedMessageV3 implements FeatureNameStatisticsOrBuilder
The complete set of statistics for a given feature name for a dataset.
Protobuf typetensorflow.metadata.v0.FeatureNameStatistics- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFeatureNameStatistics.BuilderThe complete set of statistics for a given feature name for a dataset.static classFeatureNameStatistics.FieldIdCasestatic classFeatureNameStatistics.StatsCasestatic classFeatureNameStatistics.TypeThe types supported by the feature statistics.-
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 intBYTES_STATS_FIELD_NUMBERstatic intCUSTOM_STATS_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNUM_STATS_FIELD_NUMBERstatic intPATH_FIELD_NUMBERstatic intSTRING_STATS_FIELD_NUMBERstatic intSTRUCT_STATS_FIELD_NUMBERstatic intTYPE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)BytesStatisticsgetBytesStats().tensorflow.metadata.v0.BytesStatistics bytes_stats = 5;BytesStatisticsOrBuildergetBytesStatsOrBuilder().tensorflow.metadata.v0.BytesStatistics bytes_stats = 5;CustomStatisticgetCustomStats(int index)Any custom statistics can be stored in this list.intgetCustomStatsCount()Any custom statistics can be stored in this list.List<CustomStatistic>getCustomStatsList()Any custom statistics can be stored in this list.CustomStatisticOrBuildergetCustomStatsOrBuilder(int index)Any custom statistics can be stored in this list.List<? extends CustomStatisticOrBuilder>getCustomStatsOrBuilderList()Any custom statistics can be stored in this list.static FeatureNameStatisticsgetDefaultInstance()FeatureNameStatisticsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()FeatureNameStatistics.FieldIdCasegetFieldIdCase()StringgetName()The feature namecom.google.protobuf.ByteStringgetNameBytes()The feature nameNumericStatisticsgetNumStats().tensorflow.metadata.v0.NumericStatistics num_stats = 3;NumericStatisticsOrBuildergetNumStatsOrBuilder().tensorflow.metadata.v0.NumericStatistics num_stats = 3;com.google.protobuf.Parser<FeatureNameStatistics>getParserForType()PathgetPath()The path of the feature.PathOrBuildergetPathOrBuilder()The path of the feature.intgetSerializedSize()FeatureNameStatistics.StatsCasegetStatsCase()StringStatisticsgetStringStats().tensorflow.metadata.v0.StringStatistics string_stats = 4;StringStatisticsOrBuildergetStringStatsOrBuilder().tensorflow.metadata.v0.StringStatistics string_stats = 4;StructStatisticsgetStructStats().tensorflow.metadata.v0.StructStatistics struct_stats = 7;StructStatisticsOrBuildergetStructStatsOrBuilder().tensorflow.metadata.v0.StructStatistics struct_stats = 7;FeatureNameStatistics.TypegetType()The data type of the featureintgetTypeValue()The data type of the featurecom.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasBytesStats().tensorflow.metadata.v0.BytesStatistics bytes_stats = 5;inthashCode()booleanhasNumStats().tensorflow.metadata.v0.NumericStatistics num_stats = 3;booleanhasPath()The path of the feature.booleanhasStringStats().tensorflow.metadata.v0.StringStatistics string_stats = 4;booleanhasStructStats().tensorflow.metadata.v0.StructStatistics struct_stats = 7;protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static FeatureNameStatistics.BuildernewBuilder()static FeatureNameStatistics.BuildernewBuilder(FeatureNameStatistics prototype)FeatureNameStatistics.BuildernewBuilderForType()protected FeatureNameStatistics.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static FeatureNameStatisticsparseDelimitedFrom(InputStream input)static FeatureNameStatisticsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureNameStatisticsparseFrom(byte[] data)static FeatureNameStatisticsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureNameStatisticsparseFrom(com.google.protobuf.ByteString data)static FeatureNameStatisticsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureNameStatisticsparseFrom(com.google.protobuf.CodedInputStream input)static FeatureNameStatisticsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureNameStatisticsparseFrom(InputStream input)static FeatureNameStatisticsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static FeatureNameStatisticsparseFrom(ByteBuffer data)static FeatureNameStatisticsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<FeatureNameStatistics>parser()FeatureNameStatistics.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
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PATH_FIELD_NUMBER
public static final int PATH_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NUM_STATS_FIELD_NUMBER
public static final int NUM_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRING_STATS_FIELD_NUMBER
public static final int STRING_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BYTES_STATS_FIELD_NUMBER
public static final int BYTES_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STRUCT_STATS_FIELD_NUMBER
public static final int STRUCT_STATS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CUSTOM_STATS_FIELD_NUMBER
public static final int CUSTOM_STATS_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
-
getFieldIdCase
public FeatureNameStatistics.FieldIdCase getFieldIdCase()
- Specified by:
getFieldIdCasein interfaceFeatureNameStatisticsOrBuilder
-
getStatsCase
public FeatureNameStatistics.StatsCase getStatsCase()
- Specified by:
getStatsCasein interfaceFeatureNameStatisticsOrBuilder
-
getName
public String getName()
The feature name
string name = 1;- Specified by:
getNamein interfaceFeatureNameStatisticsOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The feature name
string name = 1;- Specified by:
getNameBytesin interfaceFeatureNameStatisticsOrBuilder- Returns:
- The bytes for name.
-
hasPath
public boolean hasPath()
The path of the feature.
.tensorflow.metadata.v0.Path path = 8;- Specified by:
hasPathin interfaceFeatureNameStatisticsOrBuilder- Returns:
- Whether the path field is set.
-
getPath
public Path getPath()
The path of the feature.
.tensorflow.metadata.v0.Path path = 8;- Specified by:
getPathin interfaceFeatureNameStatisticsOrBuilder- Returns:
- The path.
-
getPathOrBuilder
public PathOrBuilder getPathOrBuilder()
The path of the feature.
.tensorflow.metadata.v0.Path path = 8;- Specified by:
getPathOrBuilderin interfaceFeatureNameStatisticsOrBuilder
-
getTypeValue
public int getTypeValue()
The data type of the feature
.tensorflow.metadata.v0.FeatureNameStatistics.Type type = 2;- Specified by:
getTypeValuein interfaceFeatureNameStatisticsOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
getType
public FeatureNameStatistics.Type getType()
The data type of the feature
.tensorflow.metadata.v0.FeatureNameStatistics.Type type = 2;- Specified by:
getTypein interfaceFeatureNameStatisticsOrBuilder- Returns:
- The type.
-
hasNumStats
public boolean hasNumStats()
.tensorflow.metadata.v0.NumericStatistics num_stats = 3;- Specified by:
hasNumStatsin interfaceFeatureNameStatisticsOrBuilder- Returns:
- Whether the numStats field is set.
-
getNumStats
public NumericStatistics getNumStats()
.tensorflow.metadata.v0.NumericStatistics num_stats = 3;- Specified by:
getNumStatsin interfaceFeatureNameStatisticsOrBuilder- Returns:
- The numStats.
-
getNumStatsOrBuilder
public NumericStatisticsOrBuilder getNumStatsOrBuilder()
.tensorflow.metadata.v0.NumericStatistics num_stats = 3;- Specified by:
getNumStatsOrBuilderin interfaceFeatureNameStatisticsOrBuilder
-
hasStringStats
public boolean hasStringStats()
.tensorflow.metadata.v0.StringStatistics string_stats = 4;- Specified by:
hasStringStatsin interfaceFeatureNameStatisticsOrBuilder- Returns:
- Whether the stringStats field is set.
-
getStringStats
public StringStatistics getStringStats()
.tensorflow.metadata.v0.StringStatistics string_stats = 4;- Specified by:
getStringStatsin interfaceFeatureNameStatisticsOrBuilder- Returns:
- The stringStats.
-
getStringStatsOrBuilder
public StringStatisticsOrBuilder getStringStatsOrBuilder()
.tensorflow.metadata.v0.StringStatistics string_stats = 4;- Specified by:
getStringStatsOrBuilderin interfaceFeatureNameStatisticsOrBuilder
-
hasBytesStats
public boolean hasBytesStats()
.tensorflow.metadata.v0.BytesStatistics bytes_stats = 5;- Specified by:
hasBytesStatsin interfaceFeatureNameStatisticsOrBuilder- Returns:
- Whether the bytesStats field is set.
-
getBytesStats
public BytesStatistics getBytesStats()
.tensorflow.metadata.v0.BytesStatistics bytes_stats = 5;- Specified by:
getBytesStatsin interfaceFeatureNameStatisticsOrBuilder- Returns:
- The bytesStats.
-
getBytesStatsOrBuilder
public BytesStatisticsOrBuilder getBytesStatsOrBuilder()
.tensorflow.metadata.v0.BytesStatistics bytes_stats = 5;- Specified by:
getBytesStatsOrBuilderin interfaceFeatureNameStatisticsOrBuilder
-
hasStructStats
public boolean hasStructStats()
.tensorflow.metadata.v0.StructStatistics struct_stats = 7;- Specified by:
hasStructStatsin interfaceFeatureNameStatisticsOrBuilder- Returns:
- Whether the structStats field is set.
-
getStructStats
public StructStatistics getStructStats()
.tensorflow.metadata.v0.StructStatistics struct_stats = 7;- Specified by:
getStructStatsin interfaceFeatureNameStatisticsOrBuilder- Returns:
- The structStats.
-
getStructStatsOrBuilder
public StructStatisticsOrBuilder getStructStatsOrBuilder()
.tensorflow.metadata.v0.StructStatistics struct_stats = 7;- Specified by:
getStructStatsOrBuilderin interfaceFeatureNameStatisticsOrBuilder
-
getCustomStatsList
public List<CustomStatistic> getCustomStatsList()
Any custom statistics can be stored in this list.
repeated .tensorflow.metadata.v0.CustomStatistic custom_stats = 6;- Specified by:
getCustomStatsListin interfaceFeatureNameStatisticsOrBuilder
-
getCustomStatsOrBuilderList
public List<? extends CustomStatisticOrBuilder> getCustomStatsOrBuilderList()
Any custom statistics can be stored in this list.
repeated .tensorflow.metadata.v0.CustomStatistic custom_stats = 6;- Specified by:
getCustomStatsOrBuilderListin interfaceFeatureNameStatisticsOrBuilder
-
getCustomStatsCount
public int getCustomStatsCount()
Any custom statistics can be stored in this list.
repeated .tensorflow.metadata.v0.CustomStatistic custom_stats = 6;- Specified by:
getCustomStatsCountin interfaceFeatureNameStatisticsOrBuilder
-
getCustomStats
public CustomStatistic getCustomStats(int index)
Any custom statistics can be stored in this list.
repeated .tensorflow.metadata.v0.CustomStatistic custom_stats = 6;- Specified by:
getCustomStatsin interfaceFeatureNameStatisticsOrBuilder
-
getCustomStatsOrBuilder
public CustomStatisticOrBuilder getCustomStatsOrBuilder(int index)
Any custom statistics can be stored in this list.
repeated .tensorflow.metadata.v0.CustomStatistic custom_stats = 6;- Specified by:
getCustomStatsOrBuilderin interfaceFeatureNameStatisticsOrBuilder
-
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 FeatureNameStatistics parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureNameStatistics parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureNameStatistics parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureNameStatistics parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureNameStatistics parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureNameStatistics parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static FeatureNameStatistics parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FeatureNameStatistics parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FeatureNameStatistics parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static FeatureNameStatistics parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static FeatureNameStatistics parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static FeatureNameStatistics parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public FeatureNameStatistics.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static FeatureNameStatistics.Builder newBuilder()
-
newBuilder
public static FeatureNameStatistics.Builder newBuilder(FeatureNameStatistics prototype)
-
toBuilder
public FeatureNameStatistics.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected FeatureNameStatistics.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static FeatureNameStatistics getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<FeatureNameStatistics> parser()
-
getParserForType
public com.google.protobuf.Parser<FeatureNameStatistics> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public FeatureNameStatistics getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-