// 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-device/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{ // 717 bytes of a gzipped FileDescriptorProto 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x84, 0x96, 0x5b, 0x6f, 0xd3, 0x4c, 0x10, 0x86, 0xbf, 0xab, 0x7e, 0x68, 0x39, 0x14, 0x96, 0xf4, 0xe4, 0x1e, 0x40, 0x15, 0xb7, 0xa4, 0x2a, 0x20, 0x21, 0x71, 0x05, 0x49, 0x28, 0x44, 0x6a, 0xd5, 0x2a, 0x51, 0x00, 0x71, 0x53, 0x39, 0xf6, 0xa2, 0x58, 0xb8, 0x6b, 0xd7, 0xde, 0x44, 0xca, 0xaf, 0xe5, 0xaf, 0xa0, 0xdd, 0xf5, 0xda, 0x33, 0xeb, 0x71, 0xb8, 0x8a, 0xf4, 0x3e, 0x33, 0x6f, 0xc6, 0x3b, 0xb3, 0x07, 0xd6, 0x8b, 0xc5, 0x2a, 0x89, 0xc4, 0x6d, 0x29, 0x0a, 0xfd, 0xdb, 0xcf, 0x8b, 0x4c, 0x65, 0x9c, 0xe5, 0xf3, 0x7e, 0xa5, 0x04, 0xdb, 0xab, 0xf3, 0x33, 0x1b, 0x64, 0xe1, 0x9b, 0x3f, 0x3b, 0x6c, 0x6b, 0x64, 0x04, 0xfe, 0x91, 0xb1, 0x2f, 0xa1, 0x12, 0xd7, 0x32, 0x4d, 0xa4, 0xe0, 0xfb, 0xfd, 0x7c, 0x7e, 0xbb, 0x3a, 0xef, 0x37, 0xd2, 0x44, 0xdc, 0x2f, 0x45, 0xa9, 0x82, 0x5d, 0x82, 0xe4, 0xe9, 0xfa, 0xf4, 0x3f, 0xfe, 0x8e, 0x6d, 0x69, 0x71, 0x2c, 0x79, 0x0f, 0xc4, 0x8c, 0xa5, 0xcb, 0xe4, 0x9e, 0x6a, 0xb3, 0x86, 0xec, 0xa1, 0x16, 0x06, 0xa1, 0x8a, 0x16, 0x63, 0xc9, 0x0f, 0x40, 0x50, 0xa5, 0xb9, 0xfc, 0x3d, 0x0a, 0x59, 0x93, 0x0f, 0xec, 0x81, 0x56, 0x2f, 0x93, 0x52, 0x71, 0x58, 0xa0, 0x16, 0x5c, 0x7a, 0xaf, 0xa5, 0xdb, 0xdc, 0x0b, 0xf6, 0xe8, 0xea, 0x5e, 0xa9, 0x8b, 0x30, 0x12, 0x1a, 0xf1, 0xa0, 0x8a, 0x83, 0xa2, 0xf3, 0xd8, 0x27, 0x99, 0xf5, 0x79, 0xcf, 0xfe, 0x37, 0x6b, 0xb2, 0x54, 0x7c, 0x07, 0xae, 0xd1, 0xb2, 0xae, 0xe0, 0xb9, 0x2f, 0xa3, 0xc4, 0x91, 0x48, 0x51, 0xe2, 0x48, 0xa4, 0x54, 0xa2, 0x91, 0xeb, 0xca, 0x6d, 0x01, 0x51, 0xb6, 0x12, 0xc5, 0xba, 0xae, 0x1c, 0x8a, 0x7e, 0xe5, 0x98, 0x59, 0x9f, 0xaa, 0xf5, 0x9f, 0x65, 0x38, 0x4f, 0x71, 0xeb, 0xad, 0x44, 0xb5, 0xde, 0x11, 0xf4, 0x09, 0x53, 0x81, 0xbf, 0x7d, 0x2a, 0xc8, 0x6f, 0x37, 0x32, 0xea, 0xfe, 0x30, 0x2c, 0xe2, 0x4f, 0x71, 0x8c, 0xba, 0x5f, 0x69, 0x54, 0xf7, 0x6b, 0xd4, 0x32, 0xd1, 0x8b, 0xe8, 0x9b, 0x80, 0x85, 0xdc, 0xa3, 0x10, 0x5a, 0x4c, 0xad, 0x9a, 0x31, 0x0a, 0xbc, 0x50, 0x38, 0x4a, 0xfb, 0x24, 0x6b, 0xf9, 0x4c, 0xd7, 0x32, 0x6a, 0xf9, 0x68, 0xb1, 0xcb, 0xc7, 0x32, 0xeb, 0x13, 0xb3, 0x5d, 0x27, 0x0f, 0x43, 0x39, 0x48, 0x64, 0x6c, 0x37, 0x6a, 0xc9, 0x5f, 0x79, 0x59, 0x18, 0x3b, 0xef, 0xd3, 0x7f, 0x44, 0xd9, 0x7f, 0xb9, 0x64, 0x4f, 0x4c, 0x40, 0x76, 0x77, 0x17, 0xca, 0x78, 0x56, 0x0a, 0x7e, 0x04, 0xf3, 0x6a, 0xd9, 0xb9, 0x06, 0x1d, 0xd4, 0xba, 0xcd, 0xd8, 0x33, 0x00, 0x26, 0xa2, 0x5c, 0xa6, 0x8a, 0xbf, 0x68, 0xa7, 0x58, 0xe2, 0x3c, 0x8f, 0xbb, 0x03, 0xa8, 0x22, 0xf5, 0x9c, 0x10, 0x45, 0x82, 0x51, 0x09, 0x3a, 0xa8, 0x75, 0xbb, 0x66, 0xdb, 0x00, 0x98, 0x5e, 0x13, 0x15, 0xc0, 0x76, 0x1f, 0x76, 0x61, 0x54, 0xde, 0xf7, 0x45, 0xa2, 0xc4, 0x95, 0x3e, 0x97, 0x50, 0x79, 0x8d, 0x4c, 0x95, 0x07, 0x29, 0x72, 0x9b, 0x95, 0xa2, 0xb8, 0x49, 0x22, 0xff, 0x63, 0x1b, 0x99, 0x72, 0x83, 0x94, 0x72, 0xd3, 0xbb, 0x83, 0x70, 0x03, 0x1b, 0x24, 0xe8, 0xa0, 0xd6, 0xed, 0x07, 0xe3, 0xf0, 0x6f, 0xf2, 0xbc, 0xc8, 0x56, 0x82, 0xbf, 0x24, 0x2a, 0xb0, 0xc8, 0xb9, 0x9e, 0x6c, 0x88, 0x40, 0x4d, 0xa9, 0xa0, 0xd9, 0x38, 0xc7, 0xed, 0x24, 0xb8, 0x77, 0x0e, 0xbb, 0x30, 0x65, 0xd8, 0xea, 0x32, 0xd0, 0x37, 0x18, 0xc2, 0x2e, 0x63, 0xc3, 0xb1, 0xfc, 0x95, 0x51, 0x86, 0x5a, 0xdf, 0x60, 0x68, 0x31, 0x6a, 0x8d, 0x3e, 0x8c, 0xab, 0x23, 0xe7, 0xc8, 0x3b, 0xa3, 0xf1, 0xa1, 0x13, 0x74, 0x50, 0xeb, 0x36, 0x66, 0x8f, 0x1b, 0xa0, 0xa7, 0xe6, 0xb0, 0x15, 0x0e, 0x86, 0xe6, 0x80, 0x86, 0xa8, 0xb0, 0x6f, 0x49, 0x99, 0xa8, 0xac, 0xf0, 0x27, 0xb0, 0x91, 0xa9, 0xc2, 0x20, 0xa5, 0xdc, 0xfc, 0x09, 0x6c, 0xe4, 0x0d, 0x6e, 0x60, 0x02, 0x27, 0xec, 0x29, 0x00, 0xc3, 0x85, 0x88, 0x7e, 0xf3, 0x93, 0x76, 0x86, 0x01, 0xce, 0xf1, 0xa8, 0x93, 0xa3, 0xce, 0x56, 0xa8, 0x35, 0x2a, 0x40, 0xa7, 0x3a, 0x8b, 0x30, 0xde, 0x74, 0x32, 0x51, 0xd5, 0xe3, 0x0a, 0x6d, 0xba, 0x5a, 0x26, 0x37, 0x1d, 0xa0, 0xe8, 0x76, 0xd3, 0xc0, 0xbf, 0x22, 0x2b, 0x8d, 0xba, 0xdd, 0x6a, 0x84, 0x6e, 0x25, 0xad, 0xb6, 0x6e, 0x37, 0x27, 0x52, 0xb7, 0x52, 0xc3, 0xd0, 0x98, 0xdd, 0xe8, 0xd7, 0x63, 0x94, 0xa5, 0x25, 0x1a, 0xb3, 0x5a, 0xa5, 0xc6, 0x0c, 0xc0, 0xfa, 0x82, 0xfb, 0x9a, 0x2d, 0x4b, 0xb1, 0xc8, 0xd2, 0xd8, 0xbc, 0x0a, 0xd6, 0x32, 0xb2, 0x0d, 0x75, 0x17, 0x1c, 0x8d, 0xfd, 0x0b, 0xae, 0x2b, 0xca, 0xfc, 0xcb, 0xa0, 0xf7, 0x93, 0xe7, 0x45, 0x96, 0x8b, 0x42, 0xad, 0x5f, 0xdb, 0xa7, 0xef, 0x59, 0x3e, 0x9f, 0x6f, 0x99, 0xe7, 0xef, 0xdb, 0xbf, 0x01, 0x00, 0x00, 0xff, 0xff, 0x27, 0x5c, 0x95, 0xca, 0x33, 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) GateUserPicDel(ctx context.Context, in *v1.GateUserPicDelRequest, opts ...grpc.CallOption) (*v1.GateUserPicDelReply, error) // 门禁人脸审核 GateUserPicApprove(ctx context.Context, in *v1.GateUserPicApproveRequest, opts ...grpc.CallOption) (*v1.GateUserPicApproveReply, error) // 门禁人脸下发 GateUserPicSync(ctx context.Context, in *v1.GateUserPicSyncRequest, opts ...grpc.CallOption) (*v1.GateUserPicSyncReply, error) // 获取人脸录入列表 GateUserPicList(ctx context.Context, in *v1.GateUserPicListRequest, opts ...grpc.CallOption) (*v1.GateUserPicListReply, 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) 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) 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) 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) 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) 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) GateUserPicDel(context.Context, *v1.GateUserPicDelRequest) (*v1.GateUserPicDelReply, error) // 门禁人脸审核 GateUserPicApprove(context.Context, *v1.GateUserPicApproveRequest) (*v1.GateUserPicApproveReply, error) // 门禁人脸下发 GateUserPicSync(context.Context, *v1.GateUserPicSyncRequest) (*v1.GateUserPicSyncReply, error) // 获取人脸录入列表 GateUserPicList(context.Context, *v1.GateUserPicListRequest) (*v1.GateUserPicListReply, 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) GateUserPicDel(ctx context.Context, req *v1.GateUserPicDelRequest) (*v1.GateUserPicDelReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateUserPicDel 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) GateUserPicSync(ctx context.Context, req *v1.GateUserPicSyncRequest) (*v1.GateUserPicSyncReply, error) { return nil, status.Errorf(codes.Unimplemented, "method GateUserPicSync 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) 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_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_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_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_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_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: "GateUserPicDel", Handler: _Device_GateUserPicDel_Handler, }, { MethodName: "GateUserPicApprove", Handler: _Device_GateUserPicApprove_Handler, }, { MethodName: "GateUserPicSync", Handler: _Device_GateUserPicSync_Handler, }, { MethodName: "GateUserPicList", Handler: _Device_GateUserPicList_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", }