# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: tensorflow_metadata/proto/v0/statistics.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb2
from tensorflow_metadata.proto.v0 import derived_feature_pb2 as tensorflow__metadata_dot_proto_dot_v0_dot_derived__feature__pb2
from tensorflow_metadata.proto.v0 import path_pb2 as tensorflow__metadata_dot_proto_dot_v0_dot_path__pb2


DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-tensorflow_metadata/proto/v0/statistics.proto\x12\x16tensorflow.metadata.v0\x1a\x19google/protobuf/any.proto\x1a\x32tensorflow_metadata/proto/v0/derived_feature.proto\x1a\'tensorflow_metadata/proto/v0/path.proto\"b\n\x1c\x44\x61tasetFeatureStatisticsList\x12\x42\n\x08\x64\x61tasets\x18\x01 \x03(\x0b\x32\x30.tensorflow.metadata.v0.DatasetFeatureStatistics\"\xe6\x01\n\x18\x44\x61tasetFeatureStatistics\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x14\n\x0cnum_examples\x18\x02 \x01(\x04\x12\x1d\n\x15weighted_num_examples\x18\x04 \x01(\x01\x12?\n\x08\x66\x65\x61tures\x18\x03 \x03(\x0b\x32-.tensorflow.metadata.v0.FeatureNameStatistics\x12\x46\n\x0e\x63ross_features\x18\x05 \x03(\x0b\x32..tensorflow.metadata.v0.CrossFeatureStatistics\"\xb4\x02\n\x16\x43rossFeatureStatistics\x12,\n\x06path_x\x18\x01 \x01(\x0b\x32\x1c.tensorflow.metadata.v0.Path\x12,\n\x06path_y\x18\x02 \x01(\x0b\x32\x1c.tensorflow.metadata.v0.Path\x12\r\n\x05\x63ount\x18\x03 \x01(\x04\x12I\n\x0fnum_cross_stats\x18\x04 \x01(\x0b\x32..tensorflow.metadata.v0.NumericCrossStatisticsH\x00\x12U\n\x17\x63\x61tegorical_cross_stats\x18\x05 \x01(\x0b\x32\x32.tensorflow.metadata.v0.CategoricalCrossStatisticsH\x00\x42\r\n\x0b\x63ross_stats\"A\n\x16NumericCrossStatistics\x12\x13\n\x0b\x63orrelation\x18\x01 \x01(\x02\x12\x12\n\ncovariance\x18\x02 \x01(\x02\"R\n\x1a\x43\x61tegoricalCrossStatistics\x12\x34\n\x04lift\x18\x01 \x01(\x0b\x32&.tensorflow.metadata.v0.LiftStatistics\"\x8b\x01\n\x0eLiftStatistics\x12\x37\n\x0blift_series\x18\x01 \x03(\x0b\x32\".tensorflow.metadata.v0.LiftSeries\x12@\n\x14weighted_lift_series\x18\x02 \x03(\x0b\x32\".tensorflow.metadata.v0.LiftSeries\"\x8d\x04\n\nLiftSeries\x12\x0f\n\x05y_int\x18\x01 \x01(\x05H\x00\x12\x12\n\x08y_string\x18\x02 \x01(\tH\x00\x12=\n\x08y_bucket\x18\x03 \x01(\x0b\x32).tensorflow.metadata.v0.LiftSeries.BucketH\x00\x12\x11\n\x07y_count\x18\x04 \x01(\x04H\x01\x12\x1a\n\x10weighted_y_count\x18\x05 \x01(\x01H\x01\x12\x41\n\x0blift_values\x18\x06 \x03(\x0b\x32,.tensorflow.metadata.v0.LiftSeries.LiftValue\x1a/\n\x06\x42ucket\x12\x11\n\tlow_value\x18\x01 \x01(\x01\x12\x12\n\nhigh_value\x18\x02 \x01(\x01\x1a\xdb\x01\n\tLiftValue\x12\x0f\n\x05x_int\x18\x01 \x01(\x05H\x00\x12\x12\n\x08x_string\x18\x02 \x01(\tH\x00\x12\x0c\n\x04lift\x18\x03 \x01(\x01\x12\x11\n\x07x_count\x18\x04 \x01(\x04H\x01\x12\x1a\n\x10weighted_x_count\x18\x05 \x01(\x01H\x01\x12\x17\n\rx_and_y_count\x18\x06 \x01(\x04H\x02\x12 \n\x16weighted_x_and_y_count\x18\x07 \x01(\x01H\x02\x42\t\n\x07x_valueB\x0f\n\rx_count_valueB\x15\n\x13x_and_y_count_valueB\t\n\x07y_valueB\x0f\n\ry_count_value\"\x85\x05\n\x15\x46\x65\x61tureNameStatistics\x12\x0e\n\x04name\x18\x01 \x01(\tH\x00\x12,\n\x04path\x18\x08 \x01(\x0b\x32\x1c.tensorflow.metadata.v0.PathH\x00\x12@\n\x04type\x18\x02 \x01(\x0e\x32\x32.tensorflow.metadata.v0.FeatureNameStatistics.Type\x12>\n\tnum_stats\x18\x03 \x01(\x0b\x32).tensorflow.metadata.v0.NumericStatisticsH\x01\x12@\n\x0cstring_stats\x18\x04 \x01(\x0b\x32(.tensorflow.metadata.v0.StringStatisticsH\x01\x12>\n\x0b\x62ytes_stats\x18\x05 \x01(\x0b\x32\'.tensorflow.metadata.v0.BytesStatisticsH\x01\x12@\n\x0cstruct_stats\x18\x07 \x01(\x0b\x32(.tensorflow.metadata.v0.StructStatisticsH\x01\x12=\n\x0c\x63ustom_stats\x18\x06 \x03(\x0b\x32\'.tensorflow.metadata.v0.CustomStatistic\x12O\n\x19validation_derived_source\x18\n \x01(\x0b\x32,.tensorflow.metadata.v0.DerivedFeatureSource\"=\n\x04Type\x12\x07\n\x03INT\x10\x00\x12\t\n\x05\x46LOAT\x10\x01\x12\n\n\x06STRING\x10\x02\x12\t\n\x05\x42YTES\x10\x03\x12\n\n\x06STRUCT\x10\x04\x42\n\n\x08\x66ield_idB\x07\n\x05statsJ\x04\x08\t\x10\n\"x\n\x18WeightedCommonStatistics\x12\x17\n\x0fnum_non_missing\x18\x01 \x01(\x01\x12\x13\n\x0bnum_missing\x18\x02 \x01(\x01\x12\x16\n\x0e\x61vg_num_values\x18\x03 \x01(\x01\x12\x16\n\x0etot_num_values\x18\x04 \x01(\x01\"\xe2\x01\n\x0f\x43ustomStatistic\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x03num\x18\x02 \x01(\x01H\x00\x12\r\n\x03str\x18\x03 \x01(\tH\x00\x12\x36\n\thistogram\x18\x04 \x01(\x0b\x32!.tensorflow.metadata.v0.HistogramH\x00\x12?\n\x0erank_histogram\x18\x05 \x01(\x0b\x32%.tensorflow.metadata.v0.RankHistogramH\x00\x12#\n\x03\x61ny\x18\x06 \x01(\x0b\x32\x14.google.protobuf.AnyH\x00\x42\x05\n\x03val\"\xb9\x02\n\x11NumericStatistics\x12>\n\x0c\x63ommon_stats\x18\x01 \x01(\x0b\x32(.tensorflow.metadata.v0.CommonStatistics\x12\x0c\n\x04mean\x18\x02 \x01(\x01\x12\x0f\n\x07std_dev\x18\x03 \x01(\x01\x12\x11\n\tnum_zeros\x18\x04 \x01(\x04\x12\x0b\n\x03min\x18\x05 \x01(\x01\x12\x0e\n\x06median\x18\x06 \x01(\x01\x12\x0b\n\x03max\x18\x07 \x01(\x01\x12\x35\n\nhistograms\x18\x08 \x03(\x0b\x32!.tensorflow.metadata.v0.Histogram\x12Q\n\x16weighted_numeric_stats\x18\t \x01(\x0b\x32\x31.tensorflow.metadata.v0.WeightedNumericStatistics\"\xbe\x03\n\x10StringStatistics\x12>\n\x0c\x63ommon_stats\x18\x01 \x01(\x0b\x32(.tensorflow.metadata.v0.CommonStatistics\x12\x0e\n\x06unique\x18\x02 \x01(\x04\x12I\n\ntop_values\x18\x03 \x03(\x0b\x32\x35.tensorflow.metadata.v0.StringStatistics.FreqAndValue\x12\x12\n\navg_length\x18\x04 \x01(\x02\x12=\n\x0erank_histogram\x18\x05 \x01(\x0b\x32%.tensorflow.metadata.v0.RankHistogram\x12O\n\x15weighted_string_stats\x18\x06 \x01(\x0b\x32\x30.tensorflow.metadata.v0.WeightedStringStatistics\x12\x17\n\x0fvocabulary_file\x18\x07 \x01(\t\x12\x1a\n\x12invalid_utf8_count\x18\x08 \x01(\x04\x1a\x36\n\x0c\x46reqAndValue\x12\r\n\x05value\x18\x02 \x01(\t\x12\x11\n\tfrequency\x18\x03 \x01(\x01J\x04\x08\x01\x10\x02\"\xdc\x06\n\x19NaturalLanguageStatistics\x12\x18\n\x10\x66\x65\x61ture_coverage\x18\x01 \x01(\x01\x12\x18\n\x10\x61vg_token_length\x18\x02 \x01(\x01\x12\x41\n\x16token_length_histogram\x18\x03 \x01(\x0b\x32!.tensorflow.metadata.v0.Histogram\x12\x1b\n\x13min_sequence_length\x18\n \x01(\x03\x12\x1b\n\x13max_sequence_length\x18\x0b \x01(\x03\x12\x44\n\x19sequence_length_histogram\x18\t \x01(\x0b\x32!.tensorflow.metadata.v0.Histogram\x12\x17\n\x0flocation_misses\x18\x04 \x01(\x03\x12\x1a\n\x12reported_sequences\x18\x05 \x03(\t\x12[\n\x10token_statistics\x18\x06 \x03(\x0b\x32\x41.tensorflow.metadata.v0.NaturalLanguageStatistics.TokenStatistics\x12=\n\x0erank_histogram\x18\x07 \x01(\x0b\x32%.tensorflow.metadata.v0.RankHistogram\x12Y\n\x16weighted_nl_statistics\x18\x08 \x01(\x0b\x32\x39.tensorflow.metadata.v0.WeightedNaturalLanguageStatistics\x1a\x9b\x02\n\x0fTokenStatistics\x12\x16\n\x0cstring_token\x18\x01 \x01(\tH\x00\x12\x13\n\tint_token\x18\x02 \x01(\x03H\x00\x12\x11\n\tfrequency\x18\x03 \x01(\x01\x12\x1d\n\x15\x66raction_of_sequences\x18\x04 \x01(\x01\x12\"\n\x1aper_sequence_min_frequency\x18\x05 \x01(\x01\x12\"\n\x1aper_sequence_avg_frequency\x18\x06 \x01(\x01\x12\"\n\x1aper_sequence_max_frequency\x18\x07 \x01(\x01\x12\x34\n\tpositions\x18\x08 \x01(\x0b\x32!.tensorflow.metadata.v0.HistogramB\x07\n\x05token\"\x81\x01\n\x19WeightedNumericStatistics\x12\x0c\n\x04mean\x18\x01 \x01(\x01\x12\x0f\n\x07std_dev\x18\x02 \x01(\x01\x12\x0e\n\x06median\x18\x03 \x01(\x01\x12\x35\n\nhistograms\x18\x04 \x03(\x0b\x32!.tensorflow.metadata.v0.Histogram\"\xa4\x01\n\x18WeightedStringStatistics\x12I\n\ntop_values\x18\x01 \x03(\x0b\x32\x35.tensorflow.metadata.v0.StringStatistics.FreqAndValue\x12=\n\x0erank_histogram\x18\x02 \x01(\x0b\x32%.tensorflow.metadata.v0.RankHistogram\"\x95\x03\n!WeightedNaturalLanguageStatistics\x12\x18\n\x10\x66\x65\x61ture_coverage\x18\x01 \x01(\x01\x12\x18\n\x10\x61vg_token_length\x18\x02 \x01(\x01\x12\x41\n\x16token_length_histogram\x18\x03 \x01(\x0b\x32!.tensorflow.metadata.v0.Histogram\x12\x44\n\x19sequence_length_histogram\x18\t \x01(\x0b\x32!.tensorflow.metadata.v0.Histogram\x12\x17\n\x0flocation_misses\x18\x04 \x01(\x01\x12[\n\x10token_statistics\x18\x05 \x01(\x0b\x32\x41.tensorflow.metadata.v0.NaturalLanguageStatistics.TokenStatistics\x12=\n\x0erank_histogram\x18\x06 \x01(\x0b\x32%.tensorflow.metadata.v0.RankHistogram\"\xc1\x01\n\x0f\x42ytesStatistics\x12>\n\x0c\x63ommon_stats\x18\x01 \x01(\x0b\x32(.tensorflow.metadata.v0.CommonStatistics\x12\x0e\n\x06unique\x18\x02 \x01(\x04\x12\x15\n\ravg_num_bytes\x18\x03 \x01(\x02\x12\x15\n\rmin_num_bytes\x18\x04 \x01(\x02\x12\x15\n\rmax_num_bytes\x18\x05 \x01(\x02\x12\x19\n\x11max_num_bytes_int\x18\x06 \x01(\x03\"R\n\x10StructStatistics\x12>\n\x0c\x63ommon_stats\x18\x01 \x01(\x0b\x32(.tensorflow.metadata.v0.CommonStatistics\"\x94\x01\n\x1cPresenceAndValencyStatistics\x12\x17\n\x0fnum_non_missing\x18\x01 \x01(\x04\x12\x13\n\x0bnum_missing\x18\x02 \x01(\x04\x12\x16\n\x0emin_num_values\x18\x03 \x01(\x04\x12\x16\n\x0emax_num_values\x18\x04 \x01(\x04\x12\x16\n\x0etot_num_values\x18\x05 \x01(\x04\"\xb5\x04\n\x10\x43ommonStatistics\x12\x17\n\x0fnum_non_missing\x18\x01 \x01(\x04\x12\x13\n\x0bnum_missing\x18\x02 \x01(\x04\x12\x16\n\x0emin_num_values\x18\x03 \x01(\x04\x12\x16\n\x0emax_num_values\x18\x04 \x01(\x04\x12\x16\n\x0e\x61vg_num_values\x18\x05 \x01(\x02\x12\x16\n\x0etot_num_values\x18\x08 \x01(\x04\x12?\n\x14num_values_histogram\x18\x06 \x01(\x0b\x32!.tensorflow.metadata.v0.Histogram\x12O\n\x15weighted_common_stats\x18\x07 \x01(\x0b\x32\x30.tensorflow.metadata.v0.WeightedCommonStatistics\x12H\n\x1d\x66\x65\x61ture_list_length_histogram\x18\t \x01(\x0b\x32!.tensorflow.metadata.v0.Histogram\x12X\n\x1apresence_and_valency_stats\x18\n \x03(\x0b\x32\x34.tensorflow.metadata.v0.PresenceAndValencyStatistics\x12]\n#weighted_presence_and_valency_stats\x18\x0b \x03(\x0b\x32\x30.tensorflow.metadata.v0.WeightedCommonStatistics\"\xb6\x02\n\tHistogram\x12\x0f\n\x07num_nan\x18\x01 \x01(\x04\x12\x15\n\rnum_undefined\x18\x02 \x01(\x04\x12\x39\n\x07\x62uckets\x18\x03 \x03(\x0b\x32(.tensorflow.metadata.v0.Histogram.Bucket\x12=\n\x04type\x18\x04 \x01(\x0e\x32/.tensorflow.metadata.v0.Histogram.HistogramType\x12\x0c\n\x04name\x18\x05 \x01(\t\x1aK\n\x06\x42ucket\x12\x11\n\tlow_value\x18\x01 \x01(\x01\x12\x12\n\nhigh_value\x18\x02 \x01(\x01\x12\x14\n\x0csample_count\x18\x04 \x01(\x01J\x04\x08\x03\x10\x04\",\n\rHistogramType\x12\x0c\n\x08STANDARD\x10\x00\x12\r\n\tQUANTILES\x10\x01\"\xb6\x01\n\rRankHistogram\x12=\n\x07\x62uckets\x18\x01 \x03(\x0b\x32,.tensorflow.metadata.v0.RankHistogram.Bucket\x12\x0c\n\x04name\x18\x02 \x01(\t\x1aX\n\x06\x42ucket\x12\x10\n\x08low_rank\x18\x01 \x01(\x04\x12\x11\n\thigh_rank\x18\x02 \x01(\x04\x12\r\n\x05label\x18\x04 \x01(\t\x12\x14\n\x0csample_count\x18\x05 \x01(\x01J\x04\x08\x03\x10\x04\x42!\n\x1aorg.tensorflow.metadata.v0P\x01\xf8\x01\x01\x62\x06proto3')

