1# -*- coding: utf-8 -*- 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# source: demo.proto 4"""Generated protocol buffer code.""" 5from google.protobuf.internal import builder as _builder 6from google.protobuf import descriptor as _descriptor 7from google.protobuf import descriptor_pool as _descriptor_pool 8from google.protobuf import symbol_database as _symbol_database 9# @@protoc_insertion_point(imports) 10 11_sym_db = _symbol_database.Default() 12 13 14 15 16DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\ndemo.proto\x12\x04\x64\x65mo\"2\n\x07Request\x12\x11\n\tclient_id\x18\x01 \x01(\x03\x12\x14\n\x0crequest_data\x18\x02 \x01(\t\"4\n\x08Response\x12\x11\n\tserver_id\x18\x01 \x01(\x03\x12\x15\n\rresponse_data\x18\x02 \x01(\t2\xf0\x01\n\x08GRPCDemo\x12-\n\x0cSimpleMethod\x12\r.demo.Request\x1a\x0e.demo.Response\x12\x38\n\x15\x43lientStreamingMethod\x12\r.demo.Request\x1a\x0e.demo.Response(\x01\x12\x38\n\x15ServerStreamingMethod\x12\r.demo.Request\x1a\x0e.demo.Response0\x01\x12\x41\n\x1c\x42idirectionalStreamingMethod\x12\r.demo.Request\x1a\x0e.demo.Response(\x01\x30\x01\x62\x06proto3') 17 18_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals()) 19_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'demo_pb2', globals()) 20if _descriptor._USE_C_DESCRIPTORS == False: 21 22 DESCRIPTOR._options = None 23 _REQUEST._serialized_start=20 24 _REQUEST._serialized_end=70 25 _RESPONSE._serialized_start=72 26 _RESPONSE._serialized_end=124 27 _GRPCDEMO._serialized_start=127 28 _GRPCDEMO._serialized_end=367 29# @@protoc_insertion_point(module_scope) 30