proto.json 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  1. {
  2. "nested": {
  3. "common": {
  4. "nested": {
  5. "ErrorInfo": {
  6. "fields": {
  7. "errorCode": {
  8. "type": "fixed32",
  9. "id": 1
  10. },
  11. "errorMessage": {
  12. "type": "bytes",
  13. "id": 2
  14. }
  15. }
  16. },
  17. "MsgHead": {
  18. "fields": {
  19. "bodyLen": {
  20. "type": "fixed32",
  21. "id": 1
  22. },
  23. "version": {
  24. "type": "fixed32",
  25. "id": 2
  26. },
  27. "app": {
  28. "type": "fixed32",
  29. "id": 3
  30. },
  31. "server": {
  32. "type": "fixed32",
  33. "id": 4
  34. },
  35. "servant": {
  36. "type": "fixed32",
  37. "id": 5
  38. },
  39. "seq": {
  40. "type": "fixed32",
  41. "id": 6
  42. },
  43. "routeId": {
  44. "type": "fixed32",
  45. "id": 7
  46. },
  47. "encrypt": {
  48. "type": "fixed32",
  49. "id": 8
  50. }
  51. }
  52. },
  53. "MsgBody": {
  54. "fields": {
  55. "body": {
  56. "type": "bytes",
  57. "id": 1
  58. },
  59. "extend": {
  60. "type": "bytes",
  61. "id": 2
  62. }
  63. }
  64. },
  65. "audio_type": {
  66. "values": {
  67. "AUDIO_TYPE_MIN": 0,
  68. "MUSIC_BROADCAST": 1,
  69. "RADIO_BROADCAST": 2,
  70. "MUSIC_UNICAST": 3,
  71. "RADIO_UNICAST": 4,
  72. "MUSIC_PROGRAM": 5,
  73. "RADIO_PROGRAM": 6,
  74. "RADIO_SELECTION": 7
  75. }
  76. }
  77. }
  78. },
  79. "user": {
  80. "nested": {
  81. "user_info_get_req": {
  82. "fields": {
  83. "id": {
  84. "type": "uint32",
  85. "id": 1
  86. }
  87. }
  88. },
  89. "user_info_get_rsp": {
  90. "fields": {
  91. "errInfo": {
  92. "type": "ErrorInfo",
  93. "id": 1
  94. },
  95. "nickname": {
  96. "type": "bytes",
  97. "id": 2
  98. },
  99. "address": {
  100. "type": "bytes",
  101. "id": 3
  102. },
  103. "headUrl": {
  104. "type": "bytes",
  105. "id": 4
  106. },
  107. "constellation": {
  108. "type": "uint32",
  109. "id": 5
  110. },
  111. "audioDuration": {
  112. "type": "uint32",
  113. "id": 6
  114. },
  115. "credits": {
  116. "type": "uint32",
  117. "id": 7
  118. }
  119. }
  120. }
  121. }
  122. }
  123. }
  124. }