You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

36 lines
1.7 KiB

  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: schema.proto
  4. """Generated protocol buffer code."""
  5. from google.protobuf.internal import builder as _builder
  6. from google.protobuf import descriptor as _descriptor
  7. from google.protobuf import descriptor_pool as _descriptor_pool
  8. from google.protobuf import symbol_database as _symbol_database
  9. # @@protoc_insertion_point(imports)
  10. _sym_db = _symbol_database.Default()
  11. DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x0cschema.proto\"*\n\x04User\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\x12\x11\n\tuser_name\x18\x02 \x01(\t\"\x1d\n\nUserDelete\x12\x0f\n\x07user_id\x18\x01 \x01(\x05\"\x0e\n\x0c\x45mptyMessage\"\x1a\n\x08Response\x12\x0e\n\x06status\x18\x01 \x01(\x08\"%\n\rUsersResponse\x12\x14\n\x05users\x18\x01 \x03(\x0b\x32\x05.User2r\n\x08\x44\x61tabase\x12)\n\x08GetUsers\x12\r.EmptyMessage\x1a\x0e.UsersResponse\x12\x1e\n\nDeleteUser\x12\x05.User\x1a\t.Response\x12\x1b\n\x07PutUser\x12\x05.User\x1a\t.Responseb\x06proto3')
  12. _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
  13. _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'schema_pb2', globals())
  14. if _descriptor._USE_C_DESCRIPTORS == False:
  15. DESCRIPTOR._options = None
  16. _USER._serialized_start=16
  17. _USER._serialized_end=58
  18. _USERDELETE._serialized_start=60
  19. _USERDELETE._serialized_end=89
  20. _EMPTYMESSAGE._serialized_start=91
  21. _EMPTYMESSAGE._serialized_end=105
  22. _RESPONSE._serialized_start=107
  23. _RESPONSE._serialized_end=133
  24. _USERSRESPONSE._serialized_start=135
  25. _USERSRESPONSE._serialized_end=172
  26. _DATABASE._serialized_start=174
  27. _DATABASE._serialized_end=288
  28. # @@protoc_insertion_point(module_scope)