type.googleapis.com.CommonPbMsg.proto 574 B

12345678910111213141516171819202122232425
  1. syntax = "proto3";
  2. package type.googleapis.com.CommonPbMsg; // 替换为你的包名
  3. // 响应消息
  4. message Response {
  5. string biz = 1; // 业务类型
  6. string type = 2; // 消息类型
  7. string base = 3; // 基础货币
  8. string quote = 4; // 报价货币
  9. string contractcode = 5; // 合约代码
  10. string granularity = 6; // 粒度
  11. Data data = 7; // 数据
  12. int32 env = 8; // 环境标识
  13. }
  14. // 数据消息
  15. message Data {
  16. string typeUrl = 1; // 数据类型URL
  17. repeated Body body = 2; // 数据值
  18. }
  19. message Body {
  20. string value = 1; // 数据类型URL
  21. }