# -*- coding: utf-8 -*- # Generated by the protocol buffer compiler. DO NOT EDIT! # source: notification.proto """Generated protocol buffer code.""" 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 # @@protoc_insertion_point(imports) _sym_db = _symbol_database.Default() DESCRIPTOR = _descriptor.FileDescriptor( name='notification.proto', package='', syntax='proto3', serialized_options=None, create_key=_descriptor._internal_create_key, serialized_pb=b'\n\x12notification.proto\"\xac\x01\n\x0cNotification\x12\r\n\x05\x61\x63tor\x18\x01 \x01(\x05\x12\x0c\n\x04verb\x18\x02 \x01(\t\x12\x0e\n\x06object\x18\x03 \x01(\x05\x12\x0c\n\x04time\x18\x04 \x01(\t\x12\n\n\x02id\x18\x05 \x01(\t\x12\r\n\x05tweet\x18\x06 \x01(\t\x12\x13\n\x06target\x18\x07 \x01(\tH\x00\x88\x01\x01\x12\x17\n\nforeign_id\x18\x08 \x01(\tH\x01\x88\x01\x01\x42\t\n\x07_targetB\r\n\x0b_foreign_idb\x06proto3' ) _NOTIFICATION = _descriptor.Descriptor( name='Notification', full_name='Notification', filename=None, file=DESCRIPTOR, containing_type=None, create_key=_descriptor._internal_create_key, fields=[ _descriptor.FieldDescriptor( name='actor', full_name='Notification.actor', index=0, number=1, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='verb', full_name='Notification.verb', index=1, number=2, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='object', full_name='Notification.object', 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='time', full_name='Notification.time', index=3, number=4, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='id', full_name='Notification.id', index=4, number=5, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='tweet', full_name='Notification.tweet', index=5, number=6, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='target', full_name='Notification.target', index=6, number=7, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), _descriptor.FieldDescriptor( name='foreign_id', full_name='Notification.foreign_id', index=7, number=8, 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, serialized_options=None, file=DESCRIPTOR, create_key=_descriptor._internal_create_key), ], extensions=[ ], nested_types=[], enum_types=[ ], serialized_options=None, is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ _descriptor.OneofDescriptor( name='_target', full_name='Notification._target', index=0, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), _descriptor.OneofDescriptor( name='_foreign_id', full_name='Notification._foreign_id', index=1, containing_type=None, create_key=_descriptor._internal_create_key, fields=[]), ], serialized_start=23, serialized_end=195, ) _NOTIFICATION.oneofs_by_name['_target'].fields.append( _NOTIFICATION.fields_by_name['target']) _NOTIFICATION.fields_by_name['target'].containing_oneof = _NOTIFICATION.oneofs_by_name['_target'] _NOTIFICATION.oneofs_by_name['_foreign_id'].fields.append( _NOTIFICATION.fields_by_name['foreign_id']) _NOTIFICATION.fields_by_name['foreign_id'].containing_oneof = _NOTIFICATION.oneofs_by_name['_foreign_id'] DESCRIPTOR.message_types_by_name['Notification'] = _NOTIFICATION _sym_db.RegisterFileDescriptor(DESCRIPTOR) Notification = _reflection.GeneratedProtocolMessageType('Notification', (_message.Message,), { 'DESCRIPTOR' : _NOTIFICATION, '__module__' : 'notification_pb2' # @@protoc_insertion_point(class_scope:Notification) }) _sym_db.RegisterMessage(Notification) # @@protoc_insertion_point(module_scope)