room.pb.go 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492
  1. // Code generated by protoc-gen-gogo. DO NOT EDIT.
  2. // source: room.proto
  3. package v1
  4. import proto "github.com/gogo/protobuf/proto"
  5. import fmt "fmt"
  6. import math "math"
  7. import _ "github.com/gogo/protobuf/gogoproto"
  8. import io "io"
  9. // Reference imports to suppress errors if they are not otherwise used.
  10. var _ = proto.Marshal
  11. var _ = fmt.Errorf
  12. var _ = math.Inf
  13. // This is a compile-time assertion to ensure that this generated file
  14. // is compatible with the proto package it is being compiled against.
  15. // A compilation error at this line likely means your copy of the
  16. // proto package needs to be updated.
  17. const _ = proto.GoGoProtoPackageIsVersion2 // please upgrade the proto package
  18. type RoomMngGetSecondVerifyListReq struct {
  19. // 房间id
  20. RoomId int64 `protobuf:"varint,1,opt,name=room_id,json=roomId,proto3" json:"room_id,omitempty" form:"room_id"`
  21. // 分区id多个
  22. Area string `protobuf:"bytes,2,opt,name=area,proto3" json:"area,omitempty" form:"area"`
  23. // 页数
  24. Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page,omitempty" form:"page" validate:"required"`
  25. // 页码
  26. Pagesize int64 `protobuf:"varint,4,opt,name=pagesize,proto3" json:"pagesize,omitempty" form:"pagesize"`
  27. // 业务,0直播监控1直播鉴黄2房间举报
  28. Biz string `protobuf:"bytes,5,opt,name=biz,proto3" json:"biz,omitempty" form:"biz"`
  29. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  30. XXX_unrecognized []byte `json:"-"`
  31. XXX_sizecache int32 `json:"-"`
  32. }
  33. func (m *RoomMngGetSecondVerifyListReq) Reset() { *m = RoomMngGetSecondVerifyListReq{} }
  34. func (m *RoomMngGetSecondVerifyListReq) String() string { return proto.CompactTextString(m) }
  35. func (*RoomMngGetSecondVerifyListReq) ProtoMessage() {}
  36. func (*RoomMngGetSecondVerifyListReq) Descriptor() ([]byte, []int) {
  37. return fileDescriptor_room_50fcdc486274d553, []int{0}
  38. }
  39. func (m *RoomMngGetSecondVerifyListReq) XXX_Unmarshal(b []byte) error {
  40. return m.Unmarshal(b)
  41. }
  42. func (m *RoomMngGetSecondVerifyListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  43. if deterministic {
  44. return xxx_messageInfo_RoomMngGetSecondVerifyListReq.Marshal(b, m, deterministic)
  45. } else {
  46. b = b[:cap(b)]
  47. n, err := m.MarshalTo(b)
  48. if err != nil {
  49. return nil, err
  50. }
  51. return b[:n], nil
  52. }
  53. }
  54. func (dst *RoomMngGetSecondVerifyListReq) XXX_Merge(src proto.Message) {
  55. xxx_messageInfo_RoomMngGetSecondVerifyListReq.Merge(dst, src)
  56. }
  57. func (m *RoomMngGetSecondVerifyListReq) XXX_Size() int {
  58. return m.Size()
  59. }
  60. func (m *RoomMngGetSecondVerifyListReq) XXX_DiscardUnknown() {
  61. xxx_messageInfo_RoomMngGetSecondVerifyListReq.DiscardUnknown(m)
  62. }
  63. var xxx_messageInfo_RoomMngGetSecondVerifyListReq proto.InternalMessageInfo
  64. func (m *RoomMngGetSecondVerifyListReq) GetRoomId() int64 {
  65. if m != nil {
  66. return m.RoomId
  67. }
  68. return 0
  69. }
  70. func (m *RoomMngGetSecondVerifyListReq) GetArea() string {
  71. if m != nil {
  72. return m.Area
  73. }
  74. return ""
  75. }
  76. func (m *RoomMngGetSecondVerifyListReq) GetPage() int64 {
  77. if m != nil {
  78. return m.Page
  79. }
  80. return 0
  81. }
  82. func (m *RoomMngGetSecondVerifyListReq) GetPagesize() int64 {
  83. if m != nil {
  84. return m.Pagesize
  85. }
  86. return 0
  87. }
  88. func (m *RoomMngGetSecondVerifyListReq) GetBiz() string {
  89. if m != nil {
  90. return m.Biz
  91. }
  92. return ""
  93. }
  94. type RoomMngGetSecondVerifyListResp struct {
  95. //
  96. Result []*RoomMngGetSecondVerifyListResp_Result `protobuf:"bytes,1,rep,name=result" json:"result"`
  97. // 总数
  98. Count int64 `protobuf:"varint,2,opt,name=count,proto3" json:"count"`
  99. // 页码
  100. Page int64 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
  101. // 分页大小
  102. Pagesize int64 `protobuf:"varint,4,opt,name=pagesize,proto3" json:"pagesize"`
  103. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  104. XXX_unrecognized []byte `json:"-"`
  105. XXX_sizecache int32 `json:"-"`
  106. }
  107. func (m *RoomMngGetSecondVerifyListResp) Reset() { *m = RoomMngGetSecondVerifyListResp{} }
  108. func (m *RoomMngGetSecondVerifyListResp) String() string { return proto.CompactTextString(m) }
  109. func (*RoomMngGetSecondVerifyListResp) ProtoMessage() {}
  110. func (*RoomMngGetSecondVerifyListResp) Descriptor() ([]byte, []int) {
  111. return fileDescriptor_room_50fcdc486274d553, []int{1}
  112. }
  113. func (m *RoomMngGetSecondVerifyListResp) XXX_Unmarshal(b []byte) error {
  114. return m.Unmarshal(b)
  115. }
  116. func (m *RoomMngGetSecondVerifyListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  117. if deterministic {
  118. return xxx_messageInfo_RoomMngGetSecondVerifyListResp.Marshal(b, m, deterministic)
  119. } else {
  120. b = b[:cap(b)]
  121. n, err := m.MarshalTo(b)
  122. if err != nil {
  123. return nil, err
  124. }
  125. return b[:n], nil
  126. }
  127. }
  128. func (dst *RoomMngGetSecondVerifyListResp) XXX_Merge(src proto.Message) {
  129. xxx_messageInfo_RoomMngGetSecondVerifyListResp.Merge(dst, src)
  130. }
  131. func (m *RoomMngGetSecondVerifyListResp) XXX_Size() int {
  132. return m.Size()
  133. }
  134. func (m *RoomMngGetSecondVerifyListResp) XXX_DiscardUnknown() {
  135. xxx_messageInfo_RoomMngGetSecondVerifyListResp.DiscardUnknown(m)
  136. }
  137. var xxx_messageInfo_RoomMngGetSecondVerifyListResp proto.InternalMessageInfo
  138. func (m *RoomMngGetSecondVerifyListResp) GetResult() []*RoomMngGetSecondVerifyListResp_Result {
  139. if m != nil {
  140. return m.Result
  141. }
  142. return nil
  143. }
  144. func (m *RoomMngGetSecondVerifyListResp) GetCount() int64 {
  145. if m != nil {
  146. return m.Count
  147. }
  148. return 0
  149. }
  150. func (m *RoomMngGetSecondVerifyListResp) GetPage() int64 {
  151. if m != nil {
  152. return m.Page
  153. }
  154. return 0
  155. }
  156. func (m *RoomMngGetSecondVerifyListResp) GetPagesize() int64 {
  157. if m != nil {
  158. return m.Pagesize
  159. }
  160. return 0
  161. }
  162. type RoomMngGetSecondVerifyListResp_Result struct {
  163. // 日志id
  164. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  165. // 当天切断记录
  166. RecentCutTimes int64 `protobuf:"varint,2,opt,name=recent_cut_times,json=recentCutTimes,proto3" json:"recent_cut_times"`
  167. // 当天警告记录
  168. RecentWarnTimes int64 `protobuf:"varint,3,opt,name=recent_warn_times,json=recentWarnTimes,proto3" json:"recent_warn_times"`
  169. // 用户名
  170. Uname string `protobuf:"bytes,4,opt,name=uname,proto3" json:"uname"`
  171. // 房间号
  172. RoomId int64 `protobuf:"varint,5,opt,name=room_id,json=roomId,proto3" json:"room_id"`
  173. // 主播id
  174. Uid int64 `protobuf:"varint,6,opt,name=uid,proto3" json:"uid"`
  175. // 房间标题
  176. Title string `protobuf:"bytes,7,opt,name=title,proto3" json:"title"`
  177. // 分区名
  178. AreaV2Name string `protobuf:"bytes,8,opt,name=area_v2_name,json=areaV2Name,proto3" json:"area_v2_name"`
  179. // 粉丝数
  180. Fc int64 `protobuf:"varint,9,opt,name=fc,proto3" json:"fc"`
  181. // 警告理由
  182. WarnReason string `protobuf:"bytes,10,opt,name=warn_reason,json=warnReason,proto3" json:"warn_reason"`
  183. // 图片列表
  184. Pics []string `protobuf:"bytes,11,rep,name=pics" json:"pics"`
  185. // 警告时间
  186. BreakTime string `protobuf:"bytes,12,opt,name=break_time,json=breakTime,proto3" json:"break_time"`
  187. // 共计警告时间
  188. WarnTimes int64 `protobuf:"varint,13,opt,name=warn_times,json=warnTimes,proto3" json:"warn_times"`
  189. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  190. XXX_unrecognized []byte `json:"-"`
  191. XXX_sizecache int32 `json:"-"`
  192. }
  193. func (m *RoomMngGetSecondVerifyListResp_Result) Reset() { *m = RoomMngGetSecondVerifyListResp_Result{} }
  194. func (m *RoomMngGetSecondVerifyListResp_Result) String() string { return proto.CompactTextString(m) }
  195. func (*RoomMngGetSecondVerifyListResp_Result) ProtoMessage() {}
  196. func (*RoomMngGetSecondVerifyListResp_Result) Descriptor() ([]byte, []int) {
  197. return fileDescriptor_room_50fcdc486274d553, []int{1, 0}
  198. }
  199. func (m *RoomMngGetSecondVerifyListResp_Result) XXX_Unmarshal(b []byte) error {
  200. return m.Unmarshal(b)
  201. }
  202. func (m *RoomMngGetSecondVerifyListResp_Result) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  203. if deterministic {
  204. return xxx_messageInfo_RoomMngGetSecondVerifyListResp_Result.Marshal(b, m, deterministic)
  205. } else {
  206. b = b[:cap(b)]
  207. n, err := m.MarshalTo(b)
  208. if err != nil {
  209. return nil, err
  210. }
  211. return b[:n], nil
  212. }
  213. }
  214. func (dst *RoomMngGetSecondVerifyListResp_Result) XXX_Merge(src proto.Message) {
  215. xxx_messageInfo_RoomMngGetSecondVerifyListResp_Result.Merge(dst, src)
  216. }
  217. func (m *RoomMngGetSecondVerifyListResp_Result) XXX_Size() int {
  218. return m.Size()
  219. }
  220. func (m *RoomMngGetSecondVerifyListResp_Result) XXX_DiscardUnknown() {
  221. xxx_messageInfo_RoomMngGetSecondVerifyListResp_Result.DiscardUnknown(m)
  222. }
  223. var xxx_messageInfo_RoomMngGetSecondVerifyListResp_Result proto.InternalMessageInfo
  224. func (m *RoomMngGetSecondVerifyListResp_Result) GetId() int64 {
  225. if m != nil {
  226. return m.Id
  227. }
  228. return 0
  229. }
  230. func (m *RoomMngGetSecondVerifyListResp_Result) GetRecentCutTimes() int64 {
  231. if m != nil {
  232. return m.RecentCutTimes
  233. }
  234. return 0
  235. }
  236. func (m *RoomMngGetSecondVerifyListResp_Result) GetRecentWarnTimes() int64 {
  237. if m != nil {
  238. return m.RecentWarnTimes
  239. }
  240. return 0
  241. }
  242. func (m *RoomMngGetSecondVerifyListResp_Result) GetUname() string {
  243. if m != nil {
  244. return m.Uname
  245. }
  246. return ""
  247. }
  248. func (m *RoomMngGetSecondVerifyListResp_Result) GetRoomId() int64 {
  249. if m != nil {
  250. return m.RoomId
  251. }
  252. return 0
  253. }
  254. func (m *RoomMngGetSecondVerifyListResp_Result) GetUid() int64 {
  255. if m != nil {
  256. return m.Uid
  257. }
  258. return 0
  259. }
  260. func (m *RoomMngGetSecondVerifyListResp_Result) GetTitle() string {
  261. if m != nil {
  262. return m.Title
  263. }
  264. return ""
  265. }
  266. func (m *RoomMngGetSecondVerifyListResp_Result) GetAreaV2Name() string {
  267. if m != nil {
  268. return m.AreaV2Name
  269. }
  270. return ""
  271. }
  272. func (m *RoomMngGetSecondVerifyListResp_Result) GetFc() int64 {
  273. if m != nil {
  274. return m.Fc
  275. }
  276. return 0
  277. }
  278. func (m *RoomMngGetSecondVerifyListResp_Result) GetWarnReason() string {
  279. if m != nil {
  280. return m.WarnReason
  281. }
  282. return ""
  283. }
  284. func (m *RoomMngGetSecondVerifyListResp_Result) GetPics() []string {
  285. if m != nil {
  286. return m.Pics
  287. }
  288. return nil
  289. }
  290. func (m *RoomMngGetSecondVerifyListResp_Result) GetBreakTime() string {
  291. if m != nil {
  292. return m.BreakTime
  293. }
  294. return ""
  295. }
  296. func (m *RoomMngGetSecondVerifyListResp_Result) GetWarnTimes() int64 {
  297. if m != nil {
  298. return m.WarnTimes
  299. }
  300. return 0
  301. }
  302. func init() {
  303. proto.RegisterType((*RoomMngGetSecondVerifyListReq)(nil), "live.liveadmin.v1.RoomMngGetSecondVerifyListReq")
  304. proto.RegisterType((*RoomMngGetSecondVerifyListResp)(nil), "live.liveadmin.v1.RoomMngGetSecondVerifyListResp")
  305. proto.RegisterType((*RoomMngGetSecondVerifyListResp_Result)(nil), "live.liveadmin.v1.RoomMngGetSecondVerifyListResp.Result")
  306. }
  307. func (m *RoomMngGetSecondVerifyListReq) Marshal() (dAtA []byte, err error) {
  308. size := m.Size()
  309. dAtA = make([]byte, size)
  310. n, err := m.MarshalTo(dAtA)
  311. if err != nil {
  312. return nil, err
  313. }
  314. return dAtA[:n], nil
  315. }
  316. func (m *RoomMngGetSecondVerifyListReq) MarshalTo(dAtA []byte) (int, error) {
  317. var i int
  318. _ = i
  319. var l int
  320. _ = l
  321. if m.RoomId != 0 {
  322. dAtA[i] = 0x8
  323. i++
  324. i = encodeVarintRoom(dAtA, i, uint64(m.RoomId))
  325. }
  326. if len(m.Area) > 0 {
  327. dAtA[i] = 0x12
  328. i++
  329. i = encodeVarintRoom(dAtA, i, uint64(len(m.Area)))
  330. i += copy(dAtA[i:], m.Area)
  331. }
  332. if m.Page != 0 {
  333. dAtA[i] = 0x18
  334. i++
  335. i = encodeVarintRoom(dAtA, i, uint64(m.Page))
  336. }
  337. if m.Pagesize != 0 {
  338. dAtA[i] = 0x20
  339. i++
  340. i = encodeVarintRoom(dAtA, i, uint64(m.Pagesize))
  341. }
  342. if len(m.Biz) > 0 {
  343. dAtA[i] = 0x2a
  344. i++
  345. i = encodeVarintRoom(dAtA, i, uint64(len(m.Biz)))
  346. i += copy(dAtA[i:], m.Biz)
  347. }
  348. if m.XXX_unrecognized != nil {
  349. i += copy(dAtA[i:], m.XXX_unrecognized)
  350. }
  351. return i, nil
  352. }
  353. func (m *RoomMngGetSecondVerifyListResp) Marshal() (dAtA []byte, err error) {
  354. size := m.Size()
  355. dAtA = make([]byte, size)
  356. n, err := m.MarshalTo(dAtA)
  357. if err != nil {
  358. return nil, err
  359. }
  360. return dAtA[:n], nil
  361. }
  362. func (m *RoomMngGetSecondVerifyListResp) MarshalTo(dAtA []byte) (int, error) {
  363. var i int
  364. _ = i
  365. var l int
  366. _ = l
  367. if len(m.Result) > 0 {
  368. for _, msg := range m.Result {
  369. dAtA[i] = 0xa
  370. i++
  371. i = encodeVarintRoom(dAtA, i, uint64(msg.Size()))
  372. n, err := msg.MarshalTo(dAtA[i:])
  373. if err != nil {
  374. return 0, err
  375. }
  376. i += n
  377. }
  378. }
  379. if m.Count != 0 {
  380. dAtA[i] = 0x10
  381. i++
  382. i = encodeVarintRoom(dAtA, i, uint64(m.Count))
  383. }
  384. if m.Page != 0 {
  385. dAtA[i] = 0x18
  386. i++
  387. i = encodeVarintRoom(dAtA, i, uint64(m.Page))
  388. }
  389. if m.Pagesize != 0 {
  390. dAtA[i] = 0x20
  391. i++
  392. i = encodeVarintRoom(dAtA, i, uint64(m.Pagesize))
  393. }
  394. if m.XXX_unrecognized != nil {
  395. i += copy(dAtA[i:], m.XXX_unrecognized)
  396. }
  397. return i, nil
  398. }
  399. func (m *RoomMngGetSecondVerifyListResp_Result) Marshal() (dAtA []byte, err error) {
  400. size := m.Size()
  401. dAtA = make([]byte, size)
  402. n, err := m.MarshalTo(dAtA)
  403. if err != nil {
  404. return nil, err
  405. }
  406. return dAtA[:n], nil
  407. }
  408. func (m *RoomMngGetSecondVerifyListResp_Result) MarshalTo(dAtA []byte) (int, error) {
  409. var i int
  410. _ = i
  411. var l int
  412. _ = l
  413. if m.Id != 0 {
  414. dAtA[i] = 0x8
  415. i++
  416. i = encodeVarintRoom(dAtA, i, uint64(m.Id))
  417. }
  418. if m.RecentCutTimes != 0 {
  419. dAtA[i] = 0x10
  420. i++
  421. i = encodeVarintRoom(dAtA, i, uint64(m.RecentCutTimes))
  422. }
  423. if m.RecentWarnTimes != 0 {
  424. dAtA[i] = 0x18
  425. i++
  426. i = encodeVarintRoom(dAtA, i, uint64(m.RecentWarnTimes))
  427. }
  428. if len(m.Uname) > 0 {
  429. dAtA[i] = 0x22
  430. i++
  431. i = encodeVarintRoom(dAtA, i, uint64(len(m.Uname)))
  432. i += copy(dAtA[i:], m.Uname)
  433. }
  434. if m.RoomId != 0 {
  435. dAtA[i] = 0x28
  436. i++
  437. i = encodeVarintRoom(dAtA, i, uint64(m.RoomId))
  438. }
  439. if m.Uid != 0 {
  440. dAtA[i] = 0x30
  441. i++
  442. i = encodeVarintRoom(dAtA, i, uint64(m.Uid))
  443. }
  444. if len(m.Title) > 0 {
  445. dAtA[i] = 0x3a
  446. i++
  447. i = encodeVarintRoom(dAtA, i, uint64(len(m.Title)))
  448. i += copy(dAtA[i:], m.Title)
  449. }
  450. if len(m.AreaV2Name) > 0 {
  451. dAtA[i] = 0x42
  452. i++
  453. i = encodeVarintRoom(dAtA, i, uint64(len(m.AreaV2Name)))
  454. i += copy(dAtA[i:], m.AreaV2Name)
  455. }
  456. if m.Fc != 0 {
  457. dAtA[i] = 0x48
  458. i++
  459. i = encodeVarintRoom(dAtA, i, uint64(m.Fc))
  460. }
  461. if len(m.WarnReason) > 0 {
  462. dAtA[i] = 0x52
  463. i++
  464. i = encodeVarintRoom(dAtA, i, uint64(len(m.WarnReason)))
  465. i += copy(dAtA[i:], m.WarnReason)
  466. }
  467. if len(m.Pics) > 0 {
  468. for _, s := range m.Pics {
  469. dAtA[i] = 0x5a
  470. i++
  471. l = len(s)
  472. for l >= 1<<7 {
  473. dAtA[i] = uint8(uint64(l)&0x7f | 0x80)
  474. l >>= 7
  475. i++
  476. }
  477. dAtA[i] = uint8(l)
  478. i++
  479. i += copy(dAtA[i:], s)
  480. }
  481. }
  482. if len(m.BreakTime) > 0 {
  483. dAtA[i] = 0x62
  484. i++
  485. i = encodeVarintRoom(dAtA, i, uint64(len(m.BreakTime)))
  486. i += copy(dAtA[i:], m.BreakTime)
  487. }
  488. if m.WarnTimes != 0 {
  489. dAtA[i] = 0x68
  490. i++
  491. i = encodeVarintRoom(dAtA, i, uint64(m.WarnTimes))
  492. }
  493. if m.XXX_unrecognized != nil {
  494. i += copy(dAtA[i:], m.XXX_unrecognized)
  495. }
  496. return i, nil
  497. }
  498. func encodeVarintRoom(dAtA []byte, offset int, v uint64) int {
  499. for v >= 1<<7 {
  500. dAtA[offset] = uint8(v&0x7f | 0x80)
  501. v >>= 7
  502. offset++
  503. }
  504. dAtA[offset] = uint8(v)
  505. return offset + 1
  506. }
  507. func (m *RoomMngGetSecondVerifyListReq) Size() (n int) {
  508. if m == nil {
  509. return 0
  510. }
  511. var l int
  512. _ = l
  513. if m.RoomId != 0 {
  514. n += 1 + sovRoom(uint64(m.RoomId))
  515. }
  516. l = len(m.Area)
  517. if l > 0 {
  518. n += 1 + l + sovRoom(uint64(l))
  519. }
  520. if m.Page != 0 {
  521. n += 1 + sovRoom(uint64(m.Page))
  522. }
  523. if m.Pagesize != 0 {
  524. n += 1 + sovRoom(uint64(m.Pagesize))
  525. }
  526. l = len(m.Biz)
  527. if l > 0 {
  528. n += 1 + l + sovRoom(uint64(l))
  529. }
  530. if m.XXX_unrecognized != nil {
  531. n += len(m.XXX_unrecognized)
  532. }
  533. return n
  534. }
  535. func (m *RoomMngGetSecondVerifyListResp) Size() (n int) {
  536. if m == nil {
  537. return 0
  538. }
  539. var l int
  540. _ = l
  541. if len(m.Result) > 0 {
  542. for _, e := range m.Result {
  543. l = e.Size()
  544. n += 1 + l + sovRoom(uint64(l))
  545. }
  546. }
  547. if m.Count != 0 {
  548. n += 1 + sovRoom(uint64(m.Count))
  549. }
  550. if m.Page != 0 {
  551. n += 1 + sovRoom(uint64(m.Page))
  552. }
  553. if m.Pagesize != 0 {
  554. n += 1 + sovRoom(uint64(m.Pagesize))
  555. }
  556. if m.XXX_unrecognized != nil {
  557. n += len(m.XXX_unrecognized)
  558. }
  559. return n
  560. }
  561. func (m *RoomMngGetSecondVerifyListResp_Result) Size() (n int) {
  562. if m == nil {
  563. return 0
  564. }
  565. var l int
  566. _ = l
  567. if m.Id != 0 {
  568. n += 1 + sovRoom(uint64(m.Id))
  569. }
  570. if m.RecentCutTimes != 0 {
  571. n += 1 + sovRoom(uint64(m.RecentCutTimes))
  572. }
  573. if m.RecentWarnTimes != 0 {
  574. n += 1 + sovRoom(uint64(m.RecentWarnTimes))
  575. }
  576. l = len(m.Uname)
  577. if l > 0 {
  578. n += 1 + l + sovRoom(uint64(l))
  579. }
  580. if m.RoomId != 0 {
  581. n += 1 + sovRoom(uint64(m.RoomId))
  582. }
  583. if m.Uid != 0 {
  584. n += 1 + sovRoom(uint64(m.Uid))
  585. }
  586. l = len(m.Title)
  587. if l > 0 {
  588. n += 1 + l + sovRoom(uint64(l))
  589. }
  590. l = len(m.AreaV2Name)
  591. if l > 0 {
  592. n += 1 + l + sovRoom(uint64(l))
  593. }
  594. if m.Fc != 0 {
  595. n += 1 + sovRoom(uint64(m.Fc))
  596. }
  597. l = len(m.WarnReason)
  598. if l > 0 {
  599. n += 1 + l + sovRoom(uint64(l))
  600. }
  601. if len(m.Pics) > 0 {
  602. for _, s := range m.Pics {
  603. l = len(s)
  604. n += 1 + l + sovRoom(uint64(l))
  605. }
  606. }
  607. l = len(m.BreakTime)
  608. if l > 0 {
  609. n += 1 + l + sovRoom(uint64(l))
  610. }
  611. if m.WarnTimes != 0 {
  612. n += 1 + sovRoom(uint64(m.WarnTimes))
  613. }
  614. if m.XXX_unrecognized != nil {
  615. n += len(m.XXX_unrecognized)
  616. }
  617. return n
  618. }
  619. func sovRoom(x uint64) (n int) {
  620. for {
  621. n++
  622. x >>= 7
  623. if x == 0 {
  624. break
  625. }
  626. }
  627. return n
  628. }
  629. func sozRoom(x uint64) (n int) {
  630. return sovRoom(uint64((x << 1) ^ uint64((int64(x) >> 63))))
  631. }
  632. func (m *RoomMngGetSecondVerifyListReq) Unmarshal(dAtA []byte) error {
  633. l := len(dAtA)
  634. iNdEx := 0
  635. for iNdEx < l {
  636. preIndex := iNdEx
  637. var wire uint64
  638. for shift := uint(0); ; shift += 7 {
  639. if shift >= 64 {
  640. return ErrIntOverflowRoom
  641. }
  642. if iNdEx >= l {
  643. return io.ErrUnexpectedEOF
  644. }
  645. b := dAtA[iNdEx]
  646. iNdEx++
  647. wire |= (uint64(b) & 0x7F) << shift
  648. if b < 0x80 {
  649. break
  650. }
  651. }
  652. fieldNum := int32(wire >> 3)
  653. wireType := int(wire & 0x7)
  654. if wireType == 4 {
  655. return fmt.Errorf("proto: RoomMngGetSecondVerifyListReq: wiretype end group for non-group")
  656. }
  657. if fieldNum <= 0 {
  658. return fmt.Errorf("proto: RoomMngGetSecondVerifyListReq: illegal tag %d (wire type %d)", fieldNum, wire)
  659. }
  660. switch fieldNum {
  661. case 1:
  662. if wireType != 0 {
  663. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  664. }
  665. m.RoomId = 0
  666. for shift := uint(0); ; shift += 7 {
  667. if shift >= 64 {
  668. return ErrIntOverflowRoom
  669. }
  670. if iNdEx >= l {
  671. return io.ErrUnexpectedEOF
  672. }
  673. b := dAtA[iNdEx]
  674. iNdEx++
  675. m.RoomId |= (int64(b) & 0x7F) << shift
  676. if b < 0x80 {
  677. break
  678. }
  679. }
  680. case 2:
  681. if wireType != 2 {
  682. return fmt.Errorf("proto: wrong wireType = %d for field Area", wireType)
  683. }
  684. var stringLen uint64
  685. for shift := uint(0); ; shift += 7 {
  686. if shift >= 64 {
  687. return ErrIntOverflowRoom
  688. }
  689. if iNdEx >= l {
  690. return io.ErrUnexpectedEOF
  691. }
  692. b := dAtA[iNdEx]
  693. iNdEx++
  694. stringLen |= (uint64(b) & 0x7F) << shift
  695. if b < 0x80 {
  696. break
  697. }
  698. }
  699. intStringLen := int(stringLen)
  700. if intStringLen < 0 {
  701. return ErrInvalidLengthRoom
  702. }
  703. postIndex := iNdEx + intStringLen
  704. if postIndex > l {
  705. return io.ErrUnexpectedEOF
  706. }
  707. m.Area = string(dAtA[iNdEx:postIndex])
  708. iNdEx = postIndex
  709. case 3:
  710. if wireType != 0 {
  711. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  712. }
  713. m.Page = 0
  714. for shift := uint(0); ; shift += 7 {
  715. if shift >= 64 {
  716. return ErrIntOverflowRoom
  717. }
  718. if iNdEx >= l {
  719. return io.ErrUnexpectedEOF
  720. }
  721. b := dAtA[iNdEx]
  722. iNdEx++
  723. m.Page |= (int64(b) & 0x7F) << shift
  724. if b < 0x80 {
  725. break
  726. }
  727. }
  728. case 4:
  729. if wireType != 0 {
  730. return fmt.Errorf("proto: wrong wireType = %d for field Pagesize", wireType)
  731. }
  732. m.Pagesize = 0
  733. for shift := uint(0); ; shift += 7 {
  734. if shift >= 64 {
  735. return ErrIntOverflowRoom
  736. }
  737. if iNdEx >= l {
  738. return io.ErrUnexpectedEOF
  739. }
  740. b := dAtA[iNdEx]
  741. iNdEx++
  742. m.Pagesize |= (int64(b) & 0x7F) << shift
  743. if b < 0x80 {
  744. break
  745. }
  746. }
  747. case 5:
  748. if wireType != 2 {
  749. return fmt.Errorf("proto: wrong wireType = %d for field Biz", wireType)
  750. }
  751. var stringLen uint64
  752. for shift := uint(0); ; shift += 7 {
  753. if shift >= 64 {
  754. return ErrIntOverflowRoom
  755. }
  756. if iNdEx >= l {
  757. return io.ErrUnexpectedEOF
  758. }
  759. b := dAtA[iNdEx]
  760. iNdEx++
  761. stringLen |= (uint64(b) & 0x7F) << shift
  762. if b < 0x80 {
  763. break
  764. }
  765. }
  766. intStringLen := int(stringLen)
  767. if intStringLen < 0 {
  768. return ErrInvalidLengthRoom
  769. }
  770. postIndex := iNdEx + intStringLen
  771. if postIndex > l {
  772. return io.ErrUnexpectedEOF
  773. }
  774. m.Biz = string(dAtA[iNdEx:postIndex])
  775. iNdEx = postIndex
  776. default:
  777. iNdEx = preIndex
  778. skippy, err := skipRoom(dAtA[iNdEx:])
  779. if err != nil {
  780. return err
  781. }
  782. if skippy < 0 {
  783. return ErrInvalidLengthRoom
  784. }
  785. if (iNdEx + skippy) > l {
  786. return io.ErrUnexpectedEOF
  787. }
  788. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  789. iNdEx += skippy
  790. }
  791. }
  792. if iNdEx > l {
  793. return io.ErrUnexpectedEOF
  794. }
  795. return nil
  796. }
  797. func (m *RoomMngGetSecondVerifyListResp) Unmarshal(dAtA []byte) error {
  798. l := len(dAtA)
  799. iNdEx := 0
  800. for iNdEx < l {
  801. preIndex := iNdEx
  802. var wire uint64
  803. for shift := uint(0); ; shift += 7 {
  804. if shift >= 64 {
  805. return ErrIntOverflowRoom
  806. }
  807. if iNdEx >= l {
  808. return io.ErrUnexpectedEOF
  809. }
  810. b := dAtA[iNdEx]
  811. iNdEx++
  812. wire |= (uint64(b) & 0x7F) << shift
  813. if b < 0x80 {
  814. break
  815. }
  816. }
  817. fieldNum := int32(wire >> 3)
  818. wireType := int(wire & 0x7)
  819. if wireType == 4 {
  820. return fmt.Errorf("proto: RoomMngGetSecondVerifyListResp: wiretype end group for non-group")
  821. }
  822. if fieldNum <= 0 {
  823. return fmt.Errorf("proto: RoomMngGetSecondVerifyListResp: illegal tag %d (wire type %d)", fieldNum, wire)
  824. }
  825. switch fieldNum {
  826. case 1:
  827. if wireType != 2 {
  828. return fmt.Errorf("proto: wrong wireType = %d for field Result", wireType)
  829. }
  830. var msglen int
  831. for shift := uint(0); ; shift += 7 {
  832. if shift >= 64 {
  833. return ErrIntOverflowRoom
  834. }
  835. if iNdEx >= l {
  836. return io.ErrUnexpectedEOF
  837. }
  838. b := dAtA[iNdEx]
  839. iNdEx++
  840. msglen |= (int(b) & 0x7F) << shift
  841. if b < 0x80 {
  842. break
  843. }
  844. }
  845. if msglen < 0 {
  846. return ErrInvalidLengthRoom
  847. }
  848. postIndex := iNdEx + msglen
  849. if postIndex > l {
  850. return io.ErrUnexpectedEOF
  851. }
  852. m.Result = append(m.Result, &RoomMngGetSecondVerifyListResp_Result{})
  853. if err := m.Result[len(m.Result)-1].Unmarshal(dAtA[iNdEx:postIndex]); err != nil {
  854. return err
  855. }
  856. iNdEx = postIndex
  857. case 2:
  858. if wireType != 0 {
  859. return fmt.Errorf("proto: wrong wireType = %d for field Count", wireType)
  860. }
  861. m.Count = 0
  862. for shift := uint(0); ; shift += 7 {
  863. if shift >= 64 {
  864. return ErrIntOverflowRoom
  865. }
  866. if iNdEx >= l {
  867. return io.ErrUnexpectedEOF
  868. }
  869. b := dAtA[iNdEx]
  870. iNdEx++
  871. m.Count |= (int64(b) & 0x7F) << shift
  872. if b < 0x80 {
  873. break
  874. }
  875. }
  876. case 3:
  877. if wireType != 0 {
  878. return fmt.Errorf("proto: wrong wireType = %d for field Page", wireType)
  879. }
  880. m.Page = 0
  881. for shift := uint(0); ; shift += 7 {
  882. if shift >= 64 {
  883. return ErrIntOverflowRoom
  884. }
  885. if iNdEx >= l {
  886. return io.ErrUnexpectedEOF
  887. }
  888. b := dAtA[iNdEx]
  889. iNdEx++
  890. m.Page |= (int64(b) & 0x7F) << shift
  891. if b < 0x80 {
  892. break
  893. }
  894. }
  895. case 4:
  896. if wireType != 0 {
  897. return fmt.Errorf("proto: wrong wireType = %d for field Pagesize", wireType)
  898. }
  899. m.Pagesize = 0
  900. for shift := uint(0); ; shift += 7 {
  901. if shift >= 64 {
  902. return ErrIntOverflowRoom
  903. }
  904. if iNdEx >= l {
  905. return io.ErrUnexpectedEOF
  906. }
  907. b := dAtA[iNdEx]
  908. iNdEx++
  909. m.Pagesize |= (int64(b) & 0x7F) << shift
  910. if b < 0x80 {
  911. break
  912. }
  913. }
  914. default:
  915. iNdEx = preIndex
  916. skippy, err := skipRoom(dAtA[iNdEx:])
  917. if err != nil {
  918. return err
  919. }
  920. if skippy < 0 {
  921. return ErrInvalidLengthRoom
  922. }
  923. if (iNdEx + skippy) > l {
  924. return io.ErrUnexpectedEOF
  925. }
  926. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  927. iNdEx += skippy
  928. }
  929. }
  930. if iNdEx > l {
  931. return io.ErrUnexpectedEOF
  932. }
  933. return nil
  934. }
  935. func (m *RoomMngGetSecondVerifyListResp_Result) Unmarshal(dAtA []byte) error {
  936. l := len(dAtA)
  937. iNdEx := 0
  938. for iNdEx < l {
  939. preIndex := iNdEx
  940. var wire uint64
  941. for shift := uint(0); ; shift += 7 {
  942. if shift >= 64 {
  943. return ErrIntOverflowRoom
  944. }
  945. if iNdEx >= l {
  946. return io.ErrUnexpectedEOF
  947. }
  948. b := dAtA[iNdEx]
  949. iNdEx++
  950. wire |= (uint64(b) & 0x7F) << shift
  951. if b < 0x80 {
  952. break
  953. }
  954. }
  955. fieldNum := int32(wire >> 3)
  956. wireType := int(wire & 0x7)
  957. if wireType == 4 {
  958. return fmt.Errorf("proto: Result: wiretype end group for non-group")
  959. }
  960. if fieldNum <= 0 {
  961. return fmt.Errorf("proto: Result: illegal tag %d (wire type %d)", fieldNum, wire)
  962. }
  963. switch fieldNum {
  964. case 1:
  965. if wireType != 0 {
  966. return fmt.Errorf("proto: wrong wireType = %d for field Id", wireType)
  967. }
  968. m.Id = 0
  969. for shift := uint(0); ; shift += 7 {
  970. if shift >= 64 {
  971. return ErrIntOverflowRoom
  972. }
  973. if iNdEx >= l {
  974. return io.ErrUnexpectedEOF
  975. }
  976. b := dAtA[iNdEx]
  977. iNdEx++
  978. m.Id |= (int64(b) & 0x7F) << shift
  979. if b < 0x80 {
  980. break
  981. }
  982. }
  983. case 2:
  984. if wireType != 0 {
  985. return fmt.Errorf("proto: wrong wireType = %d for field RecentCutTimes", wireType)
  986. }
  987. m.RecentCutTimes = 0
  988. for shift := uint(0); ; shift += 7 {
  989. if shift >= 64 {
  990. return ErrIntOverflowRoom
  991. }
  992. if iNdEx >= l {
  993. return io.ErrUnexpectedEOF
  994. }
  995. b := dAtA[iNdEx]
  996. iNdEx++
  997. m.RecentCutTimes |= (int64(b) & 0x7F) << shift
  998. if b < 0x80 {
  999. break
  1000. }
  1001. }
  1002. case 3:
  1003. if wireType != 0 {
  1004. return fmt.Errorf("proto: wrong wireType = %d for field RecentWarnTimes", wireType)
  1005. }
  1006. m.RecentWarnTimes = 0
  1007. for shift := uint(0); ; shift += 7 {
  1008. if shift >= 64 {
  1009. return ErrIntOverflowRoom
  1010. }
  1011. if iNdEx >= l {
  1012. return io.ErrUnexpectedEOF
  1013. }
  1014. b := dAtA[iNdEx]
  1015. iNdEx++
  1016. m.RecentWarnTimes |= (int64(b) & 0x7F) << shift
  1017. if b < 0x80 {
  1018. break
  1019. }
  1020. }
  1021. case 4:
  1022. if wireType != 2 {
  1023. return fmt.Errorf("proto: wrong wireType = %d for field Uname", wireType)
  1024. }
  1025. var stringLen uint64
  1026. for shift := uint(0); ; shift += 7 {
  1027. if shift >= 64 {
  1028. return ErrIntOverflowRoom
  1029. }
  1030. if iNdEx >= l {
  1031. return io.ErrUnexpectedEOF
  1032. }
  1033. b := dAtA[iNdEx]
  1034. iNdEx++
  1035. stringLen |= (uint64(b) & 0x7F) << shift
  1036. if b < 0x80 {
  1037. break
  1038. }
  1039. }
  1040. intStringLen := int(stringLen)
  1041. if intStringLen < 0 {
  1042. return ErrInvalidLengthRoom
  1043. }
  1044. postIndex := iNdEx + intStringLen
  1045. if postIndex > l {
  1046. return io.ErrUnexpectedEOF
  1047. }
  1048. m.Uname = string(dAtA[iNdEx:postIndex])
  1049. iNdEx = postIndex
  1050. case 5:
  1051. if wireType != 0 {
  1052. return fmt.Errorf("proto: wrong wireType = %d for field RoomId", wireType)
  1053. }
  1054. m.RoomId = 0
  1055. for shift := uint(0); ; shift += 7 {
  1056. if shift >= 64 {
  1057. return ErrIntOverflowRoom
  1058. }
  1059. if iNdEx >= l {
  1060. return io.ErrUnexpectedEOF
  1061. }
  1062. b := dAtA[iNdEx]
  1063. iNdEx++
  1064. m.RoomId |= (int64(b) & 0x7F) << shift
  1065. if b < 0x80 {
  1066. break
  1067. }
  1068. }
  1069. case 6:
  1070. if wireType != 0 {
  1071. return fmt.Errorf("proto: wrong wireType = %d for field Uid", wireType)
  1072. }
  1073. m.Uid = 0
  1074. for shift := uint(0); ; shift += 7 {
  1075. if shift >= 64 {
  1076. return ErrIntOverflowRoom
  1077. }
  1078. if iNdEx >= l {
  1079. return io.ErrUnexpectedEOF
  1080. }
  1081. b := dAtA[iNdEx]
  1082. iNdEx++
  1083. m.Uid |= (int64(b) & 0x7F) << shift
  1084. if b < 0x80 {
  1085. break
  1086. }
  1087. }
  1088. case 7:
  1089. if wireType != 2 {
  1090. return fmt.Errorf("proto: wrong wireType = %d for field Title", wireType)
  1091. }
  1092. var stringLen uint64
  1093. for shift := uint(0); ; shift += 7 {
  1094. if shift >= 64 {
  1095. return ErrIntOverflowRoom
  1096. }
  1097. if iNdEx >= l {
  1098. return io.ErrUnexpectedEOF
  1099. }
  1100. b := dAtA[iNdEx]
  1101. iNdEx++
  1102. stringLen |= (uint64(b) & 0x7F) << shift
  1103. if b < 0x80 {
  1104. break
  1105. }
  1106. }
  1107. intStringLen := int(stringLen)
  1108. if intStringLen < 0 {
  1109. return ErrInvalidLengthRoom
  1110. }
  1111. postIndex := iNdEx + intStringLen
  1112. if postIndex > l {
  1113. return io.ErrUnexpectedEOF
  1114. }
  1115. m.Title = string(dAtA[iNdEx:postIndex])
  1116. iNdEx = postIndex
  1117. case 8:
  1118. if wireType != 2 {
  1119. return fmt.Errorf("proto: wrong wireType = %d for field AreaV2Name", wireType)
  1120. }
  1121. var stringLen uint64
  1122. for shift := uint(0); ; shift += 7 {
  1123. if shift >= 64 {
  1124. return ErrIntOverflowRoom
  1125. }
  1126. if iNdEx >= l {
  1127. return io.ErrUnexpectedEOF
  1128. }
  1129. b := dAtA[iNdEx]
  1130. iNdEx++
  1131. stringLen |= (uint64(b) & 0x7F) << shift
  1132. if b < 0x80 {
  1133. break
  1134. }
  1135. }
  1136. intStringLen := int(stringLen)
  1137. if intStringLen < 0 {
  1138. return ErrInvalidLengthRoom
  1139. }
  1140. postIndex := iNdEx + intStringLen
  1141. if postIndex > l {
  1142. return io.ErrUnexpectedEOF
  1143. }
  1144. m.AreaV2Name = string(dAtA[iNdEx:postIndex])
  1145. iNdEx = postIndex
  1146. case 9:
  1147. if wireType != 0 {
  1148. return fmt.Errorf("proto: wrong wireType = %d for field Fc", wireType)
  1149. }
  1150. m.Fc = 0
  1151. for shift := uint(0); ; shift += 7 {
  1152. if shift >= 64 {
  1153. return ErrIntOverflowRoom
  1154. }
  1155. if iNdEx >= l {
  1156. return io.ErrUnexpectedEOF
  1157. }
  1158. b := dAtA[iNdEx]
  1159. iNdEx++
  1160. m.Fc |= (int64(b) & 0x7F) << shift
  1161. if b < 0x80 {
  1162. break
  1163. }
  1164. }
  1165. case 10:
  1166. if wireType != 2 {
  1167. return fmt.Errorf("proto: wrong wireType = %d for field WarnReason", wireType)
  1168. }
  1169. var stringLen uint64
  1170. for shift := uint(0); ; shift += 7 {
  1171. if shift >= 64 {
  1172. return ErrIntOverflowRoom
  1173. }
  1174. if iNdEx >= l {
  1175. return io.ErrUnexpectedEOF
  1176. }
  1177. b := dAtA[iNdEx]
  1178. iNdEx++
  1179. stringLen |= (uint64(b) & 0x7F) << shift
  1180. if b < 0x80 {
  1181. break
  1182. }
  1183. }
  1184. intStringLen := int(stringLen)
  1185. if intStringLen < 0 {
  1186. return ErrInvalidLengthRoom
  1187. }
  1188. postIndex := iNdEx + intStringLen
  1189. if postIndex > l {
  1190. return io.ErrUnexpectedEOF
  1191. }
  1192. m.WarnReason = string(dAtA[iNdEx:postIndex])
  1193. iNdEx = postIndex
  1194. case 11:
  1195. if wireType != 2 {
  1196. return fmt.Errorf("proto: wrong wireType = %d for field Pics", wireType)
  1197. }
  1198. var stringLen uint64
  1199. for shift := uint(0); ; shift += 7 {
  1200. if shift >= 64 {
  1201. return ErrIntOverflowRoom
  1202. }
  1203. if iNdEx >= l {
  1204. return io.ErrUnexpectedEOF
  1205. }
  1206. b := dAtA[iNdEx]
  1207. iNdEx++
  1208. stringLen |= (uint64(b) & 0x7F) << shift
  1209. if b < 0x80 {
  1210. break
  1211. }
  1212. }
  1213. intStringLen := int(stringLen)
  1214. if intStringLen < 0 {
  1215. return ErrInvalidLengthRoom
  1216. }
  1217. postIndex := iNdEx + intStringLen
  1218. if postIndex > l {
  1219. return io.ErrUnexpectedEOF
  1220. }
  1221. m.Pics = append(m.Pics, string(dAtA[iNdEx:postIndex]))
  1222. iNdEx = postIndex
  1223. case 12:
  1224. if wireType != 2 {
  1225. return fmt.Errorf("proto: wrong wireType = %d for field BreakTime", wireType)
  1226. }
  1227. var stringLen uint64
  1228. for shift := uint(0); ; shift += 7 {
  1229. if shift >= 64 {
  1230. return ErrIntOverflowRoom
  1231. }
  1232. if iNdEx >= l {
  1233. return io.ErrUnexpectedEOF
  1234. }
  1235. b := dAtA[iNdEx]
  1236. iNdEx++
  1237. stringLen |= (uint64(b) & 0x7F) << shift
  1238. if b < 0x80 {
  1239. break
  1240. }
  1241. }
  1242. intStringLen := int(stringLen)
  1243. if intStringLen < 0 {
  1244. return ErrInvalidLengthRoom
  1245. }
  1246. postIndex := iNdEx + intStringLen
  1247. if postIndex > l {
  1248. return io.ErrUnexpectedEOF
  1249. }
  1250. m.BreakTime = string(dAtA[iNdEx:postIndex])
  1251. iNdEx = postIndex
  1252. case 13:
  1253. if wireType != 0 {
  1254. return fmt.Errorf("proto: wrong wireType = %d for field WarnTimes", wireType)
  1255. }
  1256. m.WarnTimes = 0
  1257. for shift := uint(0); ; shift += 7 {
  1258. if shift >= 64 {
  1259. return ErrIntOverflowRoom
  1260. }
  1261. if iNdEx >= l {
  1262. return io.ErrUnexpectedEOF
  1263. }
  1264. b := dAtA[iNdEx]
  1265. iNdEx++
  1266. m.WarnTimes |= (int64(b) & 0x7F) << shift
  1267. if b < 0x80 {
  1268. break
  1269. }
  1270. }
  1271. default:
  1272. iNdEx = preIndex
  1273. skippy, err := skipRoom(dAtA[iNdEx:])
  1274. if err != nil {
  1275. return err
  1276. }
  1277. if skippy < 0 {
  1278. return ErrInvalidLengthRoom
  1279. }
  1280. if (iNdEx + skippy) > l {
  1281. return io.ErrUnexpectedEOF
  1282. }
  1283. m.XXX_unrecognized = append(m.XXX_unrecognized, dAtA[iNdEx:iNdEx+skippy]...)
  1284. iNdEx += skippy
  1285. }
  1286. }
  1287. if iNdEx > l {
  1288. return io.ErrUnexpectedEOF
  1289. }
  1290. return nil
  1291. }
  1292. func skipRoom(dAtA []byte) (n int, err error) {
  1293. l := len(dAtA)
  1294. iNdEx := 0
  1295. for iNdEx < l {
  1296. var wire uint64
  1297. for shift := uint(0); ; shift += 7 {
  1298. if shift >= 64 {
  1299. return 0, ErrIntOverflowRoom
  1300. }
  1301. if iNdEx >= l {
  1302. return 0, io.ErrUnexpectedEOF
  1303. }
  1304. b := dAtA[iNdEx]
  1305. iNdEx++
  1306. wire |= (uint64(b) & 0x7F) << shift
  1307. if b < 0x80 {
  1308. break
  1309. }
  1310. }
  1311. wireType := int(wire & 0x7)
  1312. switch wireType {
  1313. case 0:
  1314. for shift := uint(0); ; shift += 7 {
  1315. if shift >= 64 {
  1316. return 0, ErrIntOverflowRoom
  1317. }
  1318. if iNdEx >= l {
  1319. return 0, io.ErrUnexpectedEOF
  1320. }
  1321. iNdEx++
  1322. if dAtA[iNdEx-1] < 0x80 {
  1323. break
  1324. }
  1325. }
  1326. return iNdEx, nil
  1327. case 1:
  1328. iNdEx += 8
  1329. return iNdEx, nil
  1330. case 2:
  1331. var length int
  1332. for shift := uint(0); ; shift += 7 {
  1333. if shift >= 64 {
  1334. return 0, ErrIntOverflowRoom
  1335. }
  1336. if iNdEx >= l {
  1337. return 0, io.ErrUnexpectedEOF
  1338. }
  1339. b := dAtA[iNdEx]
  1340. iNdEx++
  1341. length |= (int(b) & 0x7F) << shift
  1342. if b < 0x80 {
  1343. break
  1344. }
  1345. }
  1346. iNdEx += length
  1347. if length < 0 {
  1348. return 0, ErrInvalidLengthRoom
  1349. }
  1350. return iNdEx, nil
  1351. case 3:
  1352. for {
  1353. var innerWire uint64
  1354. var start int = iNdEx
  1355. for shift := uint(0); ; shift += 7 {
  1356. if shift >= 64 {
  1357. return 0, ErrIntOverflowRoom
  1358. }
  1359. if iNdEx >= l {
  1360. return 0, io.ErrUnexpectedEOF
  1361. }
  1362. b := dAtA[iNdEx]
  1363. iNdEx++
  1364. innerWire |= (uint64(b) & 0x7F) << shift
  1365. if b < 0x80 {
  1366. break
  1367. }
  1368. }
  1369. innerWireType := int(innerWire & 0x7)
  1370. if innerWireType == 4 {
  1371. break
  1372. }
  1373. next, err := skipRoom(dAtA[start:])
  1374. if err != nil {
  1375. return 0, err
  1376. }
  1377. iNdEx = start + next
  1378. }
  1379. return iNdEx, nil
  1380. case 4:
  1381. return iNdEx, nil
  1382. case 5:
  1383. iNdEx += 4
  1384. return iNdEx, nil
  1385. default:
  1386. return 0, fmt.Errorf("proto: illegal wireType %d", wireType)
  1387. }
  1388. }
  1389. panic("unreachable")
  1390. }
  1391. var (
  1392. ErrInvalidLengthRoom = fmt.Errorf("proto: negative length found during unmarshaling")
  1393. ErrIntOverflowRoom = fmt.Errorf("proto: integer overflow")
  1394. )
  1395. func init() { proto.RegisterFile("room.proto", fileDescriptor_room_50fcdc486274d553) }
  1396. var fileDescriptor_room_50fcdc486274d553 = []byte{
  1397. // 671 bytes of a gzipped FileDescriptorProto
  1398. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x94, 0x54, 0x4f, 0x6f, 0xd3, 0x30,
  1399. 0x14, 0x57, 0x9a, 0x36, 0x5b, 0x5e, 0xc7, 0xfe, 0x18, 0x98, 0xc2, 0x80, 0xba, 0xca, 0x38, 0x54,
  1400. 0x42, 0xcb, 0xb6, 0x72, 0x00, 0xed, 0x80, 0x44, 0x39, 0x20, 0x24, 0x86, 0x90, 0x41, 0x9b, 0x84,
  1401. 0x90, 0xaa, 0x34, 0x71, 0x33, 0x8b, 0x26, 0xd9, 0x12, 0xa7, 0x13, 0x3b, 0x72, 0xe4, 0xc0, 0x67,
  1402. 0xe0, 0xe3, 0x70, 0xe4, 0x13, 0x58, 0x68, 0xc7, 0x1c, 0x7b, 0x47, 0x42, 0xb6, 0xb3, 0xb6, 0x53,
  1403. 0xa5, 0x49, 0xbb, 0xe4, 0xf9, 0xfd, 0xde, 0xcf, 0xcf, 0xcf, 0xbf, 0xf7, 0x1c, 0x80, 0x2c, 0x4d,
  1404. 0x63, 0xef, 0x34, 0x4b, 0x79, 0x8a, 0x36, 0x46, 0x6c, 0x4c, 0x3d, 0xf9, 0xf1, 0xc3, 0x98, 0x25,
  1405. 0xde, 0x78, 0x7f, 0x6b, 0x27, 0x62, 0xfc, 0xa4, 0x18, 0x78, 0x41, 0x1a, 0xef, 0x46, 0x69, 0x94,
  1406. 0xee, 0x2a, 0xe6, 0xa0, 0x18, 0x2a, 0x4f, 0x39, 0x6a, 0xa5, 0x33, 0xb8, 0xff, 0x0c, 0x78, 0x4c,
  1407. 0xd2, 0x34, 0x3e, 0x4c, 0xa2, 0x37, 0x94, 0x7f, 0xa4, 0x41, 0x9a, 0x84, 0x47, 0x34, 0x63, 0xc3,
  1408. 0x6f, 0xef, 0x58, 0xce, 0x09, 0x3d, 0x43, 0x4f, 0x61, 0x49, 0x9e, 0xd8, 0x67, 0xa1, 0x63, 0xb4,
  1409. 0x8d, 0x8e, 0xd9, 0x43, 0x13, 0x81, 0x57, 0x87, 0x69, 0x16, 0x1f, 0xb8, 0x55, 0xc0, 0x25, 0x96,
  1410. 0x5c, 0xbd, 0x0d, 0xd1, 0x36, 0xd4, 0xfd, 0x8c, 0xfa, 0x4e, 0xad, 0x6d, 0x74, 0xec, 0xde, 0xda,
  1411. 0x44, 0xe0, 0xa6, 0x66, 0x4a, 0xd4, 0x25, 0x2a, 0x88, 0x9e, 0x43, 0xfd, 0xd4, 0x8f, 0xa8, 0x63,
  1412. 0xaa, 0x74, 0xdb, 0x13, 0x81, 0xb1, 0x26, 0x49, 0xd4, 0x6d, 0x8f, 0xfd, 0x11, 0x0b, 0x7d, 0x4e,
  1413. 0x0f, 0xdc, 0x8c, 0x9e, 0x15, 0x2c, 0xa3, 0xa1, 0x4b, 0xd4, 0x06, 0xb4, 0x0b, 0xcb, 0xd2, 0xe6,
  1414. 0xec, 0x82, 0x3a, 0x75, 0xb5, 0xf9, 0xee, 0x44, 0xe0, 0xb5, 0xd9, 0x66, 0x19, 0x71, 0xc9, 0x94,
  1415. 0x84, 0xda, 0x60, 0x0e, 0xd8, 0x85, 0xd3, 0x50, 0xd5, 0xac, 0x4e, 0x04, 0x06, 0xcd, 0x1d, 0xb0,
  1416. 0x0b, 0x97, 0xc8, 0x90, 0xfb, 0xc3, 0x82, 0xd6, 0x4d, 0xf7, 0xcf, 0x4f, 0xd1, 0x17, 0xb0, 0x32,
  1417. 0x9a, 0x17, 0x23, 0xee, 0x18, 0x6d, 0xb3, 0xd3, 0xec, 0xbe, 0xf0, 0x16, 0x54, 0xf7, 0x6e, 0x4e,
  1418. 0xe1, 0x11, 0xb5, 0xbf, 0x07, 0xa5, 0xc0, 0x55, 0x2e, 0x52, 0x59, 0x84, 0xa1, 0x11, 0xa4, 0x45,
  1419. 0xc2, 0x95, 0x64, 0x66, 0xcf, 0x2e, 0x05, 0xd6, 0x00, 0xd1, 0x06, 0x3d, 0xba, 0xa6, 0xd6, 0x72,
  1420. 0x29, 0xb0, 0xf2, 0x2b, 0x49, 0x3a, 0x0b, 0x92, 0xac, 0x94, 0x02, 0x4f, 0xb1, 0x99, 0x16, 0x5b,
  1421. 0xbf, 0xea, 0x60, 0xe9, 0x3a, 0xd0, 0x26, 0xd4, 0xa6, 0xdd, 0xb4, 0x4a, 0x81, 0x6b, 0x2c, 0x24,
  1422. 0x35, 0x16, 0xa2, 0x97, 0xb0, 0x9e, 0xd1, 0x80, 0x26, 0xbc, 0x1f, 0x14, 0xbc, 0xcf, 0x59, 0x4c,
  1423. 0xf3, 0xaa, 0xac, 0x7b, 0xa5, 0xc0, 0x0b, 0x31, 0xb2, 0xaa, 0x91, 0xd7, 0x05, 0xff, 0x24, 0x7d,
  1424. 0xf4, 0x0a, 0x36, 0x2a, 0xce, 0xb9, 0x9f, 0x25, 0x55, 0x02, 0x5d, 0xf7, 0xfd, 0x52, 0xe0, 0xc5,
  1425. 0x20, 0x59, 0xd3, 0xd0, 0xb1, 0x9f, 0x25, 0x3a, 0x05, 0x86, 0x46, 0x91, 0xf8, 0xb1, 0xbe, 0x8c,
  1426. 0xad, 0xe5, 0x50, 0x00, 0xd1, 0x06, 0x3d, 0x99, 0x8d, 0x63, 0x43, 0x65, 0x6e, 0x96, 0x02, 0x5f,
  1427. 0x41, 0xd3, 0x39, 0x7c, 0x00, 0x66, 0xc1, 0x42, 0xc7, 0x52, 0x8c, 0xa5, 0x52, 0x60, 0xe9, 0x12,
  1428. 0xf9, 0x91, 0x27, 0x70, 0xc6, 0x47, 0xd4, 0x59, 0x9a, 0x9d, 0xa0, 0x00, 0xa2, 0x0d, 0xea, 0xc2,
  1429. 0x8a, 0x1c, 0xd3, 0xfe, 0xb8, 0xdb, 0x57, 0x95, 0x2c, 0x2b, 0xde, 0x7a, 0x29, 0xf0, 0x35, 0x9c,
  1430. 0x80, 0xf4, 0x8e, 0xba, 0xef, 0x65, 0x55, 0x9b, 0x50, 0x1b, 0x06, 0x8e, 0x3d, 0x53, 0x74, 0x18,
  1431. 0x90, 0xda, 0x30, 0x40, 0x7b, 0xd0, 0x54, 0xb7, 0xcd, 0xa8, 0x9f, 0xa7, 0x89, 0x03, 0xfa, 0x59,
  1432. 0x94, 0x02, 0xcf, 0xc3, 0x04, 0xa4, 0x43, 0xd4, 0x5a, 0xb5, 0x9b, 0x05, 0xb9, 0xd3, 0x6c, 0x9b,
  1433. 0x1d, 0xbb, 0x6a, 0x37, 0x0b, 0x72, 0xa2, 0xbe, 0x68, 0x07, 0x60, 0x90, 0x51, 0xff, 0xab, 0x92,
  1434. 0xcf, 0x59, 0xd1, 0x73, 0x5d, 0x0a, 0x3c, 0x87, 0x12, 0x5b, 0xad, 0xa5, 0x9c, 0x92, 0x3e, 0xd7,
  1435. 0x89, 0x3b, 0xaa, 0x3c, 0x45, 0x9f, 0x6b, 0x81, 0x7d, 0x7e, 0x25, 0x7e, 0xf7, 0xa7, 0xa1, 0xc5,
  1436. 0x3d, 0x4c, 0x22, 0xf4, 0xdd, 0x80, 0x87, 0xd1, 0xe2, 0x38, 0x1f, 0x33, 0x7e, 0xf2, 0x41, 0x56,
  1437. 0xb2, 0x77, 0xcb, 0x57, 0x70, 0xb6, 0xb5, 0x7f, 0xeb, 0x77, 0xd3, 0x5b, 0xff, 0x7d, 0xd9, 0x32,
  1438. 0xfe, 0x5c, 0xb6, 0x8c, 0xbf, 0x97, 0x2d, 0xe3, 0x73, 0x6d, 0xbc, 0x3f, 0xb0, 0xd4, 0x6f, 0xeb,
  1439. 0xd9, 0xff, 0x00, 0x00, 0x00, 0xff, 0xff, 0x23, 0x5c, 0xc0, 0x4f, 0x06, 0x05, 0x00, 0x00,
  1440. }