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


DESCRIPTOR = _descriptor.FileDescriptor(
  name='identity.proto',
  package='copresence',
  serialized_pb='\n\x0eidentity.proto\x12\ncopresence\x1a\x0b\x65nums.proto\"\x81\x01\n\x08Identity\x12&\n\x04type\x18\x01 \x01(\x0e\x32\x18.copresence.IdentityType\x12\x15\n\rchromecast_id\x18\x03 \x01(\t\x12\x12\n\nandroid_id\x18\x04 \x01(\t\x12\x11\n\tchrome_id\x18\x05 \x01(\t\x12\x0f\n\x07gaia_id\x18\x06 \x01(\x03\"d\n\x0e\x44\x65viceIdentity\x12&\n\x08identity\x18\x01 \x01(\x0b\x32\x14.copresence.Identity\x12*\n\x07version\x18\x02 \x01(\x0b\x32\x19.copresence.DeviceVersion\"@\n\rDeviceVersion\x12\r\n\x05\x62rand\x18\x01 \x01(\t\x12\x0f\n\x07product\x18\x02 \x01(\t\x12\x0f\n\x07version\x18\x03 \x01(\tB\x02H\x03')




_IDENTITY = _descriptor.Descriptor(
  name='Identity',
  full_name='copresence.Identity',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='type', full_name='copresence.Identity.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='chromecast_id', full_name='copresence.Identity.chromecast_id', index=1,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='android_id', full_name='copresence.Identity.android_id', index=2,
      number=4, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='chrome_id', full_name='copresence.Identity.chrome_id', index=3,
      number=5, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='gaia_id', full_name='copresence.Identity.gaia_id', 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),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  options=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=44,
  serialized_end=173,
)


_DEVICEIDENTITY = _descriptor.Descriptor(
  name='DeviceIdentity',
  full_name='copresence.DeviceIdentity',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='identity', full_name='copresence.DeviceIdentity.identity', index=0,
      number=1, 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='version', full_name='copresence.DeviceIdentity.version', 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=None,
  is_extendable=False,
  extension_ranges=[],
  serialized_start=175,
  serialized_end=275,
)


_DEVICEVERSION = _descriptor.Descriptor(
  name='DeviceVersion',
  full_name='copresence.DeviceVersion',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='brand', full_name='copresence.DeviceVersion.brand', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='product', full_name='copresence.DeviceVersion.product', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      options=None),
    _descriptor.FieldDescriptor(
      name='version', full_name='copresence.DeviceVersion.version', index=2,
      number=3, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=unicode("", "utf-8"),
      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=277,
  serialized_end=341,
)

_IDENTITY.fields_by_name['type'].enum_type = enums_pb2._IDENTITYTYPE
_DEVICEIDENTITY.fields_by_name['identity'].message_type = _IDENTITY
_DEVICEIDENTITY.fields_by_name['version'].message_type = _DEVICEVERSION
DESCRIPTOR.message_types_by_name['Identity'] = _IDENTITY
DESCRIPTOR.message_types_by_name['DeviceIdentity'] = _DEVICEIDENTITY
DESCRIPTOR.message_types_by_name['DeviceVersion'] = _DEVICEVERSION

class Identity(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _IDENTITY

  # @@protoc_insertion_point(class_scope:copresence.Identity)

class DeviceIdentity(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _DEVICEIDENTITY

  # @@protoc_insertion_point(class_scope:copresence.DeviceIdentity)

class DeviceVersion(_message.Message):
  __metaclass__ = _reflection.GeneratedProtocolMessageType
  DESCRIPTOR = _DEVICEVERSION

  # @@protoc_insertion_point(class_scope:copresence.DeviceVersion)


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