Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 1 | /* |
| 2 | * Licensed to the Apache Software Foundation (ASF) under one |
| 3 | * or more contributor license agreements. See the NOTICE file |
| 4 | * distributed with this work for additional information |
| 5 | * regarding copyright ownership. The ASF licenses this file |
| 6 | * to you under the Apache License, Version 2.0 (the |
| 7 | * "License"); you may not use this file except in compliance |
| 8 | * with the License. You may obtain a copy of the License at |
| 9 | * |
| 10 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 11 | * |
| 12 | * Unless required by applicable law or agreed to in writing, |
| 13 | * software distributed under the License is distributed on an |
| 14 | * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY |
| 15 | * KIND, either express or implied. See the License for the |
| 16 | * specific language governing permissions and limitations |
| 17 | * under the License. |
| 18 | */ |
| 19 | |
| 20 | // Automatically generated by MockGen. DO NOT EDIT! |
| 21 | // Source: thrift (interfaces: TProtocol) |
| 22 | |
| 23 | package tests |
| 24 | |
| 25 | import ( |
| 26 | thrift "thrift" |
Jens Geyer | 56a03be | 2015-06-17 22:21:27 +0200 | [diff] [blame] | 27 | gomock "github.com/golang/mock/gomock" |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 28 | ) |
| 29 | |
| 30 | // Mock of TProtocol interface |
| 31 | type MockTProtocol struct { |
| 32 | ctrl *gomock.Controller |
| 33 | recorder *_MockTProtocolRecorder |
| 34 | } |
| 35 | |
| 36 | // Recorder for MockTProtocol (not exported) |
| 37 | type _MockTProtocolRecorder struct { |
| 38 | mock *MockTProtocol |
| 39 | } |
| 40 | |
| 41 | func NewMockTProtocol(ctrl *gomock.Controller) *MockTProtocol { |
| 42 | mock := &MockTProtocol{ctrl: ctrl} |
| 43 | mock.recorder = &_MockTProtocolRecorder{mock} |
| 44 | return mock |
| 45 | } |
| 46 | |
| 47 | func (_m *MockTProtocol) EXPECT() *_MockTProtocolRecorder { |
| 48 | return _m.recorder |
| 49 | } |
| 50 | |
| 51 | func (_m *MockTProtocol) Flush() error { |
| 52 | ret := _m.ctrl.Call(_m, "Flush") |
| 53 | ret0, _ := ret[0].(error) |
| 54 | return ret0 |
| 55 | } |
| 56 | |
| 57 | func (_mr *_MockTProtocolRecorder) Flush() *gomock.Call { |
| 58 | return _mr.mock.ctrl.RecordCall(_mr.mock, "Flush") |
| 59 | } |
| 60 | |
| 61 | func (_m *MockTProtocol) ReadBinary() ([]byte, error) { |
| 62 | ret := _m.ctrl.Call(_m, "ReadBinary") |
| 63 | ret0, _ := ret[0].([]byte) |
| 64 | ret1, _ := ret[1].(error) |
| 65 | return ret0, ret1 |
| 66 | } |
| 67 | |
| 68 | func (_mr *_MockTProtocolRecorder) ReadBinary() *gomock.Call { |
| 69 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadBinary") |
| 70 | } |
| 71 | |
| 72 | func (_m *MockTProtocol) ReadBool() (bool, error) { |
| 73 | ret := _m.ctrl.Call(_m, "ReadBool") |
| 74 | ret0, _ := ret[0].(bool) |
| 75 | ret1, _ := ret[1].(error) |
| 76 | return ret0, ret1 |
| 77 | } |
| 78 | |
| 79 | func (_mr *_MockTProtocolRecorder) ReadBool() *gomock.Call { |
| 80 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadBool") |
| 81 | } |
| 82 | |
Jens Geyer | 5bc8b5a | 2015-09-05 12:50:24 +0200 | [diff] [blame^] | 83 | func (_m *MockTProtocol) ReadByte() (int8, error) { |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 84 | ret := _m.ctrl.Call(_m, "ReadByte") |
Jens Geyer | 5bc8b5a | 2015-09-05 12:50:24 +0200 | [diff] [blame^] | 85 | ret0, _ := ret[0].(int8) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 86 | ret1, _ := ret[1].(error) |
| 87 | return ret0, ret1 |
| 88 | } |
| 89 | |
| 90 | func (_mr *_MockTProtocolRecorder) ReadByte() *gomock.Call { |
| 91 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadByte") |
| 92 | } |
| 93 | |
| 94 | func (_m *MockTProtocol) ReadDouble() (float64, error) { |
| 95 | ret := _m.ctrl.Call(_m, "ReadDouble") |
| 96 | ret0, _ := ret[0].(float64) |
| 97 | ret1, _ := ret[1].(error) |
| 98 | return ret0, ret1 |
| 99 | } |
| 100 | |
| 101 | func (_mr *_MockTProtocolRecorder) ReadDouble() *gomock.Call { |
| 102 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadDouble") |
| 103 | } |
| 104 | |
| 105 | func (_m *MockTProtocol) ReadFieldBegin() (string, thrift.TType, int16, error) { |
| 106 | ret := _m.ctrl.Call(_m, "ReadFieldBegin") |
| 107 | ret0, _ := ret[0].(string) |
| 108 | ret1, _ := ret[1].(thrift.TType) |
| 109 | ret2, _ := ret[2].(int16) |
| 110 | ret3, _ := ret[3].(error) |
| 111 | return ret0, ret1, ret2, ret3 |
| 112 | } |
| 113 | |
| 114 | func (_mr *_MockTProtocolRecorder) ReadFieldBegin() *gomock.Call { |
| 115 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadFieldBegin") |
| 116 | } |
| 117 | |
| 118 | func (_m *MockTProtocol) ReadFieldEnd() error { |
| 119 | ret := _m.ctrl.Call(_m, "ReadFieldEnd") |
| 120 | ret0, _ := ret[0].(error) |
| 121 | return ret0 |
| 122 | } |
| 123 | |
| 124 | func (_mr *_MockTProtocolRecorder) ReadFieldEnd() *gomock.Call { |
| 125 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadFieldEnd") |
| 126 | } |
| 127 | |
| 128 | func (_m *MockTProtocol) ReadI16() (int16, error) { |
| 129 | ret := _m.ctrl.Call(_m, "ReadI16") |
| 130 | ret0, _ := ret[0].(int16) |
| 131 | ret1, _ := ret[1].(error) |
| 132 | return ret0, ret1 |
| 133 | } |
| 134 | |
| 135 | func (_mr *_MockTProtocolRecorder) ReadI16() *gomock.Call { |
| 136 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadI16") |
| 137 | } |
| 138 | |
| 139 | func (_m *MockTProtocol) ReadI32() (int32, error) { |
| 140 | ret := _m.ctrl.Call(_m, "ReadI32") |
| 141 | ret0, _ := ret[0].(int32) |
| 142 | ret1, _ := ret[1].(error) |
| 143 | return ret0, ret1 |
| 144 | } |
| 145 | |
| 146 | func (_mr *_MockTProtocolRecorder) ReadI32() *gomock.Call { |
| 147 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadI32") |
| 148 | } |
| 149 | |
| 150 | func (_m *MockTProtocol) ReadI64() (int64, error) { |
| 151 | ret := _m.ctrl.Call(_m, "ReadI64") |
| 152 | ret0, _ := ret[0].(int64) |
| 153 | ret1, _ := ret[1].(error) |
| 154 | return ret0, ret1 |
| 155 | } |
| 156 | |
| 157 | func (_mr *_MockTProtocolRecorder) ReadI64() *gomock.Call { |
| 158 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadI64") |
| 159 | } |
| 160 | |
| 161 | func (_m *MockTProtocol) ReadListBegin() (thrift.TType, int, error) { |
| 162 | ret := _m.ctrl.Call(_m, "ReadListBegin") |
| 163 | ret0, _ := ret[0].(thrift.TType) |
| 164 | ret1, _ := ret[1].(int) |
| 165 | ret2, _ := ret[2].(error) |
| 166 | return ret0, ret1, ret2 |
| 167 | } |
| 168 | |
| 169 | func (_mr *_MockTProtocolRecorder) ReadListBegin() *gomock.Call { |
| 170 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadListBegin") |
| 171 | } |
| 172 | |
| 173 | func (_m *MockTProtocol) ReadListEnd() error { |
| 174 | ret := _m.ctrl.Call(_m, "ReadListEnd") |
| 175 | ret0, _ := ret[0].(error) |
| 176 | return ret0 |
| 177 | } |
| 178 | |
| 179 | func (_mr *_MockTProtocolRecorder) ReadListEnd() *gomock.Call { |
| 180 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadListEnd") |
| 181 | } |
| 182 | |
| 183 | func (_m *MockTProtocol) ReadMapBegin() (thrift.TType, thrift.TType, int, error) { |
| 184 | ret := _m.ctrl.Call(_m, "ReadMapBegin") |
| 185 | ret0, _ := ret[0].(thrift.TType) |
| 186 | ret1, _ := ret[1].(thrift.TType) |
| 187 | ret2, _ := ret[2].(int) |
| 188 | ret3, _ := ret[3].(error) |
| 189 | return ret0, ret1, ret2, ret3 |
| 190 | } |
| 191 | |
| 192 | func (_mr *_MockTProtocolRecorder) ReadMapBegin() *gomock.Call { |
| 193 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadMapBegin") |
| 194 | } |
| 195 | |
| 196 | func (_m *MockTProtocol) ReadMapEnd() error { |
| 197 | ret := _m.ctrl.Call(_m, "ReadMapEnd") |
| 198 | ret0, _ := ret[0].(error) |
| 199 | return ret0 |
| 200 | } |
| 201 | |
| 202 | func (_mr *_MockTProtocolRecorder) ReadMapEnd() *gomock.Call { |
| 203 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadMapEnd") |
| 204 | } |
| 205 | |
| 206 | func (_m *MockTProtocol) ReadMessageBegin() (string, thrift.TMessageType, int32, error) { |
| 207 | ret := _m.ctrl.Call(_m, "ReadMessageBegin") |
| 208 | ret0, _ := ret[0].(string) |
| 209 | ret1, _ := ret[1].(thrift.TMessageType) |
| 210 | ret2, _ := ret[2].(int32) |
| 211 | ret3, _ := ret[3].(error) |
| 212 | return ret0, ret1, ret2, ret3 |
| 213 | } |
| 214 | |
| 215 | func (_mr *_MockTProtocolRecorder) ReadMessageBegin() *gomock.Call { |
| 216 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadMessageBegin") |
| 217 | } |
| 218 | |
| 219 | func (_m *MockTProtocol) ReadMessageEnd() error { |
| 220 | ret := _m.ctrl.Call(_m, "ReadMessageEnd") |
| 221 | ret0, _ := ret[0].(error) |
| 222 | return ret0 |
| 223 | } |
| 224 | |
| 225 | func (_mr *_MockTProtocolRecorder) ReadMessageEnd() *gomock.Call { |
| 226 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadMessageEnd") |
| 227 | } |
| 228 | |
| 229 | func (_m *MockTProtocol) ReadSetBegin() (thrift.TType, int, error) { |
| 230 | ret := _m.ctrl.Call(_m, "ReadSetBegin") |
| 231 | ret0, _ := ret[0].(thrift.TType) |
| 232 | ret1, _ := ret[1].(int) |
| 233 | ret2, _ := ret[2].(error) |
| 234 | return ret0, ret1, ret2 |
| 235 | } |
| 236 | |
| 237 | func (_mr *_MockTProtocolRecorder) ReadSetBegin() *gomock.Call { |
| 238 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadSetBegin") |
| 239 | } |
| 240 | |
| 241 | func (_m *MockTProtocol) ReadSetEnd() error { |
| 242 | ret := _m.ctrl.Call(_m, "ReadSetEnd") |
| 243 | ret0, _ := ret[0].(error) |
| 244 | return ret0 |
| 245 | } |
| 246 | |
| 247 | func (_mr *_MockTProtocolRecorder) ReadSetEnd() *gomock.Call { |
| 248 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadSetEnd") |
| 249 | } |
| 250 | |
| 251 | func (_m *MockTProtocol) ReadString() (string, error) { |
| 252 | ret := _m.ctrl.Call(_m, "ReadString") |
| 253 | ret0, _ := ret[0].(string) |
| 254 | ret1, _ := ret[1].(error) |
| 255 | return ret0, ret1 |
| 256 | } |
| 257 | |
| 258 | func (_mr *_MockTProtocolRecorder) ReadString() *gomock.Call { |
| 259 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadString") |
| 260 | } |
| 261 | |
| 262 | func (_m *MockTProtocol) ReadStructBegin() (string, error) { |
| 263 | ret := _m.ctrl.Call(_m, "ReadStructBegin") |
| 264 | ret0, _ := ret[0].(string) |
| 265 | ret1, _ := ret[1].(error) |
| 266 | return ret0, ret1 |
| 267 | } |
| 268 | |
| 269 | func (_mr *_MockTProtocolRecorder) ReadStructBegin() *gomock.Call { |
| 270 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadStructBegin") |
| 271 | } |
| 272 | |
| 273 | func (_m *MockTProtocol) ReadStructEnd() error { |
| 274 | ret := _m.ctrl.Call(_m, "ReadStructEnd") |
| 275 | ret0, _ := ret[0].(error) |
| 276 | return ret0 |
| 277 | } |
| 278 | |
| 279 | func (_mr *_MockTProtocolRecorder) ReadStructEnd() *gomock.Call { |
| 280 | return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadStructEnd") |
| 281 | } |
| 282 | |
| 283 | func (_m *MockTProtocol) Skip(_param0 thrift.TType) error { |
| 284 | ret := _m.ctrl.Call(_m, "Skip", _param0) |
| 285 | ret0, _ := ret[0].(error) |
| 286 | return ret0 |
| 287 | } |
| 288 | |
| 289 | func (_mr *_MockTProtocolRecorder) Skip(arg0 interface{}) *gomock.Call { |
| 290 | return _mr.mock.ctrl.RecordCall(_mr.mock, "Skip", arg0) |
| 291 | } |
| 292 | |
| 293 | func (_m *MockTProtocol) Transport() thrift.TTransport { |
| 294 | ret := _m.ctrl.Call(_m, "Transport") |
| 295 | ret0, _ := ret[0].(thrift.TTransport) |
| 296 | return ret0 |
| 297 | } |
| 298 | |
| 299 | func (_mr *_MockTProtocolRecorder) Transport() *gomock.Call { |
| 300 | return _mr.mock.ctrl.RecordCall(_mr.mock, "Transport") |
| 301 | } |
| 302 | |
| 303 | func (_m *MockTProtocol) WriteBinary(_param0 []byte) error { |
| 304 | ret := _m.ctrl.Call(_m, "WriteBinary", _param0) |
| 305 | ret0, _ := ret[0].(error) |
| 306 | return ret0 |
| 307 | } |
| 308 | |
| 309 | func (_mr *_MockTProtocolRecorder) WriteBinary(arg0 interface{}) *gomock.Call { |
| 310 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteBinary", arg0) |
| 311 | } |
| 312 | |
| 313 | func (_m *MockTProtocol) WriteBool(_param0 bool) error { |
| 314 | ret := _m.ctrl.Call(_m, "WriteBool", _param0) |
| 315 | ret0, _ := ret[0].(error) |
| 316 | return ret0 |
| 317 | } |
| 318 | |
| 319 | func (_mr *_MockTProtocolRecorder) WriteBool(arg0 interface{}) *gomock.Call { |
| 320 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteBool", arg0) |
| 321 | } |
| 322 | |
Jens Geyer | 5bc8b5a | 2015-09-05 12:50:24 +0200 | [diff] [blame^] | 323 | func (_m *MockTProtocol) WriteByte(_param0 int8) error { |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 324 | ret := _m.ctrl.Call(_m, "WriteByte", _param0) |
| 325 | ret0, _ := ret[0].(error) |
| 326 | return ret0 |
| 327 | } |
| 328 | |
| 329 | func (_mr *_MockTProtocolRecorder) WriteByte(arg0 interface{}) *gomock.Call { |
| 330 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteByte", arg0) |
| 331 | } |
| 332 | |
| 333 | func (_m *MockTProtocol) WriteDouble(_param0 float64) error { |
| 334 | ret := _m.ctrl.Call(_m, "WriteDouble", _param0) |
| 335 | ret0, _ := ret[0].(error) |
| 336 | return ret0 |
| 337 | } |
| 338 | |
| 339 | func (_mr *_MockTProtocolRecorder) WriteDouble(arg0 interface{}) *gomock.Call { |
| 340 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteDouble", arg0) |
| 341 | } |
| 342 | |
| 343 | func (_m *MockTProtocol) WriteFieldBegin(_param0 string, _param1 thrift.TType, _param2 int16) error { |
| 344 | ret := _m.ctrl.Call(_m, "WriteFieldBegin", _param0, _param1, _param2) |
| 345 | ret0, _ := ret[0].(error) |
| 346 | return ret0 |
| 347 | } |
| 348 | |
| 349 | func (_mr *_MockTProtocolRecorder) WriteFieldBegin(arg0, arg1, arg2 interface{}) *gomock.Call { |
| 350 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteFieldBegin", arg0, arg1, arg2) |
| 351 | } |
| 352 | |
| 353 | func (_m *MockTProtocol) WriteFieldEnd() error { |
| 354 | ret := _m.ctrl.Call(_m, "WriteFieldEnd") |
| 355 | ret0, _ := ret[0].(error) |
| 356 | return ret0 |
| 357 | } |
| 358 | |
| 359 | func (_mr *_MockTProtocolRecorder) WriteFieldEnd() *gomock.Call { |
| 360 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteFieldEnd") |
| 361 | } |
| 362 | |
| 363 | func (_m *MockTProtocol) WriteFieldStop() error { |
| 364 | ret := _m.ctrl.Call(_m, "WriteFieldStop") |
| 365 | ret0, _ := ret[0].(error) |
| 366 | return ret0 |
| 367 | } |
| 368 | |
| 369 | func (_mr *_MockTProtocolRecorder) WriteFieldStop() *gomock.Call { |
| 370 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteFieldStop") |
| 371 | } |
| 372 | |
| 373 | func (_m *MockTProtocol) WriteI16(_param0 int16) error { |
| 374 | ret := _m.ctrl.Call(_m, "WriteI16", _param0) |
| 375 | ret0, _ := ret[0].(error) |
| 376 | return ret0 |
| 377 | } |
| 378 | |
| 379 | func (_mr *_MockTProtocolRecorder) WriteI16(arg0 interface{}) *gomock.Call { |
| 380 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteI16", arg0) |
| 381 | } |
| 382 | |
| 383 | func (_m *MockTProtocol) WriteI32(_param0 int32) error { |
| 384 | ret := _m.ctrl.Call(_m, "WriteI32", _param0) |
| 385 | ret0, _ := ret[0].(error) |
| 386 | return ret0 |
| 387 | } |
| 388 | |
| 389 | func (_mr *_MockTProtocolRecorder) WriteI32(arg0 interface{}) *gomock.Call { |
| 390 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteI32", arg0) |
| 391 | } |
| 392 | |
| 393 | func (_m *MockTProtocol) WriteI64(_param0 int64) error { |
| 394 | ret := _m.ctrl.Call(_m, "WriteI64", _param0) |
| 395 | ret0, _ := ret[0].(error) |
| 396 | return ret0 |
| 397 | } |
| 398 | |
| 399 | func (_mr *_MockTProtocolRecorder) WriteI64(arg0 interface{}) *gomock.Call { |
| 400 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteI64", arg0) |
| 401 | } |
| 402 | |
| 403 | func (_m *MockTProtocol) WriteListBegin(_param0 thrift.TType, _param1 int) error { |
| 404 | ret := _m.ctrl.Call(_m, "WriteListBegin", _param0, _param1) |
| 405 | ret0, _ := ret[0].(error) |
| 406 | return ret0 |
| 407 | } |
| 408 | |
| 409 | func (_mr *_MockTProtocolRecorder) WriteListBegin(arg0, arg1 interface{}) *gomock.Call { |
| 410 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteListBegin", arg0, arg1) |
| 411 | } |
| 412 | |
| 413 | func (_m *MockTProtocol) WriteListEnd() error { |
| 414 | ret := _m.ctrl.Call(_m, "WriteListEnd") |
| 415 | ret0, _ := ret[0].(error) |
| 416 | return ret0 |
| 417 | } |
| 418 | |
| 419 | func (_mr *_MockTProtocolRecorder) WriteListEnd() *gomock.Call { |
| 420 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteListEnd") |
| 421 | } |
| 422 | |
| 423 | func (_m *MockTProtocol) WriteMapBegin(_param0 thrift.TType, _param1 thrift.TType, _param2 int) error { |
| 424 | ret := _m.ctrl.Call(_m, "WriteMapBegin", _param0, _param1, _param2) |
| 425 | ret0, _ := ret[0].(error) |
| 426 | return ret0 |
| 427 | } |
| 428 | |
| 429 | func (_mr *_MockTProtocolRecorder) WriteMapBegin(arg0, arg1, arg2 interface{}) *gomock.Call { |
| 430 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteMapBegin", arg0, arg1, arg2) |
| 431 | } |
| 432 | |
| 433 | func (_m *MockTProtocol) WriteMapEnd() error { |
| 434 | ret := _m.ctrl.Call(_m, "WriteMapEnd") |
| 435 | ret0, _ := ret[0].(error) |
| 436 | return ret0 |
| 437 | } |
| 438 | |
| 439 | func (_mr *_MockTProtocolRecorder) WriteMapEnd() *gomock.Call { |
| 440 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteMapEnd") |
| 441 | } |
| 442 | |
| 443 | func (_m *MockTProtocol) WriteMessageBegin(_param0 string, _param1 thrift.TMessageType, _param2 int32) error { |
| 444 | ret := _m.ctrl.Call(_m, "WriteMessageBegin", _param0, _param1, _param2) |
| 445 | ret0, _ := ret[0].(error) |
| 446 | return ret0 |
| 447 | } |
| 448 | |
| 449 | func (_mr *_MockTProtocolRecorder) WriteMessageBegin(arg0, arg1, arg2 interface{}) *gomock.Call { |
| 450 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteMessageBegin", arg0, arg1, arg2) |
| 451 | } |
| 452 | |
| 453 | func (_m *MockTProtocol) WriteMessageEnd() error { |
| 454 | ret := _m.ctrl.Call(_m, "WriteMessageEnd") |
| 455 | ret0, _ := ret[0].(error) |
| 456 | return ret0 |
| 457 | } |
| 458 | |
| 459 | func (_mr *_MockTProtocolRecorder) WriteMessageEnd() *gomock.Call { |
| 460 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteMessageEnd") |
| 461 | } |
| 462 | |
| 463 | func (_m *MockTProtocol) WriteSetBegin(_param0 thrift.TType, _param1 int) error { |
| 464 | ret := _m.ctrl.Call(_m, "WriteSetBegin", _param0, _param1) |
| 465 | ret0, _ := ret[0].(error) |
| 466 | return ret0 |
| 467 | } |
| 468 | |
| 469 | func (_mr *_MockTProtocolRecorder) WriteSetBegin(arg0, arg1 interface{}) *gomock.Call { |
| 470 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteSetBegin", arg0, arg1) |
| 471 | } |
| 472 | |
| 473 | func (_m *MockTProtocol) WriteSetEnd() error { |
| 474 | ret := _m.ctrl.Call(_m, "WriteSetEnd") |
| 475 | ret0, _ := ret[0].(error) |
| 476 | return ret0 |
| 477 | } |
| 478 | |
| 479 | func (_mr *_MockTProtocolRecorder) WriteSetEnd() *gomock.Call { |
| 480 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteSetEnd") |
| 481 | } |
| 482 | |
| 483 | func (_m *MockTProtocol) WriteString(_param0 string) error { |
| 484 | ret := _m.ctrl.Call(_m, "WriteString", _param0) |
| 485 | ret0, _ := ret[0].(error) |
| 486 | return ret0 |
| 487 | } |
| 488 | |
| 489 | func (_mr *_MockTProtocolRecorder) WriteString(arg0 interface{}) *gomock.Call { |
| 490 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteString", arg0) |
| 491 | } |
| 492 | |
| 493 | func (_m *MockTProtocol) WriteStructBegin(_param0 string) error { |
| 494 | ret := _m.ctrl.Call(_m, "WriteStructBegin", _param0) |
| 495 | ret0, _ := ret[0].(error) |
| 496 | return ret0 |
| 497 | } |
| 498 | |
| 499 | func (_mr *_MockTProtocolRecorder) WriteStructBegin(arg0 interface{}) *gomock.Call { |
| 500 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteStructBegin", arg0) |
| 501 | } |
| 502 | |
| 503 | func (_m *MockTProtocol) WriteStructEnd() error { |
| 504 | ret := _m.ctrl.Call(_m, "WriteStructEnd") |
| 505 | ret0, _ := ret[0].(error) |
| 506 | return ret0 |
| 507 | } |
| 508 | |
| 509 | func (_mr *_MockTProtocolRecorder) WriteStructEnd() *gomock.Call { |
| 510 | return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteStructEnd") |
| 511 | } |