blob: 5f378cce5e95bd5335d437d06eaff57f47e9a3fd [file] [log] [blame]
vinokuma04dc9f82023-07-31 15:47:49 +05301// Code generated by MockGen. DO NOT EDIT.
bseenivadd66c362026-02-12 19:13:26 +05302// Source: github.com/opencord/voltha-protos/v5/go/voltha (interfaces: VolthaServiceClient)
3//
4// Generated by this command:
5//
6// mockgen -package=mocks -destination=mock_voltha.pb.go github.com/opencord/voltha-protos/v5/go/voltha VolthaServiceClient
7//
vinokuma04dc9f82023-07-31 15:47:49 +05308
bseenivadd66c362026-02-12 19:13:26 +05309// Package mocks is a generated GoMock package.
vinokuma04dc9f82023-07-31 15:47:49 +053010package mocks
11
12import (
13 context "context"
Akash Reddy Kankanala105581b2024-09-11 05:20:38 +053014 reflect "reflect"
vinokuma04dc9f82023-07-31 15:47:49 +053015
vinokuma04dc9f82023-07-31 15:47:49 +053016 common "github.com/opencord/voltha-protos/v5/go/common"
17 extension "github.com/opencord/voltha-protos/v5/go/extension"
18 omci "github.com/opencord/voltha-protos/v5/go/omci"
19 openflow_13 "github.com/opencord/voltha-protos/v5/go/openflow_13"
vinodd213b092024-03-28 16:10:07 +053020 voip_system_profile "github.com/opencord/voltha-protos/v5/go/voip_system_profile"
21 voip_user_profile "github.com/opencord/voltha-protos/v5/go/voip_user_profile"
bseenivadd66c362026-02-12 19:13:26 +053022 voltha "github.com/opencord/voltha-protos/v5/go/voltha"
23 gomock "go.uber.org/mock/gomock"
vinokuma04dc9f82023-07-31 15:47:49 +053024 grpc "google.golang.org/grpc"
bseenivadd66c362026-02-12 19:13:26 +053025 emptypb "google.golang.org/protobuf/types/known/emptypb"
vinokuma04dc9f82023-07-31 15:47:49 +053026)
27
28// MockVolthaServiceClient is a mock of VolthaServiceClient interface.
29type MockVolthaServiceClient struct {
30 ctrl *gomock.Controller
31 recorder *MockVolthaServiceClientMockRecorder
bseenivadd66c362026-02-12 19:13:26 +053032 isgomock struct{}
vinokuma04dc9f82023-07-31 15:47:49 +053033}
34
35// MockVolthaServiceClientMockRecorder is the mock recorder for MockVolthaServiceClient.
36type MockVolthaServiceClientMockRecorder struct {
37 mock *MockVolthaServiceClient
38}
39
40// NewMockVolthaServiceClient creates a new mock instance.
41func NewMockVolthaServiceClient(ctrl *gomock.Controller) *MockVolthaServiceClient {
42 mock := &MockVolthaServiceClient{ctrl: ctrl}
43 mock.recorder = &MockVolthaServiceClientMockRecorder{mock}
44 return mock
45}
46
47// EXPECT returns an object that allows the caller to indicate expected use.
48func (m *MockVolthaServiceClient) EXPECT() *MockVolthaServiceClientMockRecorder {
49 return m.recorder
50}
51
52// AbortImageUpgradeToDevice mocks base method.
53func (m *MockVolthaServiceClient) AbortImageUpgradeToDevice(ctx context.Context, in *voltha.DeviceImageRequest, opts ...grpc.CallOption) (*voltha.DeviceImageResponse, error) {
54 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +053055 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +053056 for _, a := range opts {
57 varargs = append(varargs, a)
58 }
59 ret := m.ctrl.Call(m, "AbortImageUpgradeToDevice", varargs...)
60 ret0, _ := ret[0].(*voltha.DeviceImageResponse)
61 ret1, _ := ret[1].(error)
62 return ret0, ret1
63}
64
65// AbortImageUpgradeToDevice indicates an expected call of AbortImageUpgradeToDevice.
bseenivadd66c362026-02-12 19:13:26 +053066func (mr *MockVolthaServiceClientMockRecorder) AbortImageUpgradeToDevice(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +053067 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +053068 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +053069 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AbortImageUpgradeToDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).AbortImageUpgradeToDevice), varargs...)
70}
71
72// ActivateImage mocks base method.
73func (m *MockVolthaServiceClient) ActivateImage(ctx context.Context, in *voltha.DeviceImageRequest, opts ...grpc.CallOption) (*voltha.DeviceImageResponse, error) {
74 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +053075 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +053076 for _, a := range opts {
77 varargs = append(varargs, a)
78 }
79 ret := m.ctrl.Call(m, "ActivateImage", varargs...)
80 ret0, _ := ret[0].(*voltha.DeviceImageResponse)
81 ret1, _ := ret[1].(error)
82 return ret0, ret1
83}
84
85// ActivateImage indicates an expected call of ActivateImage.
bseenivadd66c362026-02-12 19:13:26 +053086func (mr *MockVolthaServiceClientMockRecorder) ActivateImage(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +053087 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +053088 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +053089 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActivateImage", reflect.TypeOf((*MockVolthaServiceClient)(nil).ActivateImage), varargs...)
90}
91
92// ActivateImageUpdate mocks base method.
93func (m *MockVolthaServiceClient) ActivateImageUpdate(ctx context.Context, in *voltha.ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
94 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +053095 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +053096 for _, a := range opts {
97 varargs = append(varargs, a)
98 }
99 ret := m.ctrl.Call(m, "ActivateImageUpdate", varargs...)
100 ret0, _ := ret[0].(*common.OperationResp)
101 ret1, _ := ret[1].(error)
102 return ret0, ret1
103}
104
105// ActivateImageUpdate indicates an expected call of ActivateImageUpdate.
bseenivadd66c362026-02-12 19:13:26 +0530106func (mr *MockVolthaServiceClientMockRecorder) ActivateImageUpdate(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530107 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530108 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530109 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ActivateImageUpdate", reflect.TypeOf((*MockVolthaServiceClient)(nil).ActivateImageUpdate), varargs...)
110}
111
112// CancelImageDownload mocks base method.
113func (m *MockVolthaServiceClient) CancelImageDownload(ctx context.Context, in *voltha.ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
114 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530115 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530116 for _, a := range opts {
117 varargs = append(varargs, a)
118 }
119 ret := m.ctrl.Call(m, "CancelImageDownload", varargs...)
120 ret0, _ := ret[0].(*common.OperationResp)
121 ret1, _ := ret[1].(error)
122 return ret0, ret1
123}
124
125// CancelImageDownload indicates an expected call of CancelImageDownload.
bseenivadd66c362026-02-12 19:13:26 +0530126func (mr *MockVolthaServiceClientMockRecorder) CancelImageDownload(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530127 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530128 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530129 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CancelImageDownload", reflect.TypeOf((*MockVolthaServiceClient)(nil).CancelImageDownload), varargs...)
130}
131
132// CommitImage mocks base method.
133func (m *MockVolthaServiceClient) CommitImage(ctx context.Context, in *voltha.DeviceImageRequest, opts ...grpc.CallOption) (*voltha.DeviceImageResponse, error) {
134 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530135 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530136 for _, a := range opts {
137 varargs = append(varargs, a)
138 }
139 ret := m.ctrl.Call(m, "CommitImage", varargs...)
140 ret0, _ := ret[0].(*voltha.DeviceImageResponse)
141 ret1, _ := ret[1].(error)
142 return ret0, ret1
143}
144
145// CommitImage indicates an expected call of CommitImage.
bseenivadd66c362026-02-12 19:13:26 +0530146func (mr *MockVolthaServiceClientMockRecorder) CommitImage(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530147 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530148 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530149 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CommitImage", reflect.TypeOf((*MockVolthaServiceClient)(nil).CommitImage), varargs...)
150}
151
152// CreateDevice mocks base method.
153func (m *MockVolthaServiceClient) CreateDevice(ctx context.Context, in *voltha.Device, opts ...grpc.CallOption) (*voltha.Device, error) {
154 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530155 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530156 for _, a := range opts {
157 varargs = append(varargs, a)
158 }
159 ret := m.ctrl.Call(m, "CreateDevice", varargs...)
160 ret0, _ := ret[0].(*voltha.Device)
161 ret1, _ := ret[1].(error)
162 return ret0, ret1
163}
164
165// CreateDevice indicates an expected call of CreateDevice.
bseenivadd66c362026-02-12 19:13:26 +0530166func (mr *MockVolthaServiceClientMockRecorder) CreateDevice(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530167 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530168 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530169 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).CreateDevice), varargs...)
170}
171
172// CreateEventFilter mocks base method.
173func (m *MockVolthaServiceClient) CreateEventFilter(ctx context.Context, in *voltha.EventFilter, opts ...grpc.CallOption) (*voltha.EventFilter, error) {
174 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530175 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530176 for _, a := range opts {
177 varargs = append(varargs, a)
178 }
179 ret := m.ctrl.Call(m, "CreateEventFilter", varargs...)
180 ret0, _ := ret[0].(*voltha.EventFilter)
181 ret1, _ := ret[1].(error)
182 return ret0, ret1
183}
184
185// CreateEventFilter indicates an expected call of CreateEventFilter.
bseenivadd66c362026-02-12 19:13:26 +0530186func (mr *MockVolthaServiceClientMockRecorder) CreateEventFilter(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530187 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530188 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530189 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "CreateEventFilter", reflect.TypeOf((*MockVolthaServiceClient)(nil).CreateEventFilter), varargs...)
190}
191
192// DeleteDevice mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530193func (m *MockVolthaServiceClient) DeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530194 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530195 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530196 for _, a := range opts {
197 varargs = append(varargs, a)
198 }
199 ret := m.ctrl.Call(m, "DeleteDevice", varargs...)
bseenivadd66c362026-02-12 19:13:26 +0530200 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +0530201 ret1, _ := ret[1].(error)
202 return ret0, ret1
203}
204
205// DeleteDevice indicates an expected call of DeleteDevice.
bseenivadd66c362026-02-12 19:13:26 +0530206func (mr *MockVolthaServiceClientMockRecorder) DeleteDevice(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530207 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530208 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530209 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).DeleteDevice), varargs...)
210}
211
212// DeleteEventFilter mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530213func (m *MockVolthaServiceClient) DeleteEventFilter(ctx context.Context, in *voltha.EventFilter, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530214 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530215 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530216 for _, a := range opts {
217 varargs = append(varargs, a)
218 }
219 ret := m.ctrl.Call(m, "DeleteEventFilter", varargs...)
bseenivadd66c362026-02-12 19:13:26 +0530220 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +0530221 ret1, _ := ret[1].(error)
222 return ret0, ret1
223}
224
225// DeleteEventFilter indicates an expected call of DeleteEventFilter.
bseenivadd66c362026-02-12 19:13:26 +0530226func (mr *MockVolthaServiceClientMockRecorder) DeleteEventFilter(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530227 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530228 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530229 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteEventFilter", reflect.TypeOf((*MockVolthaServiceClient)(nil).DeleteEventFilter), varargs...)
230}
231
vinodd213b092024-03-28 16:10:07 +0530232// DeleteVoipSystemProfile mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530233func (m *MockVolthaServiceClient) DeleteVoipSystemProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinodd213b092024-03-28 16:10:07 +0530234 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530235 varargs := []any{ctx, in}
vinodd213b092024-03-28 16:10:07 +0530236 for _, a := range opts {
237 varargs = append(varargs, a)
238 }
239 ret := m.ctrl.Call(m, "DeleteVoipSystemProfile", varargs...)
bseenivadd66c362026-02-12 19:13:26 +0530240 ret0, _ := ret[0].(*emptypb.Empty)
vinodd213b092024-03-28 16:10:07 +0530241 ret1, _ := ret[1].(error)
242 return ret0, ret1
243}
244
245// DeleteVoipSystemProfile indicates an expected call of DeleteVoipSystemProfile.
bseenivadd66c362026-02-12 19:13:26 +0530246func (mr *MockVolthaServiceClientMockRecorder) DeleteVoipSystemProfile(ctx, in any, opts ...any) *gomock.Call {
vinodd213b092024-03-28 16:10:07 +0530247 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530248 varargs := append([]any{ctx, in}, opts...)
vinodd213b092024-03-28 16:10:07 +0530249 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVoipSystemProfile", reflect.TypeOf((*MockVolthaServiceClient)(nil).DeleteVoipSystemProfile), varargs...)
250}
251
252// DeleteVoipUserProfile mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530253func (m *MockVolthaServiceClient) DeleteVoipUserProfile(ctx context.Context, in *common.Key, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinodd213b092024-03-28 16:10:07 +0530254 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530255 varargs := []any{ctx, in}
vinodd213b092024-03-28 16:10:07 +0530256 for _, a := range opts {
257 varargs = append(varargs, a)
258 }
259 ret := m.ctrl.Call(m, "DeleteVoipUserProfile", varargs...)
bseenivadd66c362026-02-12 19:13:26 +0530260 ret0, _ := ret[0].(*emptypb.Empty)
vinodd213b092024-03-28 16:10:07 +0530261 ret1, _ := ret[1].(error)
262 return ret0, ret1
263}
264
265// DeleteVoipUserProfile indicates an expected call of DeleteVoipUserProfile.
bseenivadd66c362026-02-12 19:13:26 +0530266func (mr *MockVolthaServiceClientMockRecorder) DeleteVoipUserProfile(ctx, in any, opts ...any) *gomock.Call {
vinodd213b092024-03-28 16:10:07 +0530267 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530268 varargs := append([]any{ctx, in}, opts...)
vinodd213b092024-03-28 16:10:07 +0530269 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DeleteVoipUserProfile", reflect.TypeOf((*MockVolthaServiceClient)(nil).DeleteVoipUserProfile), varargs...)
270}
271
vinokuma04dc9f82023-07-31 15:47:49 +0530272// DisableDevice mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530273func (m *MockVolthaServiceClient) DisableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530274 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530275 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530276 for _, a := range opts {
277 varargs = append(varargs, a)
278 }
279 ret := m.ctrl.Call(m, "DisableDevice", varargs...)
bseenivadd66c362026-02-12 19:13:26 +0530280 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +0530281 ret1, _ := ret[1].(error)
282 return ret0, ret1
283}
284
285// DisableDevice indicates an expected call of DisableDevice.
bseenivadd66c362026-02-12 19:13:26 +0530286func (mr *MockVolthaServiceClientMockRecorder) DisableDevice(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530287 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530288 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530289 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).DisableDevice), varargs...)
290}
291
292// DisableLogicalDevicePort mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530293func (m *MockVolthaServiceClient) DisableLogicalDevicePort(ctx context.Context, in *voltha.LogicalPortId, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530294 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530295 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530296 for _, a := range opts {
297 varargs = append(varargs, a)
298 }
299 ret := m.ctrl.Call(m, "DisableLogicalDevicePort", varargs...)
bseenivadd66c362026-02-12 19:13:26 +0530300 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +0530301 ret1, _ := ret[1].(error)
302 return ret0, ret1
303}
304
305// DisableLogicalDevicePort indicates an expected call of DisableLogicalDevicePort.
bseenivadd66c362026-02-12 19:13:26 +0530306func (mr *MockVolthaServiceClientMockRecorder) DisableLogicalDevicePort(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530307 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530308 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530309 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableLogicalDevicePort", reflect.TypeOf((*MockVolthaServiceClient)(nil).DisableLogicalDevicePort), varargs...)
310}
311
bseenivadd66c362026-02-12 19:13:26 +0530312// DisableOnuDevice mocks base method.
313func (m *MockVolthaServiceClient) DisableOnuDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530314 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530315 varargs := []any{ctx, in}
316 for _, a := range opts {
317 varargs = append(varargs, a)
318 }
319 ret := m.ctrl.Call(m, "DisableOnuDevice", varargs...)
320 ret0, _ := ret[0].(*emptypb.Empty)
321 ret1, _ := ret[1].(error)
322 return ret0, ret1
323}
324
325// DisableOnuDevice indicates an expected call of DisableOnuDevice.
326func (mr *MockVolthaServiceClientMockRecorder) DisableOnuDevice(ctx, in any, opts ...any) *gomock.Call {
327 mr.mock.ctrl.T.Helper()
328 varargs := append([]any{ctx, in}, opts...)
329 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableOnuDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).DisableOnuDevice), varargs...)
330}
331
332// DisableOnuSerialNumber mocks base method.
333func (m *MockVolthaServiceClient) DisableOnuSerialNumber(ctx context.Context, in *voltha.OnuSerialNumberOnOLTPon, opts ...grpc.CallOption) (*emptypb.Empty, error) {
334 m.ctrl.T.Helper()
335 varargs := []any{ctx, in}
336 for _, a := range opts {
337 varargs = append(varargs, a)
338 }
339 ret := m.ctrl.Call(m, "DisableOnuSerialNumber", varargs...)
340 ret0, _ := ret[0].(*emptypb.Empty)
341 ret1, _ := ret[1].(error)
342 return ret0, ret1
343}
344
345// DisableOnuSerialNumber indicates an expected call of DisableOnuSerialNumber.
346func (mr *MockVolthaServiceClientMockRecorder) DisableOnuSerialNumber(ctx, in any, opts ...any) *gomock.Call {
347 mr.mock.ctrl.T.Helper()
348 varargs := append([]any{ctx, in}, opts...)
349 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisableOnuSerialNumber", reflect.TypeOf((*MockVolthaServiceClient)(nil).DisableOnuSerialNumber), varargs...)
350}
351
352// DisablePort mocks base method.
353func (m *MockVolthaServiceClient) DisablePort(ctx context.Context, in *voltha.Port, opts ...grpc.CallOption) (*emptypb.Empty, error) {
354 m.ctrl.T.Helper()
355 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530356 for _, a := range opts {
357 varargs = append(varargs, a)
358 }
359 ret := m.ctrl.Call(m, "DisablePort", varargs...)
bseenivadd66c362026-02-12 19:13:26 +0530360 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +0530361 ret1, _ := ret[1].(error)
362 return ret0, ret1
363}
364
365// DisablePort indicates an expected call of DisablePort.
bseenivadd66c362026-02-12 19:13:26 +0530366func (mr *MockVolthaServiceClientMockRecorder) DisablePort(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530367 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530368 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530369 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DisablePort", reflect.TypeOf((*MockVolthaServiceClient)(nil).DisablePort), varargs...)
370}
371
372// DownloadImage mocks base method.
373func (m *MockVolthaServiceClient) DownloadImage(ctx context.Context, in *voltha.ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
374 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530375 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530376 for _, a := range opts {
377 varargs = append(varargs, a)
378 }
379 ret := m.ctrl.Call(m, "DownloadImage", varargs...)
380 ret0, _ := ret[0].(*common.OperationResp)
381 ret1, _ := ret[1].(error)
382 return ret0, ret1
383}
384
385// DownloadImage indicates an expected call of DownloadImage.
bseenivadd66c362026-02-12 19:13:26 +0530386func (mr *MockVolthaServiceClientMockRecorder) DownloadImage(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530387 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530388 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530389 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DownloadImage", reflect.TypeOf((*MockVolthaServiceClient)(nil).DownloadImage), varargs...)
390}
391
392// DownloadImageToDevice mocks base method.
393func (m *MockVolthaServiceClient) DownloadImageToDevice(ctx context.Context, in *voltha.DeviceImageDownloadRequest, opts ...grpc.CallOption) (*voltha.DeviceImageResponse, error) {
394 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530395 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530396 for _, a := range opts {
397 varargs = append(varargs, a)
398 }
399 ret := m.ctrl.Call(m, "DownloadImageToDevice", varargs...)
400 ret0, _ := ret[0].(*voltha.DeviceImageResponse)
401 ret1, _ := ret[1].(error)
402 return ret0, ret1
403}
404
405// DownloadImageToDevice indicates an expected call of DownloadImageToDevice.
bseenivadd66c362026-02-12 19:13:26 +0530406func (mr *MockVolthaServiceClientMockRecorder) DownloadImageToDevice(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530407 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530408 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530409 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DownloadImageToDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).DownloadImageToDevice), varargs...)
410}
411
412// EnableDevice mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530413func (m *MockVolthaServiceClient) EnableDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530414 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530415 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530416 for _, a := range opts {
417 varargs = append(varargs, a)
418 }
419 ret := m.ctrl.Call(m, "EnableDevice", varargs...)
bseenivadd66c362026-02-12 19:13:26 +0530420 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +0530421 ret1, _ := ret[1].(error)
422 return ret0, ret1
423}
424
425// EnableDevice indicates an expected call of EnableDevice.
bseenivadd66c362026-02-12 19:13:26 +0530426func (mr *MockVolthaServiceClientMockRecorder) EnableDevice(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530427 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530428 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530429 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).EnableDevice), varargs...)
430}
431
432// EnableLogicalDevicePort mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530433func (m *MockVolthaServiceClient) EnableLogicalDevicePort(ctx context.Context, in *voltha.LogicalPortId, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530434 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530435 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530436 for _, a := range opts {
437 varargs = append(varargs, a)
438 }
439 ret := m.ctrl.Call(m, "EnableLogicalDevicePort", varargs...)
bseenivadd66c362026-02-12 19:13:26 +0530440 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +0530441 ret1, _ := ret[1].(error)
442 return ret0, ret1
443}
444
445// EnableLogicalDevicePort indicates an expected call of EnableLogicalDevicePort.
bseenivadd66c362026-02-12 19:13:26 +0530446func (mr *MockVolthaServiceClientMockRecorder) EnableLogicalDevicePort(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530447 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530448 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530449 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableLogicalDevicePort", reflect.TypeOf((*MockVolthaServiceClient)(nil).EnableLogicalDevicePort), varargs...)
450}
451
bseenivadd66c362026-02-12 19:13:26 +0530452// EnableOnuDevice mocks base method.
453func (m *MockVolthaServiceClient) EnableOnuDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530454 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530455 varargs := []any{ctx, in}
456 for _, a := range opts {
457 varargs = append(varargs, a)
458 }
459 ret := m.ctrl.Call(m, "EnableOnuDevice", varargs...)
460 ret0, _ := ret[0].(*emptypb.Empty)
461 ret1, _ := ret[1].(error)
462 return ret0, ret1
463}
464
465// EnableOnuDevice indicates an expected call of EnableOnuDevice.
466func (mr *MockVolthaServiceClientMockRecorder) EnableOnuDevice(ctx, in any, opts ...any) *gomock.Call {
467 mr.mock.ctrl.T.Helper()
468 varargs := append([]any{ctx, in}, opts...)
469 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableOnuDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).EnableOnuDevice), varargs...)
470}
471
472// EnableOnuSerialNumber mocks base method.
473func (m *MockVolthaServiceClient) EnableOnuSerialNumber(ctx context.Context, in *voltha.OnuSerialNumberOnOLTPon, opts ...grpc.CallOption) (*emptypb.Empty, error) {
474 m.ctrl.T.Helper()
475 varargs := []any{ctx, in}
476 for _, a := range opts {
477 varargs = append(varargs, a)
478 }
479 ret := m.ctrl.Call(m, "EnableOnuSerialNumber", varargs...)
480 ret0, _ := ret[0].(*emptypb.Empty)
481 ret1, _ := ret[1].(error)
482 return ret0, ret1
483}
484
485// EnableOnuSerialNumber indicates an expected call of EnableOnuSerialNumber.
486func (mr *MockVolthaServiceClientMockRecorder) EnableOnuSerialNumber(ctx, in any, opts ...any) *gomock.Call {
487 mr.mock.ctrl.T.Helper()
488 varargs := append([]any{ctx, in}, opts...)
489 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnableOnuSerialNumber", reflect.TypeOf((*MockVolthaServiceClient)(nil).EnableOnuSerialNumber), varargs...)
490}
491
492// EnablePort mocks base method.
493func (m *MockVolthaServiceClient) EnablePort(ctx context.Context, in *voltha.Port, opts ...grpc.CallOption) (*emptypb.Empty, error) {
494 m.ctrl.T.Helper()
495 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530496 for _, a := range opts {
497 varargs = append(varargs, a)
498 }
499 ret := m.ctrl.Call(m, "EnablePort", varargs...)
bseenivadd66c362026-02-12 19:13:26 +0530500 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +0530501 ret1, _ := ret[1].(error)
502 return ret0, ret1
503}
504
505// EnablePort indicates an expected call of EnablePort.
bseenivadd66c362026-02-12 19:13:26 +0530506func (mr *MockVolthaServiceClientMockRecorder) EnablePort(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530507 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530508 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530509 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "EnablePort", reflect.TypeOf((*MockVolthaServiceClient)(nil).EnablePort), varargs...)
510}
511
512// ForceDeleteDevice mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530513func (m *MockVolthaServiceClient) ForceDeleteDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530514 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530515 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530516 for _, a := range opts {
517 varargs = append(varargs, a)
518 }
519 ret := m.ctrl.Call(m, "ForceDeleteDevice", varargs...)
bseenivadd66c362026-02-12 19:13:26 +0530520 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +0530521 ret1, _ := ret[1].(error)
522 return ret0, ret1
523}
524
525// ForceDeleteDevice indicates an expected call of ForceDeleteDevice.
bseenivadd66c362026-02-12 19:13:26 +0530526func (mr *MockVolthaServiceClientMockRecorder) ForceDeleteDevice(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530527 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530528 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530529 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ForceDeleteDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).ForceDeleteDevice), varargs...)
530}
531
532// GetAlarmDeviceData mocks base method.
533func (m *MockVolthaServiceClient) GetAlarmDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.AlarmDeviceData, error) {
534 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530535 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530536 for _, a := range opts {
537 varargs = append(varargs, a)
538 }
539 ret := m.ctrl.Call(m, "GetAlarmDeviceData", varargs...)
540 ret0, _ := ret[0].(*omci.AlarmDeviceData)
541 ret1, _ := ret[1].(error)
542 return ret0, ret1
543}
544
545// GetAlarmDeviceData indicates an expected call of GetAlarmDeviceData.
bseenivadd66c362026-02-12 19:13:26 +0530546func (mr *MockVolthaServiceClientMockRecorder) GetAlarmDeviceData(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530547 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530548 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530549 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetAlarmDeviceData", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetAlarmDeviceData), varargs...)
550}
551
552// GetCoreInstance mocks base method.
553func (m *MockVolthaServiceClient) GetCoreInstance(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.CoreInstance, error) {
554 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530555 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530556 for _, a := range opts {
557 varargs = append(varargs, a)
558 }
559 ret := m.ctrl.Call(m, "GetCoreInstance", varargs...)
560 ret0, _ := ret[0].(*voltha.CoreInstance)
561 ret1, _ := ret[1].(error)
562 return ret0, ret1
563}
564
565// GetCoreInstance indicates an expected call of GetCoreInstance.
bseenivadd66c362026-02-12 19:13:26 +0530566func (mr *MockVolthaServiceClientMockRecorder) GetCoreInstance(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530567 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530568 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530569 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetCoreInstance", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetCoreInstance), varargs...)
570}
571
572// GetDevice mocks base method.
573func (m *MockVolthaServiceClient) GetDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.Device, error) {
574 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530575 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530576 for _, a := range opts {
577 varargs = append(varargs, a)
578 }
579 ret := m.ctrl.Call(m, "GetDevice", varargs...)
580 ret0, _ := ret[0].(*voltha.Device)
581 ret1, _ := ret[1].(error)
582 return ret0, ret1
583}
584
585// GetDevice indicates an expected call of GetDevice.
bseenivadd66c362026-02-12 19:13:26 +0530586func (mr *MockVolthaServiceClientMockRecorder) GetDevice(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530587 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530588 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530589 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetDevice), varargs...)
590}
591
592// GetDeviceType mocks base method.
593func (m *MockVolthaServiceClient) GetDeviceType(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.DeviceType, error) {
594 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530595 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530596 for _, a := range opts {
597 varargs = append(varargs, a)
598 }
599 ret := m.ctrl.Call(m, "GetDeviceType", varargs...)
600 ret0, _ := ret[0].(*voltha.DeviceType)
601 ret1, _ := ret[1].(error)
602 return ret0, ret1
603}
604
605// GetDeviceType indicates an expected call of GetDeviceType.
bseenivadd66c362026-02-12 19:13:26 +0530606func (mr *MockVolthaServiceClientMockRecorder) GetDeviceType(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530607 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530608 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530609 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetDeviceType", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetDeviceType), varargs...)
610}
611
612// GetEventFilter mocks base method.
613func (m *MockVolthaServiceClient) GetEventFilter(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.EventFilters, error) {
614 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530615 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530616 for _, a := range opts {
617 varargs = append(varargs, a)
618 }
619 ret := m.ctrl.Call(m, "GetEventFilter", varargs...)
620 ret0, _ := ret[0].(*voltha.EventFilters)
621 ret1, _ := ret[1].(error)
622 return ret0, ret1
623}
624
625// GetEventFilter indicates an expected call of GetEventFilter.
bseenivadd66c362026-02-12 19:13:26 +0530626func (mr *MockVolthaServiceClientMockRecorder) GetEventFilter(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530627 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530628 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530629 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetEventFilter", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetEventFilter), varargs...)
630}
631
632// GetExtValue mocks base method.
633func (m *MockVolthaServiceClient) GetExtValue(ctx context.Context, in *extension.ValueSpecifier, opts ...grpc.CallOption) (*extension.ReturnValues, error) {
634 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530635 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530636 for _, a := range opts {
637 varargs = append(varargs, a)
638 }
639 ret := m.ctrl.Call(m, "GetExtValue", varargs...)
640 ret0, _ := ret[0].(*extension.ReturnValues)
641 ret1, _ := ret[1].(error)
642 return ret0, ret1
643}
644
645// GetExtValue indicates an expected call of GetExtValue.
bseenivadd66c362026-02-12 19:13:26 +0530646func (mr *MockVolthaServiceClientMockRecorder) GetExtValue(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530647 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530648 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530649 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetExtValue", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetExtValue), varargs...)
650}
651
652// GetImageDownload mocks base method.
653func (m *MockVolthaServiceClient) GetImageDownload(ctx context.Context, in *voltha.ImageDownload, opts ...grpc.CallOption) (*voltha.ImageDownload, error) {
654 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530655 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530656 for _, a := range opts {
657 varargs = append(varargs, a)
658 }
659 ret := m.ctrl.Call(m, "GetImageDownload", varargs...)
660 ret0, _ := ret[0].(*voltha.ImageDownload)
661 ret1, _ := ret[1].(error)
662 return ret0, ret1
663}
664
665// GetImageDownload indicates an expected call of GetImageDownload.
bseenivadd66c362026-02-12 19:13:26 +0530666func (mr *MockVolthaServiceClientMockRecorder) GetImageDownload(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530667 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530668 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530669 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImageDownload", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetImageDownload), varargs...)
670}
671
672// GetImageDownloadStatus mocks base method.
673func (m *MockVolthaServiceClient) GetImageDownloadStatus(ctx context.Context, in *voltha.ImageDownload, opts ...grpc.CallOption) (*voltha.ImageDownload, error) {
674 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530675 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530676 for _, a := range opts {
677 varargs = append(varargs, a)
678 }
679 ret := m.ctrl.Call(m, "GetImageDownloadStatus", varargs...)
680 ret0, _ := ret[0].(*voltha.ImageDownload)
681 ret1, _ := ret[1].(error)
682 return ret0, ret1
683}
684
685// GetImageDownloadStatus indicates an expected call of GetImageDownloadStatus.
bseenivadd66c362026-02-12 19:13:26 +0530686func (mr *MockVolthaServiceClientMockRecorder) GetImageDownloadStatus(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530687 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530688 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530689 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImageDownloadStatus", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetImageDownloadStatus), varargs...)
690}
691
692// GetImageStatus mocks base method.
693func (m *MockVolthaServiceClient) GetImageStatus(ctx context.Context, in *voltha.DeviceImageRequest, opts ...grpc.CallOption) (*voltha.DeviceImageResponse, error) {
694 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530695 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530696 for _, a := range opts {
697 varargs = append(varargs, a)
698 }
699 ret := m.ctrl.Call(m, "GetImageStatus", varargs...)
700 ret0, _ := ret[0].(*voltha.DeviceImageResponse)
701 ret1, _ := ret[1].(error)
702 return ret0, ret1
703}
704
705// GetImageStatus indicates an expected call of GetImageStatus.
bseenivadd66c362026-02-12 19:13:26 +0530706func (mr *MockVolthaServiceClientMockRecorder) GetImageStatus(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530707 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530708 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530709 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImageStatus", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetImageStatus), varargs...)
710}
711
712// GetImages mocks base method.
713func (m *MockVolthaServiceClient) GetImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.Images, error) {
714 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530715 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530716 for _, a := range opts {
717 varargs = append(varargs, a)
718 }
719 ret := m.ctrl.Call(m, "GetImages", varargs...)
720 ret0, _ := ret[0].(*voltha.Images)
721 ret1, _ := ret[1].(error)
722 return ret0, ret1
723}
724
725// GetImages indicates an expected call of GetImages.
bseenivadd66c362026-02-12 19:13:26 +0530726func (mr *MockVolthaServiceClientMockRecorder) GetImages(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530727 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530728 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530729 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetImages", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetImages), varargs...)
730}
731
732// GetLogicalDevice mocks base method.
733func (m *MockVolthaServiceClient) GetLogicalDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.LogicalDevice, error) {
734 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530735 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530736 for _, a := range opts {
737 varargs = append(varargs, a)
738 }
739 ret := m.ctrl.Call(m, "GetLogicalDevice", varargs...)
740 ret0, _ := ret[0].(*voltha.LogicalDevice)
741 ret1, _ := ret[1].(error)
742 return ret0, ret1
743}
744
745// GetLogicalDevice indicates an expected call of GetLogicalDevice.
bseenivadd66c362026-02-12 19:13:26 +0530746func (mr *MockVolthaServiceClientMockRecorder) GetLogicalDevice(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530747 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530748 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530749 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetLogicalDevice), varargs...)
750}
751
752// GetLogicalDevicePort mocks base method.
753func (m *MockVolthaServiceClient) GetLogicalDevicePort(ctx context.Context, in *voltha.LogicalPortId, opts ...grpc.CallOption) (*voltha.LogicalPort, error) {
754 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530755 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530756 for _, a := range opts {
757 varargs = append(varargs, a)
758 }
759 ret := m.ctrl.Call(m, "GetLogicalDevicePort", varargs...)
760 ret0, _ := ret[0].(*voltha.LogicalPort)
761 ret1, _ := ret[1].(error)
762 return ret0, ret1
763}
764
765// GetLogicalDevicePort indicates an expected call of GetLogicalDevicePort.
bseenivadd66c362026-02-12 19:13:26 +0530766func (mr *MockVolthaServiceClientMockRecorder) GetLogicalDevicePort(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530767 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530768 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530769 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetLogicalDevicePort", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetLogicalDevicePort), varargs...)
770}
771
772// GetMibDeviceData mocks base method.
773func (m *MockVolthaServiceClient) GetMibDeviceData(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*omci.MibDeviceData, error) {
774 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530775 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530776 for _, a := range opts {
777 varargs = append(varargs, a)
778 }
779 ret := m.ctrl.Call(m, "GetMibDeviceData", varargs...)
780 ret0, _ := ret[0].(*omci.MibDeviceData)
781 ret1, _ := ret[1].(error)
782 return ret0, ret1
783}
784
785// GetMibDeviceData indicates an expected call of GetMibDeviceData.
bseenivadd66c362026-02-12 19:13:26 +0530786func (mr *MockVolthaServiceClientMockRecorder) GetMibDeviceData(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530787 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530788 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530789 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetMibDeviceData", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetMibDeviceData), varargs...)
790}
791
792// GetOnuImages mocks base method.
793func (m *MockVolthaServiceClient) GetOnuImages(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.OnuImages, error) {
794 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530795 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530796 for _, a := range opts {
797 varargs = append(varargs, a)
798 }
799 ret := m.ctrl.Call(m, "GetOnuImages", varargs...)
800 ret0, _ := ret[0].(*voltha.OnuImages)
801 ret1, _ := ret[1].(error)
802 return ret0, ret1
803}
804
805// GetOnuImages indicates an expected call of GetOnuImages.
bseenivadd66c362026-02-12 19:13:26 +0530806func (mr *MockVolthaServiceClientMockRecorder) GetOnuImages(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530807 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530808 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530809 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetOnuImages", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetOnuImages), varargs...)
810}
811
812// GetVoltha mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530813func (m *MockVolthaServiceClient) GetVoltha(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*voltha.Voltha, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530814 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530815 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530816 for _, a := range opts {
817 varargs = append(varargs, a)
818 }
819 ret := m.ctrl.Call(m, "GetVoltha", varargs...)
820 ret0, _ := ret[0].(*voltha.Voltha)
821 ret1, _ := ret[1].(error)
822 return ret0, ret1
823}
824
825// GetVoltha indicates an expected call of GetVoltha.
bseenivadd66c362026-02-12 19:13:26 +0530826func (mr *MockVolthaServiceClientMockRecorder) GetVoltha(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530827 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530828 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530829 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "GetVoltha", reflect.TypeOf((*MockVolthaServiceClient)(nil).GetVoltha), varargs...)
830}
831
832// ListAdapters mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530833func (m *MockVolthaServiceClient) ListAdapters(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*voltha.Adapters, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530834 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530835 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530836 for _, a := range opts {
837 varargs = append(varargs, a)
838 }
839 ret := m.ctrl.Call(m, "ListAdapters", varargs...)
840 ret0, _ := ret[0].(*voltha.Adapters)
841 ret1, _ := ret[1].(error)
842 return ret0, ret1
843}
844
845// ListAdapters indicates an expected call of ListAdapters.
bseenivadd66c362026-02-12 19:13:26 +0530846func (mr *MockVolthaServiceClientMockRecorder) ListAdapters(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530847 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530848 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530849 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListAdapters", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListAdapters), varargs...)
850}
851
852// ListCoreInstances mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530853func (m *MockVolthaServiceClient) ListCoreInstances(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*voltha.CoreInstances, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530854 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530855 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530856 for _, a := range opts {
857 varargs = append(varargs, a)
858 }
859 ret := m.ctrl.Call(m, "ListCoreInstances", varargs...)
860 ret0, _ := ret[0].(*voltha.CoreInstances)
861 ret1, _ := ret[1].(error)
862 return ret0, ret1
863}
864
865// ListCoreInstances indicates an expected call of ListCoreInstances.
bseenivadd66c362026-02-12 19:13:26 +0530866func (mr *MockVolthaServiceClientMockRecorder) ListCoreInstances(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530867 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530868 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530869 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListCoreInstances", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListCoreInstances), varargs...)
870}
871
872// ListDeviceFlowGroups mocks base method.
873func (m *MockVolthaServiceClient) ListDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
874 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530875 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530876 for _, a := range opts {
877 varargs = append(varargs, a)
878 }
879 ret := m.ctrl.Call(m, "ListDeviceFlowGroups", varargs...)
880 ret0, _ := ret[0].(*openflow_13.FlowGroups)
881 ret1, _ := ret[1].(error)
882 return ret0, ret1
883}
884
885// ListDeviceFlowGroups indicates an expected call of ListDeviceFlowGroups.
bseenivadd66c362026-02-12 19:13:26 +0530886func (mr *MockVolthaServiceClientMockRecorder) ListDeviceFlowGroups(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530887 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530888 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530889 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDeviceFlowGroups", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDeviceFlowGroups), varargs...)
890}
891
892// ListDeviceFlows mocks base method.
893func (m *MockVolthaServiceClient) ListDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
894 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530895 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530896 for _, a := range opts {
897 varargs = append(varargs, a)
898 }
899 ret := m.ctrl.Call(m, "ListDeviceFlows", varargs...)
900 ret0, _ := ret[0].(*openflow_13.Flows)
901 ret1, _ := ret[1].(error)
902 return ret0, ret1
903}
904
905// ListDeviceFlows indicates an expected call of ListDeviceFlows.
bseenivadd66c362026-02-12 19:13:26 +0530906func (mr *MockVolthaServiceClientMockRecorder) ListDeviceFlows(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530907 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530908 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530909 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDeviceFlows", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDeviceFlows), varargs...)
910}
911
912// ListDeviceIds mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530913func (m *MockVolthaServiceClient) ListDeviceIds(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*common.IDs, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530914 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530915 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530916 for _, a := range opts {
917 varargs = append(varargs, a)
918 }
919 ret := m.ctrl.Call(m, "ListDeviceIds", varargs...)
920 ret0, _ := ret[0].(*common.IDs)
921 ret1, _ := ret[1].(error)
922 return ret0, ret1
923}
924
925// ListDeviceIds indicates an expected call of ListDeviceIds.
bseenivadd66c362026-02-12 19:13:26 +0530926func (mr *MockVolthaServiceClientMockRecorder) ListDeviceIds(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530927 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530928 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530929 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDeviceIds", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDeviceIds), varargs...)
930}
931
932// ListDevicePmConfigs mocks base method.
933func (m *MockVolthaServiceClient) ListDevicePmConfigs(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.PmConfigs, error) {
934 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530935 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530936 for _, a := range opts {
937 varargs = append(varargs, a)
938 }
939 ret := m.ctrl.Call(m, "ListDevicePmConfigs", varargs...)
940 ret0, _ := ret[0].(*voltha.PmConfigs)
941 ret1, _ := ret[1].(error)
942 return ret0, ret1
943}
944
945// ListDevicePmConfigs indicates an expected call of ListDevicePmConfigs.
bseenivadd66c362026-02-12 19:13:26 +0530946func (mr *MockVolthaServiceClientMockRecorder) ListDevicePmConfigs(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530947 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530948 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530949 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDevicePmConfigs", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDevicePmConfigs), varargs...)
950}
951
952// ListDevicePorts mocks base method.
953func (m *MockVolthaServiceClient) ListDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.Ports, error) {
954 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530955 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530956 for _, a := range opts {
957 varargs = append(varargs, a)
958 }
959 ret := m.ctrl.Call(m, "ListDevicePorts", varargs...)
960 ret0, _ := ret[0].(*voltha.Ports)
961 ret1, _ := ret[1].(error)
962 return ret0, ret1
963}
964
965// ListDevicePorts indicates an expected call of ListDevicePorts.
bseenivadd66c362026-02-12 19:13:26 +0530966func (mr *MockVolthaServiceClientMockRecorder) ListDevicePorts(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530967 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530968 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530969 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDevicePorts", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDevicePorts), varargs...)
970}
971
972// ListDeviceTypes mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530973func (m *MockVolthaServiceClient) ListDeviceTypes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*voltha.DeviceTypes, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530974 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530975 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530976 for _, a := range opts {
977 varargs = append(varargs, a)
978 }
979 ret := m.ctrl.Call(m, "ListDeviceTypes", varargs...)
980 ret0, _ := ret[0].(*voltha.DeviceTypes)
981 ret1, _ := ret[1].(error)
982 return ret0, ret1
983}
984
985// ListDeviceTypes indicates an expected call of ListDeviceTypes.
bseenivadd66c362026-02-12 19:13:26 +0530986func (mr *MockVolthaServiceClientMockRecorder) ListDeviceTypes(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +0530987 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530988 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +0530989 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDeviceTypes", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDeviceTypes), varargs...)
990}
991
992// ListDevices mocks base method.
bseenivadd66c362026-02-12 19:13:26 +0530993func (m *MockVolthaServiceClient) ListDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*voltha.Devices, error) {
vinokuma04dc9f82023-07-31 15:47:49 +0530994 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +0530995 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +0530996 for _, a := range opts {
997 varargs = append(varargs, a)
998 }
999 ret := m.ctrl.Call(m, "ListDevices", varargs...)
1000 ret0, _ := ret[0].(*voltha.Devices)
1001 ret1, _ := ret[1].(error)
1002 return ret0, ret1
1003}
1004
1005// ListDevices indicates an expected call of ListDevices.
bseenivadd66c362026-02-12 19:13:26 +05301006func (mr *MockVolthaServiceClientMockRecorder) ListDevices(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301007 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301008 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301009 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListDevices", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListDevices), varargs...)
1010}
1011
1012// ListEventFilters mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301013func (m *MockVolthaServiceClient) ListEventFilters(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*voltha.EventFilters, error) {
vinokuma04dc9f82023-07-31 15:47:49 +05301014 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301015 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301016 for _, a := range opts {
1017 varargs = append(varargs, a)
1018 }
1019 ret := m.ctrl.Call(m, "ListEventFilters", varargs...)
1020 ret0, _ := ret[0].(*voltha.EventFilters)
1021 ret1, _ := ret[1].(error)
1022 return ret0, ret1
1023}
1024
1025// ListEventFilters indicates an expected call of ListEventFilters.
bseenivadd66c362026-02-12 19:13:26 +05301026func (mr *MockVolthaServiceClientMockRecorder) ListEventFilters(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301027 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301028 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301029 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListEventFilters", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListEventFilters), varargs...)
1030}
1031
1032// ListImageDownloads mocks base method.
1033func (m *MockVolthaServiceClient) ListImageDownloads(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.ImageDownloads, error) {
1034 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301035 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301036 for _, a := range opts {
1037 varargs = append(varargs, a)
1038 }
1039 ret := m.ctrl.Call(m, "ListImageDownloads", varargs...)
1040 ret0, _ := ret[0].(*voltha.ImageDownloads)
1041 ret1, _ := ret[1].(error)
1042 return ret0, ret1
1043}
1044
1045// ListImageDownloads indicates an expected call of ListImageDownloads.
bseenivadd66c362026-02-12 19:13:26 +05301046func (mr *MockVolthaServiceClientMockRecorder) ListImageDownloads(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301047 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301048 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301049 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListImageDownloads", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListImageDownloads), varargs...)
1050}
1051
1052// ListLogicalDeviceFlowGroups mocks base method.
1053func (m *MockVolthaServiceClient) ListLogicalDeviceFlowGroups(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.FlowGroups, error) {
1054 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301055 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301056 for _, a := range opts {
1057 varargs = append(varargs, a)
1058 }
1059 ret := m.ctrl.Call(m, "ListLogicalDeviceFlowGroups", varargs...)
1060 ret0, _ := ret[0].(*openflow_13.FlowGroups)
1061 ret1, _ := ret[1].(error)
1062 return ret0, ret1
1063}
1064
1065// ListLogicalDeviceFlowGroups indicates an expected call of ListLogicalDeviceFlowGroups.
bseenivadd66c362026-02-12 19:13:26 +05301066func (mr *MockVolthaServiceClientMockRecorder) ListLogicalDeviceFlowGroups(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301067 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301068 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301069 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDeviceFlowGroups", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListLogicalDeviceFlowGroups), varargs...)
1070}
1071
1072// ListLogicalDeviceFlows mocks base method.
1073func (m *MockVolthaServiceClient) ListLogicalDeviceFlows(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Flows, error) {
1074 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301075 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301076 for _, a := range opts {
1077 varargs = append(varargs, a)
1078 }
1079 ret := m.ctrl.Call(m, "ListLogicalDeviceFlows", varargs...)
1080 ret0, _ := ret[0].(*openflow_13.Flows)
1081 ret1, _ := ret[1].(error)
1082 return ret0, ret1
1083}
1084
1085// ListLogicalDeviceFlows indicates an expected call of ListLogicalDeviceFlows.
bseenivadd66c362026-02-12 19:13:26 +05301086func (mr *MockVolthaServiceClientMockRecorder) ListLogicalDeviceFlows(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301087 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301088 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301089 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDeviceFlows", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListLogicalDeviceFlows), varargs...)
1090}
1091
1092// ListLogicalDeviceMeters mocks base method.
1093func (m *MockVolthaServiceClient) ListLogicalDeviceMeters(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*openflow_13.Meters, error) {
1094 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301095 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301096 for _, a := range opts {
1097 varargs = append(varargs, a)
1098 }
1099 ret := m.ctrl.Call(m, "ListLogicalDeviceMeters", varargs...)
1100 ret0, _ := ret[0].(*openflow_13.Meters)
1101 ret1, _ := ret[1].(error)
1102 return ret0, ret1
1103}
1104
1105// ListLogicalDeviceMeters indicates an expected call of ListLogicalDeviceMeters.
bseenivadd66c362026-02-12 19:13:26 +05301106func (mr *MockVolthaServiceClientMockRecorder) ListLogicalDeviceMeters(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301107 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301108 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301109 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDeviceMeters", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListLogicalDeviceMeters), varargs...)
1110}
1111
1112// ListLogicalDevicePorts mocks base method.
1113func (m *MockVolthaServiceClient) ListLogicalDevicePorts(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.LogicalPorts, error) {
1114 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301115 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301116 for _, a := range opts {
1117 varargs = append(varargs, a)
1118 }
1119 ret := m.ctrl.Call(m, "ListLogicalDevicePorts", varargs...)
1120 ret0, _ := ret[0].(*voltha.LogicalPorts)
1121 ret1, _ := ret[1].(error)
1122 return ret0, ret1
1123}
1124
1125// ListLogicalDevicePorts indicates an expected call of ListLogicalDevicePorts.
bseenivadd66c362026-02-12 19:13:26 +05301126func (mr *MockVolthaServiceClientMockRecorder) ListLogicalDevicePorts(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301127 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301128 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301129 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDevicePorts", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListLogicalDevicePorts), varargs...)
1130}
1131
1132// ListLogicalDevices mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301133func (m *MockVolthaServiceClient) ListLogicalDevices(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*voltha.LogicalDevices, error) {
vinokuma04dc9f82023-07-31 15:47:49 +05301134 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301135 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301136 for _, a := range opts {
1137 varargs = append(varargs, a)
1138 }
1139 ret := m.ctrl.Call(m, "ListLogicalDevices", varargs...)
1140 ret0, _ := ret[0].(*voltha.LogicalDevices)
1141 ret1, _ := ret[1].(error)
1142 return ret0, ret1
1143}
1144
1145// ListLogicalDevices indicates an expected call of ListLogicalDevices.
bseenivadd66c362026-02-12 19:13:26 +05301146func (mr *MockVolthaServiceClientMockRecorder) ListLogicalDevices(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301147 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301148 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301149 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ListLogicalDevices", reflect.TypeOf((*MockVolthaServiceClient)(nil).ListLogicalDevices), varargs...)
1150}
1151
vinodd213b092024-03-28 16:10:07 +05301152// PutVoipSystemProfile mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301153func (m *MockVolthaServiceClient) PutVoipSystemProfile(ctx context.Context, in *voip_system_profile.VoipSystemProfileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinodd213b092024-03-28 16:10:07 +05301154 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301155 varargs := []any{ctx, in}
vinodd213b092024-03-28 16:10:07 +05301156 for _, a := range opts {
1157 varargs = append(varargs, a)
1158 }
1159 ret := m.ctrl.Call(m, "PutVoipSystemProfile", varargs...)
bseenivadd66c362026-02-12 19:13:26 +05301160 ret0, _ := ret[0].(*emptypb.Empty)
vinodd213b092024-03-28 16:10:07 +05301161 ret1, _ := ret[1].(error)
1162 return ret0, ret1
1163}
1164
1165// PutVoipSystemProfile indicates an expected call of PutVoipSystemProfile.
bseenivadd66c362026-02-12 19:13:26 +05301166func (mr *MockVolthaServiceClientMockRecorder) PutVoipSystemProfile(ctx, in any, opts ...any) *gomock.Call {
vinodd213b092024-03-28 16:10:07 +05301167 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301168 varargs := append([]any{ctx, in}, opts...)
vinodd213b092024-03-28 16:10:07 +05301169 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutVoipSystemProfile", reflect.TypeOf((*MockVolthaServiceClient)(nil).PutVoipSystemProfile), varargs...)
1170}
1171
1172// PutVoipUserProfile mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301173func (m *MockVolthaServiceClient) PutVoipUserProfile(ctx context.Context, in *voip_user_profile.VoipUserProfileRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinodd213b092024-03-28 16:10:07 +05301174 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301175 varargs := []any{ctx, in}
vinodd213b092024-03-28 16:10:07 +05301176 for _, a := range opts {
1177 varargs = append(varargs, a)
1178 }
1179 ret := m.ctrl.Call(m, "PutVoipUserProfile", varargs...)
bseenivadd66c362026-02-12 19:13:26 +05301180 ret0, _ := ret[0].(*emptypb.Empty)
vinodd213b092024-03-28 16:10:07 +05301181 ret1, _ := ret[1].(error)
1182 return ret0, ret1
1183}
1184
1185// PutVoipUserProfile indicates an expected call of PutVoipUserProfile.
bseenivadd66c362026-02-12 19:13:26 +05301186func (mr *MockVolthaServiceClientMockRecorder) PutVoipUserProfile(ctx, in any, opts ...any) *gomock.Call {
vinodd213b092024-03-28 16:10:07 +05301187 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301188 varargs := append([]any{ctx, in}, opts...)
vinodd213b092024-03-28 16:10:07 +05301189 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "PutVoipUserProfile", reflect.TypeOf((*MockVolthaServiceClient)(nil).PutVoipUserProfile), varargs...)
1190}
1191
vinokuma04dc9f82023-07-31 15:47:49 +05301192// RebootDevice mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301193func (m *MockVolthaServiceClient) RebootDevice(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +05301194 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301195 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301196 for _, a := range opts {
1197 varargs = append(varargs, a)
1198 }
1199 ret := m.ctrl.Call(m, "RebootDevice", varargs...)
bseenivadd66c362026-02-12 19:13:26 +05301200 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +05301201 ret1, _ := ret[1].(error)
1202 return ret0, ret1
1203}
1204
1205// RebootDevice indicates an expected call of RebootDevice.
bseenivadd66c362026-02-12 19:13:26 +05301206func (mr *MockVolthaServiceClientMockRecorder) RebootDevice(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301207 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301208 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301209 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RebootDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).RebootDevice), varargs...)
1210}
1211
1212// ReceiveChangeEvents mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301213func (m *MockVolthaServiceClient) ReceiveChangeEvents(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[openflow_13.ChangeEvent], error) {
vinokuma04dc9f82023-07-31 15:47:49 +05301214 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301215 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301216 for _, a := range opts {
1217 varargs = append(varargs, a)
1218 }
1219 ret := m.ctrl.Call(m, "ReceiveChangeEvents", varargs...)
bseenivadd66c362026-02-12 19:13:26 +05301220 ret0, _ := ret[0].(grpc.ServerStreamingClient[openflow_13.ChangeEvent])
vinokuma04dc9f82023-07-31 15:47:49 +05301221 ret1, _ := ret[1].(error)
1222 return ret0, ret1
1223}
1224
1225// ReceiveChangeEvents indicates an expected call of ReceiveChangeEvents.
bseenivadd66c362026-02-12 19:13:26 +05301226func (mr *MockVolthaServiceClientMockRecorder) ReceiveChangeEvents(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301227 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301228 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301229 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReceiveChangeEvents", reflect.TypeOf((*MockVolthaServiceClient)(nil).ReceiveChangeEvents), varargs...)
1230}
1231
1232// ReceivePacketsIn mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301233func (m *MockVolthaServiceClient) ReceivePacketsIn(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (grpc.ServerStreamingClient[openflow_13.PacketIn], error) {
vinokuma04dc9f82023-07-31 15:47:49 +05301234 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301235 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301236 for _, a := range opts {
1237 varargs = append(varargs, a)
1238 }
1239 ret := m.ctrl.Call(m, "ReceivePacketsIn", varargs...)
bseenivadd66c362026-02-12 19:13:26 +05301240 ret0, _ := ret[0].(grpc.ServerStreamingClient[openflow_13.PacketIn])
vinokuma04dc9f82023-07-31 15:47:49 +05301241 ret1, _ := ret[1].(error)
1242 return ret0, ret1
1243}
1244
1245// ReceivePacketsIn indicates an expected call of ReceivePacketsIn.
bseenivadd66c362026-02-12 19:13:26 +05301246func (mr *MockVolthaServiceClientMockRecorder) ReceivePacketsIn(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301247 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301248 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301249 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReceivePacketsIn", reflect.TypeOf((*MockVolthaServiceClient)(nil).ReceivePacketsIn), varargs...)
1250}
1251
1252// ReconcileDevices mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301253func (m *MockVolthaServiceClient) ReconcileDevices(ctx context.Context, in *common.IDs, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +05301254 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301255 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301256 for _, a := range opts {
1257 varargs = append(varargs, a)
1258 }
1259 ret := m.ctrl.Call(m, "ReconcileDevices", varargs...)
bseenivadd66c362026-02-12 19:13:26 +05301260 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +05301261 ret1, _ := ret[1].(error)
1262 return ret0, ret1
1263}
1264
1265// ReconcileDevices indicates an expected call of ReconcileDevices.
bseenivadd66c362026-02-12 19:13:26 +05301266func (mr *MockVolthaServiceClientMockRecorder) ReconcileDevices(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301267 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301268 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301269 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ReconcileDevices", reflect.TypeOf((*MockVolthaServiceClient)(nil).ReconcileDevices), varargs...)
1270}
1271
1272// RevertImageUpdate mocks base method.
1273func (m *MockVolthaServiceClient) RevertImageUpdate(ctx context.Context, in *voltha.ImageDownload, opts ...grpc.CallOption) (*common.OperationResp, error) {
1274 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301275 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301276 for _, a := range opts {
1277 varargs = append(varargs, a)
1278 }
1279 ret := m.ctrl.Call(m, "RevertImageUpdate", varargs...)
1280 ret0, _ := ret[0].(*common.OperationResp)
1281 ret1, _ := ret[1].(error)
1282 return ret0, ret1
1283}
1284
1285// RevertImageUpdate indicates an expected call of RevertImageUpdate.
bseenivadd66c362026-02-12 19:13:26 +05301286func (mr *MockVolthaServiceClientMockRecorder) RevertImageUpdate(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301287 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301288 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301289 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "RevertImageUpdate", reflect.TypeOf((*MockVolthaServiceClient)(nil).RevertImageUpdate), varargs...)
1290}
1291
1292// SelfTest mocks base method.
1293func (m *MockVolthaServiceClient) SelfTest(ctx context.Context, in *common.ID, opts ...grpc.CallOption) (*voltha.SelfTestResponse, error) {
1294 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301295 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301296 for _, a := range opts {
1297 varargs = append(varargs, a)
1298 }
1299 ret := m.ctrl.Call(m, "SelfTest", varargs...)
1300 ret0, _ := ret[0].(*voltha.SelfTestResponse)
1301 ret1, _ := ret[1].(error)
1302 return ret0, ret1
1303}
1304
1305// SelfTest indicates an expected call of SelfTest.
bseenivadd66c362026-02-12 19:13:26 +05301306func (mr *MockVolthaServiceClientMockRecorder) SelfTest(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301307 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301308 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301309 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SelfTest", reflect.TypeOf((*MockVolthaServiceClient)(nil).SelfTest), varargs...)
1310}
1311
1312// SetExtValue mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301313func (m *MockVolthaServiceClient) SetExtValue(ctx context.Context, in *extension.ValueSet, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +05301314 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301315 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301316 for _, a := range opts {
1317 varargs = append(varargs, a)
1318 }
1319 ret := m.ctrl.Call(m, "SetExtValue", varargs...)
bseenivadd66c362026-02-12 19:13:26 +05301320 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +05301321 ret1, _ := ret[1].(error)
1322 return ret0, ret1
1323}
1324
1325// SetExtValue indicates an expected call of SetExtValue.
bseenivadd66c362026-02-12 19:13:26 +05301326func (mr *MockVolthaServiceClientMockRecorder) SetExtValue(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301327 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301328 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301329 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SetExtValue", reflect.TypeOf((*MockVolthaServiceClient)(nil).SetExtValue), varargs...)
1330}
1331
1332// SimulateAlarm mocks base method.
1333func (m *MockVolthaServiceClient) SimulateAlarm(ctx context.Context, in *voltha.SimulateAlarmRequest, opts ...grpc.CallOption) (*common.OperationResp, error) {
1334 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301335 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301336 for _, a := range opts {
1337 varargs = append(varargs, a)
1338 }
1339 ret := m.ctrl.Call(m, "SimulateAlarm", varargs...)
1340 ret0, _ := ret[0].(*common.OperationResp)
1341 ret1, _ := ret[1].(error)
1342 return ret0, ret1
1343}
1344
1345// SimulateAlarm indicates an expected call of SimulateAlarm.
bseenivadd66c362026-02-12 19:13:26 +05301346func (mr *MockVolthaServiceClientMockRecorder) SimulateAlarm(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301347 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301348 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301349 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SimulateAlarm", reflect.TypeOf((*MockVolthaServiceClient)(nil).SimulateAlarm), varargs...)
1350}
1351
1352// StartOmciTestAction mocks base method.
1353func (m *MockVolthaServiceClient) StartOmciTestAction(ctx context.Context, in *omci.OmciTestRequest, opts ...grpc.CallOption) (*omci.TestResponse, error) {
1354 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301355 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301356 for _, a := range opts {
1357 varargs = append(varargs, a)
1358 }
1359 ret := m.ctrl.Call(m, "StartOmciTestAction", varargs...)
1360 ret0, _ := ret[0].(*omci.TestResponse)
1361 ret1, _ := ret[1].(error)
1362 return ret0, ret1
1363}
1364
1365// StartOmciTestAction indicates an expected call of StartOmciTestAction.
bseenivadd66c362026-02-12 19:13:26 +05301366func (mr *MockVolthaServiceClientMockRecorder) StartOmciTestAction(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301367 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301368 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301369 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StartOmciTestAction", reflect.TypeOf((*MockVolthaServiceClient)(nil).StartOmciTestAction), varargs...)
1370}
1371
1372// StreamPacketsOut mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301373func (m *MockVolthaServiceClient) StreamPacketsOut(ctx context.Context, opts ...grpc.CallOption) (grpc.ClientStreamingClient[openflow_13.PacketOut, emptypb.Empty], error) {
vinokuma04dc9f82023-07-31 15:47:49 +05301374 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301375 varargs := []any{ctx}
vinokuma04dc9f82023-07-31 15:47:49 +05301376 for _, a := range opts {
1377 varargs = append(varargs, a)
1378 }
1379 ret := m.ctrl.Call(m, "StreamPacketsOut", varargs...)
bseenivadd66c362026-02-12 19:13:26 +05301380 ret0, _ := ret[0].(grpc.ClientStreamingClient[openflow_13.PacketOut, emptypb.Empty])
vinokuma04dc9f82023-07-31 15:47:49 +05301381 ret1, _ := ret[1].(error)
1382 return ret0, ret1
1383}
1384
1385// StreamPacketsOut indicates an expected call of StreamPacketsOut.
bseenivadd66c362026-02-12 19:13:26 +05301386func (mr *MockVolthaServiceClientMockRecorder) StreamPacketsOut(ctx any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301387 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301388 varargs := append([]any{ctx}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301389 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StreamPacketsOut", reflect.TypeOf((*MockVolthaServiceClient)(nil).StreamPacketsOut), varargs...)
1390}
1391
bseenivadd66c362026-02-12 19:13:26 +05301392// UpdateDevice mocks base method.
1393func (m *MockVolthaServiceClient) UpdateDevice(ctx context.Context, in *voltha.UpdateDevice, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +05301394 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301395 varargs := []any{ctx, in}
1396 for _, a := range opts {
1397 varargs = append(varargs, a)
1398 }
1399 ret := m.ctrl.Call(m, "UpdateDevice", varargs...)
1400 ret0, _ := ret[0].(*emptypb.Empty)
1401 ret1, _ := ret[1].(error)
1402 return ret0, ret1
1403}
1404
1405// UpdateDevice indicates an expected call of UpdateDevice.
1406func (mr *MockVolthaServiceClientMockRecorder) UpdateDevice(ctx, in any, opts ...any) *gomock.Call {
1407 mr.mock.ctrl.T.Helper()
1408 varargs := append([]any{ctx, in}, opts...)
1409 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDevice", reflect.TypeOf((*MockVolthaServiceClient)(nil).UpdateDevice), varargs...)
1410}
1411
1412// UpdateDevicePmConfigs mocks base method.
1413func (m *MockVolthaServiceClient) UpdateDevicePmConfigs(ctx context.Context, in *voltha.PmConfigs, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1414 m.ctrl.T.Helper()
1415 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301416 for _, a := range opts {
1417 varargs = append(varargs, a)
1418 }
1419 ret := m.ctrl.Call(m, "UpdateDevicePmConfigs", varargs...)
bseenivadd66c362026-02-12 19:13:26 +05301420 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +05301421 ret1, _ := ret[1].(error)
1422 return ret0, ret1
1423}
1424
1425// UpdateDevicePmConfigs indicates an expected call of UpdateDevicePmConfigs.
bseenivadd66c362026-02-12 19:13:26 +05301426func (mr *MockVolthaServiceClientMockRecorder) UpdateDevicePmConfigs(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301427 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301428 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301429 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateDevicePmConfigs", reflect.TypeOf((*MockVolthaServiceClient)(nil).UpdateDevicePmConfigs), varargs...)
1430}
1431
1432// UpdateEventFilter mocks base method.
1433func (m *MockVolthaServiceClient) UpdateEventFilter(ctx context.Context, in *voltha.EventFilter, opts ...grpc.CallOption) (*voltha.EventFilter, error) {
1434 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301435 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301436 for _, a := range opts {
1437 varargs = append(varargs, a)
1438 }
1439 ret := m.ctrl.Call(m, "UpdateEventFilter", varargs...)
1440 ret0, _ := ret[0].(*voltha.EventFilter)
1441 ret1, _ := ret[1].(error)
1442 return ret0, ret1
1443}
1444
1445// UpdateEventFilter indicates an expected call of UpdateEventFilter.
bseenivadd66c362026-02-12 19:13:26 +05301446func (mr *MockVolthaServiceClientMockRecorder) UpdateEventFilter(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301447 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301448 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301449 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateEventFilter", reflect.TypeOf((*MockVolthaServiceClient)(nil).UpdateEventFilter), varargs...)
1450}
1451
1452// UpdateLogicalDeviceFlowGroupTable mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301453func (m *MockVolthaServiceClient) UpdateLogicalDeviceFlowGroupTable(ctx context.Context, in *openflow_13.FlowGroupTableUpdate, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +05301454 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301455 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301456 for _, a := range opts {
1457 varargs = append(varargs, a)
1458 }
1459 ret := m.ctrl.Call(m, "UpdateLogicalDeviceFlowGroupTable", varargs...)
bseenivadd66c362026-02-12 19:13:26 +05301460 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +05301461 ret1, _ := ret[1].(error)
1462 return ret0, ret1
1463}
1464
1465// UpdateLogicalDeviceFlowGroupTable indicates an expected call of UpdateLogicalDeviceFlowGroupTable.
bseenivadd66c362026-02-12 19:13:26 +05301466func (mr *MockVolthaServiceClientMockRecorder) UpdateLogicalDeviceFlowGroupTable(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301467 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301468 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301469 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalDeviceFlowGroupTable", reflect.TypeOf((*MockVolthaServiceClient)(nil).UpdateLogicalDeviceFlowGroupTable), varargs...)
1470}
1471
1472// UpdateLogicalDeviceFlowTable mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301473func (m *MockVolthaServiceClient) UpdateLogicalDeviceFlowTable(ctx context.Context, in *openflow_13.FlowTableUpdate, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +05301474 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301475 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301476 for _, a := range opts {
1477 varargs = append(varargs, a)
1478 }
1479 ret := m.ctrl.Call(m, "UpdateLogicalDeviceFlowTable", varargs...)
bseenivadd66c362026-02-12 19:13:26 +05301480 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +05301481 ret1, _ := ret[1].(error)
1482 return ret0, ret1
1483}
1484
1485// UpdateLogicalDeviceFlowTable indicates an expected call of UpdateLogicalDeviceFlowTable.
bseenivadd66c362026-02-12 19:13:26 +05301486func (mr *MockVolthaServiceClientMockRecorder) UpdateLogicalDeviceFlowTable(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301487 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301488 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301489 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalDeviceFlowTable", reflect.TypeOf((*MockVolthaServiceClient)(nil).UpdateLogicalDeviceFlowTable), varargs...)
1490}
1491
1492// UpdateLogicalDeviceMeterTable mocks base method.
bseenivadd66c362026-02-12 19:13:26 +05301493func (m *MockVolthaServiceClient) UpdateLogicalDeviceMeterTable(ctx context.Context, in *openflow_13.MeterModUpdate, opts ...grpc.CallOption) (*emptypb.Empty, error) {
vinokuma04dc9f82023-07-31 15:47:49 +05301494 m.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301495 varargs := []any{ctx, in}
vinokuma04dc9f82023-07-31 15:47:49 +05301496 for _, a := range opts {
1497 varargs = append(varargs, a)
1498 }
1499 ret := m.ctrl.Call(m, "UpdateLogicalDeviceMeterTable", varargs...)
bseenivadd66c362026-02-12 19:13:26 +05301500 ret0, _ := ret[0].(*emptypb.Empty)
vinokuma04dc9f82023-07-31 15:47:49 +05301501 ret1, _ := ret[1].(error)
1502 return ret0, ret1
1503}
1504
1505// UpdateLogicalDeviceMeterTable indicates an expected call of UpdateLogicalDeviceMeterTable.
bseenivadd66c362026-02-12 19:13:26 +05301506func (mr *MockVolthaServiceClientMockRecorder) UpdateLogicalDeviceMeterTable(ctx, in any, opts ...any) *gomock.Call {
vinokuma04dc9f82023-07-31 15:47:49 +05301507 mr.mock.ctrl.T.Helper()
bseenivadd66c362026-02-12 19:13:26 +05301508 varargs := append([]any{ctx, in}, opts...)
vinokuma04dc9f82023-07-31 15:47:49 +05301509 return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "UpdateLogicalDeviceMeterTable", reflect.TypeOf((*MockVolthaServiceClient)(nil).UpdateLogicalDeviceMeterTable), varargs...)
1510}