// Code generated by MockGen. DO NOT EDIT.
// Source: github.com/anyproto/any-sync/commonspace/spacesyncproto (interfaces: DRPCSpaceSyncClient)
//
// Generated by this command:
//
//	mockgen -destination mock_spacesyncproto/mock_spacesyncproto.go github.com/anyproto/any-sync/commonspace/spacesyncproto DRPCSpaceSyncClient
//

// Package mock_spacesyncproto is a generated GoMock package.
package mock_spacesyncproto

import (
	context "context"
	reflect "reflect"

	spacesyncproto "github.com/anyproto/any-sync/commonspace/spacesyncproto"
	gomock "go.uber.org/mock/gomock"
	drpc "storj.io/drpc"
)

// MockDRPCSpaceSyncClient is a mock of DRPCSpaceSyncClient interface.
type MockDRPCSpaceSyncClient struct {
	ctrl     *gomock.Controller
	recorder *MockDRPCSpaceSyncClientMockRecorder
	isgomock struct{}
}

// MockDRPCSpaceSyncClientMockRecorder is the mock recorder for MockDRPCSpaceSyncClient.
type MockDRPCSpaceSyncClientMockRecorder struct {
	mock *MockDRPCSpaceSyncClient
}

// NewMockDRPCSpaceSyncClient creates a new mock instance.
func NewMockDRPCSpaceSyncClient(ctrl *gomock.Controller) *MockDRPCSpaceSyncClient {
	mock := &MockDRPCSpaceSyncClient{ctrl: ctrl}
	mock.recorder = &MockDRPCSpaceSyncClientMockRecorder{mock}
	return mock
}

// EXPECT returns an object that allows the caller to indicate expected use.
func (m *MockDRPCSpaceSyncClient) EXPECT() *MockDRPCSpaceSyncClientMockRecorder {
	return m.recorder
}

// AclAddRecord mocks base method.
func (m *MockDRPCSpaceSyncClient) AclAddRecord(ctx context.Context, in *spacesyncproto.AclAddRecordRequest) (*spacesyncproto.AclAddRecordResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AclAddRecord", ctx, in)
	ret0, _ := ret[0].(*spacesyncproto.AclAddRecordResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// AclAddRecord indicates an expected call of AclAddRecord.
func (mr *MockDRPCSpaceSyncClientMockRecorder) AclAddRecord(ctx, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AclAddRecord", reflect.TypeOf((*MockDRPCSpaceSyncClient)(nil).AclAddRecord), ctx, in)
}

// AclGetRecords mocks base method.
func (m *MockDRPCSpaceSyncClient) AclGetRecords(ctx context.Context, in *spacesyncproto.AclGetRecordsRequest) (*spacesyncproto.AclGetRecordsResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "AclGetRecords", ctx, in)
	ret0, _ := ret[0].(*spacesyncproto.AclGetRecordsResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// AclGetRecords indicates an expected call of AclGetRecords.
func (mr *MockDRPCSpaceSyncClientMockRecorder) AclGetRecords(ctx, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "AclGetRecords", reflect.TypeOf((*MockDRPCSpaceSyncClient)(nil).AclGetRecords), ctx, in)
}

// DRPCConn mocks base method.
func (m *MockDRPCSpaceSyncClient) DRPCConn() drpc.Conn {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "DRPCConn")
	ret0, _ := ret[0].(drpc.Conn)
	return ret0
}

// DRPCConn indicates an expected call of DRPCConn.
func (mr *MockDRPCSpaceSyncClientMockRecorder) DRPCConn() *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "DRPCConn", reflect.TypeOf((*MockDRPCSpaceSyncClient)(nil).DRPCConn))
}

// HeadSync mocks base method.
func (m *MockDRPCSpaceSyncClient) HeadSync(ctx context.Context, in *spacesyncproto.HeadSyncRequest) (*spacesyncproto.HeadSyncResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "HeadSync", ctx, in)
	ret0, _ := ret[0].(*spacesyncproto.HeadSyncResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// HeadSync indicates an expected call of HeadSync.
func (mr *MockDRPCSpaceSyncClientMockRecorder) HeadSync(ctx, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "HeadSync", reflect.TypeOf((*MockDRPCSpaceSyncClient)(nil).HeadSync), ctx, in)
}

