1// Code generated by MockGen. DO NOT EDIT. 2// Source: github.com/apache/thrift/lib/go/thrift (interfaces: TProtocol) 3 4// Package tests is a generated GoMock package. 5package tests 6 7import ( 8 context "context" 9 reflect "reflect" 10 11 thrift "github.com/apache/thrift/lib/go/thrift" 12 gomock "github.com/golang/mock/gomock" 13) 14 15// MockTProtocol is a mock of TProtocol interface. 16type MockTProtocol struct { 17 ctrl *gomock.Controller 18 recorder *MockTProtocolMockRecorder 19} 20 21// MockTProtocolMockRecorder is the mock recorder for MockTProtocol. 22type MockTProtocolMockRecorder struct { 23 mock *MockTProtocol 24} 25 26// NewMockTProtocol creates a new mock instance. 27func NewMockTProtocol(ctrl *gomock.Controller) *MockTProtocol { 28 mock := &MockTProtocol{ctrl: ctrl} 29 mock.recorder = &MockTProtocolMockRecorder{mock} 30 return mock 31} 32 33// EXPECT returns an object that allows the caller to indicate expected use. 34func (m *MockTProtocol) EXPECT() *MockTProtocolMockRecorder { 35 return m.recorder 36} 37 38// Flush mocks base method. 39func (m *MockTProtocol) Flush(arg0 context.Context) error { 40 m.ctrl.T.Helper() 41 ret := m.ctrl.Call(m, "Flush", arg0) 42 ret0, _ := ret[0].(error) 43 return ret0 44} 45 46// Flush indicates an expected call of Flush. 47func (mr *MockTProtocolMockRecorder) Flush(arg0 interface{}) *gomock.Call { 48 mr.mock.ctrl.T.Helper() 49 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Flush", reflect.TypeOf((*MockTProtocol)(nil).Flush), arg0) 50} 51 52// ReadBinary mocks base method. 53func (m *MockTProtocol) ReadBinary(arg0 context.Context) ([]byte, error) { 54 m.ctrl.T.Helper() 55 ret := m.ctrl.Call(m, "ReadBinary", arg0) 56 ret0, _ := ret[0].([]byte) 57 ret1, _ := ret[1].(error) 58 return ret0, ret1 59} 60 61// ReadBinary indicates an expected call of ReadBinary. 62func (mr *MockTProtocolMockRecorder) ReadBinary(arg0 interface{}) *gomock.Call { 63 mr.mock.ctrl.T.Helper() 64 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadBinary", reflect.TypeOf((*MockTProtocol)(nil).ReadBinary), arg0) 65} 66 67// ReadBool mocks base method. 68func (m *MockTProtocol) ReadBool(arg0 context.Context) (bool, error) { 69 m.ctrl.T.Helper() 70 ret := m.ctrl.Call(m, "ReadBool", arg0) 71 ret0, _ := ret[0].(bool) 72 ret1, _ := ret[1].(error) 73 return ret0, ret1 74} 75 76// ReadBool indicates an expected call of ReadBool. 77func (mr *MockTProtocolMockRecorder) ReadBool(arg0 interface{}) *gomock.Call { 78 mr.mock.ctrl.T.Helper() 79 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadBool", reflect.TypeOf((*MockTProtocol)(nil).ReadBool), arg0) 80} 81 82// ReadByte mocks base method. 83func (m *MockTProtocol) ReadByte(arg0 context.Context) (int8, error) { 84 m.ctrl.T.Helper() 85 ret := m.ctrl.Call(m, "ReadByte", arg0) 86 ret0, _ := ret[0].(int8) 87 ret1, _ := ret[1].(error) 88 return ret0, ret1 89} 90 91// ReadByte indicates an expected call of ReadByte. 92func (mr *MockTProtocolMockRecorder) ReadByte(arg0 interface{}) *gomock.Call { 93 mr.mock.ctrl.T.Helper() 94 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadByte", reflect.TypeOf((*MockTProtocol)(nil).ReadByte), arg0) 95} 96 97// ReadDouble mocks base method. 98func (m *MockTProtocol) ReadDouble(arg0 context.Context) (float64, error) { 99 m.ctrl.T.Helper() 100 ret := m.ctrl.Call(m, "ReadDouble", arg0) 101 ret0, _ := ret[0].(float64) 102 ret1, _ := ret[1].(error) 103 return ret0, ret1 104} 105 106// ReadDouble indicates an expected call of ReadDouble. 107func (mr *MockTProtocolMockRecorder) ReadDouble(arg0 interface{}) *gomock.Call { 108 mr.mock.ctrl.T.Helper() 109 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadDouble", reflect.TypeOf((*MockTProtocol)(nil).ReadDouble), arg0) 110} 111 112// ReadFieldBegin mocks base method. 113func (m *MockTProtocol) ReadFieldBegin(arg0 context.Context) (string, thrift.TType, int16, error) { 114 m.ctrl.T.Helper() 115 ret := m.ctrl.Call(m, "ReadFieldBegin", arg0) 116 ret0, _ := ret[0].(string) 117 ret1, _ := ret[1].(thrift.TType) 118 ret2, _ := ret[2].(int16) 119 ret3, _ := ret[3].(error) 120 return ret0, ret1, ret2, ret3 121} 122 123// ReadFieldBegin indicates an expected call of ReadFieldBegin. 124func (mr *MockTProtocolMockRecorder) ReadFieldBegin(arg0 interface{}) *gomock.Call { 125 mr.mock.ctrl.T.Helper() 126 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadFieldBegin", reflect.TypeOf((*MockTProtocol)(nil).ReadFieldBegin), arg0) 127} 128 129// ReadFieldEnd mocks base method. 130func (m *MockTProtocol) ReadFieldEnd(arg0 context.Context) error { 131 m.ctrl.T.Helper() 132 ret := m.ctrl.Call(m, "ReadFieldEnd", arg0) 133 ret0, _ := ret[0].(error) 134 return ret0 135} 136 137// ReadFieldEnd indicates an expected call of ReadFieldEnd. 138func (mr *MockTProtocolMockRecorder) ReadFieldEnd(arg0 interface{}) *gomock.Call { 139 mr.mock.ctrl.T.Helper() 140 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadFieldEnd", reflect.TypeOf((*MockTProtocol)(nil).ReadFieldEnd), arg0) 141} 142 143// ReadI16 mocks base method. 144func (m *MockTProtocol) ReadI16(arg0 context.Context) (int16, error) { 145 m.ctrl.T.Helper() 146 ret := m.ctrl.Call(m, "ReadI16", arg0) 147 ret0, _ := ret[0].(int16) 148 ret1, _ := ret[1].(error) 149 return ret0, ret1 150} 151 152// ReadI16 indicates an expected call of ReadI16. 153func (mr *MockTProtocolMockRecorder) ReadI16(arg0 interface{}) *gomock.Call { 154 mr.mock.ctrl.T.Helper() 155 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadI16", reflect.TypeOf((*MockTProtocol)(nil).ReadI16), arg0) 156} 157 158// ReadI32 mocks base method. 159func (m *MockTProtocol) ReadI32(arg0 context.Context) (int32, error) { 160 m.ctrl.T.Helper() 161 ret := m.ctrl.Call(m, "ReadI32", arg0) 162 ret0, _ := ret[0].(int32) 163 ret1, _ := ret[1].(error) 164 return ret0, ret1 165} 166 167// ReadI32 indicates an expected call of ReadI32. 168func (mr *MockTProtocolMockRecorder) ReadI32(arg0 interface{}) *gomock.Call { 169 mr.mock.ctrl.T.Helper() 170 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadI32", reflect.TypeOf((*MockTProtocol)(nil).ReadI32), arg0) 171} 172 173// ReadI64 mocks base method. 174func (m *MockTProtocol) ReadI64(arg0 context.Context) (int64, error) { 175 m.ctrl.T.Helper() 176 ret := m.ctrl.Call(m, "ReadI64", arg0) 177 ret0, _ := ret[0].(int64) 178 ret1, _ := ret[1].(error) 179 return ret0, ret1 180} 181 182// ReadI64 indicates an expected call of ReadI64. 183func (mr *MockTProtocolMockRecorder) ReadI64(arg0 interface{}) *gomock.Call { 184 mr.mock.ctrl.T.Helper() 185 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadI64", reflect.TypeOf((*MockTProtocol)(nil).ReadI64), arg0) 186} 187 188// ReadListBegin mocks base method. 189func (m *MockTProtocol) ReadListBegin(arg0 context.Context) (thrift.TType, int, error) { 190 m.ctrl.T.Helper() 191 ret := m.ctrl.Call(m, "ReadListBegin", arg0) 192 ret0, _ := ret[0].(thrift.TType) 193 ret1, _ := ret[1].(int) 194 ret2, _ := ret[2].(error) 195 return ret0, ret1, ret2 196} 197 198// ReadListBegin indicates an expected call of ReadListBegin. 199func (mr *MockTProtocolMockRecorder) ReadListBegin(arg0 interface{}) *gomock.Call { 200 mr.mock.ctrl.T.Helper() 201 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadListBegin", reflect.TypeOf((*MockTProtocol)(nil).ReadListBegin), arg0) 202} 203 204// ReadListEnd mocks base method. 205func (m *MockTProtocol) ReadListEnd(arg0 context.Context) error { 206 m.ctrl.T.Helper() 207 ret := m.ctrl.Call(m, "ReadListEnd", arg0) 208 ret0, _ := ret[0].(error) 209 return ret0 210} 211 212// ReadListEnd indicates an expected call of ReadListEnd. 213func (mr *MockTProtocolMockRecorder) ReadListEnd(arg0 interface{}) *gomock.Call { 214 mr.mock.ctrl.T.Helper() 215 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadListEnd", reflect.TypeOf((*MockTProtocol)(nil).ReadListEnd), arg0) 216} 217 218// ReadMapBegin mocks base method. 219func (m *MockTProtocol) ReadMapBegin(arg0 context.Context) (thrift.TType, thrift.TType, int, error) { 220 m.ctrl.T.Helper() 221 ret := m.ctrl.Call(m, "ReadMapBegin", arg0) 222 ret0, _ := ret[0].(thrift.TType) 223 ret1, _ := ret[1].(thrift.TType) 224 ret2, _ := ret[2].(int) 225 ret3, _ := ret[3].(error) 226 return ret0, ret1, ret2, ret3 227} 228 229// ReadMapBegin indicates an expected call of ReadMapBegin. 230func (mr *MockTProtocolMockRecorder) ReadMapBegin(arg0 interface{}) *gomock.Call { 231 mr.mock.ctrl.T.Helper() 232 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadMapBegin", reflect.TypeOf((*MockTProtocol)(nil).ReadMapBegin), arg0) 233} 234 235// ReadMapEnd mocks base method. 236func (m *MockTProtocol) ReadMapEnd(arg0 context.Context) error { 237 m.ctrl.T.Helper() 238 ret := m.ctrl.Call(m, "ReadMapEnd", arg0) 239 ret0, _ := ret[0].(error) 240 return ret0 241} 242 243// ReadMapEnd indicates an expected call of ReadMapEnd. 244func (mr *MockTProtocolMockRecorder) ReadMapEnd(arg0 interface{}) *gomock.Call { 245 mr.mock.ctrl.T.Helper() 246 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadMapEnd", reflect.TypeOf((*MockTProtocol)(nil).ReadMapEnd), arg0) 247} 248 249// ReadMessageBegin mocks base method. 250func (m *MockTProtocol) ReadMessageBegin(arg0 context.Context) (string, thrift.TMessageType, int32, error) { 251 m.ctrl.T.Helper() 252 ret := m.ctrl.Call(m, "ReadMessageBegin", arg0) 253 ret0, _ := ret[0].(string) 254 ret1, _ := ret[1].(thrift.TMessageType) 255 ret2, _ := ret[2].(int32) 256 ret3, _ := ret[3].(error) 257 return ret0, ret1, ret2, ret3 258} 259 260// ReadMessageBegin indicates an expected call of ReadMessageBegin. 261func (mr *MockTProtocolMockRecorder) ReadMessageBegin(arg0 interface{}) *gomock.Call { 262 mr.mock.ctrl.T.Helper() 263 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadMessageBegin", reflect.TypeOf((*MockTProtocol)(nil).ReadMessageBegin), arg0) 264} 265 266// ReadMessageEnd mocks base method. 267func (m *MockTProtocol) ReadMessageEnd(arg0 context.Context) error { 268 m.ctrl.T.Helper() 269 ret := m.ctrl.Call(m, "ReadMessageEnd", arg0) 270 ret0, _ := ret[0].(error) 271 return ret0 272} 273 274// ReadMessageEnd indicates an expected call of ReadMessageEnd. 275func (mr *MockTProtocolMockRecorder) ReadMessageEnd(arg0 interface{}) *gomock.Call { 276 mr.mock.ctrl.T.Helper() 277 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadMessageEnd", reflect.TypeOf((*MockTProtocol)(nil).ReadMessageEnd), arg0) 278} 279 280// ReadSetBegin mocks base method. 281func (m *MockTProtocol) ReadSetBegin(arg0 context.Context) (thrift.TType, int, error) { 282 m.ctrl.T.Helper() 283 ret := m.ctrl.Call(m, "ReadSetBegin", arg0) 284 ret0, _ := ret[0].(thrift.TType) 285 ret1, _ := ret[1].(int) 286 ret2, _ := ret[2].(error) 287 return ret0, ret1, ret2 288} 289 290// ReadSetBegin indicates an expected call of ReadSetBegin. 291func (mr *MockTProtocolMockRecorder) ReadSetBegin(arg0 interface{}) *gomock.Call { 292 mr.mock.ctrl.T.Helper() 293 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadSetBegin", reflect.TypeOf((*MockTProtocol)(nil).ReadSetBegin), arg0) 294} 295 296// ReadSetEnd mocks base method. 297func (m *MockTProtocol) ReadSetEnd(arg0 context.Context) error { 298 m.ctrl.T.Helper() 299 ret := m.ctrl.Call(m, "ReadSetEnd", arg0) 300 ret0, _ := ret[0].(error) 301 return ret0 302} 303 304// ReadSetEnd indicates an expected call of ReadSetEnd. 305func (mr *MockTProtocolMockRecorder) ReadSetEnd(arg0 interface{}) *gomock.Call { 306 mr.mock.ctrl.T.Helper() 307 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadSetEnd", reflect.TypeOf((*MockTProtocol)(nil).ReadSetEnd), arg0) 308} 309 310// ReadString mocks base method. 311func (m *MockTProtocol) ReadString(arg0 context.Context) (string, error) { 312 m.ctrl.T.Helper() 313 ret := m.ctrl.Call(m, "ReadString", arg0) 314 ret0, _ := ret[0].(string) 315 ret1, _ := ret[1].(error) 316 return ret0, ret1 317} 318 319// ReadString indicates an expected call of ReadString. 320func (mr *MockTProtocolMockRecorder) ReadString(arg0 interface{}) *gomock.Call { 321 mr.mock.ctrl.T.Helper() 322 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadString", reflect.TypeOf((*MockTProtocol)(nil).ReadString), arg0) 323} 324 325// ReadStructBegin mocks base method. 326func (m *MockTProtocol) ReadStructBegin(arg0 context.Context) (string, error) { 327 m.ctrl.T.Helper() 328 ret := m.ctrl.Call(m, "ReadStructBegin", arg0) 329 ret0, _ := ret[0].(string) 330 ret1, _ := ret[1].(error) 331 return ret0, ret1 332} 333 334// ReadStructBegin indicates an expected call of ReadStructBegin. 335func (mr *MockTProtocolMockRecorder) ReadStructBegin(arg0 interface{}) *gomock.Call { 336 mr.mock.ctrl.T.Helper() 337 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadStructBegin", reflect.TypeOf((*MockTProtocol)(nil).ReadStructBegin), arg0) 338} 339 340// ReadStructEnd mocks base method. 341func (m *MockTProtocol) ReadStructEnd(arg0 context.Context) error { 342 m.ctrl.T.Helper() 343 ret := m.ctrl.Call(m, "ReadStructEnd", arg0) 344 ret0, _ := ret[0].(error) 345 return ret0 346} 347 348// ReadStructEnd indicates an expected call of ReadStructEnd. 349func (mr *MockTProtocolMockRecorder) ReadStructEnd(arg0 interface{}) *gomock.Call { 350 mr.mock.ctrl.T.Helper() 351 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadStructEnd", reflect.TypeOf((*MockTProtocol)(nil).ReadStructEnd), arg0) 352} 353 354// ReadUUID mocks base method. 355func (m *MockTProtocol) ReadUUID(arg0 context.Context) (thrift.Tuuid, error) { 356 m.ctrl.T.Helper() 357 ret := m.ctrl.Call(m, "ReadUUID", arg0) 358 ret0, _ := ret[0].(thrift.Tuuid) 359 ret1, _ := ret[1].(error) 360 return ret0, ret1 361} 362 363// ReadUUID indicates an expected call of ReadUUID. 364func (mr *MockTProtocolMockRecorder) ReadUUID(arg0 interface{}) *gomock.Call { 365 mr.mock.ctrl.T.Helper() 366 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReadUUID", reflect.TypeOf((*MockTProtocol)(nil).ReadUUID), arg0) 367} 368 369// Skip mocks base method. 370func (m *MockTProtocol) Skip(arg0 context.Context, arg1 thrift.TType) error { 371 m.ctrl.T.Helper() 372 ret := m.ctrl.Call(m, "Skip", arg0, arg1) 373 ret0, _ := ret[0].(error) 374 return ret0 375} 376 377// Skip indicates an expected call of Skip. 378func (mr *MockTProtocolMockRecorder) Skip(arg0, arg1 interface{}) *gomock.Call { 379 mr.mock.ctrl.T.Helper() 380 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Skip", reflect.TypeOf((*MockTProtocol)(nil).Skip), arg0, arg1) 381} 382 383// Transport mocks base method. 384func (m *MockTProtocol) Transport() thrift.TTransport { 385 m.ctrl.T.Helper() 386 ret := m.ctrl.Call(m, "Transport") 387 ret0, _ := ret[0].(thrift.TTransport) 388 return ret0 389} 390 391// Transport indicates an expected call of Transport. 392func (mr *MockTProtocolMockRecorder) Transport() *gomock.Call { 393 mr.mock.ctrl.T.Helper() 394 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Transport", reflect.TypeOf((*MockTProtocol)(nil).Transport)) 395} 396 397// WriteBinary mocks base method. 398func (m *MockTProtocol) WriteBinary(arg0 context.Context, arg1 []byte) error { 399 m.ctrl.T.Helper() 400 ret := m.ctrl.Call(m, "WriteBinary", arg0, arg1) 401 ret0, _ := ret[0].(error) 402 return ret0 403} 404 405// WriteBinary indicates an expected call of WriteBinary. 406func (mr *MockTProtocolMockRecorder) WriteBinary(arg0, arg1 interface{}) *gomock.Call { 407 mr.mock.ctrl.T.Helper() 408 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteBinary", reflect.TypeOf((*MockTProtocol)(nil).WriteBinary), arg0, arg1) 409} 410 411// WriteBool mocks base method. 412func (m *MockTProtocol) WriteBool(arg0 context.Context, arg1 bool) error { 413 m.ctrl.T.Helper() 414 ret := m.ctrl.Call(m, "WriteBool", arg0, arg1) 415 ret0, _ := ret[0].(error) 416 return ret0 417} 418 419// WriteBool indicates an expected call of WriteBool. 420func (mr *MockTProtocolMockRecorder) WriteBool(arg0, arg1 interface{}) *gomock.Call { 421 mr.mock.ctrl.T.Helper() 422 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteBool", reflect.TypeOf((*MockTProtocol)(nil).WriteBool), arg0, arg1) 423} 424 425// WriteByte mocks base method. 426func (m *MockTProtocol) WriteByte(arg0 context.Context, arg1 int8) error { 427 m.ctrl.T.Helper() 428 ret := m.ctrl.Call(m, "WriteByte", arg0, arg1) 429 ret0, _ := ret[0].(error) 430 return ret0 431} 432 433// WriteByte indicates an expected call of WriteByte. 434func (mr *MockTProtocolMockRecorder) WriteByte(arg0, arg1 interface{}) *gomock.Call { 435 mr.mock.ctrl.T.Helper() 436 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteByte", reflect.TypeOf((*MockTProtocol)(nil).WriteByte), arg0, arg1) 437} 438 439// WriteDouble mocks base method. 440func (m *MockTProtocol) WriteDouble(arg0 context.Context, arg1 float64) error { 441 m.ctrl.T.Helper() 442 ret := m.ctrl.Call(m, "WriteDouble", arg0, arg1) 443 ret0, _ := ret[0].(error) 444 return ret0 445} 446 447// WriteDouble indicates an expected call of WriteDouble. 448func (mr *MockTProtocolMockRecorder) WriteDouble(arg0, arg1 interface{}) *gomock.Call { 449 mr.mock.ctrl.T.Helper() 450 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteDouble", reflect.TypeOf((*MockTProtocol)(nil).WriteDouble), arg0, arg1) 451} 452 453// WriteFieldBegin mocks base method. 454func (m *MockTProtocol) WriteFieldBegin(arg0 context.Context, arg1 string, arg2 thrift.TType, arg3 int16) error { 455 m.ctrl.T.Helper() 456 ret := m.ctrl.Call(m, "WriteFieldBegin", arg0, arg1, arg2, arg3) 457 ret0, _ := ret[0].(error) 458 return ret0 459} 460 461// WriteFieldBegin indicates an expected call of WriteFieldBegin. 462func (mr *MockTProtocolMockRecorder) WriteFieldBegin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { 463 mr.mock.ctrl.T.Helper() 464 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteFieldBegin", reflect.TypeOf((*MockTProtocol)(nil).WriteFieldBegin), arg0, arg1, arg2, arg3) 465} 466 467// WriteFieldEnd mocks base method. 468func (m *MockTProtocol) WriteFieldEnd(arg0 context.Context) error { 469 m.ctrl.T.Helper() 470 ret := m.ctrl.Call(m, "WriteFieldEnd", arg0) 471 ret0, _ := ret[0].(error) 472 return ret0 473} 474 475// WriteFieldEnd indicates an expected call of WriteFieldEnd. 476func (mr *MockTProtocolMockRecorder) WriteFieldEnd(arg0 interface{}) *gomock.Call { 477 mr.mock.ctrl.T.Helper() 478 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteFieldEnd", reflect.TypeOf((*MockTProtocol)(nil).WriteFieldEnd), arg0) 479} 480 481// WriteFieldStop mocks base method. 482func (m *MockTProtocol) WriteFieldStop(arg0 context.Context) error { 483 m.ctrl.T.Helper() 484 ret := m.ctrl.Call(m, "WriteFieldStop", arg0) 485 ret0, _ := ret[0].(error) 486 return ret0 487} 488 489// WriteFieldStop indicates an expected call of WriteFieldStop. 490func (mr *MockTProtocolMockRecorder) WriteFieldStop(arg0 interface{}) *gomock.Call { 491 mr.mock.ctrl.T.Helper() 492 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteFieldStop", reflect.TypeOf((*MockTProtocol)(nil).WriteFieldStop), arg0) 493} 494 495// WriteI16 mocks base method. 496func (m *MockTProtocol) WriteI16(arg0 context.Context, arg1 int16) error { 497 m.ctrl.T.Helper() 498 ret := m.ctrl.Call(m, "WriteI16", arg0, arg1) 499 ret0, _ := ret[0].(error) 500 return ret0 501} 502 503// WriteI16 indicates an expected call of WriteI16. 504func (mr *MockTProtocolMockRecorder) WriteI16(arg0, arg1 interface{}) *gomock.Call { 505 mr.mock.ctrl.T.Helper() 506 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteI16", reflect.TypeOf((*MockTProtocol)(nil).WriteI16), arg0, arg1) 507} 508 509// WriteI32 mocks base method. 510func (m *MockTProtocol) WriteI32(arg0 context.Context, arg1 int32) error { 511 m.ctrl.T.Helper() 512 ret := m.ctrl.Call(m, "WriteI32", arg0, arg1) 513 ret0, _ := ret[0].(error) 514 return ret0 515} 516 517// WriteI32 indicates an expected call of WriteI32. 518func (mr *MockTProtocolMockRecorder) WriteI32(arg0, arg1 interface{}) *gomock.Call { 519 mr.mock.ctrl.T.Helper() 520 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteI32", reflect.TypeOf((*MockTProtocol)(nil).WriteI32), arg0, arg1) 521} 522 523// WriteI64 mocks base method. 524func (m *MockTProtocol) WriteI64(arg0 context.Context, arg1 int64) error { 525 m.ctrl.T.Helper() 526 ret := m.ctrl.Call(m, "WriteI64", arg0, arg1) 527 ret0, _ := ret[0].(error) 528 return ret0 529} 530 531// WriteI64 indicates an expected call of WriteI64. 532func (mr *MockTProtocolMockRecorder) WriteI64(arg0, arg1 interface{}) *gomock.Call { 533 mr.mock.ctrl.T.Helper() 534 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteI64", reflect.TypeOf((*MockTProtocol)(nil).WriteI64), arg0, arg1) 535} 536 537// WriteListBegin mocks base method. 538func (m *MockTProtocol) WriteListBegin(arg0 context.Context, arg1 thrift.TType, arg2 int) error { 539 m.ctrl.T.Helper() 540 ret := m.ctrl.Call(m, "WriteListBegin", arg0, arg1, arg2) 541 ret0, _ := ret[0].(error) 542 return ret0 543} 544 545// WriteListBegin indicates an expected call of WriteListBegin. 546func (mr *MockTProtocolMockRecorder) WriteListBegin(arg0, arg1, arg2 interface{}) *gomock.Call { 547 mr.mock.ctrl.T.Helper() 548 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteListBegin", reflect.TypeOf((*MockTProtocol)(nil).WriteListBegin), arg0, arg1, arg2) 549} 550 551// WriteListEnd mocks base method. 552func (m *MockTProtocol) WriteListEnd(arg0 context.Context) error { 553 m.ctrl.T.Helper() 554 ret := m.ctrl.Call(m, "WriteListEnd", arg0) 555 ret0, _ := ret[0].(error) 556 return ret0 557} 558 559// WriteListEnd indicates an expected call of WriteListEnd. 560func (mr *MockTProtocolMockRecorder) WriteListEnd(arg0 interface{}) *gomock.Call { 561 mr.mock.ctrl.T.Helper() 562 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteListEnd", reflect.TypeOf((*MockTProtocol)(nil).WriteListEnd), arg0) 563} 564 565// WriteMapBegin mocks base method. 566func (m *MockTProtocol) WriteMapBegin(arg0 context.Context, arg1, arg2 thrift.TType, arg3 int) error { 567 m.ctrl.T.Helper() 568 ret := m.ctrl.Call(m, "WriteMapBegin", arg0, arg1, arg2, arg3) 569 ret0, _ := ret[0].(error) 570 return ret0 571} 572 573// WriteMapBegin indicates an expected call of WriteMapBegin. 574func (mr *MockTProtocolMockRecorder) WriteMapBegin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { 575 mr.mock.ctrl.T.Helper() 576 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteMapBegin", reflect.TypeOf((*MockTProtocol)(nil).WriteMapBegin), arg0, arg1, arg2, arg3) 577} 578 579// WriteMapEnd mocks base method. 580func (m *MockTProtocol) WriteMapEnd(arg0 context.Context) error { 581 m.ctrl.T.Helper() 582 ret := m.ctrl.Call(m, "WriteMapEnd", arg0) 583 ret0, _ := ret[0].(error) 584 return ret0 585} 586 587// WriteMapEnd indicates an expected call of WriteMapEnd. 588func (mr *MockTProtocolMockRecorder) WriteMapEnd(arg0 interface{}) *gomock.Call { 589 mr.mock.ctrl.T.Helper() 590 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteMapEnd", reflect.TypeOf((*MockTProtocol)(nil).WriteMapEnd), arg0) 591} 592 593// WriteMessageBegin mocks base method. 594func (m *MockTProtocol) WriteMessageBegin(arg0 context.Context, arg1 string, arg2 thrift.TMessageType, arg3 int32) error { 595 m.ctrl.T.Helper() 596 ret := m.ctrl.Call(m, "WriteMessageBegin", arg0, arg1, arg2, arg3) 597 ret0, _ := ret[0].(error) 598 return ret0 599} 600 601// WriteMessageBegin indicates an expected call of WriteMessageBegin. 602func (mr *MockTProtocolMockRecorder) WriteMessageBegin(arg0, arg1, arg2, arg3 interface{}) *gomock.Call { 603 mr.mock.ctrl.T.Helper() 604 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteMessageBegin", reflect.TypeOf((*MockTProtocol)(nil).WriteMessageBegin), arg0, arg1, arg2, arg3) 605} 606 607// WriteMessageEnd mocks base method. 608func (m *MockTProtocol) WriteMessageEnd(arg0 context.Context) error { 609 m.ctrl.T.Helper() 610 ret := m.ctrl.Call(m, "WriteMessageEnd", arg0) 611 ret0, _ := ret[0].(error) 612 return ret0 613} 614 615// WriteMessageEnd indicates an expected call of WriteMessageEnd. 616func (mr *MockTProtocolMockRecorder) WriteMessageEnd(arg0 interface{}) *gomock.Call { 617 mr.mock.ctrl.T.Helper() 618 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteMessageEnd", reflect.TypeOf((*MockTProtocol)(nil).WriteMessageEnd), arg0) 619} 620 621// WriteSetBegin mocks base method. 622func (m *MockTProtocol) WriteSetBegin(arg0 context.Context, arg1 thrift.TType, arg2 int) error { 623 m.ctrl.T.Helper() 624 ret := m.ctrl.Call(m, "WriteSetBegin", arg0, arg1, arg2) 625 ret0, _ := ret[0].(error) 626 return ret0 627} 628 629// WriteSetBegin indicates an expected call of WriteSetBegin. 630func (mr *MockTProtocolMockRecorder) WriteSetBegin(arg0, arg1, arg2 interface{}) *gomock.Call { 631 mr.mock.ctrl.T.Helper() 632 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteSetBegin", reflect.TypeOf((*MockTProtocol)(nil).WriteSetBegin), arg0, arg1, arg2) 633} 634 635// WriteSetEnd mocks base method. 636func (m *MockTProtocol) WriteSetEnd(arg0 context.Context) error { 637 m.ctrl.T.Helper() 638 ret := m.ctrl.Call(m, "WriteSetEnd", arg0) 639 ret0, _ := ret[0].(error) 640 return ret0 641} 642 643// WriteSetEnd indicates an expected call of WriteSetEnd. 644func (mr *MockTProtocolMockRecorder) WriteSetEnd(arg0 interface{}) *gomock.Call { 645 mr.mock.ctrl.T.Helper() 646 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteSetEnd", reflect.TypeOf((*MockTProtocol)(nil).WriteSetEnd), arg0) 647} 648 649// WriteString mocks base method. 650func (m *MockTProtocol) WriteString(arg0 context.Context, arg1 string) error { 651 m.ctrl.T.Helper() 652 ret := m.ctrl.Call(m, "WriteString", arg0, arg1) 653 ret0, _ := ret[0].(error) 654 return ret0 655} 656 657// WriteString indicates an expected call of WriteString. 658func (mr *MockTProtocolMockRecorder) WriteString(arg0, arg1 interface{}) *gomock.Call { 659 mr.mock.ctrl.T.Helper() 660 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteString", reflect.TypeOf((*MockTProtocol)(nil).WriteString), arg0, arg1) 661} 662 663// WriteStructBegin mocks base method. 664func (m *MockTProtocol) WriteStructBegin(arg0 context.Context, arg1 string) error { 665 m.ctrl.T.Helper() 666 ret := m.ctrl.Call(m, "WriteStructBegin", arg0, arg1) 667 ret0, _ := ret[0].(error) 668 return ret0 669} 670 671// WriteStructBegin indicates an expected call of WriteStructBegin. 672func (mr *MockTProtocolMockRecorder) WriteStructBegin(arg0, arg1 interface{}) *gomock.Call { 673 mr.mock.ctrl.T.Helper() 674 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteStructBegin", reflect.TypeOf((*MockTProtocol)(nil).WriteStructBegin), arg0, arg1) 675} 676 677// WriteStructEnd mocks base method. 678func (m *MockTProtocol) WriteStructEnd(arg0 context.Context) error { 679 m.ctrl.T.Helper() 680 ret := m.ctrl.Call(m, "WriteStructEnd", arg0) 681 ret0, _ := ret[0].(error) 682 return ret0 683} 684 685// WriteStructEnd indicates an expected call of WriteStructEnd. 686func (mr *MockTProtocolMockRecorder) WriteStructEnd(arg0 interface{}) *gomock.Call { 687 mr.mock.ctrl.T.Helper() 688 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteStructEnd", reflect.TypeOf((*MockTProtocol)(nil).WriteStructEnd), arg0) 689} 690 691// WriteUUID mocks base method. 692func (m *MockTProtocol) WriteUUID(arg0 context.Context, arg1 thrift.Tuuid) error { 693 m.ctrl.T.Helper() 694 ret := m.ctrl.Call(m, "WriteUUID", arg0, arg1) 695 ret0, _ := ret[0].(error) 696 return ret0 697} 698 699// WriteUUID indicates an expected call of WriteUUID. 700func (mr *MockTProtocolMockRecorder) WriteUUID(arg0, arg1 interface{}) *gomock.Call { 701 mr.mock.ctrl.T.Helper() 702 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "WriteUUID", reflect.TypeOf((*MockTProtocol)(nil).WriteUUID), arg0, arg1) 703} 704