Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 1 | // Code generated by MockGen. DO NOT EDIT. |
| 2 | // Source: github.com/apache/thrift/lib/go/thrift (interfaces: TProtocol) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 3 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 4 | // Package tests is a generated GoMock package. |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 5 | package tests |
| 6 | |
| 7 | import ( |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 8 | context "context" |
| 9 | reflect "reflect" |
D. Can Celasun | 4f77ab8 | 2017-09-21 15:21:00 +0200 | [diff] [blame] | 10 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 11 | thrift "github.com/apache/thrift/lib/go/thrift" |
Jens Geyer | 56a03be | 2015-06-17 22:21:27 +0200 | [diff] [blame] | 12 | gomock "github.com/golang/mock/gomock" |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 13 | ) |
| 14 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 15 | // MockTProtocol is a mock of TProtocol interface. |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 16 | type MockTProtocol struct { |
| 17 | ctrl *gomock.Controller |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 18 | recorder *MockTProtocolMockRecorder |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 19 | } |
| 20 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 21 | // MockTProtocolMockRecorder is the mock recorder for MockTProtocol. |
| 22 | type MockTProtocolMockRecorder struct { |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 23 | mock *MockTProtocol |
| 24 | } |
| 25 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 26 | // NewMockTProtocol creates a new mock instance. |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 27 | func NewMockTProtocol(ctrl *gomock.Controller) *MockTProtocol { |
| 28 | mock := &MockTProtocol{ctrl: ctrl} |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 29 | mock.recorder = &MockTProtocolMockRecorder{mock} |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 30 | return mock |
| 31 | } |
| 32 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 33 | // EXPECT returns an object that allows the caller to indicate expected use. |
| 34 | func (m *MockTProtocol) EXPECT() *MockTProtocolMockRecorder { |
| 35 | return m.recorder |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 36 | } |
| 37 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 38 | // Flush mocks base method. |
| 39 | func (m *MockTProtocol) Flush(arg0 context.Context) error { |
| 40 | m.ctrl.T.Helper() |
| 41 | ret := m.ctrl.Call(m, "Flush", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 42 | ret0, _ := ret[0].(error) |
| 43 | return ret0 |
| 44 | } |
| 45 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 46 | // Flush indicates an expected call of Flush. |
| 47 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 50 | } |
| 51 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 52 | // ReadBinary mocks base method. |
| 53 | func (m *MockTProtocol) ReadBinary(arg0 context.Context) ([]byte, error) { |
| 54 | m.ctrl.T.Helper() |
| 55 | ret := m.ctrl.Call(m, "ReadBinary", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 56 | ret0, _ := ret[0].([]byte) |
| 57 | ret1, _ := ret[1].(error) |
| 58 | return ret0, ret1 |
| 59 | } |
| 60 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 61 | // ReadBinary indicates an expected call of ReadBinary. |
| 62 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 65 | } |
| 66 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 67 | // ReadBool mocks base method. |
| 68 | func (m *MockTProtocol) ReadBool(arg0 context.Context) (bool, error) { |
| 69 | m.ctrl.T.Helper() |
| 70 | ret := m.ctrl.Call(m, "ReadBool", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 71 | ret0, _ := ret[0].(bool) |
| 72 | ret1, _ := ret[1].(error) |
| 73 | return ret0, ret1 |
| 74 | } |
| 75 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 76 | // ReadBool indicates an expected call of ReadBool. |
| 77 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 80 | } |
| 81 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 82 | // ReadByte mocks base method. |
| 83 | func (m *MockTProtocol) ReadByte(arg0 context.Context) (int8, error) { |
| 84 | m.ctrl.T.Helper() |
| 85 | ret := m.ctrl.Call(m, "ReadByte", arg0) |
Jens Geyer | 5bc8b5a | 2015-09-05 12:50:24 +0200 | [diff] [blame] | 86 | ret0, _ := ret[0].(int8) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 87 | ret1, _ := ret[1].(error) |
| 88 | return ret0, ret1 |
| 89 | } |
| 90 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 91 | // ReadByte indicates an expected call of ReadByte. |
| 92 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 95 | } |
| 96 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 97 | // ReadDouble mocks base method. |
| 98 | func (m *MockTProtocol) ReadDouble(arg0 context.Context) (float64, error) { |
| 99 | m.ctrl.T.Helper() |
| 100 | ret := m.ctrl.Call(m, "ReadDouble", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 101 | ret0, _ := ret[0].(float64) |
| 102 | ret1, _ := ret[1].(error) |
| 103 | return ret0, ret1 |
| 104 | } |
| 105 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 106 | // ReadDouble indicates an expected call of ReadDouble. |
| 107 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 110 | } |
| 111 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 112 | // ReadFieldBegin mocks base method. |
| 113 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 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 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 123 | // ReadFieldBegin indicates an expected call of ReadFieldBegin. |
| 124 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 127 | } |
| 128 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 129 | // ReadFieldEnd mocks base method. |
| 130 | func (m *MockTProtocol) ReadFieldEnd(arg0 context.Context) error { |
| 131 | m.ctrl.T.Helper() |
| 132 | ret := m.ctrl.Call(m, "ReadFieldEnd", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 133 | ret0, _ := ret[0].(error) |
| 134 | return ret0 |
| 135 | } |
| 136 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 137 | // ReadFieldEnd indicates an expected call of ReadFieldEnd. |
| 138 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 141 | } |
| 142 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 143 | // ReadI16 mocks base method. |
| 144 | func (m *MockTProtocol) ReadI16(arg0 context.Context) (int16, error) { |
| 145 | m.ctrl.T.Helper() |
| 146 | ret := m.ctrl.Call(m, "ReadI16", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 147 | ret0, _ := ret[0].(int16) |
| 148 | ret1, _ := ret[1].(error) |
| 149 | return ret0, ret1 |
| 150 | } |
| 151 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 152 | // ReadI16 indicates an expected call of ReadI16. |
| 153 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 156 | } |
| 157 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 158 | // ReadI32 mocks base method. |
| 159 | func (m *MockTProtocol) ReadI32(arg0 context.Context) (int32, error) { |
| 160 | m.ctrl.T.Helper() |
| 161 | ret := m.ctrl.Call(m, "ReadI32", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 162 | ret0, _ := ret[0].(int32) |
| 163 | ret1, _ := ret[1].(error) |
| 164 | return ret0, ret1 |
| 165 | } |
| 166 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 167 | // ReadI32 indicates an expected call of ReadI32. |
| 168 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 171 | } |
| 172 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 173 | // ReadI64 mocks base method. |
| 174 | func (m *MockTProtocol) ReadI64(arg0 context.Context) (int64, error) { |
| 175 | m.ctrl.T.Helper() |
| 176 | ret := m.ctrl.Call(m, "ReadI64", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 177 | ret0, _ := ret[0].(int64) |
| 178 | ret1, _ := ret[1].(error) |
| 179 | return ret0, ret1 |
| 180 | } |
| 181 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 182 | // ReadI64 indicates an expected call of ReadI64. |
| 183 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 186 | } |
| 187 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 188 | // ReadListBegin mocks base method. |
| 189 | func (m *MockTProtocol) ReadListBegin(arg0 context.Context) (thrift.TType, int, error) { |
| 190 | m.ctrl.T.Helper() |
| 191 | ret := m.ctrl.Call(m, "ReadListBegin", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 192 | ret0, _ := ret[0].(thrift.TType) |
| 193 | ret1, _ := ret[1].(int) |
| 194 | ret2, _ := ret[2].(error) |
| 195 | return ret0, ret1, ret2 |
| 196 | } |
| 197 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 198 | // ReadListBegin indicates an expected call of ReadListBegin. |
| 199 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 202 | } |
| 203 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 204 | // ReadListEnd mocks base method. |
| 205 | func (m *MockTProtocol) ReadListEnd(arg0 context.Context) error { |
| 206 | m.ctrl.T.Helper() |
| 207 | ret := m.ctrl.Call(m, "ReadListEnd", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 208 | ret0, _ := ret[0].(error) |
| 209 | return ret0 |
| 210 | } |
| 211 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 212 | // ReadListEnd indicates an expected call of ReadListEnd. |
| 213 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 216 | } |
| 217 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 218 | // ReadMapBegin mocks base method. |
| 219 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 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 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 229 | // ReadMapBegin indicates an expected call of ReadMapBegin. |
| 230 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 233 | } |
| 234 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 235 | // ReadMapEnd mocks base method. |
| 236 | func (m *MockTProtocol) ReadMapEnd(arg0 context.Context) error { |
| 237 | m.ctrl.T.Helper() |
| 238 | ret := m.ctrl.Call(m, "ReadMapEnd", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 239 | ret0, _ := ret[0].(error) |
| 240 | return ret0 |
| 241 | } |
| 242 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 243 | // ReadMapEnd indicates an expected call of ReadMapEnd. |
| 244 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 247 | } |
| 248 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 249 | // ReadMessageBegin mocks base method. |
| 250 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 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 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 260 | // ReadMessageBegin indicates an expected call of ReadMessageBegin. |
| 261 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 264 | } |
| 265 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 266 | // ReadMessageEnd mocks base method. |
| 267 | func (m *MockTProtocol) ReadMessageEnd(arg0 context.Context) error { |
| 268 | m.ctrl.T.Helper() |
| 269 | ret := m.ctrl.Call(m, "ReadMessageEnd", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 270 | ret0, _ := ret[0].(error) |
| 271 | return ret0 |
| 272 | } |
| 273 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 274 | // ReadMessageEnd indicates an expected call of ReadMessageEnd. |
| 275 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 278 | } |
| 279 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 280 | // ReadSetBegin mocks base method. |
| 281 | func (m *MockTProtocol) ReadSetBegin(arg0 context.Context) (thrift.TType, int, error) { |
| 282 | m.ctrl.T.Helper() |
| 283 | ret := m.ctrl.Call(m, "ReadSetBegin", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 284 | ret0, _ := ret[0].(thrift.TType) |
| 285 | ret1, _ := ret[1].(int) |
| 286 | ret2, _ := ret[2].(error) |
| 287 | return ret0, ret1, ret2 |
| 288 | } |
| 289 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 290 | // ReadSetBegin indicates an expected call of ReadSetBegin. |
| 291 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 294 | } |
| 295 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 296 | // ReadSetEnd mocks base method. |
| 297 | func (m *MockTProtocol) ReadSetEnd(arg0 context.Context) error { |
| 298 | m.ctrl.T.Helper() |
| 299 | ret := m.ctrl.Call(m, "ReadSetEnd", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 300 | ret0, _ := ret[0].(error) |
| 301 | return ret0 |
| 302 | } |
| 303 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 304 | // ReadSetEnd indicates an expected call of ReadSetEnd. |
| 305 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 308 | } |
| 309 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 310 | // ReadString mocks base method. |
| 311 | func (m *MockTProtocol) ReadString(arg0 context.Context) (string, error) { |
| 312 | m.ctrl.T.Helper() |
| 313 | ret := m.ctrl.Call(m, "ReadString", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 314 | ret0, _ := ret[0].(string) |
| 315 | ret1, _ := ret[1].(error) |
| 316 | return ret0, ret1 |
| 317 | } |
| 318 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 319 | // ReadString indicates an expected call of ReadString. |
| 320 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 323 | } |
| 324 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 325 | // ReadStructBegin mocks base method. |
| 326 | func (m *MockTProtocol) ReadStructBegin(arg0 context.Context) (string, error) { |
| 327 | m.ctrl.T.Helper() |
| 328 | ret := m.ctrl.Call(m, "ReadStructBegin", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 329 | ret0, _ := ret[0].(string) |
| 330 | ret1, _ := ret[1].(error) |
| 331 | return ret0, ret1 |
| 332 | } |
| 333 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 334 | // ReadStructBegin indicates an expected call of ReadStructBegin. |
| 335 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 338 | } |
| 339 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 340 | // ReadStructEnd mocks base method. |
| 341 | func (m *MockTProtocol) ReadStructEnd(arg0 context.Context) error { |
| 342 | m.ctrl.T.Helper() |
| 343 | ret := m.ctrl.Call(m, "ReadStructEnd", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 344 | ret0, _ := ret[0].(error) |
| 345 | return ret0 |
| 346 | } |
| 347 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 348 | // ReadStructEnd indicates an expected call of ReadStructEnd. |
| 349 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 352 | } |
| 353 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 354 | // ReadUUID mocks base method. |
| 355 | func (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. |
| 364 | func (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. |
| 370 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 373 | ret0, _ := ret[0].(error) |
| 374 | return ret0 |
| 375 | } |
| 376 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 377 | // Skip indicates an expected call of Skip. |
| 378 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 381 | } |
| 382 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 383 | // Transport mocks base method. |
| 384 | func (m *MockTProtocol) Transport() thrift.TTransport { |
| 385 | m.ctrl.T.Helper() |
| 386 | ret := m.ctrl.Call(m, "Transport") |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 387 | ret0, _ := ret[0].(thrift.TTransport) |
| 388 | return ret0 |
| 389 | } |
| 390 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 391 | // Transport indicates an expected call of Transport. |
| 392 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 395 | } |
| 396 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 397 | // WriteBinary mocks base method. |
| 398 | func (m *MockTProtocol) WriteBinary(arg0 context.Context, arg1 []byte) error { |
| 399 | m.ctrl.T.Helper() |
| 400 | ret := m.ctrl.Call(m, "WriteBinary", arg0, arg1) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 401 | ret0, _ := ret[0].(error) |
| 402 | return ret0 |
| 403 | } |
| 404 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 405 | // WriteBinary indicates an expected call of WriteBinary. |
| 406 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 409 | } |
| 410 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 411 | // WriteBool mocks base method. |
| 412 | func (m *MockTProtocol) WriteBool(arg0 context.Context, arg1 bool) error { |
| 413 | m.ctrl.T.Helper() |
| 414 | ret := m.ctrl.Call(m, "WriteBool", arg0, arg1) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 415 | ret0, _ := ret[0].(error) |
| 416 | return ret0 |
| 417 | } |
| 418 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 419 | // WriteBool indicates an expected call of WriteBool. |
| 420 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 423 | } |
| 424 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 425 | // WriteByte mocks base method. |
| 426 | func (m *MockTProtocol) WriteByte(arg0 context.Context, arg1 int8) error { |
| 427 | m.ctrl.T.Helper() |
| 428 | ret := m.ctrl.Call(m, "WriteByte", arg0, arg1) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 429 | ret0, _ := ret[0].(error) |
| 430 | return ret0 |
| 431 | } |
| 432 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 433 | // WriteByte indicates an expected call of WriteByte. |
| 434 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 437 | } |
| 438 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 439 | // WriteDouble mocks base method. |
| 440 | func (m *MockTProtocol) WriteDouble(arg0 context.Context, arg1 float64) error { |
| 441 | m.ctrl.T.Helper() |
| 442 | ret := m.ctrl.Call(m, "WriteDouble", arg0, arg1) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 443 | ret0, _ := ret[0].(error) |
| 444 | return ret0 |
| 445 | } |
| 446 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 447 | // WriteDouble indicates an expected call of WriteDouble. |
| 448 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 451 | } |
| 452 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 453 | // WriteFieldBegin mocks base method. |
| 454 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 457 | ret0, _ := ret[0].(error) |
| 458 | return ret0 |
| 459 | } |
| 460 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 461 | // WriteFieldBegin indicates an expected call of WriteFieldBegin. |
| 462 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 465 | } |
| 466 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 467 | // WriteFieldEnd mocks base method. |
| 468 | func (m *MockTProtocol) WriteFieldEnd(arg0 context.Context) error { |
| 469 | m.ctrl.T.Helper() |
| 470 | ret := m.ctrl.Call(m, "WriteFieldEnd", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 471 | ret0, _ := ret[0].(error) |
| 472 | return ret0 |
| 473 | } |
| 474 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 475 | // WriteFieldEnd indicates an expected call of WriteFieldEnd. |
| 476 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 479 | } |
| 480 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 481 | // WriteFieldStop mocks base method. |
| 482 | func (m *MockTProtocol) WriteFieldStop(arg0 context.Context) error { |
| 483 | m.ctrl.T.Helper() |
| 484 | ret := m.ctrl.Call(m, "WriteFieldStop", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 485 | ret0, _ := ret[0].(error) |
| 486 | return ret0 |
| 487 | } |
| 488 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 489 | // WriteFieldStop indicates an expected call of WriteFieldStop. |
| 490 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 493 | } |
| 494 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 495 | // WriteI16 mocks base method. |
| 496 | func (m *MockTProtocol) WriteI16(arg0 context.Context, arg1 int16) error { |
| 497 | m.ctrl.T.Helper() |
| 498 | ret := m.ctrl.Call(m, "WriteI16", arg0, arg1) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 499 | ret0, _ := ret[0].(error) |
| 500 | return ret0 |
| 501 | } |
| 502 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 503 | // WriteI16 indicates an expected call of WriteI16. |
| 504 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 507 | } |
| 508 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 509 | // WriteI32 mocks base method. |
| 510 | func (m *MockTProtocol) WriteI32(arg0 context.Context, arg1 int32) error { |
| 511 | m.ctrl.T.Helper() |
| 512 | ret := m.ctrl.Call(m, "WriteI32", arg0, arg1) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 513 | ret0, _ := ret[0].(error) |
| 514 | return ret0 |
| 515 | } |
| 516 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 517 | // WriteI32 indicates an expected call of WriteI32. |
| 518 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 521 | } |
| 522 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 523 | // WriteI64 mocks base method. |
| 524 | func (m *MockTProtocol) WriteI64(arg0 context.Context, arg1 int64) error { |
| 525 | m.ctrl.T.Helper() |
| 526 | ret := m.ctrl.Call(m, "WriteI64", arg0, arg1) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 527 | ret0, _ := ret[0].(error) |
| 528 | return ret0 |
| 529 | } |
| 530 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 531 | // WriteI64 indicates an expected call of WriteI64. |
| 532 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 535 | } |
| 536 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 537 | // WriteListBegin mocks base method. |
| 538 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 541 | ret0, _ := ret[0].(error) |
| 542 | return ret0 |
| 543 | } |
| 544 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 545 | // WriteListBegin indicates an expected call of WriteListBegin. |
| 546 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 549 | } |
| 550 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 551 | // WriteListEnd mocks base method. |
| 552 | func (m *MockTProtocol) WriteListEnd(arg0 context.Context) error { |
| 553 | m.ctrl.T.Helper() |
| 554 | ret := m.ctrl.Call(m, "WriteListEnd", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 555 | ret0, _ := ret[0].(error) |
| 556 | return ret0 |
| 557 | } |
| 558 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 559 | // WriteListEnd indicates an expected call of WriteListEnd. |
| 560 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 563 | } |
| 564 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 565 | // WriteMapBegin mocks base method. |
| 566 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 569 | ret0, _ := ret[0].(error) |
| 570 | return ret0 |
| 571 | } |
| 572 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 573 | // WriteMapBegin indicates an expected call of WriteMapBegin. |
| 574 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 577 | } |
| 578 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 579 | // WriteMapEnd mocks base method. |
| 580 | func (m *MockTProtocol) WriteMapEnd(arg0 context.Context) error { |
| 581 | m.ctrl.T.Helper() |
| 582 | ret := m.ctrl.Call(m, "WriteMapEnd", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 583 | ret0, _ := ret[0].(error) |
| 584 | return ret0 |
| 585 | } |
| 586 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 587 | // WriteMapEnd indicates an expected call of WriteMapEnd. |
| 588 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 591 | } |
| 592 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 593 | // WriteMessageBegin mocks base method. |
| 594 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 597 | ret0, _ := ret[0].(error) |
| 598 | return ret0 |
| 599 | } |
| 600 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 601 | // WriteMessageBegin indicates an expected call of WriteMessageBegin. |
| 602 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 605 | } |
| 606 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 607 | // WriteMessageEnd mocks base method. |
| 608 | func (m *MockTProtocol) WriteMessageEnd(arg0 context.Context) error { |
| 609 | m.ctrl.T.Helper() |
| 610 | ret := m.ctrl.Call(m, "WriteMessageEnd", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 611 | ret0, _ := ret[0].(error) |
| 612 | return ret0 |
| 613 | } |
| 614 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 615 | // WriteMessageEnd indicates an expected call of WriteMessageEnd. |
| 616 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 619 | } |
| 620 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 621 | // WriteSetBegin mocks base method. |
| 622 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 625 | ret0, _ := ret[0].(error) |
| 626 | return ret0 |
| 627 | } |
| 628 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 629 | // WriteSetBegin indicates an expected call of WriteSetBegin. |
| 630 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 633 | } |
| 634 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 635 | // WriteSetEnd mocks base method. |
| 636 | func (m *MockTProtocol) WriteSetEnd(arg0 context.Context) error { |
| 637 | m.ctrl.T.Helper() |
| 638 | ret := m.ctrl.Call(m, "WriteSetEnd", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 639 | ret0, _ := ret[0].(error) |
| 640 | return ret0 |
| 641 | } |
| 642 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 643 | // WriteSetEnd indicates an expected call of WriteSetEnd. |
| 644 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 647 | } |
| 648 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 649 | // WriteString mocks base method. |
| 650 | func (m *MockTProtocol) WriteString(arg0 context.Context, arg1 string) error { |
| 651 | m.ctrl.T.Helper() |
| 652 | ret := m.ctrl.Call(m, "WriteString", arg0, arg1) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 653 | ret0, _ := ret[0].(error) |
| 654 | return ret0 |
| 655 | } |
| 656 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 657 | // WriteString indicates an expected call of WriteString. |
| 658 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 661 | } |
| 662 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 663 | // WriteStructBegin mocks base method. |
| 664 | func (m *MockTProtocol) WriteStructBegin(arg0 context.Context, arg1 string) error { |
| 665 | m.ctrl.T.Helper() |
| 666 | ret := m.ctrl.Call(m, "WriteStructBegin", arg0, arg1) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 667 | ret0, _ := ret[0].(error) |
| 668 | return ret0 |
| 669 | } |
| 670 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 671 | // WriteStructBegin indicates an expected call of WriteStructBegin. |
| 672 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 675 | } |
| 676 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 677 | // WriteStructEnd mocks base method. |
| 678 | func (m *MockTProtocol) WriteStructEnd(arg0 context.Context) error { |
| 679 | m.ctrl.T.Helper() |
| 680 | ret := m.ctrl.Call(m, "WriteStructEnd", arg0) |
Jens Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 681 | ret0, _ := ret[0].(error) |
| 682 | return ret0 |
| 683 | } |
| 684 | |
Yuxuan 'fishy' Wang | 19c13b4 | 2022-10-12 14:13:15 -0700 | [diff] [blame] | 685 | // WriteStructEnd indicates an expected call of WriteStructEnd. |
| 686 | func (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. |
| 692 | func (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. |
| 700 | func (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 Geyer | 731975a | 2014-05-02 00:24:24 +0200 | [diff] [blame] | 703 | } |