blob: 793e4e1c0fd9be9a48a08aede5af959dfb15db93 [file] [log] [blame]
Jens Geyer731975a2014-05-02 00:24:24 +02001/*
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
23package tests
24
25import (
John Boiles57852792018-01-05 14:37:05 -080026 "context"
Jens Geyer731975a2014-05-02 00:24:24 +020027 thrift "thrift"
D. Can Celasun4f77ab82017-09-21 15:21:00 +020028
Jens Geyer56a03be2015-06-17 22:21:27 +020029 gomock "github.com/golang/mock/gomock"
Jens Geyer731975a2014-05-02 00:24:24 +020030)
31
32// Mock of TProtocol interface
33type MockTProtocol struct {
34 ctrl *gomock.Controller
35 recorder *_MockTProtocolRecorder
36}
37
38// Recorder for MockTProtocol (not exported)
39type _MockTProtocolRecorder struct {
40 mock *MockTProtocol
41}
42
43func NewMockTProtocol(ctrl *gomock.Controller) *MockTProtocol {
44 mock := &MockTProtocol{ctrl: ctrl}
45 mock.recorder = &_MockTProtocolRecorder{mock}
46 return mock
47}
48
49func (_m *MockTProtocol) EXPECT() *_MockTProtocolRecorder {
50 return _m.recorder
51}
52
John Boiles57852792018-01-05 14:37:05 -080053func (_m *MockTProtocol) Flush(ctx context.Context) error {
Jens Geyer731975a2014-05-02 00:24:24 +020054 ret := _m.ctrl.Call(_m, "Flush")
55 ret0, _ := ret[0].(error)
56 return ret0
57}
58
John Boiles57852792018-01-05 14:37:05 -080059func (_mr *_MockTProtocolRecorder) Flush(ctx context.Context) *gomock.Call {
Jens Geyer731975a2014-05-02 00:24:24 +020060 return _mr.mock.ctrl.RecordCall(_mr.mock, "Flush")
61}
62
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -070063func (_m *MockTProtocol) ReadBinary(ctx context.Context) ([]byte, error) {
64 ret := _m.ctrl.Call(_m, "ReadBinary", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +020065 ret0, _ := ret[0].([]byte)
66 ret1, _ := ret[1].(error)
67 return ret0, ret1
68}
69
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -070070func (_mr *_MockTProtocolRecorder) ReadBinary(ctx context.Context) *gomock.Call {
71 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadBinary", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +020072}
73
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -070074func (_m *MockTProtocol) ReadBool(ctx context.Context) (bool, error) {
75 ret := _m.ctrl.Call(_m, "ReadBool", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +020076 ret0, _ := ret[0].(bool)
77 ret1, _ := ret[1].(error)
78 return ret0, ret1
79}
80
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -070081func (_mr *_MockTProtocolRecorder) ReadBool(ctx context.Context) *gomock.Call {
82 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadBool", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +020083}
84
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -070085func (_m *MockTProtocol) ReadByte(ctx context.Context) (int8, error) {
86 ret := _m.ctrl.Call(_m, "ReadByte", ctx)
Jens Geyer5bc8b5a2015-09-05 12:50:24 +020087 ret0, _ := ret[0].(int8)
Jens Geyer731975a2014-05-02 00:24:24 +020088 ret1, _ := ret[1].(error)
89 return ret0, ret1
90}
91
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -070092func (_mr *_MockTProtocolRecorder) ReadByte(ctx context.Context) *gomock.Call {
93 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadByte", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +020094}
95
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -070096func (_m *MockTProtocol) ReadDouble(ctx context.Context) (float64, error) {
97 ret := _m.ctrl.Call(_m, "ReadDouble", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +020098 ret0, _ := ret[0].(float64)
99 ret1, _ := ret[1].(error)
100 return ret0, ret1
101}
102
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700103func (_mr *_MockTProtocolRecorder) ReadDouble(ctx context.Context) *gomock.Call {
104 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadDouble", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200105}
106
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700107func (_m *MockTProtocol) ReadFieldBegin(ctx context.Context) (string, thrift.TType, int16, error) {
108 ret := _m.ctrl.Call(_m, "ReadFieldBegin", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200109 ret0, _ := ret[0].(string)
110 ret1, _ := ret[1].(thrift.TType)
111 ret2, _ := ret[2].(int16)
112 ret3, _ := ret[3].(error)
113 return ret0, ret1, ret2, ret3
114}
115
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700116func (_mr *_MockTProtocolRecorder) ReadFieldBegin(ctx context.Context) *gomock.Call {
117 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadFieldBegin", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200118}
119
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700120func (_m *MockTProtocol) ReadFieldEnd(ctx context.Context) error {
121 ret := _m.ctrl.Call(_m, "ReadFieldEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200122 ret0, _ := ret[0].(error)
123 return ret0
124}
125
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700126func (_mr *_MockTProtocolRecorder) ReadFieldEnd(ctx context.Context) *gomock.Call {
127 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadFieldEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200128}
129
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700130func (_m *MockTProtocol) ReadI16(ctx context.Context) (int16, error) {
131 ret := _m.ctrl.Call(_m, "ReadI16", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200132 ret0, _ := ret[0].(int16)
133 ret1, _ := ret[1].(error)
134 return ret0, ret1
135}
136
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700137func (_mr *_MockTProtocolRecorder) ReadI16(ctx context.Context) *gomock.Call {
138 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadI16", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200139}
140
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700141func (_m *MockTProtocol) ReadI32(ctx context.Context) (int32, error) {
142 ret := _m.ctrl.Call(_m, "ReadI32", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200143 ret0, _ := ret[0].(int32)
144 ret1, _ := ret[1].(error)
145 return ret0, ret1
146}
147
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700148func (_mr *_MockTProtocolRecorder) ReadI32(ctx context.Context) *gomock.Call {
149 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadI32", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200150}
151
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700152func (_m *MockTProtocol) ReadI64(ctx context.Context) (int64, error) {
153 ret := _m.ctrl.Call(_m, "ReadI64", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200154 ret0, _ := ret[0].(int64)
155 ret1, _ := ret[1].(error)
156 return ret0, ret1
157}
158
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700159func (_mr *_MockTProtocolRecorder) ReadI64(ctx context.Context) *gomock.Call {
160 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadI64", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200161}
162
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700163func (_m *MockTProtocol) ReadListBegin(ctx context.Context) (thrift.TType, int, error) {
164 ret := _m.ctrl.Call(_m, "ReadListBegin", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200165 ret0, _ := ret[0].(thrift.TType)
166 ret1, _ := ret[1].(int)
167 ret2, _ := ret[2].(error)
168 return ret0, ret1, ret2
169}
170
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700171func (_mr *_MockTProtocolRecorder) ReadListBegin(ctx context.Context) *gomock.Call {
172 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadListBegin", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200173}
174
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700175func (_m *MockTProtocol) ReadListEnd(ctx context.Context) error {
176 ret := _m.ctrl.Call(_m, "ReadListEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200177 ret0, _ := ret[0].(error)
178 return ret0
179}
180
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700181func (_mr *_MockTProtocolRecorder) ReadListEnd(ctx context.Context) *gomock.Call {
182 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadListEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200183}
184
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700185func (_m *MockTProtocol) ReadMapBegin(ctx context.Context) (thrift.TType, thrift.TType, int, error) {
186 ret := _m.ctrl.Call(_m, "ReadMapBegin", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200187 ret0, _ := ret[0].(thrift.TType)
188 ret1, _ := ret[1].(thrift.TType)
189 ret2, _ := ret[2].(int)
190 ret3, _ := ret[3].(error)
191 return ret0, ret1, ret2, ret3
192}
193
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700194func (_mr *_MockTProtocolRecorder) ReadMapBegin(ctx context.Context) *gomock.Call {
195 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadMapBegin", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200196}
197
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700198func (_m *MockTProtocol) ReadMapEnd(ctx context.Context) error {
199 ret := _m.ctrl.Call(_m, "ReadMapEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200200 ret0, _ := ret[0].(error)
201 return ret0
202}
203
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700204func (_mr *_MockTProtocolRecorder) ReadMapEnd(ctx context.Context) *gomock.Call {
205 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadMapEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200206}
207
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700208func (_m *MockTProtocol) ReadMessageBegin(ctx context.Context) (string, thrift.TMessageType, int32, error) {
209 ret := _m.ctrl.Call(_m, "ReadMessageBegin", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200210 ret0, _ := ret[0].(string)
211 ret1, _ := ret[1].(thrift.TMessageType)
212 ret2, _ := ret[2].(int32)
213 ret3, _ := ret[3].(error)
214 return ret0, ret1, ret2, ret3
215}
216
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700217func (_mr *_MockTProtocolRecorder) ReadMessageBegin(ctx context.Context) *gomock.Call {
218 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadMessageBegin", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200219}
220
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700221func (_m *MockTProtocol) ReadMessageEnd(ctx context.Context) error {
222 ret := _m.ctrl.Call(_m, "ReadMessageEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200223 ret0, _ := ret[0].(error)
224 return ret0
225}
226
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700227func (_mr *_MockTProtocolRecorder) ReadMessageEnd(ctx context.Context) *gomock.Call {
228 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadMessageEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200229}
230
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700231func (_m *MockTProtocol) ReadSetBegin(ctx context.Context) (thrift.TType, int, error) {
232 ret := _m.ctrl.Call(_m, "ReadSetBegin", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200233 ret0, _ := ret[0].(thrift.TType)
234 ret1, _ := ret[1].(int)
235 ret2, _ := ret[2].(error)
236 return ret0, ret1, ret2
237}
238
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700239func (_mr *_MockTProtocolRecorder) ReadSetBegin(ctx context.Context) *gomock.Call {
240 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadSetBegin", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200241}
242
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700243func (_m *MockTProtocol) ReadSetEnd(ctx context.Context) error {
244 ret := _m.ctrl.Call(_m, "ReadSetEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200245 ret0, _ := ret[0].(error)
246 return ret0
247}
248
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700249func (_mr *_MockTProtocolRecorder) ReadSetEnd(ctx context.Context) *gomock.Call {
250 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadSetEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200251}
252
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700253func (_m *MockTProtocol) ReadString(ctx context.Context) (string, error) {
254 ret := _m.ctrl.Call(_m, "ReadString", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200255 ret0, _ := ret[0].(string)
256 ret1, _ := ret[1].(error)
257 return ret0, ret1
258}
259
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700260func (_mr *_MockTProtocolRecorder) ReadString(ctx context.Context) *gomock.Call {
261 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadString", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200262}
263
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700264func (_m *MockTProtocol) ReadStructBegin(ctx context.Context) (string, error) {
265 ret := _m.ctrl.Call(_m, "ReadStructBegin", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200266 ret0, _ := ret[0].(string)
267 ret1, _ := ret[1].(error)
268 return ret0, ret1
269}
270
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700271func (_mr *_MockTProtocolRecorder) ReadStructBegin(ctx context.Context) *gomock.Call {
272 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadStructBegin", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200273}
274
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700275func (_m *MockTProtocol) ReadStructEnd(ctx context.Context) error {
276 ret := _m.ctrl.Call(_m, "ReadStructEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200277 ret0, _ := ret[0].(error)
278 return ret0
279}
280
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700281func (_mr *_MockTProtocolRecorder) ReadStructEnd(ctx context.Context) *gomock.Call {
282 return _mr.mock.ctrl.RecordCall(_mr.mock, "ReadStructEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200283}
284
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700285func (_m *MockTProtocol) Skip(ctx context.Context, _param0 thrift.TType) error {
286 ret := _m.ctrl.Call(_m, "Skip", ctx, _param0)
Jens Geyer731975a2014-05-02 00:24:24 +0200287 ret0, _ := ret[0].(error)
288 return ret0
289}
290
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700291func (_mr *_MockTProtocolRecorder) Skip(ctx context.Context, arg0 interface{}) *gomock.Call {
292 return _mr.mock.ctrl.RecordCall(_mr.mock, "Skip", ctx, arg0)
Jens Geyer731975a2014-05-02 00:24:24 +0200293}
294
295func (_m *MockTProtocol) Transport() thrift.TTransport {
296 ret := _m.ctrl.Call(_m, "Transport")
297 ret0, _ := ret[0].(thrift.TTransport)
298 return ret0
299}
300
301func (_mr *_MockTProtocolRecorder) Transport() *gomock.Call {
302 return _mr.mock.ctrl.RecordCall(_mr.mock, "Transport")
303}
304
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700305func (_m *MockTProtocol) WriteBinary(ctx context.Context, _param0 []byte) error {
306 ret := _m.ctrl.Call(_m, "WriteBinary", ctx, _param0)
Jens Geyer731975a2014-05-02 00:24:24 +0200307 ret0, _ := ret[0].(error)
308 return ret0
309}
310
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700311func (_mr *_MockTProtocolRecorder) WriteBinary(ctx context.Context, arg0 interface{}) *gomock.Call {
312 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteBinary", ctx, arg0)
Jens Geyer731975a2014-05-02 00:24:24 +0200313}
314
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700315func (_m *MockTProtocol) WriteBool(ctx context.Context, _param0 bool) error {
316 ret := _m.ctrl.Call(_m, "WriteBool", ctx, _param0)
Jens Geyer731975a2014-05-02 00:24:24 +0200317 ret0, _ := ret[0].(error)
318 return ret0
319}
320
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700321func (_mr *_MockTProtocolRecorder) WriteBool(ctx context.Context, arg0 interface{}) *gomock.Call {
322 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteBool", ctx, arg0)
Jens Geyer731975a2014-05-02 00:24:24 +0200323}
324
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700325func (_m *MockTProtocol) WriteByte(ctx context.Context, _param0 int8) error {
326 ret := _m.ctrl.Call(_m, "WriteByte", ctx, _param0)
Jens Geyer731975a2014-05-02 00:24:24 +0200327 ret0, _ := ret[0].(error)
328 return ret0
329}
330
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700331func (_mr *_MockTProtocolRecorder) WriteByte(ctx context.Context, arg0 interface{}) *gomock.Call {
332 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteByte", ctx, arg0)
Jens Geyer731975a2014-05-02 00:24:24 +0200333}
334
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700335func (_m *MockTProtocol) WriteDouble(ctx context.Context, _param0 float64) error {
336 ret := _m.ctrl.Call(_m, "WriteDouble", ctx, _param0)
Jens Geyer731975a2014-05-02 00:24:24 +0200337 ret0, _ := ret[0].(error)
338 return ret0
339}
340
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700341func (_mr *_MockTProtocolRecorder) WriteDouble(ctx context.Context, arg0 interface{}) *gomock.Call {
342 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteDouble", ctx, arg0)
Jens Geyer731975a2014-05-02 00:24:24 +0200343}
344
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700345func (_m *MockTProtocol) WriteFieldBegin(ctx context.Context, _param0 string, _param1 thrift.TType, _param2 int16) error {
346 ret := _m.ctrl.Call(_m, "WriteFieldBegin", ctx, _param0, _param1, _param2)
Jens Geyer731975a2014-05-02 00:24:24 +0200347 ret0, _ := ret[0].(error)
348 return ret0
349}
350
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700351func (_mr *_MockTProtocolRecorder) WriteFieldBegin(ctx context.Context, arg0, arg1, arg2 interface{}) *gomock.Call {
352 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteFieldBegin", ctx, arg0, arg1, arg2)
Jens Geyer731975a2014-05-02 00:24:24 +0200353}
354
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700355func (_m *MockTProtocol) WriteFieldEnd(ctx context.Context) error {
356 ret := _m.ctrl.Call(_m, "WriteFieldEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200357 ret0, _ := ret[0].(error)
358 return ret0
359}
360
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700361func (_mr *_MockTProtocolRecorder) WriteFieldEnd(ctx context.Context) *gomock.Call {
362 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteFieldEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200363}
364
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700365func (_m *MockTProtocol) WriteFieldStop(ctx context.Context) error {
366 ret := _m.ctrl.Call(_m, "WriteFieldStop", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200367 ret0, _ := ret[0].(error)
368 return ret0
369}
370
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700371func (_mr *_MockTProtocolRecorder) WriteFieldStop(ctx context.Context) *gomock.Call {
372 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteFieldStop", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200373}
374
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700375func (_m *MockTProtocol) WriteI16(ctx context.Context, _param0 int16) error {
376 ret := _m.ctrl.Call(_m, "WriteI16", ctx, _param0)
Jens Geyer731975a2014-05-02 00:24:24 +0200377 ret0, _ := ret[0].(error)
378 return ret0
379}
380
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700381func (_mr *_MockTProtocolRecorder) WriteI16(ctx context.Context, arg0 interface{}) *gomock.Call {
382 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteI16", ctx, arg0)
Jens Geyer731975a2014-05-02 00:24:24 +0200383}
384
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700385func (_m *MockTProtocol) WriteI32(ctx context.Context, _param0 int32) error {
386 ret := _m.ctrl.Call(_m, "WriteI32", ctx, _param0)
Jens Geyer731975a2014-05-02 00:24:24 +0200387 ret0, _ := ret[0].(error)
388 return ret0
389}
390
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700391func (_mr *_MockTProtocolRecorder) WriteI32(ctx context.Context, arg0 interface{}) *gomock.Call {
392 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteI32", ctx, arg0)
Jens Geyer731975a2014-05-02 00:24:24 +0200393}
394
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700395func (_m *MockTProtocol) WriteI64(ctx context.Context, _param0 int64) error {
396 ret := _m.ctrl.Call(_m, "WriteI64", ctx, _param0)
Jens Geyer731975a2014-05-02 00:24:24 +0200397 ret0, _ := ret[0].(error)
398 return ret0
399}
400
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700401func (_mr *_MockTProtocolRecorder) WriteI64(ctx context.Context, arg0 interface{}) *gomock.Call {
402 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteI64", ctx, arg0)
Jens Geyer731975a2014-05-02 00:24:24 +0200403}
404
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700405func (_m *MockTProtocol) WriteListBegin(ctx context.Context, _param0 thrift.TType, _param1 int) error {
406 ret := _m.ctrl.Call(_m, "WriteListBegin", ctx, _param0, _param1)
Jens Geyer731975a2014-05-02 00:24:24 +0200407 ret0, _ := ret[0].(error)
408 return ret0
409}
410
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700411func (_mr *_MockTProtocolRecorder) WriteListBegin(ctx context.Context, arg0, arg1 interface{}) *gomock.Call {
412 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteListBegin", ctx, arg0, arg1)
Jens Geyer731975a2014-05-02 00:24:24 +0200413}
414
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700415func (_m *MockTProtocol) WriteListEnd(ctx context.Context) error {
416 ret := _m.ctrl.Call(_m, "WriteListEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200417 ret0, _ := ret[0].(error)
418 return ret0
419}
420
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700421func (_mr *_MockTProtocolRecorder) WriteListEnd(ctx context.Context) *gomock.Call {
422 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteListEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200423}
424
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700425func (_m *MockTProtocol) WriteMapBegin(ctx context.Context, _param0 thrift.TType, _param1 thrift.TType, _param2 int) error {
426 ret := _m.ctrl.Call(_m, "WriteMapBegin", ctx, _param0, _param1, _param2)
Jens Geyer731975a2014-05-02 00:24:24 +0200427 ret0, _ := ret[0].(error)
428 return ret0
429}
430
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700431func (_mr *_MockTProtocolRecorder) WriteMapBegin(ctx context.Context, arg0, arg1, arg2 interface{}) *gomock.Call {
432 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteMapBegin", ctx, arg0, arg1, arg2)
Jens Geyer731975a2014-05-02 00:24:24 +0200433}
434
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700435func (_m *MockTProtocol) WriteMapEnd(ctx context.Context) error {
436 ret := _m.ctrl.Call(_m, "WriteMapEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200437 ret0, _ := ret[0].(error)
438 return ret0
439}
440
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700441func (_mr *_MockTProtocolRecorder) WriteMapEnd(ctx context.Context) *gomock.Call {
442 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteMapEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200443}
444
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700445func (_m *MockTProtocol) WriteMessageBegin(ctx context.Context, _param0 string, _param1 thrift.TMessageType, _param2 int32) error {
446 ret := _m.ctrl.Call(_m, "WriteMessageBegin", ctx, _param0, _param1, _param2)
Jens Geyer731975a2014-05-02 00:24:24 +0200447 ret0, _ := ret[0].(error)
448 return ret0
449}
450
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700451func (_mr *_MockTProtocolRecorder) WriteMessageBegin(ctx context.Context, arg0, arg1, arg2 interface{}) *gomock.Call {
452 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteMessageBegin", ctx, arg0, arg1, arg2)
Jens Geyer731975a2014-05-02 00:24:24 +0200453}
454
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700455func (_m *MockTProtocol) WriteMessageEnd(ctx context.Context) error {
456 ret := _m.ctrl.Call(_m, "WriteMessageEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200457 ret0, _ := ret[0].(error)
458 return ret0
459}
460
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700461func (_mr *_MockTProtocolRecorder) WriteMessageEnd(ctx context.Context) *gomock.Call {
462 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteMessageEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200463}
464
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700465func (_m *MockTProtocol) WriteSetBegin(ctx context.Context, _param0 thrift.TType, _param1 int) error {
466 ret := _m.ctrl.Call(_m, "WriteSetBegin", ctx, _param0, _param1)
Jens Geyer731975a2014-05-02 00:24:24 +0200467 ret0, _ := ret[0].(error)
468 return ret0
469}
470
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700471func (_mr *_MockTProtocolRecorder) WriteSetBegin(ctx context.Context, arg0, arg1 interface{}) *gomock.Call {
472 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteSetBegin", ctx, arg0, arg1)
Jens Geyer731975a2014-05-02 00:24:24 +0200473}
474
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700475func (_m *MockTProtocol) WriteSetEnd(ctx context.Context) error {
476 ret := _m.ctrl.Call(_m, "WriteSetEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200477 ret0, _ := ret[0].(error)
478 return ret0
479}
480
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700481func (_mr *_MockTProtocolRecorder) WriteSetEnd(ctx context.Context) *gomock.Call {
482 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteSetEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200483}
484
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700485func (_m *MockTProtocol) WriteString(ctx context.Context, _param0 string) error {
486 ret := _m.ctrl.Call(_m, "WriteString", ctx, _param0)
Jens Geyer731975a2014-05-02 00:24:24 +0200487 ret0, _ := ret[0].(error)
488 return ret0
489}
490
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700491func (_mr *_MockTProtocolRecorder) WriteString(ctx context.Context, arg0 interface{}) *gomock.Call {
492 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteString", ctx, arg0)
Jens Geyer731975a2014-05-02 00:24:24 +0200493}
494
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700495func (_m *MockTProtocol) WriteStructBegin(ctx context.Context, _param0 string) error {
496 ret := _m.ctrl.Call(_m, "WriteStructBegin", ctx, _param0)
Jens Geyer731975a2014-05-02 00:24:24 +0200497 ret0, _ := ret[0].(error)
498 return ret0
499}
500
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700501func (_mr *_MockTProtocolRecorder) WriteStructBegin(ctx context.Context, arg0 interface{}) *gomock.Call {
502 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteStructBegin", ctx, arg0)
Jens Geyer731975a2014-05-02 00:24:24 +0200503}
504
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700505func (_m *MockTProtocol) WriteStructEnd(ctx context.Context) error {
506 ret := _m.ctrl.Call(_m, "WriteStructEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200507 ret0, _ := ret[0].(error)
508 return ret0
509}
510
Yuxuan 'fishy' Wange79f7642020-06-12 22:22:35 -0700511func (_mr *_MockTProtocolRecorder) WriteStructEnd(ctx context.Context) *gomock.Call {
512 return _mr.mock.ctrl.RecordCall(_mr.mock, "WriteStructEnd", ctx)
Jens Geyer731975a2014-05-02 00:24:24 +0200513}