syntax = "proto3"; // package声明符,用来防止不同的消息类型有命名冲突 package pb_v1; // 用于生成指定语言go的包名称 option go_package = "property-device/pb/v1"; message FaceWhiteData { string custom_id = 1; string name = 2; string pic = 3; } message FaceWhiteAddRequest { string sn = 1; repeated FaceWhiteData list = 2; } message FaceWhiteAddReply { } message FaceWhiteDelRequest { string sn = 1; repeated string custom_ids = 2; } message FaceWhiteDelReply { } message FaceRebootRequest { string sn = 1; string cmd_id = 2; } message FaceRebootReply { } message FaceOpenRequest { string sn = 1; string cmd_id = 2; } message FaceOpenReply { } message NewMqttDeviceRequest { string sn = 1; } message NewMqttDeviceReply { }