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.
 
 
 

30 lines
1.4 KiB

  1. # -*- coding: utf-8 -*-
  2. # Generated by the protocol buffer compiler. DO NOT EDIT!
  3. # source: calculator.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\x10\x63\x61lculator.proto\"\x1f\n\x07Request\x12\t\n\x01\x61\x18\x01 \x01(\x05\x12\t\n\x01\x62\x18\x02 \x01(\x05\"\x1c\n\rFloatResponse\x12\x0b\n\x03\x61ns\x18\x01 \x01(\x02\x32\x9e\x01\n\nCalculator\x12\x1f\n\x03\x41\x64\x64\x12\x08.Request\x1a\x0e.FloatResponse\x12%\n\tSubstract\x12\x08.Request\x1a\x0e.FloatResponse\x12$\n\x08Multiply\x12\x08.Request\x1a\x0e.FloatResponse\x12\"\n\x06\x44ivide\x12\x08.Request\x1a\x0e.FloatResponseb\x06proto3')
  12. _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
  13. _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'calculator_pb2', globals())
  14. if _descriptor._USE_C_DESCRIPTORS == False:
  15. DESCRIPTOR._options = None
  16. _REQUEST._serialized_start=20
  17. _REQUEST._serialized_end=51
  18. _FLOATRESPONSE._serialized_start=53
  19. _FLOATRESPONSE._serialized_end=81
  20. _CALCULATOR._serialized_start=84
  21. _CALCULATOR._serialized_end=242
  22. # @@protoc_insertion_point(module_scope)