# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: histogram_event.proto

from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import descriptor_pb2
# @@protoc_insertion_point(imports)




DESCRIPTOR = _descriptor.FileDescriptor(
  name='histogram_event.proto',
  package='metrics',
  serialized_pb='\n\x15histogram_event.proto\x12\x07metrics\"\xb7\x01\n\x13HistogramEventProto\x12\x11\n\tname_hash\x18\x01 \x01(\x06\x12\x0b\n\x03sum\x18\x02 \x01(\x03\x12\x33\n\x06\x62ucket\x18\x03 \x03(\x0b\x32#.metrics.HistogramEventProto.Bucket\x1aK\n\x06\x42ucket\x12\x0b\n\x03min\x18\x01 \x01(\x03\x12\x0b\n\x03max\x18\x02 \x01(\x03\x12\x18\n\x0c\x62ucket_index\x18\x03 \x01(\x05\x42\x02\x18\x01\x12\r\n\x05\x63ount\x18\x04 \x01(\x03\x42\x39\n\x1forg.chromium.components.metricsB\x14HistogramEventProtosH\x03')




_HISTOGRAMEVENTPROTO_BUCKET = _descriptor.Descriptor(
  name='Bucket',
  full_name='metrics.HistogramEventProto.Bucket',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='min', full_name='metrics.HistogramEventProto.Bucket.min', index=0,
      number=1, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='max', full_name='metrics.HistogramEventProto.Bucket.max', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='bucket_index', full_name='metrics.HistogramEventProto.Bucket.bucket_index', index=2,
      number=3, type=5, cpp_type=1, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=_descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\030\001')),
    _descriptor.FieldDescriptor(
      name='count', full_name='metrics.HistogramEventProto.Bucket.count', index=3,
      number=4, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=143,
  serialized_end=218,
)

_HISTOGRAMEVENTPROTO = _descriptor.Descriptor(
  name='HistogramEventProto',
  full_name='metrics.HistogramEventProto',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='name_hash', full_name='metrics.HistogramEventProto.name_hash', index=0,
      number=1, type=6, cpp_type=4, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='sum', full_name='metrics.HistogramEventProto.sum', index=1,
      number=2, type=3, cpp_type=2, label=1,
      has_default_value=False, default_value=0,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='bucket', full_name='metrics.HistogramEventProto.bucket', index=2,
      number=3, type=11, cpp_type=10, label=3,
      has_default_value=False, default_value=[],
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[_HISTOGRAMEVENTPROTO_BUCKET, ],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=35,
  serialized_end=218,
)

_HISTOGRAMEVENTPROTO_BUCKET.containing_type = _HISTOGRAMEVENTPROTO;
_HISTOGRAMEVENTPROTO.fields_by_name['bucket'].message_type = _HISTOGRAMEVENTPROTO_BUCKET
DESCRIPTOR.message_types_by_name['HistogramEventProto'] = _HISTOGRAMEVENTPROTO

class HistogramEventProto(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType

  class Bucket(_message.Message):
    __metaclass__ = _reflection.GeneratedProtocolMessageType
    DESCRIPTOR = _HISTOGRAMEVENTPROTO_BUCKET

    # @@protoc_insertion_point(class_scope:metrics.HistogramEventProto.Bucket)
  DESCRIPTOR = _HISTOGRAMEVENTPROTO

  # @@protoc_insertion_point(class_scope:metrics.HistogramEventProto)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), '\n\037org.chromium.components.metricsB\024HistogramEventProtosH\003')
_HISTOGRAMEVENTPROTO_BUCKET.fields_by_name['bucket_index'].has_options = True
_HISTOGRAMEVENTPROTO_BUCKET.fields_by_name['bucket_index']._options = _descriptor._ParseOptions(descriptor_pb2.FieldOptions(), '\030\001')
# @@protoc_insertion_point(module_scope)