// ObjectSync mocks base method.
func (m *MockDRPCSpaceSyncClient) ObjectSync(ctx context.Context, in *spacesyncproto.ObjectSyncMessage) (*spacesyncproto.ObjectSyncMessage, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ObjectSync", ctx, in)
	ret0, _ := ret[0].(*spacesyncproto.ObjectSyncMessage)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ObjectSync indicates an expected call of ObjectSync.
func (mr *MockDRPCSpaceSyncClientMockRecorder) ObjectSync(ctx, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ObjectSync", reflect.TypeOf((*MockDRPCSpaceSyncClient)(nil).ObjectSync), ctx, in)
}

// ObjectSyncRequestStream mocks base method.
func (m *MockDRPCSpaceSyncClient) ObjectSyncRequestStream(ctx context.Context, in *spacesyncproto.ObjectSyncMessage) (spacesyncproto.DRPCSpaceSync_ObjectSyncRequestStreamClient, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ObjectSyncRequestStream", ctx, in)
	ret0, _ := ret[0].(spacesyncproto.DRPCSpaceSync_ObjectSyncRequestStreamClient)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ObjectSyncRequestStream indicates an expected call of ObjectSyncRequestStream.
func (mr *MockDRPCSpaceSyncClientMockRecorder) ObjectSyncRequestStream(ctx, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ObjectSyncRequestStream", reflect.TypeOf((*MockDRPCSpaceSyncClient)(nil).ObjectSyncRequestStream), ctx, in)
}

// ObjectSyncStream mocks base method.
func (m *MockDRPCSpaceSyncClient) ObjectSyncStream(ctx context.Context) (spacesyncproto.DRPCSpaceSync_ObjectSyncStreamClient, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "ObjectSyncStream", ctx)
	ret0, _ := ret[0].(spacesyncproto.DRPCSpaceSync_ObjectSyncStreamClient)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// ObjectSyncStream indicates an expected call of ObjectSyncStream.
func (mr *MockDRPCSpaceSyncClientMockRecorder) ObjectSyncStream(ctx any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "ObjectSyncStream", reflect.TypeOf((*MockDRPCSpaceSyncClient)(nil).ObjectSyncStream), ctx)
}

// SpacePull mocks base method.
func (m *MockDRPCSpaceSyncClient) SpacePull(ctx context.Context, in *spacesyncproto.SpacePullRequest) (*spacesyncproto.SpacePullResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SpacePull", ctx, in)
	ret0, _ := ret[0].(*spacesyncproto.SpacePullResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// SpacePull indicates an expected call of SpacePull.
func (mr *MockDRPCSpaceSyncClientMockRecorder) SpacePull(ctx, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SpacePull", reflect.TypeOf((*MockDRPCSpaceSyncClient)(nil).SpacePull), ctx, in)
}

// SpacePush mocks base method.
func (m *MockDRPCSpaceSyncClient) SpacePush(ctx context.Context, in *spacesyncproto.SpacePushRequest) (*spacesyncproto.SpacePushResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "SpacePush", ctx, in)
	ret0, _ := ret[0].(*spacesyncproto.SpacePushResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// SpacePush indicates an expected call of SpacePush.
func (mr *MockDRPCSpaceSyncClientMockRecorder) SpacePush(ctx, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "SpacePush", reflect.TypeOf((*MockDRPCSpaceSyncClient)(nil).SpacePush), ctx, in)
}

// StoreDiff mocks base method.
func (m *MockDRPCSpaceSyncClient) StoreDiff(ctx context.Context, in *spacesyncproto.StoreDiffRequest) (*spacesyncproto.StoreDiffResponse, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "StoreDiff", ctx, in)
	ret0, _ := ret[0].(*spacesyncproto.StoreDiffResponse)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// StoreDiff indicates an expected call of StoreDiff.
func (mr *MockDRPCSpaceSyncClientMockRecorder) StoreDiff(ctx, in any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StoreDiff", reflect.TypeOf((*MockDRPCSpaceSyncClient)(nil).StoreDiff), ctx, in)
}

// StoreElements mocks base method.
func (m *MockDRPCSpaceSyncClient) StoreElements(ctx context.Context) (spacesyncproto.DRPCSpaceSync_StoreElementsClient, error) {
	m.ctrl.T.Helper()
	ret := m.ctrl.Call(m, "StoreElements", ctx)
	ret0, _ := ret[0].(spacesyncproto.DRPCSpaceSync_StoreElementsClient)
	ret1, _ := ret[1].(error)
	return ret0, ret1
}

// StoreElements indicates an expected call of StoreElements.
func (mr *MockDRPCSpaceSyncClientMockRecorder) StoreElements(ctx any) *gomock.Call {
	mr.mock.ctrl.T.Helper()
	return mr.mock.ctrl.RecordCallWithMethodType(mr.mock, "StoreElements", reflect.TypeOf((*MockDRPCSpaceSyncClient)(nil).StoreElements), ctx)
}
