| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // source: examples/helloworld/helloworld/helloworld.proto |
| |
| package helloworld |
| |
| import ( |
| fmt "fmt" |
| proto "github.com/golang/protobuf/proto" |
| math "math" |
| ) |
| |
| // Reference imports to suppress errors if they are not otherwise used. |
| var _ = proto.Marshal |
| var _ = fmt.Errorf |
| var _ = math.Inf |
| |
| // This is a compile-time assertion to ensure that this generated file |
| // is compatible with the proto package it is being compiled against. |
| // A compilation error at this line likely means your copy of the |
| // proto package needs to be updated. |
| const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package |
| |
| // The request message containing the user's name. |
| type HelloRequest struct { |
| Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *HelloRequest) Reset() { *m = HelloRequest{} } |
| func (m *HelloRequest) String() string { return proto.CompactTextString(m) } |
| func (*HelloRequest) ProtoMessage() {} |
| func (*HelloRequest) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b83ea99a5323a2c7, []int{0} |
| } |
| |
| func (m *HelloRequest) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_HelloRequest.Unmarshal(m, b) |
| } |
| func (m *HelloRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_HelloRequest.Marshal(b, m, deterministic) |
| } |
| func (m *HelloRequest) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_HelloRequest.Merge(m, src) |
| } |
| func (m *HelloRequest) XXX_Size() int { |
| return xxx_messageInfo_HelloRequest.Size(m) |
| } |
| func (m *HelloRequest) XXX_DiscardUnknown() { |
| xxx_messageInfo_HelloRequest.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_HelloRequest proto.InternalMessageInfo |
| |
| func (m *HelloRequest) GetName() string { |
| if m != nil { |
| return m.Name |
| } |
| return "" |
| } |
| |
| // The response message containing the greetings |
| type HelloReply struct { |
| Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"` |
| XXX_NoUnkeyedLiteral struct{} `json:"-"` |
| XXX_unrecognized []byte `json:"-"` |
| XXX_sizecache int32 `json:"-"` |
| } |
| |
| func (m *HelloReply) Reset() { *m = HelloReply{} } |
| func (m *HelloReply) String() string { return proto.CompactTextString(m) } |
| func (*HelloReply) ProtoMessage() {} |
| func (*HelloReply) Descriptor() ([]byte, []int) { |
| return fileDescriptor_b83ea99a5323a2c7, []int{1} |
| } |
| |
| func (m *HelloReply) XXX_Unmarshal(b []byte) error { |
| return xxx_messageInfo_HelloReply.Unmarshal(m, b) |
| } |
| func (m *HelloReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { |
| return xxx_messageInfo_HelloReply.Marshal(b, m, deterministic) |
| } |
| func (m *HelloReply) XXX_Merge(src proto.Message) { |
| xxx_messageInfo_HelloReply.Merge(m, src) |
| } |
| func (m *HelloReply) XXX_Size() int { |
| return xxx_messageInfo_HelloReply.Size(m) |
| } |
| func (m *HelloReply) XXX_DiscardUnknown() { |
| xxx_messageInfo_HelloReply.DiscardUnknown(m) |
| } |
| |
| var xxx_messageInfo_HelloReply proto.InternalMessageInfo |
| |
| func (m *HelloReply) GetMessage() string { |
| if m != nil { |
| return m.Message |
| } |
| return "" |
| } |
| |
| func init() { |
| proto.RegisterType((*HelloRequest)(nil), "helloworld.HelloRequest") |
| proto.RegisterType((*HelloReply)(nil), "helloworld.HelloReply") |
| } |
| |
| func init() { |
| proto.RegisterFile("examples/helloworld/helloworld/helloworld.proto", fileDescriptor_b83ea99a5323a2c7) |
| } |
| |
| var fileDescriptor_b83ea99a5323a2c7 = []byte{ |
| // 205 bytes of a gzipped FileDescriptorProto |
| 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xd2, 0x4f, 0xad, 0x48, 0xcc, |
| 0x2d, 0xc8, 0x49,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e, 0x45, 0x5c, 0x45, 0x01, 0x00, 0x00, |
| } |