_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'tensorflow_metadata.proto.v0.statistics_pb2', globals())
if _descriptor._USE_C_DESCRIPTORS == False:

  DESCRIPTOR._options = None
  DESCRIPTOR._serialized_options = b'\n\032org.tensorflow.metadata.v0P\001\370\001\001'
  _DATASETFEATURESTATISTICSLIST._serialized_start=193
  _DATASETFEATURESTATISTICSLIST._serialized_end=291
  _DATASETFEATURESTATISTICS._serialized_start=294
  _DATASETFEATURESTATISTICS._serialized_end=524
  _CROSSFEATURESTATISTICS._serialized_start=527
  _CROSSFEATURESTATISTICS._serialized_end=835
  _NUMERICCROSSSTATISTICS._serialized_start=837
  _NUMERICCROSSSTATISTICS._serialized_end=902
  _CATEGORICALCROSSSTATISTICS._serialized_start=904
  _CATEGORICALCROSSSTATISTICS._serialized_end=986
  _LIFTSTATISTICS._serialized_start=989
  _LIFTSTATISTICS._serialized_end=1128
  _LIFTSERIES._serialized_start=1131
  _LIFTSERIES._serialized_end=1656
  _LIFTSERIES_BUCKET._serialized_start=1359
  _LIFTSERIES_BUCKET._serialized_end=1406
  _LIFTSERIES_LIFTVALUE._serialized_start=1409
  _LIFTSERIES_LIFTVALUE._serialized_end=1628
  _FEATURENAMESTATISTICS._serialized_start=1659
  _FEATURENAMESTATISTICS._serialized_end=2304
  _FEATURENAMESTATISTICS_TYPE._serialized_start=2216
  _FEATURENAMESTATISTICS_TYPE._serialized_end=2277
  _WEIGHTEDCOMMONSTATISTICS._serialized_start=2306
  _WEIGHTEDCOMMONSTATISTICS._serialized_end=2426
  _CUSTOMSTATISTIC._serialized_start=2429
  _CUSTOMSTATISTIC._serialized_end=2655
  _NUMERICSTATISTICS._serialized_start=2658
  _NUMERICSTATISTICS._serialized_end=2971
  _STRINGSTATISTICS._serialized_start=2974
  _STRINGSTATISTICS._serialized_end=3420
  _STRINGSTATISTICS_FREQANDVALUE._serialized_start=3366
  _STRINGSTATISTICS_FREQANDVALUE._serialized_end=3420
  _NATURALLANGUAGESTATISTICS._serialized_start=3423
  _NATURALLANGUAGESTATISTICS._serialized_end=4283
  _NATURALLANGUAGESTATISTICS_TOKENSTATISTICS._serialized_start=4000
  _NATURALLANGUAGESTATISTICS_TOKENSTATISTICS._serialized_end=4283
  _WEIGHTEDNUMERICSTATISTICS._serialized_start=4286
  _WEIGHTEDNUMERICSTATISTICS._serialized_end=4415
  _WEIGHTEDSTRINGSTATISTICS._serialized_start=4418
  _WEIGHTEDSTRINGSTATISTICS._serialized_end=4582
  _WEIGHTEDNATURALLANGUAGESTATISTICS._serialized_start=4585
  _WEIGHTEDNATURALLANGUAGESTATISTICS._serialized_end=4990
  _BYTESSTATISTICS._serialized_start=4993
  _BYTESSTATISTICS._serialized_end=5186
  _STRUCTSTATISTICS._serialized_start=5188
  _STRUCTSTATISTICS._serialized_end=5270
  _PRESENCEANDVALENCYSTATISTICS._serialized_start=5273
  _PRESENCEANDVALENCYSTATISTICS._serialized_end=5421
  _COMMONSTATISTICS._serialized_start=5424
  _COMMONSTATISTICS._serialized_end=5989
  _HISTOGRAM._serialized_start=5992
  _HISTOGRAM._serialized_end=6302
  _HISTOGRAM_BUCKET._serialized_start=6181
  _HISTOGRAM_BUCKET._serialized_end=6256
  _HISTOGRAM_HISTOGRAMTYPE._serialized_start=6258
  _HISTOGRAM_HISTOGRAMTYPE._serialized_end=6302
  _RANKHISTOGRAM._serialized_start=6305
  _RANKHISTOGRAM._serialized_end=6487
  _RANKHISTOGRAM_BUCKET._serialized_start=6399
  _RANKHISTOGRAM_BUCKET._serialized_end=6487
# @@protoc_insertion_point(module_scope)
