OLD | NEW |
(Empty) | |
| 1 // Code generated by protoc-gen-go. |
| 2 // source: helloworld_test.proto |
| 3 // DO NOT EDIT! |
| 4 |
| 5 /* |
| 6 Package prpc is a generated protocol buffer package. |
| 7 |
| 8 It is generated from these files: |
| 9 helloworld_test.proto |
| 10 |
| 11 It has these top-level messages: |
| 12 HelloRequest |
| 13 HelloReply |
| 14 */ |
| 15 package prpc |
| 16 |
| 17 import proto "github.com/golang/protobuf/proto" |
| 18 import fmt "fmt" |
| 19 import math "math" |
| 20 |
| 21 // Reference imports to suppress errors if they are not otherwise used. |
| 22 var _ = proto.Marshal |
| 23 var _ = fmt.Errorf |
| 24 var _ = math.Inf |
| 25 |
| 26 // The request message containing the user's name. |
| 27 type HelloRequest struct { |
| 28 Name string `protobuf:"bytes,1,opt,name=name" json:"name,omitempty"` |
| 29 } |
| 30 |
| 31 func (m *HelloRequest) Reset() { *m = HelloRequest{} } |
| 32 func (m *HelloRequest) String() string { return proto.CompactTextStri
ng(m) } |
| 33 func (*HelloRequest) ProtoMessage() {} |
| 34 func (*HelloRequest) Descriptor() ([]byte, []int) { return fileDescriptor0, []in
t{0} } |
| 35 |
| 36 // The response message containing the greetings |
| 37 type HelloReply struct { |
| 38 Message string `protobuf:"bytes,1,opt,name=message" json:"message,omitem
pty"` |
| 39 } |
| 40 |
| 41 func (m *HelloReply) Reset() { *m = HelloReply{} } |
| 42 func (m *HelloReply) String() string { return proto.CompactTextString
(m) } |
| 43 func (*HelloReply) ProtoMessage() {} |
| 44 func (*HelloReply) Descriptor() ([]byte, []int) { return fileDescriptor0, []int{
1} } |
| 45 |
| 46 func init() { |
| 47 proto.RegisterType((*HelloRequest)(nil), "prpc.HelloRequest") |
| 48 proto.RegisterType((*HelloReply)(nil), "prpc.HelloReply") |
| 49 } |
| 50 |
| 51 var fileDescriptor0 = []byte{ |
| 52 // 106 bytes of a gzipped FileDescriptorProto |
| 53 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x09, 0x6e, 0x88, 0x02, 0xff, 0xe2, 0x12,
0xcd, 0x48, 0xcd, 0xc9, |
| 54 0xc9, 0x2f, 0xcf, 0x2f, 0xca, 0x49, 0x89, 0x2f, 0x49, 0x2d, 0x2e, 0xd1,
0x2b, 0x28, 0xca, 0x2f, |
| 55 0xc9, 0x17, 0x62, 0x29, 0x28, 0x2a, 0x48, 0x56, 0x92, 0xe1, 0xe2, 0xf1,
0x00, 0x49, 0x07, 0xa5, |
| 56 0x16, 0x96, 0x02, 0xe5, 0x84, 0x78, 0xb8, 0x58, 0xf2, 0x12, 0x73, 0x53,
0x25, 0x18, 0x15, 0x18, |
| 57 0x35, 0x38, 0x95, 0x64, 0xb9, 0xb8, 0xa0, 0xb2, 0x05, 0x39, 0x95, 0x42,
0xfc, 0x5c, 0xec, 0xb9, |
| 58 0xa9, 0xc5, 0xc5, 0x89, 0xe9, 0x50, 0xe9, 0x24, 0x36, 0xb0, 0x49, 0xc6,
0x80, 0x00, 0x00, 0x00, |
| 59 0xff, 0xff, 0x73, 0xfc, 0x73, 0xf6, 0x62, 0x00, 0x00, 0x00, |
| 60 } |
OLD | NEW |