text: # Generated by the protocol buffer compiler.  DO NOT EDIT!
  # source: tensorflow/contrib/tpu/profiler/trace_events.proto
  
  import sys
  _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
  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 symbol_database as _symbol_database
  from google.protobuf import descriptor_pb2
  # @@protoc_insertion_point(imports)
  
  _sym_db = _symbol_database.Default()
  
  
  
  
  DESCRIPTOR = _descriptor.FileDescriptor(
    name='tensorflow/contrib/tpu/profiler/trace_events.proto',
    package='tensorflow.tpu',
    syntax='proto3',
    serialized_pb=_b('\n2tensorflow/contrib/tpu/profiler/trace_events.proto\x12\x0etensorflow.tpu\"\xb6\x01\n\x05Trace\x12\x33\n\x07\x64\x65vices\x18\x01 \x03(\x0b\x32\".tensorflow.tpu.Trace.DevicesEntry\x12\x30\n\x0ctrace_events\x18\x04 \x03(\x0b\x32\x1a.tensorflow.tpu.TraceEvent\x1a\x46\n\x0c\x44\x65vicesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12%\n\x05value\x18\x02 \x01(\x0b\x32\x16.tensorflow.tpu.Device:\x02\x38\x01\"\xaf\x01\n\x06\x44\x65vice\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x11\n\tdevice_id\x18\x02 \x01(\r\x12\x38\n\tresources\x18\x03 \x03(\x0b\x32%.tensorflow.tpu.Device.ResourcesEntry\x1aJ\n\x0eResourcesEntry\x12\x0b\n\x03key\x18\x01 \x01(\r\x12\'\n\x05value\x18\x02 \x01(\x0b\x32\x18.tensorflow.tpu.Resource:\x02\x38\x01\"-\n\x08Resource\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0bresource_id\x18\x02 \x01(\r\"m\n\nTraceEvent\x12\x11\n\tdevice_id\x18\x01 \x01(\r\x12\x13\n\x0bresource_id\x18\x02 \x01(\r\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x14\n\x0ctimestamp_ps\x18\t \x01(\x04\x12\x13\n\x0b\x64uration_ps\x18\n \x01(\x04\x62\x06proto3')
  )
  _sym_db.RegisterFileDescriptor(DESCRIPTOR)
  
  
  
  
  _TRACE_DEVICESENTRY = _descriptor.Descriptor(
    name='DevicesEntry',
    full_name='tensorflow.tpu.Trace.DevicesEntry',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='key', full_name='tensorflow.tpu.Trace.DevicesEntry.key', index=0,
        number=1, type=13, cpp_type=3, 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='value', full_name='tensorflow.tpu.Trace.DevicesEntry.value', index=1,
        number=2, 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=[
    ],
    options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=183,
    serialized_end=253,
  )
  
  _TRACE = _descriptor.Descriptor(
    name='Trace',
    full_name='tensorflow.tpu.Trace',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='devices', full_name='tensorflow.tpu.Trace.devices', index=0,
        number=1, 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),
      _descriptor.FieldDescriptor(
        name='trace_events', full_name='tensorflow.tpu.Trace.trace_events', index=1,
        number=4, 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=[_TRACE_DEVICESENTRY, ],
    enum_types=[
    ],
    options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=71,
    serialized_end=253,
  )
  
  
  _DEVICE_RESOURCESENTRY = _descriptor.Descriptor(
    name='ResourcesEntry',
    full_name='tensorflow.tpu.Device.ResourcesEntry',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='key', full_name='tensorflow.tpu.Device.ResourcesEntry.key', index=0,
        number=1, type=13, cpp_type=3, 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='value', full_name='tensorflow.tpu.Device.ResourcesEntry.value', index=1,
        number=2, 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=[
    ],
    options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')),
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=357,
    serialized_end=431,
  )
  
  _DEVICE = _descriptor.Descriptor(
    name='Device',
    full_name='tensorflow.tpu.Device',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='name', full_name='tensorflow.tpu.Device.name', index=0,
        number=1, type=9, cpp_type=9, label=1,
        has_default_value=False, default_value=_b("").decode('utf-8'),
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        options=None),
      _descriptor.FieldDescriptor(
        name='device_id', full_name='tensorflow.tpu.Device.device_id', index=1,
        number=2, type=13, cpp_type=3, 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='resources', full_name='tensorflow.tpu.Device.resources', 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=[_DEVICE_RESOURCESENTRY, ],
    enum_types=[
    ],
    options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=256,
    serialized_end=431,
  )
  
  
  _RESOURCE = _descriptor.Descriptor(
    name='Resource',
    full_name='tensorflow.tpu.Resource',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='name', full_name='tensorflow.tpu.Resource.name', index=0,
        number=1, type=9, cpp_type=9, label=1,
        has_default_value=False, default_value=_b("").decode('utf-8'),
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        options=None),
      _descriptor.FieldDescriptor(
        name='resource_id', full_name='tensorflow.tpu.Resource.resource_id', index=1,
        number=2, type=13, cpp_type=3, 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,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=433,
    serialized_end=478,
  )
  
  
  _TRACEEVENT = _descriptor.Descriptor(
    name='TraceEvent',
    full_name='tensorflow.tpu.TraceEvent',
    filename=None,
    file=DESCRIPTOR,
    containing_type=None,
    fields=[
      _descriptor.FieldDescriptor(
        name='device_id', full_name='tensorflow.tpu.TraceEvent.device_id', index=0,
        number=1, type=13, cpp_type=3, 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='resource_id', full_name='tensorflow.tpu.TraceEvent.resource_id', index=1,
        number=2, type=13, cpp_type=3, 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='name', full_name='tensorflow.tpu.TraceEvent.name', index=2,
        number=3, type=9, cpp_type=9, label=1,
        has_default_value=False, default_value=_b("").decode('utf-8'),
        message_type=None, enum_type=None, containing_type=None,
        is_extension=False, extension_scope=None,
        options=None),
      _descriptor.FieldDescriptor(
        name='timestamp_ps', full_name='tensorflow.tpu.TraceEvent.timestamp_ps', index=3,
        number=9, type=4, 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='duration_ps', full_name='tensorflow.tpu.TraceEvent.duration_ps', index=4,
        number=10, type=4, 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),
    ],
    extensions=[
    ],
    nested_types=[],
    enum_types=[
    ],
    options=None,
    is_extendable=False,
    syntax='proto3',
    extension_ranges=[],
    oneofs=[
    ],
    serialized_start=480,
    serialized_end=589,
  )
  
  _TRACE_DEVICESENTRY.fields_by_name['value'].message_type = _DEVICE
  _TRACE_DEVICESENTRY.containing_type = _TRACE
  _TRACE.fields_by_name['devices'].message_type = _TRACE_DEVICESENTRY
  _TRACE.fields_by_name['trace_events'].message_type = _TRACEEVENT
  _DEVICE_RESOURCESENTRY.fields_by_name['value'].message_type = _RESOURCE
  _DEVICE_RESOURCESENTRY.containing_type = _DEVICE
  _DEVICE.fields_by_name['resources'].message_type = _DEVICE_RESOURCESENTRY
  DESCRIPTOR.message_types_by_name['Trace'] = _TRACE
  DESCRIPTOR.message_types_by_name['Device'] = _DEVICE
  DESCRIPTOR.message_types_by_name['Resource'] = _RESOURCE
  DESCRIPTOR.message_types_by_name['TraceEvent'] = _TRACEEVENT
  
  Trace = _reflection.GeneratedProtocolMessageType('Trace', (_message.Message,), dict(
  
    DevicesEntry = _reflection.GeneratedProtocolMessageType('DevicesEntry', (_message.Message,), dict(
      DESCRIPTOR = _TRACE_DEVICESENTRY,
      __module__ = 'tensorflow.contrib.tpu.profiler.trace_events_pb2'
      # @@protoc_insertion_point(class_scope:tensorflow.tpu.Trace.DevicesEntry)
      ))
    ,
    DESCRIPTOR = _TRACE,
    __module__ = 'tensorflow.contrib.tpu.profiler.trace_events_pb2'
    # @@protoc_insertion_point(class_scope:tensorflow.tpu.Trace)
    ))
  _sym_db.RegisterMessage(Trace)
  _sym_db.RegisterMessage(Trace.DevicesEntry)
  
  Device = _reflection.GeneratedProtocolMessageType('Device', (_message.Message,), dict(
  
    ResourcesEntry = _reflection.GeneratedProtocolMessageType('ResourcesEntry', (_message.Message,), dict(
      DESCRIPTOR = _DEVICE_RESOURCESENTRY,
      __module__ = 'tensorflow.contrib.tpu.profiler.trace_events_pb2'
      # @@protoc_insertion_point(class_scope:tensorflow.tpu.Device.ResourcesEntry)
      ))
    ,
    DESCRIPTOR = _DEVICE,
    __module__ = 'tensorflow.contrib.tpu.profiler.trace_events_pb2'
    # @@protoc_insertion_point(class_scope:tensorflow.tpu.Device)
    ))
  _sym_db.RegisterMessage(Device)
  _sym_db.RegisterMessage(Device.ResourcesEntry)
  
  Resource = _reflection.GeneratedProtocolMessageType('Resource', (_message.Message,), dict(
    DESCRIPTOR = _RESOURCE,
    __module__ = 'tensorflow.contrib.tpu.profiler.trace_events_pb2'
    # @@protoc_insertion_point(class_scope:tensorflow.tpu.Resource)
    ))
  _sym_db.RegisterMessage(Resource)
  
  TraceEvent = _reflection.GeneratedProtocolMessageType('TraceEvent', (_message.Message,), dict(
    DESCRIPTOR = _TRACEEVENT,
    __module__ = 'tensorflow.contrib.tpu.profiler.trace_events_pb2'
    # @@protoc_insertion_point(class_scope:tensorflow.tpu.TraceEvent)
    ))
  _sym_db.RegisterMessage(TraceEvent)
  
  
  _TRACE_DEVICESENTRY.has_options = True
  _TRACE_DEVICESENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
  _DEVICE_RESOURCESENTRY.has_options = True
  _DEVICE_RESOURCESENTRY._options = _descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001'))
  # @@protoc_insertion_point(module_scope)
  