garden_service.proto 933 B

1234567891011121314151617181920212223
  1. syntax = "proto3";
  2. import "v1/garden.proto";
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package pb.service;
  5. // 用于生成指定语言go的包名称
  6. option go_package = "property-device/pb";
  7. // The system service definition.
  8. service Garden {
  9. // 业主信息列表
  10. rpc GardenHouseholdUserList(pb_v1.GardenHouseholdUserListRequest) returns (pb_v1.GardenHouseholdUserListReply){}
  11. rpc GardenHouseholdList(pb_v1.GardenHouseholdListRequest) returns (pb_v1.GardenHouseholdListReply){}
  12. // 住户的单元id列表
  13. rpc GardenHouseholdUnitIds(pb_v1.GardenHouseholdUnitIdsRequest) returns (pb_v1.GardenHouseholdUnitIdsReply){}
  14. // 根据单元id获取住户uid列表
  15. rpc GardenHouseholdUidsFromUnitId(pb_v1.GardenHouseholdUidsFromUnitIdRequest) returns (pb_v1.GardenHouseholdUidsFromUnitIdReply){}
  16. rpc SystemMsgAdd(pb_v1.SystemMsgAddRequest)returns (pb_v1.SystemMsgAddReply){}
  17. }