# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: sampled_profile.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)


import call_stack_profile_pb2
import perf_data_pb2
import perf_stat_pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='sampled_profile.proto',
  package='metrics',
  serialized_pb='\n\x15sampled_profile.proto\x12\x07metrics\x1a\x18\x63\x61ll_stack_profile.proto\x1a\x0fperf_data.proto\x1a\x0fperf_stat.proto\"\x9d\x04\n\x0eSampledProfile\x12;\n\rtrigger_event\x18\x01 \x01(\x0e\x32$.metrics.SampledProfile.TriggerEvent\x12\x15\n\rms_after_boot\x18\x02 \x01(\x03\x12\x16\n\x0ems_after_login\x18\x03 \x01(\x03\x12\x1b\n\x13suspend_duration_ms\x18\x05 \x01(\x03\x12\x17\n\x0fms_after_resume\x18\x06 \x01(\x03\x12\x19\n\x11num_tabs_restored\x18\x07 \x01(\x05\x12\x18\n\x10ms_after_restore\x18\x08 \x01(\x03\x12)\n\tperf_data\x18\x04 \x01(\x0b\x32\x16.metrics.PerfDataProto\x12\x35\n\x12\x63\x61ll_stack_profile\x18\t \x01(\x0b\x32\x19.metrics.CallStackProfile\x12)\n\tperf_stat\x18\n \x01(\x0b\x32\x16.metrics.PerfStatProto\"\xa6\x01\n\x0cTriggerEvent\x12\x19\n\x15UNKNOWN_TRIGGER_EVENT\x10\x00\x12\x17\n\x13PERIODIC_COLLECTION\x10\x01\x12\x17\n\x13RESUME_FROM_SUSPEND\x10\x02\x12\x13\n\x0fRESTORE_SESSION\x10\x03\x12\x13\n\x0fPROCESS_STARTUP\x10\x04\x12\x0e\n\nJANKY_TASK\x10\x05\x12\x0f\n\x0bTHREAD_HUNG\x10\x06\x42\x39\n\x1forg.chromium.components.metricsB\x14SampledProfileProtosH\x03')



_SAMPLEDPROFILE_TRIGGEREVENT = _descriptor.EnumDescriptor(
  name='TriggerEvent',
  full_name='metrics.SampledProfile.TriggerEvent',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='UNKNOWN_TRIGGER_EVENT', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='PERIODIC_COLLECTION', index=1, number=1,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='RESUME_FROM_SUSPEND', index=2, number=2,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='RESTORE_SESSION', index=3, number=3,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='PROCESS_STARTUP', index=4, number=4,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='JANKY_TASK', index=5, number=5,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='THREAD_HUNG', index=6, number=6,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=470,
  serialized_end=636,
)


_SAMPLEDPROFILE = _descriptor.Descriptor(
  name='SampledProfile',
  full_name='metrics.SampledProfile',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='trigger_event', full_name='metrics.SampledProfile.trigger_event', index=0,
      number=1, type=14, cpp_type=8, 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='ms_after_boot', full_name='metrics.SampledProfile.ms_after_boot', 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='ms_after_login', full_name='metrics.SampledProfile.ms_after_login', index=2,
      number=3, 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='suspend_duration_ms', full_name='metrics.SampledProfile.suspend_duration_ms', index=3,
      number=5, 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='ms_after_resume', full_name='metrics.SampledProfile.ms_after_resume', index=4,
      number=6, 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='num_tabs_restored', full_name='metrics.SampledProfile.num_tabs_restored', index=5,
      number=7, 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=None),
    _descriptor.FieldDescriptor(
      name='ms_after_restore', full_name='metrics.SampledProfile.ms_after_restore', index=6,
      number=8, 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='perf_data', full_name='metrics.SampledProfile.perf_data', index=7,
      number=4, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='call_stack_profile', full_name='metrics.SampledProfile.call_stack_profile', index=8,
      number=9, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='perf_stat', full_name='metrics.SampledProfile.perf_stat', index=9,
      number=10, type=11, cpp_type=10, label=1,
      has_default_value=False, default_value=None,
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _SAMPLEDPROFILE_TRIGGEREVENT,
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=95,
  serialized_end=636,
)

_SAMPLEDPROFILE.fields_by_name['trigger_event'].enum_type = _SAMPLEDPROFILE_TRIGGEREVENT
_SAMPLEDPROFILE.fields_by_name['perf_data'].message_type = perf_data_pb2._PERFDATAPROTO
_SAMPLEDPROFILE.fields_by_name['call_stack_profile'].message_type = call_stack_profile_pb2._CALLSTACKPROFILE
_SAMPLEDPROFILE.fields_by_name['perf_stat'].message_type = perf_stat_pb2._PERFSTATPROTO
_SAMPLEDPROFILE_TRIGGEREVENT.containing_type = _SAMPLEDPROFILE;
DESCRIPTOR.message_types_by_name['SampledProfile'] = _SAMPLEDPROFILE

class SampledProfile(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _SAMPLEDPROFILE

  # @@protoc_insertion_point(class_scope:metrics.SampledProfile)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), '\n\037org.chromium.components.metricsB\024SampledProfileProtosH\003')
# @@protoc_insertion_point(module_scope)
