func (_m *MetadataService) UpdateExtentStats(request *metadata.UpdateExtentStatsRequest) (*metadata.UpdateExtentStatsResult_, error) {
	ret := _m.Called(request)
	var r0 *metadata.UpdateExtentStatsResult_
	if rf, ok := ret.Get(0).(func(*metadata.UpdateExtentStatsRequest) *metadata.UpdateExtentStatsResult_); ok {
		r0 = rf(request)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*metadata.UpdateExtentStatsResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*metadata.UpdateExtentStatsRequest) error); ok {
		r1 = rf(request)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
UpdateExtentStats provides a mock function with given fields: request
package metadata
import "github.com/uber/cherami-thrift/.generated/go/metadata"
import "github.com/uber/cherami-thrift/.generated/go/shared"
import "github.com/stretchr/testify/mock"
type MetadataService struct {
	mock.Mock
}
func (_m *MetadataService) CreateConsumerGroup(registerRequest *shared.CreateConsumerGroupRequest) (*shared.ConsumerGroupDescription, error) {
	ret := _m.Called(registerRequest)
	var r0 *shared.ConsumerGroupDescription
	if rf, ok := ret.Get(0).(func(*shared.CreateConsumerGroupRequest) *shared.ConsumerGroupDescription); ok {
		r0 = rf(registerRequest)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.ConsumerGroupDescription)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.CreateConsumerGroupRequest) error); ok {
		r1 = rf(registerRequest)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) CreateConsumerGroupUUID(registerRequest *shared.CreateConsumerGroupUUIDRequest) (*shared.ConsumerGroupDescription, error) {
	ret := _m.Called(registerRequest)
	var r0 *shared.ConsumerGroupDescription
	if rf, ok := ret.Get(0).(func(*shared.CreateConsumerGroupUUIDRequest) *shared.ConsumerGroupDescription); ok {
		r0 = rf(registerRequest)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.ConsumerGroupDescription)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.CreateConsumerGroupUUIDRequest) error); ok {
		r1 = rf(registerRequest)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) CreateConsumerGroupExtent(request *shared.CreateConsumerGroupExtentRequest) error {
	ret := _m.Called(request)
	var r0 error
	if rf, ok := ret.Get(0).(func(*shared.CreateConsumerGroupExtentRequest) error); ok {
		r0 = rf(request)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *MetadataService) CreateDestination(createRequest *shared.CreateDestinationRequest) (*shared.DestinationDescription, error) {
	ret := _m.Called(createRequest)
	var r0 *shared.DestinationDescription
	if rf, ok := ret.Get(0).(func(*shared.CreateDestinationRequest) *shared.DestinationDescription); ok {
		r0 = rf(createRequest)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.DestinationDescription)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.CreateDestinationRequest) error); ok {
		r1 = rf(createRequest)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) CreateExtent(request *shared.CreateExtentRequest) (*shared.CreateExtentResult_, error) {
	ret := _m.Called(request)
	var r0 *shared.CreateExtentResult_
	if rf, ok := ret.Get(0).(func(*shared.CreateExtentRequest) *shared.CreateExtentResult_); ok {
		r0 = rf(request)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.CreateExtentResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.CreateExtentRequest) error); ok {
		r1 = rf(request)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) DeleteConsumerGroup(deleteRequest *shared.DeleteConsumerGroupRequest) error {
	ret := _m.Called(deleteRequest)
	var r0 error
	if rf, ok := ret.Get(0).(func(*shared.DeleteConsumerGroupRequest) error); ok {
		r0 = rf(deleteRequest)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *MetadataService) DeleteDestination(deleteRequest *shared.DeleteDestinationRequest) error {
	ret := _m.Called(deleteRequest)
	var r0 error
	if rf, ok := ret.Get(0).(func(*shared.DeleteDestinationRequest) error); ok {
		r0 = rf(deleteRequest)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *MetadataService) DeleteDestinationUUID(deleteRequest *metadata.DeleteDestinationUUIDRequest) error {
	ret := _m.Called(deleteRequest)
	var r0 error
	if rf, ok := ret.Get(0).(func(*metadata.DeleteDestinationUUIDRequest) error); ok {
		r0 = rf(deleteRequest)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *MetadataService) HostAddrToUUID(hostAddr string) (string, error) {
	ret := _m.Called(hostAddr)
	var r0 string
	if rf, ok := ret.Get(0).(func(string) string); ok {
		r0 = rf(hostAddr)
	} else {
		r0 = ret.Get(0).(string)
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(hostAddr)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) ListConsumerGroups(listRequest *shared.ListConsumerGroupRequest) (*shared.ListConsumerGroupResult_, error) {
	ret := _m.Called(listRequest)
	var r0 *shared.ListConsumerGroupResult_
	if rf, ok := ret.Get(0).(func(*shared.ListConsumerGroupRequest) *shared.ListConsumerGroupResult_); ok {
		r0 = rf(listRequest)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.ListConsumerGroupResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.ListConsumerGroupRequest) error); ok {
		r1 = rf(listRequest)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) ListDestinations(listRequest *shared.ListDestinationsRequest) (*shared.ListDestinationsResult_, error) {
	ret := _m.Called(listRequest)
	var r0 *shared.ListDestinationsResult_
	if rf, ok := ret.Get(0).(func(*shared.ListDestinationsRequest) *shared.ListDestinationsResult_); ok {
		r0 = rf(listRequest)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.ListDestinationsResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.ListDestinationsRequest) error); ok {
		r1 = rf(listRequest)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) ListDestinationsByUUID(listRequest *shared.ListDestinationsByUUIDRequest) (*shared.ListDestinationsResult_, error) {
	ret := _m.Called(listRequest)
	var r0 *shared.ListDestinationsResult_
	if rf, ok := ret.Get(0).(func(*shared.ListDestinationsByUUIDRequest) *shared.ListDestinationsResult_); ok {
		r0 = rf(listRequest)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.ListDestinationsResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.ListDestinationsByUUIDRequest) error); ok {
		r1 = rf(listRequest)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) ListExtentsStats(request *shared.ListExtentsStatsRequest) (*shared.ListExtentsStatsResult_, error) {
	ret := _m.Called(request)
	var r0 *shared.ListExtentsStatsResult_
	if rf, ok := ret.Get(0).(func(*shared.ListExtentsStatsRequest) *shared.ListExtentsStatsResult_); ok {
		r0 = rf(request)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.ListExtentsStatsResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.ListExtentsStatsRequest) error); ok {
		r1 = rf(request)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) ListHosts(request *metadata.ListHostsRequest) (*metadata.ListHostsResult_, error) {
	ret := _m.Called(request)
	var r0 *metadata.ListHostsResult_
	if rf, ok := ret.Get(0).(func(*metadata.ListHostsRequest) *metadata.ListHostsResult_); ok {
		r0 = rf(request)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*metadata.ListHostsResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*metadata.ListHostsRequest) error); ok {
		r1 = rf(request)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) ListInputHostExtentsStats(request *metadata.ListInputHostExtentsStatsRequest) (*metadata.ListInputHostExtentsStatsResult_, error) {
	ret := _m.Called(request)
	var r0 *metadata.ListInputHostExtentsStatsResult_
	if rf, ok := ret.Get(0).(func(*metadata.ListInputHostExtentsStatsRequest) *metadata.ListInputHostExtentsStatsResult_); ok {
		r0 = rf(request)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*metadata.ListInputHostExtentsStatsResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*metadata.ListInputHostExtentsStatsRequest) error); ok {
		r1 = rf(request)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) ListStoreExtentsStats(request *metadata.ListStoreExtentsStatsRequest) (*metadata.ListStoreExtentsStatsResult_, error) {
	ret := _m.Called(request)
	var r0 *metadata.ListStoreExtentsStatsResult_
	if rf, ok := ret.Get(0).(func(*metadata.ListStoreExtentsStatsRequest) *metadata.ListStoreExtentsStatsResult_); ok {
		r0 = rf(request)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*metadata.ListStoreExtentsStatsResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*metadata.ListStoreExtentsStatsRequest) error); ok {
		r1 = rf(request)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) MoveExtent(request *metadata.MoveExtentRequest) error {
	ret := _m.Called(request)
	var r0 error
	if rf, ok := ret.Get(0).(func(*metadata.MoveExtentRequest) error); ok {
		r0 = rf(request)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *MetadataService) ReadConsumerGroup(getRequest *shared.ReadConsumerGroupRequest) (*shared.ConsumerGroupDescription, error) {
	ret := _m.Called(getRequest)
	var r0 *shared.ConsumerGroupDescription
	if rf, ok := ret.Get(0).(func(*shared.ReadConsumerGroupRequest) *shared.ConsumerGroupDescription); ok {
		r0 = rf(getRequest)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.ConsumerGroupDescription)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.ReadConsumerGroupRequest) error); ok {
		r1 = rf(getRequest)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) ReadConsumerGroupExtent(request *metadata.ReadConsumerGroupExtentRequest) (*metadata.ReadConsumerGroupExtentResult_, error) {
	ret := _m.Called(request)
	var r0 *metadata.ReadConsumerGroupExtentResult_
	if rf, ok := ret.Get(0).(func(*metadata.ReadConsumerGroupExtentRequest) *metadata.ReadConsumerGroupExtentResult_); ok {
		r0 = rf(request)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*metadata.ReadConsumerGroupExtentResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*metadata.ReadConsumerGroupExtentRequest) error); ok {
		r1 = rf(request)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) ReadConsumerGroupExtents(request *shared.ReadConsumerGroupExtentsRequest) (*shared.ReadConsumerGroupExtentsResult_, error) {
	ret := _m.Called(request)
	var r0 *shared.ReadConsumerGroupExtentsResult_
	if rf, ok := ret.Get(0).(func(*shared.ReadConsumerGroupExtentsRequest) *shared.ReadConsumerGroupExtentsResult_); ok {
		r0 = rf(request)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.ReadConsumerGroupExtentsResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.ReadConsumerGroupExtentsRequest) error); ok {
		r1 = rf(request)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) ReadDestination(getRequest *shared.ReadDestinationRequest) (*shared.DestinationDescription, error) {
	ret := _m.Called(getRequest)
	var r0 *shared.DestinationDescription
	if rf, ok := ret.Get(0).(func(*shared.ReadDestinationRequest) *shared.DestinationDescription); ok {
		r0 = rf(getRequest)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.DestinationDescription)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.ReadDestinationRequest) error); ok {
		r1 = rf(getRequest)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) ReadExtentStats(request *metadata.ReadExtentStatsRequest) (*metadata.ReadExtentStatsResult_, error) {
	ret := _m.Called(request)
	var r0 *metadata.ReadExtentStatsResult_
	if rf, ok := ret.Get(0).(func(*metadata.ReadExtentStatsRequest) *metadata.ReadExtentStatsResult_); ok {
		r0 = rf(request)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*metadata.ReadExtentStatsResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*metadata.ReadExtentStatsRequest) error); ok {
		r1 = rf(request)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) ReadStoreExtentReplicaStats(request *metadata.ReadStoreExtentReplicaStatsRequest) (*metadata.ReadStoreExtentReplicaStatsResult_, error) {
	ret := _m.Called(request)
	var r0 *metadata.ReadStoreExtentReplicaStatsResult_
	if rf, ok := ret.Get(0).(func(*metadata.ReadStoreExtentReplicaStatsRequest) *metadata.ReadStoreExtentReplicaStatsResult_); ok {
		r0 = rf(request)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*metadata.ReadStoreExtentReplicaStatsResult_)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*metadata.ReadStoreExtentReplicaStatsRequest) error); ok {
		r1 = rf(request)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) RegisterHostUUID(request *metadata.RegisterHostUUIDRequest) error {
	ret := _m.Called(request)
	var r0 error
	if rf, ok := ret.Get(0).(func(*metadata.RegisterHostUUIDRequest) error); ok {
		r0 = rf(request)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *MetadataService) SealExtent(request *metadata.SealExtentRequest) error {
	ret := _m.Called(request)
	var r0 error
	if rf, ok := ret.Get(0).(func(*metadata.SealExtentRequest) error); ok {
		r0 = rf(request)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *MetadataService) SetAckOffset(request *shared.SetAckOffsetRequest) error {
	ret := _m.Called(request)
	var r0 error
	if rf, ok := ret.Get(0).(func(*shared.SetAckOffsetRequest) error); ok {
		r0 = rf(request)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *MetadataService) SetOutputHost(request *metadata.SetOutputHostRequest) error {
	ret := _m.Called(request)
	var r0 error
	if rf, ok := ret.Get(0).(func(*metadata.SetOutputHostRequest) error); ok {
		r0 = rf(request)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *MetadataService) UUIDToHostAddr(hostUUID string) (string, error) {
	ret := _m.Called(hostUUID)
	var r0 string
	if rf, ok := ret.Get(0).(func(string) string); ok {
		r0 = rf(hostUUID)
	} else {
		r0 = ret.Get(0).(string)
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(string) error); ok {
		r1 = rf(hostUUID)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) UpdateConsumerGroup(updateRequest *shared.UpdateConsumerGroupRequest) (*shared.ConsumerGroupDescription, error) {
	ret := _m.Called(updateRequest)
	var r0 *shared.ConsumerGroupDescription
	if rf, ok := ret.Get(0).(func(*shared.UpdateConsumerGroupRequest) *shared.ConsumerGroupDescription); ok {
		r0 = rf(updateRequest)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.ConsumerGroupDescription)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.UpdateConsumerGroupRequest) error); ok {
		r1 = rf(updateRequest)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) UpdateConsumerGroupExtentStatus(request *shared.UpdateConsumerGroupExtentStatusRequest) error {
	ret := _m.Called(request)
	var r0 error
	if rf, ok := ret.Get(0).(func(*shared.UpdateConsumerGroupExtentStatusRequest) error); ok {
		r0 = rf(request)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}
func (_m *MetadataService) UpdateDestination(updateRequest *shared.UpdateDestinationRequest) (*shared.DestinationDescription, error) {
	ret := _m.Called(updateRequest)
	var r0 *shared.DestinationDescription
	if rf, ok := ret.Get(0).(func(*shared.UpdateDestinationRequest) *shared.DestinationDescription); ok {
		r0 = rf(updateRequest)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.DestinationDescription)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*shared.UpdateDestinationRequest) error); ok {
		r1 = rf(updateRequest)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) UpdateDestinationDLQCursors(updateRequest *metadata.UpdateDestinationDLQCursorsRequest) (*shared.DestinationDescription, error) {
	ret := _m.Called(updateRequest)
	var r0 *shared.DestinationDescription
	if rf, ok := ret.Get(0).(func(*metadata.UpdateDestinationDLQCursorsRequest) *shared.DestinationDescription); ok {
		r0 = rf(updateRequest)
	} else {
		if ret.Get(0) != nil {
			r0 = ret.Get(0).(*shared.DestinationDescription)
		}
	}
	var r1 error
	if rf, ok := ret.Get(1).(func(*metadata.UpdateDestinationDLQCursorsRequest) error); ok {
		r1 = rf(updateRequest)
	} else {
		r1 = ret.Error(1)
	}
	return r0, r1
}
func (_m *MetadataService) UpdateExtentReplicaStats(request *metadata.UpdateExtentReplicaStatsRequest) error {
	ret := _m.Called(request)
	var r0 error
	if rf, ok := ret.Get(0).(func(*metadata.UpdateExtentReplicaStatsRequest) error); ok {
		r0 = rf(request)
	} else {
		r0 = ret.Error(0)
	}
	return r0
}