2020-05-19 10:12:18 +00:00
|
|
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
|
|
// source: base.proto
|
|
|
|
|
|
|
|
package main
|
|
|
|
|
|
|
|
import (
|
2020-05-20 08:05:33 +00:00
|
|
|
fmt "fmt"
|
2020-05-19 10:12:18 +00:00
|
|
|
proto "github.com/golang/protobuf/proto"
|
2020-05-20 08:05:33 +00:00
|
|
|
math "math"
|
2020-05-19 10:12:18 +00:00
|
|
|
)
|
|
|
|
|
2020-05-20 08:05:33 +00:00
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = fmt.Errorf
|
|
|
|
var _ = math.Inf
|
2020-05-19 10:12:18 +00:00
|
|
|
|
2020-05-20 08:05:33 +00:00
|
|
|
// 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
|
2020-05-19 10:12:18 +00:00
|
|
|
|
|
|
|
// The request message containing the user's name.
|
|
|
|
type Request struct {
|
2020-05-20 08:05:33 +00:00
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
|
|
|
|
2020-05-20 08:05:33 +00:00
|
|
|
func (m *Request) Reset() { *m = Request{} }
|
|
|
|
func (m *Request) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Request) ProtoMessage() {}
|
|
|
|
func (*Request) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_db1b6b0986796150, []int{0}
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
|
|
|
|
2020-05-20 08:05:33 +00:00
|
|
|
func (m *Request) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Request.Unmarshal(m, b)
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
2020-05-20 08:05:33 +00:00
|
|
|
func (m *Request) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Request.Marshal(b, m, deterministic)
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
2020-05-20 08:05:33 +00:00
|
|
|
func (m *Request) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Request.Merge(m, src)
|
|
|
|
}
|
|
|
|
func (m *Request) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Request.Size(m)
|
|
|
|
}
|
|
|
|
func (m *Request) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Request.DiscardUnknown(m)
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
|
|
|
|
2020-05-20 08:05:33 +00:00
|
|
|
var xxx_messageInfo_Request proto.InternalMessageInfo
|
|
|
|
|
2020-05-19 10:12:18 +00:00
|
|
|
// The response message containing the greetings
|
|
|
|
type Reply struct {
|
2020-05-20 08:05:33 +00:00
|
|
|
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
|
|
|
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
XXX_sizecache int32 `json:"-"`
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
|
|
|
|
2020-05-20 08:05:33 +00:00
|
|
|
func (m *Reply) Reset() { *m = Reply{} }
|
|
|
|
func (m *Reply) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*Reply) ProtoMessage() {}
|
|
|
|
func (*Reply) Descriptor() ([]byte, []int) {
|
|
|
|
return fileDescriptor_db1b6b0986796150, []int{1}
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
|
|
|
|
2020-05-20 08:05:33 +00:00
|
|
|
func (m *Reply) XXX_Unmarshal(b []byte) error {
|
|
|
|
return xxx_messageInfo_Reply.Unmarshal(m, b)
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
2020-05-20 08:05:33 +00:00
|
|
|
func (m *Reply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
|
|
|
return xxx_messageInfo_Reply.Marshal(b, m, deterministic)
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
2020-05-20 08:05:33 +00:00
|
|
|
func (m *Reply) XXX_Merge(src proto.Message) {
|
|
|
|
xxx_messageInfo_Reply.Merge(m, src)
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
2020-05-20 08:05:33 +00:00
|
|
|
func (m *Reply) XXX_Size() int {
|
|
|
|
return xxx_messageInfo_Reply.Size(m)
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
2020-05-20 08:05:33 +00:00
|
|
|
func (m *Reply) XXX_DiscardUnknown() {
|
|
|
|
xxx_messageInfo_Reply.DiscardUnknown(m)
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
|
|
|
|
2020-05-20 08:05:33 +00:00
|
|
|
var xxx_messageInfo_Reply proto.InternalMessageInfo
|
2020-05-19 10:12:18 +00:00
|
|
|
|
2020-05-20 08:05:33 +00:00
|
|
|
func (m *Reply) GetMessage() string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Message
|
|
|
|
}
|
|
|
|
return ""
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
|
|
|
|
2020-05-20 08:05:33 +00:00
|
|
|
func init() {
|
|
|
|
proto.RegisterType((*Request)(nil), "main.Request")
|
|
|
|
proto.RegisterType((*Reply)(nil), "main.Reply")
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
2020-05-20 08:05:33 +00:00
|
|
|
|
|
|
|
func init() {
|
|
|
|
proto.RegisterFile("base.proto", fileDescriptor_db1b6b0986796150)
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|
|
|
|
|
2020-05-20 08:05:33 +00:00
|
|
|
var fileDescriptor_db1b6b0986796150 = []byte{
|
|
|
|
// 95 bytes of a gzipped FileDescriptorProto
|
|
|
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0xe2, 0x4a, 0x4a, 0x2c, 0x4e,
|
|
|
|
0xd5, 0x2b, 0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xc9, 0x4d, 0xcc, 0xcc, 0x53, 0xe2, 0xe4, 0x62,
|
|
|
|
0x0f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x51, 0x52, 0xe4, 0x62, 0x0d, 0x4a, 0x2d, 0xc8, 0xa9,
|
|
|
|
0x14, 0x92, 0xe0, 0x62, 0xcf, 0x4d, 0x2d, 0x2e, 0x4e, 0x4c, 0x4f, 0x95, 0x60, 0x54, 0x60, 0xd4,
|
|
|
|
0xe0, 0x0c, 0x82, 0x71, 0x9d, 0x38, 0xa2, 0xd8, 0xf4, 0xac, 0x41, 0xfa, 0x92, 0xd8, 0xc0, 0x86,
|
|
|
|
0x18, 0x03, 0x02, 0x00, 0x00, 0xff, 0xff, 0xd8, 0xa8, 0xb2, 0x1e, 0x52, 0x00, 0x00, 0x00,
|
2020-05-19 10:12:18 +00:00
|
|
|
}
|