// Code generated by protoc-gen-go. DO NOT EDIT. // source: device_service.proto // package声明符,用来防止不同的消息类型有命名冲突 package pb import ( context "context" fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" math "math" v1 "property-system-gateway/pb/v1" ) // Reference imports to suppress errors if they are not otherwise used. var _ = proto.Marshal var _ = fmt.Errorf var _ = math.Inf // This is a compile-time assertion to ensure that this generated file // is compatible with the proto package it is being compiled against. // A compilation error at this line likely means your copy of the // proto package needs to be updated. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package func init() { proto.RegisterFile("device_service.proto", fileDescriptor_5b575c291bff7431) } var fileDescriptor_5b575c291bff7431 = []byte{ // 725 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x96, 0x4d, 0x6f, 0xd3, 0x4c, 0x10, 0xc7, 0x9f, 0x53, 0x1f, 0xb4, 0xbc, 0x14, 0x96, 0xbe, 0xba, 0xa1, 0xa0, 0x8a, 0x6b, 0x53, 0x15, 0x90, 0x90, 0x38, 0x41, 0x53, 0x0a, 0x91, 0x5a, 0xb5, 0x6a, 0x15, 0x40, 0x5c, 0x2a, 0xc7, 0x5e, 0x88, 0x85, 0xb3, 0x76, 0xed, 0x4d, 0x90, 0x3f, 0x2d, 0x5f, 0x05, 0xed, 0xae, 0xd7, 0x9e, 0x59, 0x8f, 0xc3, 0x29, 0xd2, 0xff, 0x37, 0xf3, 0xcf, 0x78, 0x66, 0xbc, 0x6b, 0xb6, 0x11, 0x8b, 0x65, 0x12, 0x89, 0xdb, 0x52, 0x14, 0xfa, 0x77, 0x98, 0x17, 0x99, 0xca, 0x38, 0xcb, 0xa7, 0xc3, 0x5a, 0x09, 0xd6, 0x97, 0xc7, 0x47, 0x36, 0xc8, 0xc2, 0x57, 0x7f, 0x36, 0xd9, 0xda, 0xa9, 0x11, 0xf8, 0x7b, 0xc6, 0x3e, 0x85, 0x4a, 0x5c, 0xca, 0x34, 0x91, 0x82, 0xef, 0x0c, 0xf3, 0xe9, 0xed, 0xf2, 0x78, 0xd8, 0x4a, 0xd7, 0xe2, 0x6e, 0x21, 0x4a, 0x15, 0x6c, 0x11, 0x24, 0x4f, 0xab, 0x83, 0xff, 0xf8, 0x1b, 0xb6, 0xa6, 0xc5, 0xb1, 0xe4, 0x1b, 0x20, 0x66, 0x2c, 0x5d, 0x26, 0xf7, 0x54, 0x9b, 0x35, 0x62, 0xf7, 0xb5, 0x70, 0x12, 0xaa, 0x68, 0x36, 0x96, 0x7c, 0x17, 0x04, 0xd5, 0x9a, 0xcb, 0xdf, 0xa6, 0x90, 0x35, 0x79, 0xc7, 0xee, 0x69, 0xf5, 0x3c, 0x29, 0x15, 0x87, 0x05, 0x6a, 0xc1, 0xa5, 0x6f, 0x74, 0x74, 0x9b, 0x7b, 0xc6, 0x1e, 0x5c, 0xdc, 0x29, 0x75, 0x16, 0x46, 0x42, 0x23, 0x1e, 0xd4, 0x71, 0x50, 0x74, 0x1e, 0x3b, 0x24, 0xb3, 0x3e, 0x6f, 0xd9, 0xff, 0xa6, 0x27, 0x0b, 0xc5, 0x37, 0x61, 0x8f, 0x16, 0x4d, 0x05, 0x4f, 0x7d, 0x19, 0x25, 0x9e, 0x8a, 0x14, 0x25, 0x9e, 0x8a, 0x94, 0x4a, 0x34, 0x72, 0x53, 0xb9, 0x2d, 0x20, 0xca, 0x96, 0xa2, 0xa8, 0x9a, 0xca, 0xa1, 0xe8, 0x57, 0x8e, 0x99, 0xf5, 0xa9, 0x47, 0xff, 0x51, 0x86, 0xd3, 0x14, 0x8f, 0xde, 0x4a, 0xd4, 0xe8, 0x1d, 0x41, 0x8f, 0x70, 0x23, 0xf0, 0xb3, 0xdf, 0x08, 0xf2, 0xd9, 0x8d, 0x8c, 0xa6, 0x3f, 0x0a, 0x8b, 0xf8, 0x43, 0x1c, 0xa3, 0xe9, 0xd7, 0x1a, 0x35, 0xfd, 0x06, 0x75, 0x4c, 0x74, 0x13, 0x7d, 0x13, 0xd0, 0xc8, 0x6d, 0x0a, 0xa1, 0x66, 0x6a, 0xd5, 0xac, 0x51, 0xe0, 0x85, 0xc2, 0x55, 0xda, 0x21, 0x59, 0xc7, 0xe7, 0xa6, 0x92, 0x51, 0xc7, 0x47, 0x8b, 0x7d, 0x3e, 0x96, 0x59, 0x9f, 0x98, 0x6d, 0x39, 0x79, 0x14, 0xca, 0x93, 0x44, 0xc6, 0xf6, 0x45, 0x2d, 0xf9, 0x4b, 0x2f, 0x0b, 0x63, 0xe7, 0x7d, 0xf0, 0x8f, 0x28, 0xfb, 0x2f, 0xe7, 0xec, 0x91, 0x09, 0xc8, 0xe6, 0xf3, 0x50, 0xc6, 0x93, 0x52, 0xf0, 0x01, 0xcc, 0x6b, 0x64, 0xe7, 0x1a, 0xf4, 0x50, 0xeb, 0x36, 0x61, 0x4f, 0x00, 0xb8, 0x16, 0xe5, 0x22, 0x55, 0xfc, 0x79, 0x37, 0xc5, 0x12, 0xe7, 0xf9, 0xac, 0x3f, 0x80, 0x2a, 0x52, 0xef, 0x09, 0x51, 0x24, 0x58, 0x95, 0xa0, 0x87, 0x5a, 0xb7, 0x4b, 0xb6, 0x0e, 0x80, 0x99, 0x35, 0x51, 0x01, 0x1c, 0xf7, 0x5e, 0x1f, 0x46, 0xe5, 0x7d, 0x9d, 0x25, 0x4a, 0x5c, 0xe8, 0x73, 0x09, 0x95, 0xd7, 0xca, 0x54, 0x79, 0x90, 0x22, 0xb7, 0x49, 0x29, 0x8a, 0xab, 0x24, 0xf2, 0x1f, 0xb6, 0x95, 0x29, 0x37, 0x48, 0xad, 0xdb, 0x37, 0xc6, 0x21, 0xc8, 0xf3, 0x22, 0x5b, 0x0a, 0xfe, 0x82, 0xc8, 0xb1, 0xc8, 0xb9, 0xee, 0xaf, 0x88, 0x40, 0x6d, 0xac, 0x61, 0xa7, 0x8d, 0x40, 0xa7, 0xda, 0x88, 0x30, 0x65, 0x68, 0xde, 0x1d, 0xc2, 0x10, 0xbe, 0x3e, 0x7b, 0x7d, 0x98, 0xea, 0xa4, 0x3e, 0x19, 0x88, 0x4e, 0x82, 0xc3, 0x21, 0xe8, 0xa1, 0x54, 0x79, 0x63, 0xf9, 0x23, 0xa3, 0xca, 0xd3, 0xfa, 0x8a, 0xf2, 0x2c, 0x46, 0xe5, 0xe9, 0xc3, 0xb8, 0x3e, 0x72, 0x06, 0xde, 0x19, 0x8d, 0x0f, 0x9d, 0xa0, 0x87, 0x5a, 0xb7, 0x31, 0x7b, 0xd8, 0x02, 0xbd, 0x35, 0x7b, 0x9d, 0x70, 0xb0, 0x34, 0xbb, 0x34, 0x44, 0x85, 0x7d, 0x49, 0xca, 0x44, 0x65, 0x85, 0xbf, 0x81, 0xad, 0x4c, 0x15, 0x06, 0x29, 0xe5, 0xe6, 0x4f, 0xa1, 0x95, 0x57, 0xb8, 0x81, 0x29, 0x5c, 0xb3, 0xc7, 0x00, 0x8c, 0x66, 0x22, 0xfa, 0xc5, 0xf7, 0xbb, 0x19, 0x06, 0x38, 0xc7, 0x41, 0x2f, 0x47, 0x93, 0xad, 0x51, 0x67, 0x93, 0x81, 0x4e, 0x4d, 0x16, 0x61, 0xbc, 0x78, 0x32, 0x51, 0xf5, 0xc7, 0x15, 0x5a, 0xbc, 0x46, 0x26, 0x17, 0x0f, 0x50, 0x74, 0xbb, 0x69, 0xe0, 0x5f, 0x91, 0xb5, 0x46, 0xdd, 0x6e, 0x0d, 0x42, 0xb7, 0x92, 0x56, 0x3b, 0xb7, 0x9b, 0x13, 0xa9, 0x5b, 0xa9, 0x65, 0x68, 0xcd, 0xae, 0xf4, 0xd7, 0x63, 0x94, 0xa5, 0x25, 0x5a, 0xb3, 0x46, 0xa5, 0xd6, 0x0c, 0xc0, 0xe6, 0x82, 0xfb, 0x9c, 0x2d, 0x4a, 0x31, 0xcb, 0xd2, 0xd8, 0x7c, 0x15, 0x54, 0x32, 0xb2, 0x03, 0x75, 0x17, 0x1c, 0x8d, 0xfd, 0x0b, 0xae, 0x2f, 0xca, 0xfc, 0xcb, 0xc9, 0xe0, 0x7b, 0x90, 0x17, 0x59, 0x2e, 0x0a, 0x55, 0x1d, 0x96, 0x55, 0xa9, 0xc4, 0xfc, 0xf0, 0x67, 0xa8, 0xc4, 0xef, 0xb0, 0x3a, 0xca, 0xa7, 0xd3, 0x35, 0xf3, 0x19, 0xfc, 0xfa, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x7d, 0x64, 0xa6, 0x3c, 0x3b, 0x0b, 0x00, 0x00, } // Reference imports to suppress errors if they are not otherwise used. var _ context.Context var _ grpc.ClientConnInterface // This is a compile-time assertion to ensure that this generated file // is compatible with the grpc package it is being compiled against. const _ = grpc.SupportPackageIsVersion6 // DeviceClient is the client API for Device service. // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. type DeviceClient interface { // 门禁在线 GateOnline(ctx context.Context, in *v1.GateOnlineRequest, opts ...grpc.CallOption) (*v1.GateOnlineReply, error) // 门禁入库 GateIn(ctx context.Context, in *v1.GateInRequest, opts ...grpc.CallOption) (*v1.GateInReply, error) // 门禁批量入库 GateBatchIn(ctx context.Context, in *v1.GateBatchInRequest, opts ...grpc.CallOption) (*v1.GateBatchInReply, error) // 门禁列表 GateList(ctx context.Context, in *v1.GateListRequest, opts ...grpc.CallOption) (*v1.GateListReply, error) // 人脸门禁所有id MqttFaceGate(ctx context.Context, in *v1.MqttFaceGateRequest, opts ...grpc.CallOption) (*v1.MqttFaceGateReply, error) // 门禁出库 GateOut(ctx context.Context, in *v1.GateOutRequest, opts ...grpc.CallOption) (*v1.GateOutReply, error) // 删除门禁 GateDel(ctx context.Context, in *v1.GateDelRequest, opts ...grpc.CallOption) (*v1.GateDelReply, error) // 门禁回收 GateRecovery(ctx context.Context, in *v1.GateRecoveryRequest, opts ...grpc.CallOption) (*v1.GateRecoveryReply, error) // 门禁起停用 GateEnable(ctx context.Context, in *v1.GateEnableRequest, opts ...grpc.CallOption) (*v1.GateEnableReply, error) // 设置门禁位置和进场出场 GateSet(ctx context.Context, in *v1.GateSetRequest, opts ...grpc.CallOption) (*v1.GateSetReply, error) // 添加门禁卡号 GateCardAdd(ctx context.Context, in *v1.GateCardAddRequest, opts ...grpc.CallOption) (*v1.GateCardAddReply, error) GateCardDel(ctx context.Context, in *v1.GateCardDelRequest, opts ...grpc.CallOption) (*v1.GateCardDelReply, error) // 门禁卡列表 GateCardList(ctx context.Context, in *v1.GateCardListRequest, opts ...grpc.CallOption) (*v1.GateCardListReply, error) // 门禁卡下发 GateCardSync(ctx context.Context, in *v1.GateCardSyncRequest, opts ...grpc.CallOption) (*v1.GateCardSyncReply, error) // 获取卡还可以绑定的设备 GateCardCanBindDevices(ctx context.Context, in *v1.GateCardCanBindDevicesRequest, opts ...grpc.CallOption) (*v1.GateCardCanBindDevicesReply, error) // 获取门禁远程命令 GateCommandUse(ctx context.Context, in *v1.GateCommandUseRequest, opts ...grpc.CallOption) (*v1.GateCommandUseReply, error) // 门禁远程命令结果 GateCommandResult(ctx context.Context, in *v1.GateCommandResultRequest, opts ...grpc.CallOption) (*v1.GateCommandResultReply, error) // 门禁命令添加 GateCommandAdd(ctx context.Context, in *v1.GateCommandAddRequest, opts ...grpc.CallOption) (*v1.GateCommandAddReply, error) // 门禁命令记录 GateCommandList(ctx context.Context, in *v1.GateCommandListRequest, opts ...grpc.CallOption) (*v1.GateCommandListReply, error) // 门禁白名单匹配 GateWhiteMatch(ctx context.Context, in *v1.GateWhiteMatchRequest, opts ...grpc.CallOption) (*v1.GateWhiteMatchReply, error) // 门禁人脸申请 GateUserPicAdd(ctx context.Context, in *v1.GateUserPicAddRequest, opts ...grpc.CallOption) (*v1.GateUserPicAddReply, error) // 门禁人脸审核 GateUserPicApprove(ctx context.Context, in *v1.GateUserPicApproveRequest, opts ...grpc.CallOption) (*v1.GateUserPicApproveReply, error) // 获取人脸录入列表 GateUserPicList(ctx context.Context, in *v1.GateUserPicListRequest, opts ...grpc.CallOption) (*v1.GateUserPicListReply, error) // 门禁人脸下发 GateUserPicSync(ctx context.Context, in *v1.GateUserPicSyncRequest, opts ...grpc.CallOption) (*v1.GateUserPicSyncReply, error) GateUserPicDel(ctx context.Context, in *v1.GateUserPicDelRequest, opts ...grpc.CallOption) (*v1.GateUserPicDelReply, error) // 获取人脸录入信息 GateUserPicInfo(ctx context.Context, in *v1.GateUserPicInfoRequest, opts ...grpc.CallOption) (*v1.GateUserPicInfoReply, error) // 门禁进出记录列表 GateRecordList(ctx context.Context, in *v1.GateRecordListRequest, opts ...grpc.CallOption) (*v1.GateRecordListReply, error) // 门禁进出记录添加 GateRecordAdd(ctx context.Context, in *v1.GateRecordAddRequest, opts ...grpc.CallOption) (*v1.GateRecordAddReply, error) GateVisitorAdd(ctx context.Context, in *v1.GateVisitorAddRequest, opts ...grpc.CallOption) (*v1.GateVisitorAddReply, error) GateVisitorDel(ctx context.Context, in *v1.GateVisitorDelRequest, opts ...grpc.CallOption) (*v1.GateVisitorDelReply, error) GateVisitorCheck(ctx context.Context, in *v1.GateVisitorCheckRequest, opts ...grpc.CallOption) (*v1.GateVisitorCheckReply, error) GateVisitorList(ctx context.Context, in *v1.GateVisitorListRequest, opts ...grpc.CallOption) (*v1.GateVisitorListReply, error) // 获取绑定了某单元的门禁列表 GateUnitDevice(ctx context.Context, in *v1.GateUnitDeviceRequest, opts ...grpc.CallOption) (*v1.GateUnitDeviceReply, error) // 门禁设备绑定范围 GateUnitAdd(ctx context.Context, in *v1.GateUnitAddRequest, opts ...grpc.CallOption) (*v1.GateUnitAddReply, error) // 门禁设备单元列表 GateUnitList(ctx context.Context, in *v1.GateUnitListRequest, opts ...grpc.CallOption) (*v1.GateUnitListReply, error) // 门禁协议 GateProtocols(ctx context.Context, in *v1.GateProtocolsRequest, opts ...grpc.CallOption) (*v1.GateProtocolsReply, error) // 住户申请房屋后,检查是否有设备需要同步人脸 HouseholdGateSyncCheck(ctx context.Context, in *v1.HouseholdGateSyncCheckRequest, opts ...grpc.CallOption) (*v1.HouseholdGateSyncCheckReply, error) } type deviceClient struct { cc grpc.ClientConnInterface } func NewDeviceClient(cc grpc.ClientConnInterface) DeviceClient { return &deviceClient{cc} } func (c *deviceClient) GateOnline(ctx context.Context, in *v1.GateOnlineRequest, opts ...grpc.CallOption) (*v1.GateOnlineReply, error) { out := new(v1.GateOnlineReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateOnline", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateIn(ctx context.Context, in *v1.GateInRequest, opts ...grpc.CallOption) (*v1.GateInReply, error) { out := new(v1.GateInReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateIn", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateBatchIn(ctx context.Context, in *v1.GateBatchInRequest, opts ...grpc.CallOption) (*v1.GateBatchInReply, error) { out := new(v1.GateBatchInReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateBatchIn", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateList(ctx context.Context, in *v1.GateListRequest, opts ...grpc.CallOption) (*v1.GateListReply, error) { out := new(v1.GateListReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) MqttFaceGate(ctx context.Context, in *v1.MqttFaceGateRequest, opts ...grpc.CallOption) (*v1.MqttFaceGateReply, error) { out := new(v1.MqttFaceGateReply) err := c.cc.Invoke(ctx, "/pb.service.Device/MqttFaceGate", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateOut(ctx context.Context, in *v1.GateOutRequest, opts ...grpc.CallOption) (*v1.GateOutReply, error) { out := new(v1.GateOutReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateOut", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateDel(ctx context.Context, in *v1.GateDelRequest, opts ...grpc.CallOption) (*v1.GateDelReply, error) { out := new(v1.GateDelReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateDel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateRecovery(ctx context.Context, in *v1.GateRecoveryRequest, opts ...grpc.CallOption) (*v1.GateRecoveryReply, error) { out := new(v1.GateRecoveryReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateRecovery", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateEnable(ctx context.Context, in *v1.GateEnableRequest, opts ...grpc.CallOption) (*v1.GateEnableReply, error) { out := new(v1.GateEnableReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateEnable", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateSet(ctx context.Context, in *v1.GateSetRequest, opts ...grpc.CallOption) (*v1.GateSetReply, error) { out := new(v1.GateSetReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateSet", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateCardAdd(ctx context.Context, in *v1.GateCardAddRequest, opts ...grpc.CallOption) (*v1.GateCardAddReply, error) { out := new(v1.GateCardAddReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateCardAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateCardDel(ctx context.Context, in *v1.GateCardDelRequest, opts ...grpc.CallOption) (*v1.GateCardDelReply, error) { out := new(v1.GateCardDelReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateCardDel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateCardList(ctx context.Context, in *v1.GateCardListRequest, opts ...grpc.CallOption) (*v1.GateCardListReply, error) { out := new(v1.GateCardListReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateCardList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateCardSync(ctx context.Context, in *v1.GateCardSyncRequest, opts ...grpc.CallOption) (*v1.GateCardSyncReply, error) { out := new(v1.GateCardSyncReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateCardSync", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateCardCanBindDevices(ctx context.Context, in *v1.GateCardCanBindDevicesRequest, opts ...grpc.CallOption) (*v1.GateCardCanBindDevicesReply, error) { out := new(v1.GateCardCanBindDevicesReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateCardCanBindDevices", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateCommandUse(ctx context.Context, in *v1.GateCommandUseRequest, opts ...grpc.CallOption) (*v1.GateCommandUseReply, error) { out := new(v1.GateCommandUseReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateCommandUse", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateCommandResult(ctx context.Context, in *v1.GateCommandResultRequest, opts ...grpc.CallOption) (*v1.GateCommandResultReply, error) { out := new(v1.GateCommandResultReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateCommandResult", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateCommandAdd(ctx context.Context, in *v1.GateCommandAddRequest, opts ...grpc.CallOption) (*v1.GateCommandAddReply, error) { out := new(v1.GateCommandAddReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateCommandAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateCommandList(ctx context.Context, in *v1.GateCommandListRequest, opts ...grpc.CallOption) (*v1.GateCommandListReply, error) { out := new(v1.GateCommandListReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateCommandList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateWhiteMatch(ctx context.Context, in *v1.GateWhiteMatchRequest, opts ...grpc.CallOption) (*v1.GateWhiteMatchReply, error) { out := new(v1.GateWhiteMatchReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateWhiteMatch", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateUserPicAdd(ctx context.Context, in *v1.GateUserPicAddRequest, opts ...grpc.CallOption) (*v1.GateUserPicAddReply, error) { out := new(v1.GateUserPicAddReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateUserPicAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateUserPicApprove(ctx context.Context, in *v1.GateUserPicApproveRequest, opts ...grpc.CallOption) (*v1.GateUserPicApproveReply, error) { out := new(v1.GateUserPicApproveReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateUserPicApprove", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateUserPicList(ctx context.Context, in *v1.GateUserPicListRequest, opts ...grpc.CallOption) (*v1.GateUserPicListReply, error) { out := new(v1.GateUserPicListReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateUserPicList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateUserPicSync(ctx context.Context, in *v1.GateUserPicSyncRequest, opts ...grpc.CallOption) (*v1.GateUserPicSyncReply, error) { out := new(v1.GateUserPicSyncReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateUserPicSync", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateUserPicDel(ctx context.Context, in *v1.GateUserPicDelRequest, opts ...grpc.CallOption) (*v1.GateUserPicDelReply, error) { out := new(v1.GateUserPicDelReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateUserPicDel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateUserPicInfo(ctx context.Context, in *v1.GateUserPicInfoRequest, opts ...grpc.CallOption) (*v1.GateUserPicInfoReply, error) { out := new(v1.GateUserPicInfoReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateUserPicInfo", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateRecordList(ctx context.Context, in *v1.GateRecordListRequest, opts ...grpc.CallOption) (*v1.GateRecordListReply, error) { out := new(v1.GateRecordListReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateRecordList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateRecordAdd(ctx context.Context, in *v1.GateRecordAddRequest, opts ...grpc.CallOption) (*v1.GateRecordAddReply, error) { out := new(v1.GateRecordAddReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateRecordAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateVisitorAdd(ctx context.Context, in *v1.GateVisitorAddRequest, opts ...grpc.CallOption) (*v1.GateVisitorAddReply, error) { out := new(v1.GateVisitorAddReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateVisitorAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateVisitorDel(ctx context.Context, in *v1.GateVisitorDelRequest, opts ...grpc.CallOption) (*v1.GateVisitorDelReply, error) { out := new(v1.GateVisitorDelReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateVisitorDel", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateVisitorCheck(ctx context.Context, in *v1.GateVisitorCheckRequest, opts ...grpc.CallOption) (*v1.GateVisitorCheckReply, error) { out := new(v1.GateVisitorCheckReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateVisitorCheck", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateVisitorList(ctx context.Context, in *v1.GateVisitorListRequest, opts ...grpc.CallOption) (*v1.GateVisitorListReply, error) { out := new(v1.GateVisitorListReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateVisitorList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateUnitDevice(ctx context.Context, in *v1.GateUnitDeviceRequest, opts ...grpc.CallOption) (*v1.GateUnitDeviceReply, error) { out := new(v1.GateUnitDeviceReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateUnitDevice", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateUnitAdd(ctx context.Context, in *v1.GateUnitAddRequest, opts ...grpc.CallOption) (*v1.GateUnitAddReply, error) { out := new(v1.GateUnitAddReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateUnitAdd", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateUnitList(ctx context.Context, in *v1.GateUnitListRequest, opts ...grpc.CallOption) (*v1.GateUnitListReply, error) { out := new(v1.GateUnitListReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateUnitList", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) GateProtocols(ctx context.Context, in *v1.GateProtocolsRequest, opts ...grpc.CallOption) (*v1.GateProtocolsReply, error) { out := new(v1.GateProtocolsReply) err := c.cc.Invoke(ctx, "/pb.service.Device/GateProtocols", in, out, opts...) if err != nil { return nil, err } return out, nil } func (c *deviceClient) HouseholdGateSyncCheck(ctx context.Context, in *v1.HouseholdGateSyncCheckRequest, opts ...grpc.CallOption) (*v1.HouseholdGateSyncCheckReply, error) { out := new(v1.HouseholdGateSyncCheckReply) err := c.cc.Invoke(ctx, "/pb.service.Device/HouseholdGateSyncCheck", in, out, opts...) if err != nil { return nil, err } return out, nil } // DeviceServer is the server API for Device service. type DeviceServer interface { // 门禁在线 GateOnline(context.Context, *v1.GateOnlineRequest) (*v1.GateOnlineReply, error) // 门禁入库 GateIn(context.Context, *v1.GateInRequest) (*v1.GateInReply, error) // 门禁批量入库 GateBatchIn(context.Context, *v1.GateBatchInRequest) (*v1.GateBatchInReply, error) // 门禁列表 GateList(context.Context, *v1.GateListRequest) (*v1.GateListReply, error) // 人脸门禁所有id MqttFaceGate(context.Context, *v1.MqttFaceGateRequest) (*v1.MqttFaceGateReply, error) // 门禁出库 GateOut(context.Context, *v1.GateOutRequest) (*v1.GateOutReply, error) // 删除门禁 GateDel(context.Context, *v1.GateDelRequest) (*v1.GateDelReply, error) // 门禁回收 GateRecovery(context.Context, *v1.GateRecoveryRequest) (*v1.GateRecoveryReply, error) // 门禁起停用 GateEnable(context.Context, *v1.GateEnableRequest) (*v1.GateEnableReply, error) // 设置门禁位置和进场出场 GateSet(context.Context, *v1.GateSetRequest) (*v1.GateSetReply, error) // 添加门禁卡号 GateCardAdd(context.Context, *v1.GateCardAddRequest) (*v1.GateCardAddReply, error) GateCardDel(context.Context, *v1.GateCardDelRequest) (*v1.GateCardDelReply, error) // 门禁卡列表 GateCardList(context.Context, *v1.GateCardListRequest) (*v1.GateCardListReply, error) // 门禁卡下发 GateCardSync(context.Context, *v1.GateCardSyncRequest) (*v1.GateCardSyncReply, error) // 获取卡还可以绑定的设备 GateCardCanBindDevices(context.Context, *v1.GateCardCanBindDevicesRequest) (*v1.GateCardCanBindDevicesReply, error) // 获取门禁远程命令 GateCommandUse(context.Context, *v1.GateCommandUseRequest) (*v1.GateCommandUseReply, error) // 门禁远程命令结果 GateCommandResult(context.Context, *v1.GateCommandResultRequest) (*v1.GateCommandResultReply, error) // 门禁命令添加 GateCommandAdd(context.Context, *v1.GateCommandAddRequest) (*v1.GateCommandAddReply, error) // 门禁命令记录 GateCommandList(context.Context, *v1.GateCommandListRequest) (*v1.GateCommandListReply, error) // 门禁白名单匹配 GateWhiteMatch(context.Context, *v1.GateWhiteMatchRequest) (*v1.GateWhiteMatchReply, error) // 门禁人脸申请 GateUserPicAdd(context.Context, *v1.GateUserPicAddRequest) (*v1.GateUserPicAddReply, error) // 门禁人脸审核 GateUserPicApprove(context.Context, *v1.GateUserPicApproveRequest) (*v1.GateUserPicApproveReply, error) // 获取人脸录入列表 GateUserPicList(context.Context, *v1.GateUserPicListRequest) (*v1.GateUserPicListReply, error) // 门禁人脸下发 GateUserPicSync(context.Context, *v1.GateUserPicSyncRequest) (*v1.GateUserPicSyncReply, error) GateUserPicDel(context.Context, *v1.GateUserPicDelRequest) (*v1.GateUserPicDelReply, error) // 获取人脸录入信息 GateUserPicInfo(context.Context, *v1.GateUserPicInfoRequest) (*v1.GateUserPicInfoReply, error) // 门禁进出记录列表 GateRecordList(context.Context, *v1.GateRecordListRequest) (*v1.GateRecordListReply, error) // 门禁进出记录添加 GateRecordAdd(context.Context, *v1.GateRecordAddRequest) (*v1.GateRecordAddReply, error) GateVisitorAdd(context.Context, *v1.GateVisitorAddRequest) (*v1.GateVisitorAddReply, error) GateVisitorDel(context.Context, *v1.GateVisitorDelRequest) (*v1.GateVisitorDelReply, error) GateVisitorCheck(context.Context, *v1.GateVisitorCheckRequest) (*v1.GateVisitorCheckReply, error) GateVisitorList(context.Context, *v1.GateVisitorListRequest) (*v1.GateVisitorListReply, error) // 获取绑定了某单元的门禁列表 GateUnitDevice(context.Context, *v1.GateUnitDeviceRequest) (*v1.GateUnitDeviceReply, error) // 门禁设备绑定范围 GateUnitAdd(context.Context, *v1.GateUnitAddRequest) (*v1.GateUnitAddReply, error) // 门禁设备单元列表 GateUnitList(context.Context, *v1.GateUnitListRequest) (*v1.GateUnitListReply, error) // 门禁协议 GateProtocols(context.Context, *v1.GateProtocolsRequest) (*v1.GateProtocolsReply, error) // 住户申请房屋后,检查是否有设备需要同步人脸 HouseholdGateSyncCheck(context.Context, *v1.HouseholdGateSyncCheckRequest) (*v1.HouseholdGateSyncCheckReply, error) } // UnimplementedDeviceServer can be embedded to have forward compatible implementations. type UnimplementedDeviceServer struct { } func (*UnimplementedDeviceServer) GateOnline(ctx context.Context, req *v1.GateOnlineRequest) (*v1.GateOnlineReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateOnline not implemented") } func (*UnimplementedDeviceServer) GateIn(ctx context.Context, req *v1.GateInRequest) (*v1.GateInReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateIn not implemented") } func (*UnimplementedDeviceServer) GateBatchIn(ctx context.Context, req *v1.GateBatchInRequest) (*v1.GateBatchInReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateBatchIn not implemented") } func (*UnimplementedDeviceServer) GateList(ctx context.Context, req *v1.GateListRequest) (*v1.GateListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateList not implemented") } func (*UnimplementedDeviceServer) MqttFaceGate(ctx context.Context, req *v1.MqttFaceGateRequest) (*v1.MqttFaceGateReply, error) { return nil, status.Errorf(codes.Unimplemented, "method MqttFaceGate not implemented") } func (*UnimplementedDeviceServer) GateOut(ctx context.Context, req *v1.GateOutRequest) (*v1.GateOutReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateOut not implemented") } func (*UnimplementedDeviceServer) GateDel(ctx context.Context, req *v1.GateDelRequest) (*v1.GateDelReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateDel not implemented") } func (*UnimplementedDeviceServer) GateRecovery(ctx context.Context, req *v1.GateRecoveryRequest) (*v1.GateRecoveryReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateRecovery not implemented") } func (*UnimplementedDeviceServer) GateEnable(ctx context.Context, req *v1.GateEnableRequest) (*v1.GateEnableReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateEnable not implemented") } func (*UnimplementedDeviceServer) GateSet(ctx context.Context, req *v1.GateSetRequest) (*v1.GateSetReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateSet not implemented") } func (*UnimplementedDeviceServer) GateCardAdd(ctx context.Context, req *v1.GateCardAddRequest) (*v1.GateCardAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateCardAdd not implemented") } func (*UnimplementedDeviceServer) GateCardDel(ctx context.Context, req *v1.GateCardDelRequest) (*v1.GateCardDelReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateCardDel not implemented") } func (*UnimplementedDeviceServer) GateCardList(ctx context.Context, req *v1.GateCardListRequest) (*v1.GateCardListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateCardList not implemented") } func (*UnimplementedDeviceServer) GateCardSync(ctx context.Context, req *v1.GateCardSyncRequest) (*v1.GateCardSyncReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateCardSync not implemented") } func (*UnimplementedDeviceServer) GateCardCanBindDevices(ctx context.Context, req *v1.GateCardCanBindDevicesRequest) (*v1.GateCardCanBindDevicesReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateCardCanBindDevices not implemented") } func (*UnimplementedDeviceServer) GateCommandUse(ctx context.Context, req *v1.GateCommandUseRequest) (*v1.GateCommandUseReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateCommandUse not implemented") } func (*UnimplementedDeviceServer) GateCommandResult(ctx context.Context, req *v1.GateCommandResultRequest) (*v1.GateCommandResultReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateCommandResult not implemented") } func (*UnimplementedDeviceServer) GateCommandAdd(ctx context.Context, req *v1.GateCommandAddRequest) (*v1.GateCommandAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateCommandAdd not implemented") } func (*UnimplementedDeviceServer) GateCommandList(ctx context.Context, req *v1.GateCommandListRequest) (*v1.GateCommandListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateCommandList not implemented") } func (*UnimplementedDeviceServer) GateWhiteMatch(ctx context.Context, req *v1.GateWhiteMatchRequest) (*v1.GateWhiteMatchReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateWhiteMatch not implemented") } func (*UnimplementedDeviceServer) GateUserPicAdd(ctx context.Context, req *v1.GateUserPicAddRequest) (*v1.GateUserPicAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateUserPicAdd not implemented") } func (*UnimplementedDeviceServer) GateUserPicApprove(ctx context.Context, req *v1.GateUserPicApproveRequest) (*v1.GateUserPicApproveReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateUserPicApprove not implemented") } func (*UnimplementedDeviceServer) GateUserPicList(ctx context.Context, req *v1.GateUserPicListRequest) (*v1.GateUserPicListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateUserPicList not implemented") } func (*UnimplementedDeviceServer) GateUserPicSync(ctx context.Context, req *v1.GateUserPicSyncRequest) (*v1.GateUserPicSyncReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateUserPicSync not implemented") } func (*UnimplementedDeviceServer) GateUserPicDel(ctx context.Context, req *v1.GateUserPicDelRequest) (*v1.GateUserPicDelReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateUserPicDel not implemented") } func (*UnimplementedDeviceServer) GateUserPicInfo(ctx context.Context, req *v1.GateUserPicInfoRequest) (*v1.GateUserPicInfoReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateUserPicInfo not implemented") } func (*UnimplementedDeviceServer) GateRecordList(ctx context.Context, req *v1.GateRecordListRequest) (*v1.GateRecordListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateRecordList not implemented") } func (*UnimplementedDeviceServer) GateRecordAdd(ctx context.Context, req *v1.GateRecordAddRequest) (*v1.GateRecordAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateRecordAdd not implemented") } func (*UnimplementedDeviceServer) GateVisitorAdd(ctx context.Context, req *v1.GateVisitorAddRequest) (*v1.GateVisitorAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateVisitorAdd not implemented") } func (*UnimplementedDeviceServer) GateVisitorDel(ctx context.Context, req *v1.GateVisitorDelRequest) (*v1.GateVisitorDelReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateVisitorDel not implemented") } func (*UnimplementedDeviceServer) GateVisitorCheck(ctx context.Context, req *v1.GateVisitorCheckRequest) (*v1.GateVisitorCheckReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateVisitorCheck not implemented") } func (*UnimplementedDeviceServer) GateVisitorList(ctx context.Context, req *v1.GateVisitorListRequest) (*v1.GateVisitorListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateVisitorList not implemented") } func (*UnimplementedDeviceServer) GateUnitDevice(ctx context.Context, req *v1.GateUnitDeviceRequest) (*v1.GateUnitDeviceReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateUnitDevice not implemented") } func (*UnimplementedDeviceServer) GateUnitAdd(ctx context.Context, req *v1.GateUnitAddRequest) (*v1.GateUnitAddReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateUnitAdd not implemented") } func (*UnimplementedDeviceServer) GateUnitList(ctx context.Context, req *v1.GateUnitListRequest) (*v1.GateUnitListReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateUnitList not implemented") } func (*UnimplementedDeviceServer) GateProtocols(ctx context.Context, req *v1.GateProtocolsRequest) (*v1.GateProtocolsReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateProtocols not implemented") } func (*UnimplementedDeviceServer) HouseholdGateSyncCheck(ctx context.Context, req *v1.HouseholdGateSyncCheckRequest) (*v1.HouseholdGateSyncCheckReply, error) { return nil, status.Errorf(codes.Unimplemented, "method HouseholdGateSyncCheck not implemented") } func RegisterDeviceServer(s *grpc.Server, srv DeviceServer) { s.RegisterService(&_Device_serviceDesc, srv) } func _Device_GateOnline_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateOnlineRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateOnline(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateOnline", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateOnline(ctx, req.(*v1.GateOnlineRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateIn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateInRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateIn(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateIn", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateIn(ctx, req.(*v1.GateInRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateBatchIn_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateBatchInRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateBatchIn(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateBatchIn", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateBatchIn(ctx, req.(*v1.GateBatchInRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateList(ctx, req.(*v1.GateListRequest)) } return interceptor(ctx, in, info, handler) } func _Device_MqttFaceGate_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.MqttFaceGateRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).MqttFaceGate(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/MqttFaceGate", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).MqttFaceGate(ctx, req.(*v1.MqttFaceGateRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateOut_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateOutRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateOut(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateOut", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateOut(ctx, req.(*v1.GateOutRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateDelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateDel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateDel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateDel(ctx, req.(*v1.GateDelRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateRecovery_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateRecoveryRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateRecovery(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateRecovery", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateRecovery(ctx, req.(*v1.GateRecoveryRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateEnable_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateEnableRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateEnable(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateEnable", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateEnable(ctx, req.(*v1.GateEnableRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateSet_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateSetRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateSet(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateSet", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateSet(ctx, req.(*v1.GateSetRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateCardAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateCardAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateCardAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateCardAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateCardAdd(ctx, req.(*v1.GateCardAddRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateCardDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateCardDelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateCardDel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateCardDel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateCardDel(ctx, req.(*v1.GateCardDelRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateCardList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateCardListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateCardList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateCardList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateCardList(ctx, req.(*v1.GateCardListRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateCardSync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateCardSyncRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateCardSync(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateCardSync", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateCardSync(ctx, req.(*v1.GateCardSyncRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateCardCanBindDevices_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateCardCanBindDevicesRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateCardCanBindDevices(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateCardCanBindDevices", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateCardCanBindDevices(ctx, req.(*v1.GateCardCanBindDevicesRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateCommandUse_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateCommandUseRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateCommandUse(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateCommandUse", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateCommandUse(ctx, req.(*v1.GateCommandUseRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateCommandResult_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateCommandResultRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateCommandResult(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateCommandResult", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateCommandResult(ctx, req.(*v1.GateCommandResultRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateCommandAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateCommandAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateCommandAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateCommandAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateCommandAdd(ctx, req.(*v1.GateCommandAddRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateCommandList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateCommandListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateCommandList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateCommandList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateCommandList(ctx, req.(*v1.GateCommandListRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateWhiteMatch_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateWhiteMatchRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateWhiteMatch(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateWhiteMatch", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateWhiteMatch(ctx, req.(*v1.GateWhiteMatchRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateUserPicAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateUserPicAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateUserPicAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateUserPicAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateUserPicAdd(ctx, req.(*v1.GateUserPicAddRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateUserPicApprove_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateUserPicApproveRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateUserPicApprove(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateUserPicApprove", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateUserPicApprove(ctx, req.(*v1.GateUserPicApproveRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateUserPicList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateUserPicListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateUserPicList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateUserPicList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateUserPicList(ctx, req.(*v1.GateUserPicListRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateUserPicSync_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateUserPicSyncRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateUserPicSync(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateUserPicSync", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateUserPicSync(ctx, req.(*v1.GateUserPicSyncRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateUserPicDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateUserPicDelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateUserPicDel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateUserPicDel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateUserPicDel(ctx, req.(*v1.GateUserPicDelRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateUserPicInfo_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateUserPicInfoRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateUserPicInfo(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateUserPicInfo", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateUserPicInfo(ctx, req.(*v1.GateUserPicInfoRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateRecordList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateRecordListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateRecordList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateRecordList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateRecordList(ctx, req.(*v1.GateRecordListRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateRecordAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateRecordAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateRecordAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateRecordAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateRecordAdd(ctx, req.(*v1.GateRecordAddRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateVisitorAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateVisitorAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateVisitorAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateVisitorAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateVisitorAdd(ctx, req.(*v1.GateVisitorAddRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateVisitorDel_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateVisitorDelRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateVisitorDel(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateVisitorDel", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateVisitorDel(ctx, req.(*v1.GateVisitorDelRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateVisitorCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateVisitorCheckRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateVisitorCheck(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateVisitorCheck", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateVisitorCheck(ctx, req.(*v1.GateVisitorCheckRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateVisitorList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateVisitorListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateVisitorList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateVisitorList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateVisitorList(ctx, req.(*v1.GateVisitorListRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateUnitDevice_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateUnitDeviceRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateUnitDevice(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateUnitDevice", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateUnitDevice(ctx, req.(*v1.GateUnitDeviceRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateUnitAdd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateUnitAddRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateUnitAdd(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateUnitAdd", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateUnitAdd(ctx, req.(*v1.GateUnitAddRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateUnitList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateUnitListRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateUnitList(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateUnitList", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateUnitList(ctx, req.(*v1.GateUnitListRequest)) } return interceptor(ctx, in, info, handler) } func _Device_GateProtocols_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.GateProtocolsRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).GateProtocols(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/GateProtocols", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).GateProtocols(ctx, req.(*v1.GateProtocolsRequest)) } return interceptor(ctx, in, info, handler) } func _Device_HouseholdGateSyncCheck_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(v1.HouseholdGateSyncCheckRequest) if err := dec(in); err != nil { return nil, err } if interceptor == nil { return srv.(DeviceServer).HouseholdGateSyncCheck(ctx, in) } info := &grpc.UnaryServerInfo{ Server: srv, FullMethod: "/pb.service.Device/HouseholdGateSyncCheck", } handler := func(ctx context.Context, req interface{}) (interface{}, error) { return srv.(DeviceServer).HouseholdGateSyncCheck(ctx, req.(*v1.HouseholdGateSyncCheckRequest)) } return interceptor(ctx, in, info, handler) } var _Device_serviceDesc = grpc.ServiceDesc{ ServiceName: "pb.service.Device", HandlerType: (*DeviceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "GateOnline", Handler: _Device_GateOnline_Handler, }, { MethodName: "GateIn", Handler: _Device_GateIn_Handler, }, { MethodName: "GateBatchIn", Handler: _Device_GateBatchIn_Handler, }, { MethodName: "GateList", Handler: _Device_GateList_Handler, }, { MethodName: "MqttFaceGate", Handler: _Device_MqttFaceGate_Handler, }, { MethodName: "GateOut", Handler: _Device_GateOut_Handler, }, { MethodName: "GateDel", Handler: _Device_GateDel_Handler, }, { MethodName: "GateRecovery", Handler: _Device_GateRecovery_Handler, }, { MethodName: "GateEnable", Handler: _Device_GateEnable_Handler, }, { MethodName: "GateSet", Handler: _Device_GateSet_Handler, }, { MethodName: "GateCardAdd", Handler: _Device_GateCardAdd_Handler, }, { MethodName: "GateCardDel", Handler: _Device_GateCardDel_Handler, }, { MethodName: "GateCardList", Handler: _Device_GateCardList_Handler, }, { MethodName: "GateCardSync", Handler: _Device_GateCardSync_Handler, }, { MethodName: "GateCardCanBindDevices", Handler: _Device_GateCardCanBindDevices_Handler, }, { MethodName: "GateCommandUse", Handler: _Device_GateCommandUse_Handler, }, { MethodName: "GateCommandResult", Handler: _Device_GateCommandResult_Handler, }, { MethodName: "GateCommandAdd", Handler: _Device_GateCommandAdd_Handler, }, { MethodName: "GateCommandList", Handler: _Device_GateCommandList_Handler, }, { MethodName: "GateWhiteMatch", Handler: _Device_GateWhiteMatch_Handler, }, { MethodName: "GateUserPicAdd", Handler: _Device_GateUserPicAdd_Handler, }, { MethodName: "GateUserPicApprove", Handler: _Device_GateUserPicApprove_Handler, }, { MethodName: "GateUserPicList", Handler: _Device_GateUserPicList_Handler, }, { MethodName: "GateUserPicSync", Handler: _Device_GateUserPicSync_Handler, }, { MethodName: "GateUserPicDel", Handler: _Device_GateUserPicDel_Handler, }, { MethodName: "GateUserPicInfo", Handler: _Device_GateUserPicInfo_Handler, }, { MethodName: "GateRecordList", Handler: _Device_GateRecordList_Handler, }, { MethodName: "GateRecordAdd", Handler: _Device_GateRecordAdd_Handler, }, { MethodName: "GateVisitorAdd", Handler: _Device_GateVisitorAdd_Handler, }, { MethodName: "GateVisitorDel", Handler: _Device_GateVisitorDel_Handler, }, { MethodName: "GateVisitorCheck", Handler: _Device_GateVisitorCheck_Handler, }, { MethodName: "GateVisitorList", Handler: _Device_GateVisitorList_Handler, }, { MethodName: "GateUnitDevice", Handler: _Device_GateUnitDevice_Handler, }, { MethodName: "GateUnitAdd", Handler: _Device_GateUnitAdd_Handler, }, { MethodName: "GateUnitList", Handler: _Device_GateUnitList_Handler, }, { MethodName: "GateProtocols", Handler: _Device_GateProtocols_Handler, }, { MethodName: "HouseholdGateSyncCheck", Handler: _Device_HouseholdGateSyncCheck_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "device_service.proto", }