Toggle Light / Dark / Auto color theme
Toggle table of contents sidebar
Source code for examples.basic.hello_pb2
# -*- coding: utf-8 -*-
# Generated by the protocol buffer compiler. DO NOT EDIT!
# source: examples/basic/hello.proto
"""Generated protocol buffer code."""
from google.protobuf.internal import builder as _builder
from google.protobuf import descriptor as _descriptor
from google.protobuf import descriptor_pool as _descriptor_pool
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)
_sym_db = _symbol_database . Default ()
[docs]
DESCRIPTOR = _descriptor_pool . Default () . AddSerializedFile ( b ' \n\x1a\x65 xamples/basic/hello.proto \x12\x0e\x65 xamples.basic \"\x17\n\x05 Hello \x12\x0e\n\x02 id \x18\x01 \x01 ( \r R \x02 id \"\"\n\x0c HelloRequest \x12\x12\n\x04 name \x18\x01 \x01 ( \t R \x04 name \" & \n\n HelloReply \x12\x18\n\x07 message \x18\x01 \x01 ( \t R \x07 message2 \xfc\x01\n\x07 Greeter \x12\x46\n\x08 SayHello \x12\x1c .examples.basic.HelloRequest \x1a\x1a .examples.basic.HelloReply \"\x00\x12 S \n\x13 SayHelloStreamReply \x12\x1c .examples.basic.HelloRequest \x1a\x1a .examples.basic.HelloReply \"\x00\x30\x01\x12 T \n\x12 SayHelloBidiStream \x12\x1c .examples.basic.HelloRequest \x1a\x1a .examples.basic.HelloReply \"\x00 ( \x01\x30\x01 ' )
_builder . BuildMessageAndEnumDescriptors ( DESCRIPTOR , globals ())
_builder . BuildTopDescriptorsAndMessages ( DESCRIPTOR , 'examples.basic.hello_pb2' , globals ())
if _descriptor . _USE_C_DESCRIPTORS == False :
DESCRIPTOR . _options = None
_HELLO . _serialized_start = 46
_HELLO . _serialized_end = 69
_HELLOREQUEST . _serialized_start = 71
_HELLOREQUEST . _serialized_end = 105
_HELLOREPLY . _serialized_start = 107
_HELLOREPLY . _serialized_end = 145
_GREETER . _serialized_start = 148
_GREETER . _serialized_end = 400
# @@protoc_insertion_point(module_scope)