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


DESCRIPTOR = _descriptor.FileDescriptor(
  name='push_message.proto',
  package='copresence',
  serialized_pb='\n\x12push_message.proto\x12\ncopresence\x1a\ndata.proto\"\xc0\x01\n\x0bPushMessage\x12*\n\x04type\x18\x01 \x01(\x0e\x32\x1c.copresence.PushMessage.Type\x12\"\n\x06report\x18\t \x01(\x0b\x32\x12.copresence.Report\"a\n\x04Type\x12\x10\n\x0cTYPE_UNKNOWN\x10\x00\x12\x11\n\rSYNC_SETTINGS\x10\x03\x12\x0e\n\nOBTAIN_MAC\x10\x05\x12\x0e\n\nNOTIFY_MAC\x10\x06\x12\x08\n\x04TEST\x10\x07\x12\n\n\x06REPORT\x10\x08\"m\n\x06Report\x12(\n\tdirective\x18\x01 \x03(\x0b\x32\x15.copresence.Directive\x12\x39\n\x12subscribed_message\x18\x02 \x03(\x0b\x32\x1d.copresence.SubscribedMessageB\x02H\x03')



_PUSHMESSAGE_TYPE = _descriptor.EnumDescriptor(
  name='Type',
  full_name='copresence.PushMessage.Type',
  filename=None,
  file=DESCRIPTOR,
  values=[
    _descriptor.EnumValueDescriptor(
      name='TYPE_UNKNOWN', index=0, number=0,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='SYNC_SETTINGS', index=1, number=3,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='OBTAIN_MAC', index=2, number=5,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='NOTIFY_MAC', index=3, number=6,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='TEST', index=4, number=7,
      options=None,
      type=None),
    _descriptor.EnumValueDescriptor(
      name='REPORT', index=5, number=8,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=142,
  serialized_end=239,
)


_PUSHMESSAGE = _descriptor.Descriptor(
  name='PushMessage',
  full_name='copresence.PushMessage',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='type', full_name='copresence.PushMessage.type', 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='report', full_name='copresence.PushMessage.report', index=1,
      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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
    _PUSHMESSAGE_TYPE,
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=47,
  serialized_end=239,
)


_REPORT = _descriptor.Descriptor(
  name='Report',
  full_name='copresence.Report',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='directive', full_name='copresence.Report.directive', 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='subscribed_message', full_name='copresence.Report.subscribed_message', index=1,
      number=2, 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=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=241,
  serialized_end=350,
)

_PUSHMESSAGE.fields_by_name['type'].enum_type = _PUSHMESSAGE_TYPE
_PUSHMESSAGE.fields_by_name['report'].message_type = _REPORT
_PUSHMESSAGE_TYPE.containing_type = _PUSHMESSAGE;
_REPORT.fields_by_name['directive'].message_type = data_pb2._DIRECTIVE
_REPORT.fields_by_name['subscribed_message'].message_type = data_pb2._SUBSCRIBEDMESSAGE
DESCRIPTOR.message_types_by_name['PushMessage'] = _PUSHMESSAGE
DESCRIPTOR.message_types_by_name['Report'] = _REPORT

class PushMessage(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _PUSHMESSAGE

  # @@protoc_insertion_point(class_scope:copresence.PushMessage)

class Report(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _REPORT

  # @@protoc_insertion_point(class_scope:copresence.Report)


DESCRIPTOR.has_options = True
DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), 'H\003')
# @@protoc_insertion_point(module_scope)
