blob: 221705f614c8c3beab6adf9de4abe98593a6c66d [file] [log] [blame]
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -07001// Code generated by MockGen. DO NOT EDIT.
2// Source: github.com/apache/thrift/lib/go/thrift (interfaces: TProtocol)
Jens Geyer731975a2014-05-02 00:24:24 +02003
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -07004// Package tests is a generated GoMock package.
Jens Geyer731975a2014-05-02 00:24:24 +02005package tests
6
7import (
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -07008 context "context"
9 reflect "reflect"
D. Can Celasun4f77ab82017-09-21 15:21:00 +020010
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070011 thrift "github.com/apache/thrift/lib/go/thrift"
Jens Geyer56a03be2015-06-17 22:21:27 +020012 gomock "github.com/golang/mock/gomock"
Jens Geyer731975a2014-05-02 00:24:24 +020013)
14
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070015// MockTProtocol is a mock of TProtocol interface.
Jens Geyer731975a2014-05-02 00:24:24 +020016type MockTProtocol struct {
17 ctrl *gomock.Controller
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070018 recorder *MockTProtocolMockRecorder
Jens Geyer731975a2014-05-02 00:24:24 +020019}
20
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070021// MockTProtocolMockRecorder is the mock recorder for MockTProtocol.
22type MockTProtocolMockRecorder struct {
Jens Geyer731975a2014-05-02 00:24:24 +020023 mock *MockTProtocol
24}
25
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070026// NewMockTProtocol creates a new mock instance.
Jens Geyer731975a2014-05-02 00:24:24 +020027func NewMockTProtocol(ctrl *gomock.Controller) *MockTProtocol {
28 mock := &MockTProtocol{ctrl: ctrl}
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070029 mock.recorder = &MockTProtocolMockRecorder{mock}
Jens Geyer731975a2014-05-02 00:24:24 +020030 return mock
31}
32
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070033// EXPECT returns an object that allows the caller to indicate expected use.
34func (m *MockTProtocol) EXPECT() *MockTProtocolMockRecorder {
35 return m.recorder
Jens Geyer731975a2014-05-02 00:24:24 +020036}
37
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070038// 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)
Jens Geyer731975a2014-05-02 00:24:24 +020042 ret0, _ := ret[0].(error)
43 return ret0
44}
45
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070046// 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)
Jens Geyer731975a2014-05-02 00:24:24 +020050}
51
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070052// 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)
Jens Geyer731975a2014-05-02 00:24:24 +020056 ret0, _ := ret[0].([]byte)
57 ret1, _ := ret[1].(error)
58 return ret0, ret1
59}
60
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070061// 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)
Jens Geyer731975a2014-05-02 00:24:24 +020065}
66
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070067// 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)
Jens Geyer731975a2014-05-02 00:24:24 +020071 ret0, _ := ret[0].(bool)
72 ret1, _ := ret[1].(error)
73 return ret0, ret1
74}
75
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070076// 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)
Jens Geyer731975a2014-05-02 00:24:24 +020080}
81
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070082// 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)
Jens Geyer5bc8b5a2015-09-05 12:50:24 +020086 ret0, _ := ret[0].(int8)
Jens Geyer731975a2014-05-02 00:24:24 +020087 ret1, _ := ret[1].(error)
88 return ret0, ret1
89}
90
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070091// 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)
Jens Geyer731975a2014-05-02 00:24:24 +020095}
96
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -070097// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200101 ret0, _ := ret[0].(float64)
102 ret1, _ := ret[1].(error)
103 return ret0, ret1
104}
105
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700106// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200110}
111
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700112// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200116 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
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700123// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200127}
128
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700129// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200133 ret0, _ := ret[0].(error)
134 return ret0
135}
136
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700137// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200141}
142
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700143// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200147 ret0, _ := ret[0].(int16)
148 ret1, _ := ret[1].(error)
149 return ret0, ret1
150}
151
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700152// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200156}
157
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700158// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200162 ret0, _ := ret[0].(int32)
163 ret1, _ := ret[1].(error)
164 return ret0, ret1
165}
166
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700167// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200171}
172
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700173// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200177 ret0, _ := ret[0].(int64)
178 ret1, _ := ret[1].(error)
179 return ret0, ret1
180}
181
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700182// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200186}
187
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700188// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200192 ret0, _ := ret[0].(thrift.TType)
193 ret1, _ := ret[1].(int)
194 ret2, _ := ret[2].(error)
195 return ret0, ret1, ret2
196}
197
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700198// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200202}
203
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700204// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200208 ret0, _ := ret[0].(error)
209 return ret0
210}
211
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700212// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200216}
217
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700218// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200222 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
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700229// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200233}
234
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700235// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200239 ret0, _ := ret[0].(error)
240 return ret0
241}
242
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700243// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200247}
248
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700249// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200253 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
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700260// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200264}
265
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700266// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200270 ret0, _ := ret[0].(error)
271 return ret0
272}
273
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700274// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200278}
279
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700280// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200284 ret0, _ := ret[0].(thrift.TType)
285 ret1, _ := ret[1].(int)
286 ret2, _ := ret[2].(error)
287 return ret0, ret1, ret2
288}
289
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700290// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200294}
295
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700296// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200300 ret0, _ := ret[0].(error)
301 return ret0
302}
303
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700304// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200308}
309
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700310// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200314 ret0, _ := ret[0].(string)
315 ret1, _ := ret[1].(error)
316 return ret0, ret1
317}
318
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700319// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200323}
324
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700325// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200329 ret0, _ := ret[0].(string)
330 ret1, _ := ret[1].(error)
331 return ret0, ret1
332}
333
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700334// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200338}
339
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700340// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200344 ret0, _ := ret[0].(error)
345 return ret0
346}
347
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700348// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200352}
353
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700354// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200373 ret0, _ := ret[0].(error)
374 return ret0
375}
376
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700377// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200381}
382
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700383// Transport mocks base method.
384func (m *MockTProtocol) Transport() thrift.TTransport {
385 m.ctrl.T.Helper()
386 ret := m.ctrl.Call(m, "Transport")
Jens Geyer731975a2014-05-02 00:24:24 +0200387 ret0, _ := ret[0].(thrift.TTransport)
388 return ret0
389}
390
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700391// 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))
Jens Geyer731975a2014-05-02 00:24:24 +0200395}
396
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700397// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200401 ret0, _ := ret[0].(error)
402 return ret0
403}
404
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700405// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200409}
410
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700411// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200415 ret0, _ := ret[0].(error)
416 return ret0
417}
418
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700419// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200423}
424
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700425// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200429 ret0, _ := ret[0].(error)
430 return ret0
431}
432
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700433// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200437}
438
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700439// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200443 ret0, _ := ret[0].(error)
444 return ret0
445}
446
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700447// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200451}
452
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700453// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200457 ret0, _ := ret[0].(error)
458 return ret0
459}
460
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700461// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200465}
466
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700467// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200471 ret0, _ := ret[0].(error)
472 return ret0
473}
474
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700475// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200479}
480
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700481// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200485 ret0, _ := ret[0].(error)
486 return ret0
487}
488
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700489// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200493}
494
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700495// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200499 ret0, _ := ret[0].(error)
500 return ret0
501}
502
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700503// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200507}
508
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700509// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200513 ret0, _ := ret[0].(error)
514 return ret0
515}
516
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700517// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200521}
522
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700523// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200527 ret0, _ := ret[0].(error)
528 return ret0
529}
530
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700531// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200535}
536
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700537// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200541 ret0, _ := ret[0].(error)
542 return ret0
543}
544
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700545// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200549}
550
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700551// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200555 ret0, _ := ret[0].(error)
556 return ret0
557}
558
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700559// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200563}
564
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700565// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200569 ret0, _ := ret[0].(error)
570 return ret0
571}
572
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700573// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200577}
578
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700579// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200583 ret0, _ := ret[0].(error)
584 return ret0
585}
586
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700587// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200591}
592
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700593// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200597 ret0, _ := ret[0].(error)
598 return ret0
599}
600
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700601// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200605}
606
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700607// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200611 ret0, _ := ret[0].(error)
612 return ret0
613}
614
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700615// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200619}
620
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700621// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200625 ret0, _ := ret[0].(error)
626 return ret0
627}
628
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700629// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200633}
634
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700635// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200639 ret0, _ := ret[0].(error)
640 return ret0
641}
642
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700643// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200647}
648
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700649// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200653 ret0, _ := ret[0].(error)
654 return ret0
655}
656
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700657// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200661}
662
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700663// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200667 ret0, _ := ret[0].(error)
668 return ret0
669}
670
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700671// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200675}
676
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700677// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200681 ret0, _ := ret[0].(error)
682 return ret0
683}
684
Yuxuan 'fishy' Wang19c13b42022-10-12 14:13:15 -0700685// 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)
Jens Geyer731975a2014-05-02 00:24:24 +0200703}