gitee.com/liuxuezhan/go-micro-v1.18.0@v1.0.0/agent/proto/bot.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // source: gitee.com/liuxuezhan/go-micro-v1.18.0/agent/proto/bot.proto 3 4 package go_micro_bot 5 6 import ( 7 fmt "fmt" 8 proto "github.com/golang/protobuf/proto" 9 math "math" 10 ) 11 12 // Reference imports to suppress errors if they are not otherwise used. 13 var _ = proto.Marshal 14 var _ = fmt.Errorf 15 var _ = math.Inf 16 17 // This is a compile-time assertion to ensure that this generated file 18 // is compatible with the proto package it is being compiled against. 19 // A compilation error at this line likely means your copy of the 20 // proto package needs to be updated. 21 const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package 22 23 type HelpRequest struct { 24 XXX_NoUnkeyedLiteral struct{} `json:"-"` 25 XXX_unrecognized []byte `json:"-"` 26 XXX_sizecache int32 `json:"-"` 27 } 28 29 func (m *HelpRequest) Reset() { *m = HelpRequest{} } 30 func (m *HelpRequest) String() string { return proto.CompactTextString(m) } 31 func (*HelpRequest) ProtoMessage() {} 32 func (*HelpRequest) Descriptor() ([]byte, []int) { 33 return fileDescriptor_018e8d5b14a89d12, []int{0} 34 } 35 36 func (m *HelpRequest) XXX_Unmarshal(b []byte) error { 37 return xxx_messageInfo_HelpRequest.Unmarshal(m, b) 38 } 39 func (m *HelpRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 40 return xxx_messageInfo_HelpRequest.Marshal(b, m, deterministic) 41 } 42 func (m *HelpRequest) XXX_Merge(src proto.Message) { 43 xxx_messageInfo_HelpRequest.Merge(m, src) 44 } 45 func (m *HelpRequest) XXX_Size() int { 46 return xxx_messageInfo_HelpRequest.Size(m) 47 } 48 func (m *HelpRequest) XXX_DiscardUnknown() { 49 xxx_messageInfo_HelpRequest.DiscardUnknown(m) 50 } 51 52 var xxx_messageInfo_HelpRequest proto.InternalMessageInfo 53 54 type HelpResponse struct { 55 Usage string `protobuf:"bytes,1,opt,name=usage,proto3" json:"usage,omitempty"` 56 Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` 57 XXX_NoUnkeyedLiteral struct{} `json:"-"` 58 XXX_unrecognized []byte `json:"-"` 59 XXX_sizecache int32 `json:"-"` 60 } 61 62 func (m *HelpResponse) Reset() { *m = HelpResponse{} } 63 func (m *HelpResponse) String() string { return proto.CompactTextString(m) } 64 func (*HelpResponse) ProtoMessage() {} 65 func (*HelpResponse) Descriptor() ([]byte, []int) { 66 return fileDescriptor_018e8d5b14a89d12, []int{1} 67 } 68 69 func (m *HelpResponse) XXX_Unmarshal(b []byte) error { 70 return xxx_messageInfo_HelpResponse.Unmarshal(m, b) 71 } 72 func (m *HelpResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 73 return xxx_messageInfo_HelpResponse.Marshal(b, m, deterministic) 74 } 75 func (m *HelpResponse) XXX_Merge(src proto.Message) { 76 xxx_messageInfo_HelpResponse.Merge(m, src) 77 } 78 func (m *HelpResponse) XXX_Size() int { 79 return xxx_messageInfo_HelpResponse.Size(m) 80 } 81 func (m *HelpResponse) XXX_DiscardUnknown() { 82 xxx_messageInfo_HelpResponse.DiscardUnknown(m) 83 } 84 85 var xxx_messageInfo_HelpResponse proto.InternalMessageInfo 86 87 func (m *HelpResponse) GetUsage() string { 88 if m != nil { 89 return m.Usage 90 } 91 return "" 92 } 93 94 func (m *HelpResponse) GetDescription() string { 95 if m != nil { 96 return m.Description 97 } 98 return "" 99 } 100 101 type ExecRequest struct { 102 Args []string `protobuf:"bytes,1,rep,name=args,proto3" json:"args,omitempty"` 103 XXX_NoUnkeyedLiteral struct{} `json:"-"` 104 XXX_unrecognized []byte `json:"-"` 105 XXX_sizecache int32 `json:"-"` 106 } 107 108 func (m *ExecRequest) Reset() { *m = ExecRequest{} } 109 func (m *ExecRequest) String() string { return proto.CompactTextString(m) } 110 func (*ExecRequest) ProtoMessage() {} 111 func (*ExecRequest) Descriptor() ([]byte, []int) { 112 return fileDescriptor_018e8d5b14a89d12, []int{2} 113 } 114 115 func (m *ExecRequest) XXX_Unmarshal(b []byte) error { 116 return xxx_messageInfo_ExecRequest.Unmarshal(m, b) 117 } 118 func (m *ExecRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 119 return xxx_messageInfo_ExecRequest.Marshal(b, m, deterministic) 120 } 121 func (m *ExecRequest) XXX_Merge(src proto.Message) { 122 xxx_messageInfo_ExecRequest.Merge(m, src) 123 } 124 func (m *ExecRequest) XXX_Size() int { 125 return xxx_messageInfo_ExecRequest.Size(m) 126 } 127 func (m *ExecRequest) XXX_DiscardUnknown() { 128 xxx_messageInfo_ExecRequest.DiscardUnknown(m) 129 } 130 131 var xxx_messageInfo_ExecRequest proto.InternalMessageInfo 132 133 func (m *ExecRequest) GetArgs() []string { 134 if m != nil { 135 return m.Args 136 } 137 return nil 138 } 139 140 type ExecResponse struct { 141 Result []byte `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` 142 Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` 143 XXX_NoUnkeyedLiteral struct{} `json:"-"` 144 XXX_unrecognized []byte `json:"-"` 145 XXX_sizecache int32 `json:"-"` 146 } 147 148 func (m *ExecResponse) Reset() { *m = ExecResponse{} } 149 func (m *ExecResponse) String() string { return proto.CompactTextString(m) } 150 func (*ExecResponse) ProtoMessage() {} 151 func (*ExecResponse) Descriptor() ([]byte, []int) { 152 return fileDescriptor_018e8d5b14a89d12, []int{3} 153 } 154 155 func (m *ExecResponse) XXX_Unmarshal(b []byte) error { 156 return xxx_messageInfo_ExecResponse.Unmarshal(m, b) 157 } 158 func (m *ExecResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { 159 return xxx_messageInfo_ExecResponse.Marshal(b, m, deterministic) 160 } 161 func (m *ExecResponse) XXX_Merge(src proto.Message) { 162 xxx_messageInfo_ExecResponse.Merge(m, src) 163 } 164 func (m *ExecResponse) XXX_Size() int { 165 return xxx_messageInfo_ExecResponse.Size(m) 166 } 167 func (m *ExecResponse) XXX_DiscardUnknown() { 168 xxx_messageInfo_ExecResponse.DiscardUnknown(m) 169 } 170 171 var xxx_messageInfo_ExecResponse proto.InternalMessageInfo 172 173 func (m *ExecResponse) GetResult() []byte { 174 if m != nil { 175 return m.Result 176 } 177 return nil 178 } 179 180 func (m *ExecResponse) GetError() string { 181 if m != nil { 182 return m.Error 183 } 184 return "" 185 } 186 187 func init() { 188 proto.RegisterType((*HelpRequest)(nil), "go.micro.bot.HelpRequest") 189 proto.RegisterType((*HelpResponse)(nil), "go.micro.bot.HelpResponse") 190 proto.RegisterType((*ExecRequest)(nil), "go.micro.bot.ExecRequest") 191 proto.RegisterType((*ExecResponse)(nil), "go.micro.bot.ExecResponse") 192 } 193 194 func init() { 195 proto.RegisterFile("gitee.com/liuxuezhan/go-micro-v1.18.0/agent/proto/bot.proto", fileDescriptor_018e8d5b14a89d12) 196 } 197 198 var fileDescriptor_018e8d5b14a89d12 = []byte{ 199 // 246 bytes of a gzipped FileDescriptorProto 200 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x6c, 0x50, 0x4d, 0x4b, 0xc4, 0x30, 201 0x10, 0xdd, 0xea, 0xba, 0xb2, 0xd3, 0x7a, 0x09, 0x22, 0x75, 0x4f, 0x35, 0xa7, 0xbd, 0x98, 0x80, 202 0x5e, 0x05, 0x0f, 0xa2, 0x78, 0xee, 0x3f, 0x68, 0xbb, 0x43, 0x2c, 0x6c, 0x3b, 0x35, 0x99, 0x82, 203 0xff, 0xc1, 0x3f, 0x2d, 0x4d, 0x72, 0x08, 0xc5, 0xdb, 0x7b, 0x79, 0xe1, 0x7d, 0x0c, 0x68, 0xd3, 204 0xf3, 0xd7, 0xdc, 0xaa, 0x8e, 0x06, 0x3d, 0xf4, 0x9d, 0x25, 0x6d, 0xe8, 0x31, 0x80, 0xc6, 0xe0, 205 0xc8, 0x7a, 0xb2, 0xc4, 0xa4, 0x5b, 0x62, 0xe5, 0x91, 0x28, 0x0c, 0x29, 0xaf, 0xab, 0x96, 0x58, 206 0xde, 0x40, 0xfe, 0x89, 0xe7, 0xa9, 0xc6, 0xef, 0x19, 0x1d, 0xcb, 0x0f, 0x28, 0x02, 0x75, 0x13, 207 0x8d, 0x0e, 0xc5, 0x2d, 0x5c, 0xcd, 0xae, 0x31, 0x58, 0x66, 0x55, 0x76, 0xdc, 0xd7, 0x81, 0x88, 208 0x0a, 0xf2, 0x13, 0xba, 0xce, 0xf6, 0x13, 0xf7, 0x34, 0x96, 0x17, 0x5e, 0x4b, 0x9f, 0xe4, 0x03, 209 0xe4, 0xef, 0x3f, 0xd8, 0x45, 0x5b, 0x21, 0x60, 0xdb, 0x58, 0xe3, 0xca, 0xac, 0xba, 0x3c, 0xee, 210 0x6b, 0x8f, 0xe5, 0x0b, 0x14, 0xe1, 0x4b, 0x8c, 0xba, 0x83, 0x9d, 0x45, 0x37, 0x9f, 0xd9, 0x67, 211 0x15, 0x75, 0x64, 0x4b, 0x05, 0xb4, 0x96, 0x6c, 0x8c, 0x09, 0xe4, 0xe9, 0x37, 0x83, 0xeb, 0x37, 212 0x1a, 0x86, 0x66, 0x3c, 0x89, 0x57, 0xd8, 0x2e, 0xa5, 0xc5, 0xbd, 0x4a, 0xa7, 0xa9, 0x64, 0xd7, 213 0xe1, 0xf0, 0x9f, 0x14, 0x82, 0xe5, 0x66, 0x31, 0x58, 0xaa, 0xac, 0x0d, 0x92, 0x05, 0x6b, 0x83, 214 0xb4, 0xb9, 0xdc, 0xb4, 0x3b, 0x7f, 0xda, 0xe7, 0xbf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x18, 0xbd, 215 0x39, 0x29, 0x8d, 0x01, 0x00, 0x00, 216 }