github.com/ydb-platform/ydb-go-sdk/v3@v3.57.0/internal/query/grpc_client_mock_test.go (about) 1 // Code generated by MockGen. DO NOT EDIT. 2 // Source: github.com/ydb-platform/ydb-go-genproto/Ydb_Query_V1 (interfaces: QueryServiceClient,QueryService_AttachSessionClient,QueryService_ExecuteQueryClient) 3 // 4 // Generated by this command: 5 // 6 // mockgen -destination grpc_client_mock_test.go -package query -write_package_comment=false github.com/ydb-platform/ydb-go-genproto/Ydb_Query_V1 QueryServiceClient,QueryService_AttachSessionClient,QueryService_ExecuteQueryClient 7 package query 8 9 import ( 10 context "context" 11 reflect "reflect" 12 13 Ydb_Query_V1 "github.com/ydb-platform/ydb-go-genproto/Ydb_Query_V1" 14 Ydb_Operations "github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Operations" 15 Ydb_Query "github.com/ydb-platform/ydb-go-genproto/protos/Ydb_Query" 16 gomock "go.uber.org/mock/gomock" 17 grpc "google.golang.org/grpc" 18 metadata "google.golang.org/grpc/metadata" 19 ) 20 21 // MockQueryServiceClient is a mock of QueryServiceClient interface. 22 type MockQueryServiceClient struct { 23 ctrl *gomock.Controller 24 recorder *MockQueryServiceClientMockRecorder 25 } 26 27 // MockQueryServiceClientMockRecorder is the mock recorder for MockQueryServiceClient. 28 type MockQueryServiceClientMockRecorder struct { 29 mock *MockQueryServiceClient 30 } 31 32 // NewMockQueryServiceClient creates a new mock instance. 33 func NewMockQueryServiceClient(ctrl *gomock.Controller) *MockQueryServiceClient { 34 mock := &MockQueryServiceClient{ctrl: ctrl} 35 mock.recorder = &MockQueryServiceClientMockRecorder{mock} 36 return mock 37 } 38 39 // EXPECT returns an object that allows the caller to indicate expected use. 40 func (m *MockQueryServiceClient) EXPECT() *MockQueryServiceClientMockRecorder { 41 return m.recorder 42 } 43 44 // AttachSession mocks base method. 45 func (m *MockQueryServiceClient) AttachSession(arg0 context.Context, arg1 *Ydb_Query.AttachSessionRequest, arg2 ...grpc.CallOption) (Ydb_Query_V1.QueryService_AttachSessionClient, error) { 46 m.ctrl.T.Helper() 47 varargs := []any{arg0, arg1} 48 for _, a := range arg2 { 49 varargs = append(varargs, a) 50 } 51 ret := m.ctrl.Call(m, "AttachSession", varargs...) 52 ret0, _ := ret[0].(Ydb_Query_V1.QueryService_AttachSessionClient) 53 ret1, _ := ret[1].(error) 54 return ret0, ret1 55 } 56 57 // AttachSession indicates an expected call of AttachSession. 58 func (mr *MockQueryServiceClientMockRecorder) AttachSession(arg0, arg1 any, arg2 ...any) *gomock.Call { 59 mr.mock.ctrl.T.Helper() 60 varargs := append([]any{arg0, arg1}, arg2...) 61 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AttachSession", reflect.TypeOf((*MockQueryServiceClient)(nil).AttachSession), varargs...) 62 } 63 64 // BeginTransaction mocks base method. 65 func (m *MockQueryServiceClient) BeginTransaction(arg0 context.Context, arg1 *Ydb_Query.BeginTransactionRequest, arg2 ...grpc.CallOption) (*Ydb_Query.BeginTransactionResponse, error) { 66 m.ctrl.T.Helper() 67 varargs := []any{arg0, arg1} 68 for _, a := range arg2 { 69 varargs = append(varargs, a) 70 } 71 ret := m.ctrl.Call(m, "BeginTransaction", varargs...) 72 ret0, _ := ret[0].(*Ydb_Query.BeginTransactionResponse) 73 ret1, _ := ret[1].(error) 74 return ret0, ret1 75 } 76 77 // BeginTransaction indicates an expected call of BeginTransaction. 78 func (mr *MockQueryServiceClientMockRecorder) BeginTransaction(arg0, arg1 any, arg2 ...any) *gomock.Call { 79 mr.mock.ctrl.T.Helper() 80 varargs := append([]any{arg0, arg1}, arg2...) 81 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "BeginTransaction", reflect.TypeOf((*MockQueryServiceClient)(nil).BeginTransaction), varargs...) 82 } 83 84 // CommitTransaction mocks base method. 85 func (m *MockQueryServiceClient) CommitTransaction(arg0 context.Context, arg1 *Ydb_Query.CommitTransactionRequest, arg2 ...grpc.CallOption) (*Ydb_Query.CommitTransactionResponse, error) { 86 m.ctrl.T.Helper() 87 varargs := []any{arg0, arg1} 88 for _, a := range arg2 { 89 varargs = append(varargs, a) 90 } 91 ret := m.ctrl.Call(m, "CommitTransaction", varargs...) 92 ret0, _ := ret[0].(*Ydb_Query.CommitTransactionResponse) 93 ret1, _ := ret[1].(error) 94 return ret0, ret1 95 } 96 97 // CommitTransaction indicates an expected call of CommitTransaction. 98 func (mr *MockQueryServiceClientMockRecorder) CommitTransaction(arg0, arg1 any, arg2 ...any) *gomock.Call { 99 mr.mock.ctrl.T.Helper() 100 varargs := append([]any{arg0, arg1}, arg2...) 101 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CommitTransaction", reflect.TypeOf((*MockQueryServiceClient)(nil).CommitTransaction), varargs...) 102 } 103 104 // CreateSession mocks base method. 105 func (m *MockQueryServiceClient) CreateSession(arg0 context.Context, arg1 *Ydb_Query.CreateSessionRequest, arg2 ...grpc.CallOption) (*Ydb_Query.CreateSessionResponse, error) { 106 m.ctrl.T.Helper() 107 varargs := []any{arg0, arg1} 108 for _, a := range arg2 { 109 varargs = append(varargs, a) 110 } 111 ret := m.ctrl.Call(m, "CreateSession", varargs...) 112 ret0, _ := ret[0].(*Ydb_Query.CreateSessionResponse) 113 ret1, _ := ret[1].(error) 114 return ret0, ret1 115 } 116 117 // CreateSession indicates an expected call of CreateSession. 118 func (mr *MockQueryServiceClientMockRecorder) CreateSession(arg0, arg1 any, arg2 ...any) *gomock.Call { 119 mr.mock.ctrl.T.Helper() 120 varargs := append([]any{arg0, arg1}, arg2...) 121 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateSession", reflect.TypeOf((*MockQueryServiceClient)(nil).CreateSession), varargs...) 122 } 123 124 // DeleteSession mocks base method. 125 func (m *MockQueryServiceClient) DeleteSession(arg0 context.Context, arg1 *Ydb_Query.DeleteSessionRequest, arg2 ...grpc.CallOption) (*Ydb_Query.DeleteSessionResponse, error) { 126 m.ctrl.T.Helper() 127 varargs := []any{arg0, arg1} 128 for _, a := range arg2 { 129 varargs = append(varargs, a) 130 } 131 ret := m.ctrl.Call(m, "DeleteSession", varargs...) 132 ret0, _ := ret[0].(*Ydb_Query.DeleteSessionResponse) 133 ret1, _ := ret[1].(error) 134 return ret0, ret1 135 } 136 137 // DeleteSession indicates an expected call of DeleteSession. 138 func (mr *MockQueryServiceClientMockRecorder) DeleteSession(arg0, arg1 any, arg2 ...any) *gomock.Call { 139 mr.mock.ctrl.T.Helper() 140 varargs := append([]any{arg0, arg1}, arg2...) 141 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteSession", reflect.TypeOf((*MockQueryServiceClient)(nil).DeleteSession), varargs...) 142 } 143 144 // ExecuteQuery mocks base method. 145 func (m *MockQueryServiceClient) ExecuteQuery(arg0 context.Context, arg1 *Ydb_Query.ExecuteQueryRequest, arg2 ...grpc.CallOption) (Ydb_Query_V1.QueryService_ExecuteQueryClient, error) { 146 m.ctrl.T.Helper() 147 varargs := []any{arg0, arg1} 148 for _, a := range arg2 { 149 varargs = append(varargs, a) 150 } 151 ret := m.ctrl.Call(m, "ExecuteQuery", varargs...) 152 ret0, _ := ret[0].(Ydb_Query_V1.QueryService_ExecuteQueryClient) 153 ret1, _ := ret[1].(error) 154 return ret0, ret1 155 } 156 157 // ExecuteQuery indicates an expected call of ExecuteQuery. 158 func (mr *MockQueryServiceClientMockRecorder) ExecuteQuery(arg0, arg1 any, arg2 ...any) *gomock.Call { 159 mr.mock.ctrl.T.Helper() 160 varargs := append([]any{arg0, arg1}, arg2...) 161 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecuteQuery", reflect.TypeOf((*MockQueryServiceClient)(nil).ExecuteQuery), varargs...) 162 } 163 164 // ExecuteScript mocks base method. 165 func (m *MockQueryServiceClient) ExecuteScript(arg0 context.Context, arg1 *Ydb_Query.ExecuteScriptRequest, arg2 ...grpc.CallOption) (*Ydb_Operations.Operation, error) { 166 m.ctrl.T.Helper() 167 varargs := []any{arg0, arg1} 168 for _, a := range arg2 { 169 varargs = append(varargs, a) 170 } 171 ret := m.ctrl.Call(m, "ExecuteScript", varargs...) 172 ret0, _ := ret[0].(*Ydb_Operations.Operation) 173 ret1, _ := ret[1].(error) 174 return ret0, ret1 175 } 176 177 // ExecuteScript indicates an expected call of ExecuteScript. 178 func (mr *MockQueryServiceClientMockRecorder) ExecuteScript(arg0, arg1 any, arg2 ...any) *gomock.Call { 179 mr.mock.ctrl.T.Helper() 180 varargs := append([]any{arg0, arg1}, arg2...) 181 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ExecuteScript", reflect.TypeOf((*MockQueryServiceClient)(nil).ExecuteScript), varargs...) 182 } 183 184 // FetchScriptResults mocks base method. 185 func (m *MockQueryServiceClient) FetchScriptResults(arg0 context.Context, arg1 *Ydb_Query.FetchScriptResultsRequest, arg2 ...grpc.CallOption) (*Ydb_Query.FetchScriptResultsResponse, error) { 186 m.ctrl.T.Helper() 187 varargs := []any{arg0, arg1} 188 for _, a := range arg2 { 189 varargs = append(varargs, a) 190 } 191 ret := m.ctrl.Call(m, "FetchScriptResults", varargs...) 192 ret0, _ := ret[0].(*Ydb_Query.FetchScriptResultsResponse) 193 ret1, _ := ret[1].(error) 194 return ret0, ret1 195 } 196 197 // FetchScriptResults indicates an expected call of FetchScriptResults. 198 func (mr *MockQueryServiceClientMockRecorder) FetchScriptResults(arg0, arg1 any, arg2 ...any) *gomock.Call { 199 mr.mock.ctrl.T.Helper() 200 varargs := append([]any{arg0, arg1}, arg2...) 201 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "FetchScriptResults", reflect.TypeOf((*MockQueryServiceClient)(nil).FetchScriptResults), varargs...) 202 } 203 204 // RollbackTransaction mocks base method. 205 func (m *MockQueryServiceClient) RollbackTransaction(arg0 context.Context, arg1 *Ydb_Query.RollbackTransactionRequest, arg2 ...grpc.CallOption) (*Ydb_Query.RollbackTransactionResponse, error) { 206 m.ctrl.T.Helper() 207 varargs := []any{arg0, arg1} 208 for _, a := range arg2 { 209 varargs = append(varargs, a) 210 } 211 ret := m.ctrl.Call(m, "RollbackTransaction", varargs...) 212 ret0, _ := ret[0].(*Ydb_Query.RollbackTransactionResponse) 213 ret1, _ := ret[1].(error) 214 return ret0, ret1 215 } 216 217 // RollbackTransaction indicates an expected call of RollbackTransaction. 218 func (mr *MockQueryServiceClientMockRecorder) RollbackTransaction(arg0, arg1 any, arg2 ...any) *gomock.Call { 219 mr.mock.ctrl.T.Helper() 220 varargs := append([]any{arg0, arg1}, arg2...) 221 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RollbackTransaction", reflect.TypeOf((*MockQueryServiceClient)(nil).RollbackTransaction), varargs...) 222 } 223 224 // MockQueryService_AttachSessionClient is a mock of QueryService_AttachSessionClient interface. 225 type MockQueryService_AttachSessionClient struct { 226 ctrl *gomock.Controller 227 recorder *MockQueryService_AttachSessionClientMockRecorder 228 } 229 230 // MockQueryService_AttachSessionClientMockRecorder is the mock recorder for MockQueryService_AttachSessionClient. 231 type MockQueryService_AttachSessionClientMockRecorder struct { 232 mock *MockQueryService_AttachSessionClient 233 } 234 235 // NewMockQueryService_AttachSessionClient creates a new mock instance. 236 func NewMockQueryService_AttachSessionClient(ctrl *gomock.Controller) *MockQueryService_AttachSessionClient { 237 mock := &MockQueryService_AttachSessionClient{ctrl: ctrl} 238 mock.recorder = &MockQueryService_AttachSessionClientMockRecorder{mock} 239 return mock 240 } 241 242 // EXPECT returns an object that allows the caller to indicate expected use. 243 func (m *MockQueryService_AttachSessionClient) EXPECT() *MockQueryService_AttachSessionClientMockRecorder { 244 return m.recorder 245 } 246 247 // CloseSend mocks base method. 248 func (m *MockQueryService_AttachSessionClient) CloseSend() error { 249 m.ctrl.T.Helper() 250 ret := m.ctrl.Call(m, "CloseSend") 251 ret0, _ := ret[0].(error) 252 return ret0 253 } 254 255 // CloseSend indicates an expected call of CloseSend. 256 func (mr *MockQueryService_AttachSessionClientMockRecorder) CloseSend() *gomock.Call { 257 mr.mock.ctrl.T.Helper() 258 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockQueryService_AttachSessionClient)(nil).CloseSend)) 259 } 260 261 // Context mocks base method. 262 func (m *MockQueryService_AttachSessionClient) Context() context.Context { 263 m.ctrl.T.Helper() 264 ret := m.ctrl.Call(m, "Context") 265 ret0, _ := ret[0].(context.Context) 266 return ret0 267 } 268 269 // Context indicates an expected call of Context. 270 func (mr *MockQueryService_AttachSessionClientMockRecorder) Context() *gomock.Call { 271 mr.mock.ctrl.T.Helper() 272 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockQueryService_AttachSessionClient)(nil).Context)) 273 } 274 275 // Header mocks base method. 276 func (m *MockQueryService_AttachSessionClient) Header() (metadata.MD, error) { 277 m.ctrl.T.Helper() 278 ret := m.ctrl.Call(m, "Header") 279 ret0, _ := ret[0].(metadata.MD) 280 ret1, _ := ret[1].(error) 281 return ret0, ret1 282 } 283 284 // Header indicates an expected call of Header. 285 func (mr *MockQueryService_AttachSessionClientMockRecorder) Header() *gomock.Call { 286 mr.mock.ctrl.T.Helper() 287 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockQueryService_AttachSessionClient)(nil).Header)) 288 } 289 290 // Recv mocks base method. 291 func (m *MockQueryService_AttachSessionClient) Recv() (*Ydb_Query.SessionState, error) { 292 m.ctrl.T.Helper() 293 ret := m.ctrl.Call(m, "Recv") 294 ret0, _ := ret[0].(*Ydb_Query.SessionState) 295 ret1, _ := ret[1].(error) 296 return ret0, ret1 297 } 298 299 // Recv indicates an expected call of Recv. 300 func (mr *MockQueryService_AttachSessionClientMockRecorder) Recv() *gomock.Call { 301 mr.mock.ctrl.T.Helper() 302 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockQueryService_AttachSessionClient)(nil).Recv)) 303 } 304 305 // RecvMsg mocks base method. 306 func (m *MockQueryService_AttachSessionClient) RecvMsg(arg0 any) error { 307 m.ctrl.T.Helper() 308 ret := m.ctrl.Call(m, "RecvMsg", arg0) 309 ret0, _ := ret[0].(error) 310 return ret0 311 } 312 313 // RecvMsg indicates an expected call of RecvMsg. 314 func (mr *MockQueryService_AttachSessionClientMockRecorder) RecvMsg(arg0 any) *gomock.Call { 315 mr.mock.ctrl.T.Helper() 316 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockQueryService_AttachSessionClient)(nil).RecvMsg), arg0) 317 } 318 319 // SendMsg mocks base method. 320 func (m *MockQueryService_AttachSessionClient) SendMsg(arg0 any) error { 321 m.ctrl.T.Helper() 322 ret := m.ctrl.Call(m, "SendMsg", arg0) 323 ret0, _ := ret[0].(error) 324 return ret0 325 } 326 327 // SendMsg indicates an expected call of SendMsg. 328 func (mr *MockQueryService_AttachSessionClientMockRecorder) SendMsg(arg0 any) *gomock.Call { 329 mr.mock.ctrl.T.Helper() 330 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockQueryService_AttachSessionClient)(nil).SendMsg), arg0) 331 } 332 333 // Trailer mocks base method. 334 func (m *MockQueryService_AttachSessionClient) Trailer() metadata.MD { 335 m.ctrl.T.Helper() 336 ret := m.ctrl.Call(m, "Trailer") 337 ret0, _ := ret[0].(metadata.MD) 338 return ret0 339 } 340 341 // Trailer indicates an expected call of Trailer. 342 func (mr *MockQueryService_AttachSessionClientMockRecorder) Trailer() *gomock.Call { 343 mr.mock.ctrl.T.Helper() 344 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockQueryService_AttachSessionClient)(nil).Trailer)) 345 } 346 347 // MockQueryService_ExecuteQueryClient is a mock of QueryService_ExecuteQueryClient interface. 348 type MockQueryService_ExecuteQueryClient struct { 349 ctrl *gomock.Controller 350 recorder *MockQueryService_ExecuteQueryClientMockRecorder 351 } 352 353 // MockQueryService_ExecuteQueryClientMockRecorder is the mock recorder for MockQueryService_ExecuteQueryClient. 354 type MockQueryService_ExecuteQueryClientMockRecorder struct { 355 mock *MockQueryService_ExecuteQueryClient 356 } 357 358 // NewMockQueryService_ExecuteQueryClient creates a new mock instance. 359 func NewMockQueryService_ExecuteQueryClient(ctrl *gomock.Controller) *MockQueryService_ExecuteQueryClient { 360 mock := &MockQueryService_ExecuteQueryClient{ctrl: ctrl} 361 mock.recorder = &MockQueryService_ExecuteQueryClientMockRecorder{mock} 362 return mock 363 } 364 365 // EXPECT returns an object that allows the caller to indicate expected use. 366 func (m *MockQueryService_ExecuteQueryClient) EXPECT() *MockQueryService_ExecuteQueryClientMockRecorder { 367 return m.recorder 368 } 369 370 // CloseSend mocks base method. 371 func (m *MockQueryService_ExecuteQueryClient) CloseSend() error { 372 m.ctrl.T.Helper() 373 ret := m.ctrl.Call(m, "CloseSend") 374 ret0, _ := ret[0].(error) 375 return ret0 376 } 377 378 // CloseSend indicates an expected call of CloseSend. 379 func (mr *MockQueryService_ExecuteQueryClientMockRecorder) CloseSend() *gomock.Call { 380 mr.mock.ctrl.T.Helper() 381 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CloseSend", reflect.TypeOf((*MockQueryService_ExecuteQueryClient)(nil).CloseSend)) 382 } 383 384 // Context mocks base method. 385 func (m *MockQueryService_ExecuteQueryClient) Context() context.Context { 386 m.ctrl.T.Helper() 387 ret := m.ctrl.Call(m, "Context") 388 ret0, _ := ret[0].(context.Context) 389 return ret0 390 } 391 392 // Context indicates an expected call of Context. 393 func (mr *MockQueryService_ExecuteQueryClientMockRecorder) Context() *gomock.Call { 394 mr.mock.ctrl.T.Helper() 395 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Context", reflect.TypeOf((*MockQueryService_ExecuteQueryClient)(nil).Context)) 396 } 397 398 // Header mocks base method. 399 func (m *MockQueryService_ExecuteQueryClient) Header() (metadata.MD, error) { 400 m.ctrl.T.Helper() 401 ret := m.ctrl.Call(m, "Header") 402 ret0, _ := ret[0].(metadata.MD) 403 ret1, _ := ret[1].(error) 404 return ret0, ret1 405 } 406 407 // Header indicates an expected call of Header. 408 func (mr *MockQueryService_ExecuteQueryClientMockRecorder) Header() *gomock.Call { 409 mr.mock.ctrl.T.Helper() 410 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Header", reflect.TypeOf((*MockQueryService_ExecuteQueryClient)(nil).Header)) 411 } 412 413 // Recv mocks base method. 414 func (m *MockQueryService_ExecuteQueryClient) Recv() (*Ydb_Query.ExecuteQueryResponsePart, error) { 415 m.ctrl.T.Helper() 416 ret := m.ctrl.Call(m, "Recv") 417 ret0, _ := ret[0].(*Ydb_Query.ExecuteQueryResponsePart) 418 ret1, _ := ret[1].(error) 419 return ret0, ret1 420 } 421 422 // Recv indicates an expected call of Recv. 423 func (mr *MockQueryService_ExecuteQueryClientMockRecorder) Recv() *gomock.Call { 424 mr.mock.ctrl.T.Helper() 425 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Recv", reflect.TypeOf((*MockQueryService_ExecuteQueryClient)(nil).Recv)) 426 } 427 428 // RecvMsg mocks base method. 429 func (m *MockQueryService_ExecuteQueryClient) RecvMsg(arg0 any) error { 430 m.ctrl.T.Helper() 431 ret := m.ctrl.Call(m, "RecvMsg", arg0) 432 ret0, _ := ret[0].(error) 433 return ret0 434 } 435 436 // RecvMsg indicates an expected call of RecvMsg. 437 func (mr *MockQueryService_ExecuteQueryClientMockRecorder) RecvMsg(arg0 any) *gomock.Call { 438 mr.mock.ctrl.T.Helper() 439 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RecvMsg", reflect.TypeOf((*MockQueryService_ExecuteQueryClient)(nil).RecvMsg), arg0) 440 } 441 442 // SendMsg mocks base method. 443 func (m *MockQueryService_ExecuteQueryClient) SendMsg(arg0 any) error { 444 m.ctrl.T.Helper() 445 ret := m.ctrl.Call(m, "SendMsg", arg0) 446 ret0, _ := ret[0].(error) 447 return ret0 448 } 449 450 // SendMsg indicates an expected call of SendMsg. 451 func (mr *MockQueryService_ExecuteQueryClientMockRecorder) SendMsg(arg0 any) *gomock.Call { 452 mr.mock.ctrl.T.Helper() 453 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SendMsg", reflect.TypeOf((*MockQueryService_ExecuteQueryClient)(nil).SendMsg), arg0) 454 } 455 456 // Trailer mocks base method. 457 func (m *MockQueryService_ExecuteQueryClient) Trailer() metadata.MD { 458 m.ctrl.T.Helper() 459 ret := m.ctrl.Call(m, "Trailer") 460 ret0, _ := ret[0].(metadata.MD) 461 return ret0 462 } 463 464 // Trailer indicates an expected call of Trailer. 465 func (mr *MockQueryService_ExecuteQueryClientMockRecorder) Trailer() *gomock.Call { 466 mr.mock.ctrl.T.Helper() 467 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "Trailer", reflect.TypeOf((*MockQueryService_ExecuteQueryClient)(nil).Trailer)) 468 }