device.pb.go 57 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: device.proto
  3. // package声明符,用来防止不同的消息类型有命名冲突
  4. package v1
  5. import (
  6. fmt "fmt"
  7. proto "github.com/golang/protobuf/proto"
  8. math "math"
  9. )
  10. // Reference imports to suppress errors if they are not otherwise used.
  11. var _ = proto.Marshal
  12. var _ = fmt.Errorf
  13. var _ = math.Inf
  14. // This is a compile-time assertion to ensure that this generated file
  15. // is compatible with the proto package it is being compiled against.
  16. // A compilation error at this line likely means your copy of the
  17. // proto package needs to be updated.
  18. const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
  19. type DeviceAllTypeListRequest struct {
  20. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  21. XXX_unrecognized []byte `json:"-"`
  22. XXX_sizecache int32 `json:"-"`
  23. }
  24. func (m *DeviceAllTypeListRequest) Reset() { *m = DeviceAllTypeListRequest{} }
  25. func (m *DeviceAllTypeListRequest) String() string { return proto.CompactTextString(m) }
  26. func (*DeviceAllTypeListRequest) ProtoMessage() {}
  27. func (*DeviceAllTypeListRequest) Descriptor() ([]byte, []int) {
  28. return fileDescriptor_870276a56ac00da5, []int{0}
  29. }
  30. func (m *DeviceAllTypeListRequest) XXX_Unmarshal(b []byte) error {
  31. return xxx_messageInfo_DeviceAllTypeListRequest.Unmarshal(m, b)
  32. }
  33. func (m *DeviceAllTypeListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  34. return xxx_messageInfo_DeviceAllTypeListRequest.Marshal(b, m, deterministic)
  35. }
  36. func (m *DeviceAllTypeListRequest) XXX_Merge(src proto.Message) {
  37. xxx_messageInfo_DeviceAllTypeListRequest.Merge(m, src)
  38. }
  39. func (m *DeviceAllTypeListRequest) XXX_Size() int {
  40. return xxx_messageInfo_DeviceAllTypeListRequest.Size(m)
  41. }
  42. func (m *DeviceAllTypeListRequest) XXX_DiscardUnknown() {
  43. xxx_messageInfo_DeviceAllTypeListRequest.DiscardUnknown(m)
  44. }
  45. var xxx_messageInfo_DeviceAllTypeListRequest proto.InternalMessageInfo
  46. type DeviceAllTypeItem struct {
  47. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  48. TypeCode int32 `protobuf:"varint,4,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
  49. TypeName string `protobuf:"bytes,5,opt,name=type_name,json=typeName,proto3" json:"type_name"`
  50. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  51. XXX_unrecognized []byte `json:"-"`
  52. XXX_sizecache int32 `json:"-"`
  53. }
  54. func (m *DeviceAllTypeItem) Reset() { *m = DeviceAllTypeItem{} }
  55. func (m *DeviceAllTypeItem) String() string { return proto.CompactTextString(m) }
  56. func (*DeviceAllTypeItem) ProtoMessage() {}
  57. func (*DeviceAllTypeItem) Descriptor() ([]byte, []int) {
  58. return fileDescriptor_870276a56ac00da5, []int{1}
  59. }
  60. func (m *DeviceAllTypeItem) XXX_Unmarshal(b []byte) error {
  61. return xxx_messageInfo_DeviceAllTypeItem.Unmarshal(m, b)
  62. }
  63. func (m *DeviceAllTypeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  64. return xxx_messageInfo_DeviceAllTypeItem.Marshal(b, m, deterministic)
  65. }
  66. func (m *DeviceAllTypeItem) XXX_Merge(src proto.Message) {
  67. xxx_messageInfo_DeviceAllTypeItem.Merge(m, src)
  68. }
  69. func (m *DeviceAllTypeItem) XXX_Size() int {
  70. return xxx_messageInfo_DeviceAllTypeItem.Size(m)
  71. }
  72. func (m *DeviceAllTypeItem) XXX_DiscardUnknown() {
  73. xxx_messageInfo_DeviceAllTypeItem.DiscardUnknown(m)
  74. }
  75. var xxx_messageInfo_DeviceAllTypeItem proto.InternalMessageInfo
  76. func (m *DeviceAllTypeItem) GetId() int64 {
  77. if m != nil {
  78. return m.Id
  79. }
  80. return 0
  81. }
  82. func (m *DeviceAllTypeItem) GetTypeCode() int32 {
  83. if m != nil {
  84. return m.TypeCode
  85. }
  86. return 0
  87. }
  88. func (m *DeviceAllTypeItem) GetTypeName() string {
  89. if m != nil {
  90. return m.TypeName
  91. }
  92. return ""
  93. }
  94. type DeviceAllTypeListReply struct {
  95. List []*DeviceAllTypeItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  96. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  97. XXX_unrecognized []byte `json:"-"`
  98. XXX_sizecache int32 `json:"-"`
  99. }
  100. func (m *DeviceAllTypeListReply) Reset() { *m = DeviceAllTypeListReply{} }
  101. func (m *DeviceAllTypeListReply) String() string { return proto.CompactTextString(m) }
  102. func (*DeviceAllTypeListReply) ProtoMessage() {}
  103. func (*DeviceAllTypeListReply) Descriptor() ([]byte, []int) {
  104. return fileDescriptor_870276a56ac00da5, []int{2}
  105. }
  106. func (m *DeviceAllTypeListReply) XXX_Unmarshal(b []byte) error {
  107. return xxx_messageInfo_DeviceAllTypeListReply.Unmarshal(m, b)
  108. }
  109. func (m *DeviceAllTypeListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  110. return xxx_messageInfo_DeviceAllTypeListReply.Marshal(b, m, deterministic)
  111. }
  112. func (m *DeviceAllTypeListReply) XXX_Merge(src proto.Message) {
  113. xxx_messageInfo_DeviceAllTypeListReply.Merge(m, src)
  114. }
  115. func (m *DeviceAllTypeListReply) XXX_Size() int {
  116. return xxx_messageInfo_DeviceAllTypeListReply.Size(m)
  117. }
  118. func (m *DeviceAllTypeListReply) XXX_DiscardUnknown() {
  119. xxx_messageInfo_DeviceAllTypeListReply.DiscardUnknown(m)
  120. }
  121. var xxx_messageInfo_DeviceAllTypeListReply proto.InternalMessageInfo
  122. func (m *DeviceAllTypeListReply) GetList() []*DeviceAllTypeItem {
  123. if m != nil {
  124. return m.List
  125. }
  126. return nil
  127. }
  128. type DeviceTypeListRequest struct {
  129. Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter"`
  130. FilterStatus []int32 `protobuf:"varint,2,rep,packed,name=filter_status,json=filterStatus,proto3" json:"filter_status"`
  131. Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
  132. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  133. XXX_unrecognized []byte `json:"-"`
  134. XXX_sizecache int32 `json:"-"`
  135. }
  136. func (m *DeviceTypeListRequest) Reset() { *m = DeviceTypeListRequest{} }
  137. func (m *DeviceTypeListRequest) String() string { return proto.CompactTextString(m) }
  138. func (*DeviceTypeListRequest) ProtoMessage() {}
  139. func (*DeviceTypeListRequest) Descriptor() ([]byte, []int) {
  140. return fileDescriptor_870276a56ac00da5, []int{3}
  141. }
  142. func (m *DeviceTypeListRequest) XXX_Unmarshal(b []byte) error {
  143. return xxx_messageInfo_DeviceTypeListRequest.Unmarshal(m, b)
  144. }
  145. func (m *DeviceTypeListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  146. return xxx_messageInfo_DeviceTypeListRequest.Marshal(b, m, deterministic)
  147. }
  148. func (m *DeviceTypeListRequest) XXX_Merge(src proto.Message) {
  149. xxx_messageInfo_DeviceTypeListRequest.Merge(m, src)
  150. }
  151. func (m *DeviceTypeListRequest) XXX_Size() int {
  152. return xxx_messageInfo_DeviceTypeListRequest.Size(m)
  153. }
  154. func (m *DeviceTypeListRequest) XXX_DiscardUnknown() {
  155. xxx_messageInfo_DeviceTypeListRequest.DiscardUnknown(m)
  156. }
  157. var xxx_messageInfo_DeviceTypeListRequest proto.InternalMessageInfo
  158. func (m *DeviceTypeListRequest) GetFilter() string {
  159. if m != nil {
  160. return m.Filter
  161. }
  162. return ""
  163. }
  164. func (m *DeviceTypeListRequest) GetFilterStatus() []int32 {
  165. if m != nil {
  166. return m.FilterStatus
  167. }
  168. return nil
  169. }
  170. func (m *DeviceTypeListRequest) GetPage() int32 {
  171. if m != nil {
  172. return m.Page
  173. }
  174. return 0
  175. }
  176. type DeviceTypeItem struct {
  177. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  178. ProviderName string `protobuf:"bytes,2,opt,name=provider_name,json=providerName,proto3" json:"provider_name"`
  179. SocialCode string `protobuf:"bytes,3,opt,name=social_code,json=socialCode,proto3" json:"social_code"`
  180. // 设备类型编码
  181. TypeCode int32 `protobuf:"varint,4,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
  182. TypeName string `protobuf:"bytes,5,opt,name=type_name,json=typeName,proto3" json:"type_name"`
  183. // 申请时间
  184. ApplyTime string `protobuf:"bytes,6,opt,name=apply_time,json=applyTime,proto3" json:"apply_time"`
  185. // 开发者建议
  186. Comment string `protobuf:"bytes,7,opt,name=comment,proto3" json:"comment"`
  187. // 开发者审批时间
  188. DevelopApproveTime string `protobuf:"bytes,8,opt,name=develop_approve_time,json=developApproveTime,proto3" json:"develop_approve_time"`
  189. // 0 待审核 1 对接测试通过 2 对接测试未通过 3 政府审核通过 4 政府审核未通过
  190. Status int32 `protobuf:"varint,9,opt,name=status,proto3" json:"status"`
  191. // 政府审批时间
  192. ApproveTime string `protobuf:"bytes,10,opt,name=approve_time,json=approveTime,proto3" json:"approve_time"`
  193. // 政府审批回复
  194. Feedback string `protobuf:"bytes,11,opt,name=feedback,proto3" json:"feedback"`
  195. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  196. XXX_unrecognized []byte `json:"-"`
  197. XXX_sizecache int32 `json:"-"`
  198. }
  199. func (m *DeviceTypeItem) Reset() { *m = DeviceTypeItem{} }
  200. func (m *DeviceTypeItem) String() string { return proto.CompactTextString(m) }
  201. func (*DeviceTypeItem) ProtoMessage() {}
  202. func (*DeviceTypeItem) Descriptor() ([]byte, []int) {
  203. return fileDescriptor_870276a56ac00da5, []int{4}
  204. }
  205. func (m *DeviceTypeItem) XXX_Unmarshal(b []byte) error {
  206. return xxx_messageInfo_DeviceTypeItem.Unmarshal(m, b)
  207. }
  208. func (m *DeviceTypeItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  209. return xxx_messageInfo_DeviceTypeItem.Marshal(b, m, deterministic)
  210. }
  211. func (m *DeviceTypeItem) XXX_Merge(src proto.Message) {
  212. xxx_messageInfo_DeviceTypeItem.Merge(m, src)
  213. }
  214. func (m *DeviceTypeItem) XXX_Size() int {
  215. return xxx_messageInfo_DeviceTypeItem.Size(m)
  216. }
  217. func (m *DeviceTypeItem) XXX_DiscardUnknown() {
  218. xxx_messageInfo_DeviceTypeItem.DiscardUnknown(m)
  219. }
  220. var xxx_messageInfo_DeviceTypeItem proto.InternalMessageInfo
  221. func (m *DeviceTypeItem) GetId() int64 {
  222. if m != nil {
  223. return m.Id
  224. }
  225. return 0
  226. }
  227. func (m *DeviceTypeItem) GetProviderName() string {
  228. if m != nil {
  229. return m.ProviderName
  230. }
  231. return ""
  232. }
  233. func (m *DeviceTypeItem) GetSocialCode() string {
  234. if m != nil {
  235. return m.SocialCode
  236. }
  237. return ""
  238. }
  239. func (m *DeviceTypeItem) GetTypeCode() int32 {
  240. if m != nil {
  241. return m.TypeCode
  242. }
  243. return 0
  244. }
  245. func (m *DeviceTypeItem) GetTypeName() string {
  246. if m != nil {
  247. return m.TypeName
  248. }
  249. return ""
  250. }
  251. func (m *DeviceTypeItem) GetApplyTime() string {
  252. if m != nil {
  253. return m.ApplyTime
  254. }
  255. return ""
  256. }
  257. func (m *DeviceTypeItem) GetComment() string {
  258. if m != nil {
  259. return m.Comment
  260. }
  261. return ""
  262. }
  263. func (m *DeviceTypeItem) GetDevelopApproveTime() string {
  264. if m != nil {
  265. return m.DevelopApproveTime
  266. }
  267. return ""
  268. }
  269. func (m *DeviceTypeItem) GetStatus() int32 {
  270. if m != nil {
  271. return m.Status
  272. }
  273. return 0
  274. }
  275. func (m *DeviceTypeItem) GetApproveTime() string {
  276. if m != nil {
  277. return m.ApproveTime
  278. }
  279. return ""
  280. }
  281. func (m *DeviceTypeItem) GetFeedback() string {
  282. if m != nil {
  283. return m.Feedback
  284. }
  285. return ""
  286. }
  287. type DeviceTypeListReply struct {
  288. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  289. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  290. Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
  291. List []*DeviceTypeItem `protobuf:"bytes,4,rep,name=list,proto3" json:"list"`
  292. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  293. XXX_unrecognized []byte `json:"-"`
  294. XXX_sizecache int32 `json:"-"`
  295. }
  296. func (m *DeviceTypeListReply) Reset() { *m = DeviceTypeListReply{} }
  297. func (m *DeviceTypeListReply) String() string { return proto.CompactTextString(m) }
  298. func (*DeviceTypeListReply) ProtoMessage() {}
  299. func (*DeviceTypeListReply) Descriptor() ([]byte, []int) {
  300. return fileDescriptor_870276a56ac00da5, []int{5}
  301. }
  302. func (m *DeviceTypeListReply) XXX_Unmarshal(b []byte) error {
  303. return xxx_messageInfo_DeviceTypeListReply.Unmarshal(m, b)
  304. }
  305. func (m *DeviceTypeListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  306. return xxx_messageInfo_DeviceTypeListReply.Marshal(b, m, deterministic)
  307. }
  308. func (m *DeviceTypeListReply) XXX_Merge(src proto.Message) {
  309. xxx_messageInfo_DeviceTypeListReply.Merge(m, src)
  310. }
  311. func (m *DeviceTypeListReply) XXX_Size() int {
  312. return xxx_messageInfo_DeviceTypeListReply.Size(m)
  313. }
  314. func (m *DeviceTypeListReply) XXX_DiscardUnknown() {
  315. xxx_messageInfo_DeviceTypeListReply.DiscardUnknown(m)
  316. }
  317. var xxx_messageInfo_DeviceTypeListReply proto.InternalMessageInfo
  318. func (m *DeviceTypeListReply) GetTotal() int64 {
  319. if m != nil {
  320. return m.Total
  321. }
  322. return 0
  323. }
  324. func (m *DeviceTypeListReply) GetPageSize() int32 {
  325. if m != nil {
  326. return m.PageSize
  327. }
  328. return 0
  329. }
  330. func (m *DeviceTypeListReply) GetPage() int32 {
  331. if m != nil {
  332. return m.Page
  333. }
  334. return 0
  335. }
  336. func (m *DeviceTypeListReply) GetList() []*DeviceTypeItem {
  337. if m != nil {
  338. return m.List
  339. }
  340. return nil
  341. }
  342. type DeviceListRequest struct {
  343. ProviderId int64 `protobuf:"varint,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id"`
  344. // 状态过滤 审核状态 0 待审核 1 项目通过 2 项目未通过
  345. StatusFilters []int32 `protobuf:"varint,2,rep,packed,name=status_filters,json=statusFilters,proto3" json:"status_filters"`
  346. Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
  347. ProjectId int64 `protobuf:"varint,4,opt,name=project_id,json=projectId,proto3" json:"project_id"`
  348. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter"`
  349. TypeCode int32 `protobuf:"varint,6,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
  350. IsAll bool `protobuf:"varint,7,opt,name=is_all,json=isAll,proto3" json:"is_all"`
  351. CanDel bool `protobuf:"varint,8,opt,name=can_del,json=canDel,proto3" json:"can_del"`
  352. Cid int64 `protobuf:"varint,9,opt,name=cid,proto3" json:"cid"`
  353. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  354. XXX_unrecognized []byte `json:"-"`
  355. XXX_sizecache int32 `json:"-"`
  356. }
  357. func (m *DeviceListRequest) Reset() { *m = DeviceListRequest{} }
  358. func (m *DeviceListRequest) String() string { return proto.CompactTextString(m) }
  359. func (*DeviceListRequest) ProtoMessage() {}
  360. func (*DeviceListRequest) Descriptor() ([]byte, []int) {
  361. return fileDescriptor_870276a56ac00da5, []int{6}
  362. }
  363. func (m *DeviceListRequest) XXX_Unmarshal(b []byte) error {
  364. return xxx_messageInfo_DeviceListRequest.Unmarshal(m, b)
  365. }
  366. func (m *DeviceListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  367. return xxx_messageInfo_DeviceListRequest.Marshal(b, m, deterministic)
  368. }
  369. func (m *DeviceListRequest) XXX_Merge(src proto.Message) {
  370. xxx_messageInfo_DeviceListRequest.Merge(m, src)
  371. }
  372. func (m *DeviceListRequest) XXX_Size() int {
  373. return xxx_messageInfo_DeviceListRequest.Size(m)
  374. }
  375. func (m *DeviceListRequest) XXX_DiscardUnknown() {
  376. xxx_messageInfo_DeviceListRequest.DiscardUnknown(m)
  377. }
  378. var xxx_messageInfo_DeviceListRequest proto.InternalMessageInfo
  379. func (m *DeviceListRequest) GetProviderId() int64 {
  380. if m != nil {
  381. return m.ProviderId
  382. }
  383. return 0
  384. }
  385. func (m *DeviceListRequest) GetStatusFilters() []int32 {
  386. if m != nil {
  387. return m.StatusFilters
  388. }
  389. return nil
  390. }
  391. func (m *DeviceListRequest) GetPage() int32 {
  392. if m != nil {
  393. return m.Page
  394. }
  395. return 0
  396. }
  397. func (m *DeviceListRequest) GetProjectId() int64 {
  398. if m != nil {
  399. return m.ProjectId
  400. }
  401. return 0
  402. }
  403. func (m *DeviceListRequest) GetFilter() string {
  404. if m != nil {
  405. return m.Filter
  406. }
  407. return ""
  408. }
  409. func (m *DeviceListRequest) GetTypeCode() int32 {
  410. if m != nil {
  411. return m.TypeCode
  412. }
  413. return 0
  414. }
  415. func (m *DeviceListRequest) GetIsAll() bool {
  416. if m != nil {
  417. return m.IsAll
  418. }
  419. return false
  420. }
  421. func (m *DeviceListRequest) GetCanDel() bool {
  422. if m != nil {
  423. return m.CanDel
  424. }
  425. return false
  426. }
  427. func (m *DeviceListRequest) GetCid() int64 {
  428. if m != nil {
  429. return m.Cid
  430. }
  431. return 0
  432. }
  433. type DeviceItem struct {
  434. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  435. SocialCode string `protobuf:"bytes,2,opt,name=social_code,json=socialCode,proto3" json:"social_code"`
  436. // 设备类型编码
  437. TypeCode int32 `protobuf:"varint,3,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
  438. TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName,proto3" json:"type_name"`
  439. // 申请时间
  440. ApplyTime string `protobuf:"bytes,5,opt,name=apply_time,json=applyTime,proto3" json:"apply_time"`
  441. // 审批时间
  442. ApproveTime string `protobuf:"bytes,6,opt,name=approve_time,json=approveTime,proto3" json:"approve_time"`
  443. // 0 待审核 1 项目通过 2 项目不通过
  444. Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status"`
  445. ProjectName string `protobuf:"bytes,8,opt,name=project_name,json=projectName,proto3" json:"project_name"`
  446. // 安检备案号
  447. SafetyRecordNo string `protobuf:"bytes,9,opt,name=safety_record_no,json=safetyRecordNo,proto3" json:"safety_record_no"`
  448. // 0 离线 1 在线
  449. State int32 `protobuf:"varint,10,opt,name=state,proto3" json:"state"`
  450. Sn string `protobuf:"bytes,11,opt,name=sn,proto3" json:"sn"`
  451. Key string `protobuf:"bytes,12,opt,name=key,proto3" json:"key"`
  452. ProviderName string `protobuf:"bytes,13,opt,name=provider_name,json=providerName,proto3" json:"provider_name"`
  453. Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name"`
  454. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  455. XXX_unrecognized []byte `json:"-"`
  456. XXX_sizecache int32 `json:"-"`
  457. }
  458. func (m *DeviceItem) Reset() { *m = DeviceItem{} }
  459. func (m *DeviceItem) String() string { return proto.CompactTextString(m) }
  460. func (*DeviceItem) ProtoMessage() {}
  461. func (*DeviceItem) Descriptor() ([]byte, []int) {
  462. return fileDescriptor_870276a56ac00da5, []int{7}
  463. }
  464. func (m *DeviceItem) XXX_Unmarshal(b []byte) error {
  465. return xxx_messageInfo_DeviceItem.Unmarshal(m, b)
  466. }
  467. func (m *DeviceItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  468. return xxx_messageInfo_DeviceItem.Marshal(b, m, deterministic)
  469. }
  470. func (m *DeviceItem) XXX_Merge(src proto.Message) {
  471. xxx_messageInfo_DeviceItem.Merge(m, src)
  472. }
  473. func (m *DeviceItem) XXX_Size() int {
  474. return xxx_messageInfo_DeviceItem.Size(m)
  475. }
  476. func (m *DeviceItem) XXX_DiscardUnknown() {
  477. xxx_messageInfo_DeviceItem.DiscardUnknown(m)
  478. }
  479. var xxx_messageInfo_DeviceItem proto.InternalMessageInfo
  480. func (m *DeviceItem) GetId() int64 {
  481. if m != nil {
  482. return m.Id
  483. }
  484. return 0
  485. }
  486. func (m *DeviceItem) GetSocialCode() string {
  487. if m != nil {
  488. return m.SocialCode
  489. }
  490. return ""
  491. }
  492. func (m *DeviceItem) GetTypeCode() int32 {
  493. if m != nil {
  494. return m.TypeCode
  495. }
  496. return 0
  497. }
  498. func (m *DeviceItem) GetTypeName() string {
  499. if m != nil {
  500. return m.TypeName
  501. }
  502. return ""
  503. }
  504. func (m *DeviceItem) GetApplyTime() string {
  505. if m != nil {
  506. return m.ApplyTime
  507. }
  508. return ""
  509. }
  510. func (m *DeviceItem) GetApproveTime() string {
  511. if m != nil {
  512. return m.ApproveTime
  513. }
  514. return ""
  515. }
  516. func (m *DeviceItem) GetStatus() int32 {
  517. if m != nil {
  518. return m.Status
  519. }
  520. return 0
  521. }
  522. func (m *DeviceItem) GetProjectName() string {
  523. if m != nil {
  524. return m.ProjectName
  525. }
  526. return ""
  527. }
  528. func (m *DeviceItem) GetSafetyRecordNo() string {
  529. if m != nil {
  530. return m.SafetyRecordNo
  531. }
  532. return ""
  533. }
  534. func (m *DeviceItem) GetState() int32 {
  535. if m != nil {
  536. return m.State
  537. }
  538. return 0
  539. }
  540. func (m *DeviceItem) GetSn() string {
  541. if m != nil {
  542. return m.Sn
  543. }
  544. return ""
  545. }
  546. func (m *DeviceItem) GetKey() string {
  547. if m != nil {
  548. return m.Key
  549. }
  550. return ""
  551. }
  552. func (m *DeviceItem) GetProviderName() string {
  553. if m != nil {
  554. return m.ProviderName
  555. }
  556. return ""
  557. }
  558. func (m *DeviceItem) GetName() string {
  559. if m != nil {
  560. return m.Name
  561. }
  562. return ""
  563. }
  564. type DeviceListReply struct {
  565. Total int64 `protobuf:"varint,1,opt,name=total,proto3" json:"total"`
  566. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  567. Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
  568. List []*DeviceItem `protobuf:"bytes,4,rep,name=list,proto3" json:"list"`
  569. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  570. XXX_unrecognized []byte `json:"-"`
  571. XXX_sizecache int32 `json:"-"`
  572. }
  573. func (m *DeviceListReply) Reset() { *m = DeviceListReply{} }
  574. func (m *DeviceListReply) String() string { return proto.CompactTextString(m) }
  575. func (*DeviceListReply) ProtoMessage() {}
  576. func (*DeviceListReply) Descriptor() ([]byte, []int) {
  577. return fileDescriptor_870276a56ac00da5, []int{8}
  578. }
  579. func (m *DeviceListReply) XXX_Unmarshal(b []byte) error {
  580. return xxx_messageInfo_DeviceListReply.Unmarshal(m, b)
  581. }
  582. func (m *DeviceListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  583. return xxx_messageInfo_DeviceListReply.Marshal(b, m, deterministic)
  584. }
  585. func (m *DeviceListReply) XXX_Merge(src proto.Message) {
  586. xxx_messageInfo_DeviceListReply.Merge(m, src)
  587. }
  588. func (m *DeviceListReply) XXX_Size() int {
  589. return xxx_messageInfo_DeviceListReply.Size(m)
  590. }
  591. func (m *DeviceListReply) XXX_DiscardUnknown() {
  592. xxx_messageInfo_DeviceListReply.DiscardUnknown(m)
  593. }
  594. var xxx_messageInfo_DeviceListReply proto.InternalMessageInfo
  595. func (m *DeviceListReply) GetTotal() int64 {
  596. if m != nil {
  597. return m.Total
  598. }
  599. return 0
  600. }
  601. func (m *DeviceListReply) GetPageSize() int32 {
  602. if m != nil {
  603. return m.PageSize
  604. }
  605. return 0
  606. }
  607. func (m *DeviceListReply) GetPage() int32 {
  608. if m != nil {
  609. return m.Page
  610. }
  611. return 0
  612. }
  613. func (m *DeviceListReply) GetList() []*DeviceItem {
  614. if m != nil {
  615. return m.List
  616. }
  617. return nil
  618. }
  619. // 开发者审批对接设备
  620. type DockingApproveRequest struct {
  621. // 供应商设备类型id
  622. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  623. // 开发者建议
  624. Comment string `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment"`
  625. // true 测试通过 false 测试不通过
  626. Status bool `protobuf:"varint,3,opt,name=status,proto3" json:"status"`
  627. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  628. XXX_unrecognized []byte `json:"-"`
  629. XXX_sizecache int32 `json:"-"`
  630. }
  631. func (m *DockingApproveRequest) Reset() { *m = DockingApproveRequest{} }
  632. func (m *DockingApproveRequest) String() string { return proto.CompactTextString(m) }
  633. func (*DockingApproveRequest) ProtoMessage() {}
  634. func (*DockingApproveRequest) Descriptor() ([]byte, []int) {
  635. return fileDescriptor_870276a56ac00da5, []int{9}
  636. }
  637. func (m *DockingApproveRequest) XXX_Unmarshal(b []byte) error {
  638. return xxx_messageInfo_DockingApproveRequest.Unmarshal(m, b)
  639. }
  640. func (m *DockingApproveRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  641. return xxx_messageInfo_DockingApproveRequest.Marshal(b, m, deterministic)
  642. }
  643. func (m *DockingApproveRequest) XXX_Merge(src proto.Message) {
  644. xxx_messageInfo_DockingApproveRequest.Merge(m, src)
  645. }
  646. func (m *DockingApproveRequest) XXX_Size() int {
  647. return xxx_messageInfo_DockingApproveRequest.Size(m)
  648. }
  649. func (m *DockingApproveRequest) XXX_DiscardUnknown() {
  650. xxx_messageInfo_DockingApproveRequest.DiscardUnknown(m)
  651. }
  652. var xxx_messageInfo_DockingApproveRequest proto.InternalMessageInfo
  653. func (m *DockingApproveRequest) GetId() int32 {
  654. if m != nil {
  655. return m.Id
  656. }
  657. return 0
  658. }
  659. func (m *DockingApproveRequest) GetComment() string {
  660. if m != nil {
  661. return m.Comment
  662. }
  663. return ""
  664. }
  665. func (m *DockingApproveRequest) GetStatus() bool {
  666. if m != nil {
  667. return m.Status
  668. }
  669. return false
  670. }
  671. type DockingApproveReply struct {
  672. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  673. XXX_unrecognized []byte `json:"-"`
  674. XXX_sizecache int32 `json:"-"`
  675. }
  676. func (m *DockingApproveReply) Reset() { *m = DockingApproveReply{} }
  677. func (m *DockingApproveReply) String() string { return proto.CompactTextString(m) }
  678. func (*DockingApproveReply) ProtoMessage() {}
  679. func (*DockingApproveReply) Descriptor() ([]byte, []int) {
  680. return fileDescriptor_870276a56ac00da5, []int{10}
  681. }
  682. func (m *DockingApproveReply) XXX_Unmarshal(b []byte) error {
  683. return xxx_messageInfo_DockingApproveReply.Unmarshal(m, b)
  684. }
  685. func (m *DockingApproveReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  686. return xxx_messageInfo_DockingApproveReply.Marshal(b, m, deterministic)
  687. }
  688. func (m *DockingApproveReply) XXX_Merge(src proto.Message) {
  689. xxx_messageInfo_DockingApproveReply.Merge(m, src)
  690. }
  691. func (m *DockingApproveReply) XXX_Size() int {
  692. return xxx_messageInfo_DockingApproveReply.Size(m)
  693. }
  694. func (m *DockingApproveReply) XXX_DiscardUnknown() {
  695. xxx_messageInfo_DockingApproveReply.DiscardUnknown(m)
  696. }
  697. var xxx_messageInfo_DockingApproveReply proto.InternalMessageInfo
  698. type DeviceDelJobItem struct {
  699. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  700. SocialCode string `protobuf:"bytes,2,opt,name=social_code,json=socialCode,proto3" json:"social_code"`
  701. // 设备类型编码
  702. TypeCode int32 `protobuf:"varint,3,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
  703. TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName,proto3" json:"type_name"`
  704. // 申请时间
  705. ApplyTime string `protobuf:"bytes,5,opt,name=apply_time,json=applyTime,proto3" json:"apply_time"`
  706. // 审批时间
  707. ApproveTime string `protobuf:"bytes,6,opt,name=approve_time,json=approveTime,proto3" json:"approve_time"`
  708. // 0 待审核 1 通过 2 项目不通过
  709. Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status"`
  710. // 项目名称
  711. ProjectName string `protobuf:"bytes,8,opt,name=project_name,json=projectName,proto3" json:"project_name"`
  712. // 安检备案号
  713. SafetyRecordNo string `protobuf:"bytes,9,opt,name=safety_record_no,json=safetyRecordNo,proto3" json:"safety_record_no"`
  714. ProviderName string `protobuf:"bytes,10,opt,name=provider_name,json=providerName,proto3" json:"provider_name"`
  715. Sn string `protobuf:"bytes,11,opt,name=sn,proto3" json:"sn"`
  716. Reason string `protobuf:"bytes,12,opt,name=reason,proto3" json:"reason"`
  717. Feedback string `protobuf:"bytes,13,opt,name=feedback,proto3" json:"feedback"`
  718. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  719. XXX_unrecognized []byte `json:"-"`
  720. XXX_sizecache int32 `json:"-"`
  721. }
  722. func (m *DeviceDelJobItem) Reset() { *m = DeviceDelJobItem{} }
  723. func (m *DeviceDelJobItem) String() string { return proto.CompactTextString(m) }
  724. func (*DeviceDelJobItem) ProtoMessage() {}
  725. func (*DeviceDelJobItem) Descriptor() ([]byte, []int) {
  726. return fileDescriptor_870276a56ac00da5, []int{11}
  727. }
  728. func (m *DeviceDelJobItem) XXX_Unmarshal(b []byte) error {
  729. return xxx_messageInfo_DeviceDelJobItem.Unmarshal(m, b)
  730. }
  731. func (m *DeviceDelJobItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  732. return xxx_messageInfo_DeviceDelJobItem.Marshal(b, m, deterministic)
  733. }
  734. func (m *DeviceDelJobItem) XXX_Merge(src proto.Message) {
  735. xxx_messageInfo_DeviceDelJobItem.Merge(m, src)
  736. }
  737. func (m *DeviceDelJobItem) XXX_Size() int {
  738. return xxx_messageInfo_DeviceDelJobItem.Size(m)
  739. }
  740. func (m *DeviceDelJobItem) XXX_DiscardUnknown() {
  741. xxx_messageInfo_DeviceDelJobItem.DiscardUnknown(m)
  742. }
  743. var xxx_messageInfo_DeviceDelJobItem proto.InternalMessageInfo
  744. func (m *DeviceDelJobItem) GetId() int64 {
  745. if m != nil {
  746. return m.Id
  747. }
  748. return 0
  749. }
  750. func (m *DeviceDelJobItem) GetSocialCode() string {
  751. if m != nil {
  752. return m.SocialCode
  753. }
  754. return ""
  755. }
  756. func (m *DeviceDelJobItem) GetTypeCode() int32 {
  757. if m != nil {
  758. return m.TypeCode
  759. }
  760. return 0
  761. }
  762. func (m *DeviceDelJobItem) GetTypeName() string {
  763. if m != nil {
  764. return m.TypeName
  765. }
  766. return ""
  767. }
  768. func (m *DeviceDelJobItem) GetApplyTime() string {
  769. if m != nil {
  770. return m.ApplyTime
  771. }
  772. return ""
  773. }
  774. func (m *DeviceDelJobItem) GetApproveTime() string {
  775. if m != nil {
  776. return m.ApproveTime
  777. }
  778. return ""
  779. }
  780. func (m *DeviceDelJobItem) GetStatus() int32 {
  781. if m != nil {
  782. return m.Status
  783. }
  784. return 0
  785. }
  786. func (m *DeviceDelJobItem) GetProjectName() string {
  787. if m != nil {
  788. return m.ProjectName
  789. }
  790. return ""
  791. }
  792. func (m *DeviceDelJobItem) GetSafetyRecordNo() string {
  793. if m != nil {
  794. return m.SafetyRecordNo
  795. }
  796. return ""
  797. }
  798. func (m *DeviceDelJobItem) GetProviderName() string {
  799. if m != nil {
  800. return m.ProviderName
  801. }
  802. return ""
  803. }
  804. func (m *DeviceDelJobItem) GetSn() string {
  805. if m != nil {
  806. return m.Sn
  807. }
  808. return ""
  809. }
  810. func (m *DeviceDelJobItem) GetReason() string {
  811. if m != nil {
  812. return m.Reason
  813. }
  814. return ""
  815. }
  816. func (m *DeviceDelJobItem) GetFeedback() string {
  817. if m != nil {
  818. return m.Feedback
  819. }
  820. return ""
  821. }
  822. type DeviceDelJobListRequest struct {
  823. ProviderId int64 `protobuf:"varint,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id"`
  824. // 状态过滤 审核状态 0 待审核 1 通过 2 未通过
  825. StatusFilters []int32 `protobuf:"varint,2,rep,packed,name=status_filters,json=statusFilters,proto3" json:"status_filters"`
  826. Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
  827. ProjectId int64 `protobuf:"varint,4,opt,name=project_id,json=projectId,proto3" json:"project_id"`
  828. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter"`
  829. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  830. XXX_unrecognized []byte `json:"-"`
  831. XXX_sizecache int32 `json:"-"`
  832. }
  833. func (m *DeviceDelJobListRequest) Reset() { *m = DeviceDelJobListRequest{} }
  834. func (m *DeviceDelJobListRequest) String() string { return proto.CompactTextString(m) }
  835. func (*DeviceDelJobListRequest) ProtoMessage() {}
  836. func (*DeviceDelJobListRequest) Descriptor() ([]byte, []int) {
  837. return fileDescriptor_870276a56ac00da5, []int{12}
  838. }
  839. func (m *DeviceDelJobListRequest) XXX_Unmarshal(b []byte) error {
  840. return xxx_messageInfo_DeviceDelJobListRequest.Unmarshal(m, b)
  841. }
  842. func (m *DeviceDelJobListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  843. return xxx_messageInfo_DeviceDelJobListRequest.Marshal(b, m, deterministic)
  844. }
  845. func (m *DeviceDelJobListRequest) XXX_Merge(src proto.Message) {
  846. xxx_messageInfo_DeviceDelJobListRequest.Merge(m, src)
  847. }
  848. func (m *DeviceDelJobListRequest) XXX_Size() int {
  849. return xxx_messageInfo_DeviceDelJobListRequest.Size(m)
  850. }
  851. func (m *DeviceDelJobListRequest) XXX_DiscardUnknown() {
  852. xxx_messageInfo_DeviceDelJobListRequest.DiscardUnknown(m)
  853. }
  854. var xxx_messageInfo_DeviceDelJobListRequest proto.InternalMessageInfo
  855. func (m *DeviceDelJobListRequest) GetProviderId() int64 {
  856. if m != nil {
  857. return m.ProviderId
  858. }
  859. return 0
  860. }
  861. func (m *DeviceDelJobListRequest) GetStatusFilters() []int32 {
  862. if m != nil {
  863. return m.StatusFilters
  864. }
  865. return nil
  866. }
  867. func (m *DeviceDelJobListRequest) GetPage() int32 {
  868. if m != nil {
  869. return m.Page
  870. }
  871. return 0
  872. }
  873. func (m *DeviceDelJobListRequest) GetProjectId() int64 {
  874. if m != nil {
  875. return m.ProjectId
  876. }
  877. return 0
  878. }
  879. func (m *DeviceDelJobListRequest) GetFilter() string {
  880. if m != nil {
  881. return m.Filter
  882. }
  883. return ""
  884. }
  885. type DeviceDelJobListReply struct {
  886. PageSize int32 `protobuf:"varint,1,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  887. Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
  888. Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
  889. List []*DeviceDelJobItem `protobuf:"bytes,5,rep,name=list,proto3" json:"list"`
  890. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  891. XXX_unrecognized []byte `json:"-"`
  892. XXX_sizecache int32 `json:"-"`
  893. }
  894. func (m *DeviceDelJobListReply) Reset() { *m = DeviceDelJobListReply{} }
  895. func (m *DeviceDelJobListReply) String() string { return proto.CompactTextString(m) }
  896. func (*DeviceDelJobListReply) ProtoMessage() {}
  897. func (*DeviceDelJobListReply) Descriptor() ([]byte, []int) {
  898. return fileDescriptor_870276a56ac00da5, []int{13}
  899. }
  900. func (m *DeviceDelJobListReply) XXX_Unmarshal(b []byte) error {
  901. return xxx_messageInfo_DeviceDelJobListReply.Unmarshal(m, b)
  902. }
  903. func (m *DeviceDelJobListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  904. return xxx_messageInfo_DeviceDelJobListReply.Marshal(b, m, deterministic)
  905. }
  906. func (m *DeviceDelJobListReply) XXX_Merge(src proto.Message) {
  907. xxx_messageInfo_DeviceDelJobListReply.Merge(m, src)
  908. }
  909. func (m *DeviceDelJobListReply) XXX_Size() int {
  910. return xxx_messageInfo_DeviceDelJobListReply.Size(m)
  911. }
  912. func (m *DeviceDelJobListReply) XXX_DiscardUnknown() {
  913. xxx_messageInfo_DeviceDelJobListReply.DiscardUnknown(m)
  914. }
  915. var xxx_messageInfo_DeviceDelJobListReply proto.InternalMessageInfo
  916. func (m *DeviceDelJobListReply) GetPageSize() int32 {
  917. if m != nil {
  918. return m.PageSize
  919. }
  920. return 0
  921. }
  922. func (m *DeviceDelJobListReply) GetTotal() int64 {
  923. if m != nil {
  924. return m.Total
  925. }
  926. return 0
  927. }
  928. func (m *DeviceDelJobListReply) GetPage() int32 {
  929. if m != nil {
  930. return m.Page
  931. }
  932. return 0
  933. }
  934. func (m *DeviceDelJobListReply) GetList() []*DeviceDelJobItem {
  935. if m != nil {
  936. return m.List
  937. }
  938. return nil
  939. }
  940. type ChannelListRequest struct {
  941. Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  942. Sn string `protobuf:"bytes,2,opt,name=sn,proto3" json:"sn"`
  943. ChannelNo string `protobuf:"bytes,3,opt,name=channel_no,json=channelNo,proto3" json:"channel_no"`
  944. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  945. XXX_unrecognized []byte `json:"-"`
  946. XXX_sizecache int32 `json:"-"`
  947. }
  948. func (m *ChannelListRequest) Reset() { *m = ChannelListRequest{} }
  949. func (m *ChannelListRequest) String() string { return proto.CompactTextString(m) }
  950. func (*ChannelListRequest) ProtoMessage() {}
  951. func (*ChannelListRequest) Descriptor() ([]byte, []int) {
  952. return fileDescriptor_870276a56ac00da5, []int{14}
  953. }
  954. func (m *ChannelListRequest) XXX_Unmarshal(b []byte) error {
  955. return xxx_messageInfo_ChannelListRequest.Unmarshal(m, b)
  956. }
  957. func (m *ChannelListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  958. return xxx_messageInfo_ChannelListRequest.Marshal(b, m, deterministic)
  959. }
  960. func (m *ChannelListRequest) XXX_Merge(src proto.Message) {
  961. xxx_messageInfo_ChannelListRequest.Merge(m, src)
  962. }
  963. func (m *ChannelListRequest) XXX_Size() int {
  964. return xxx_messageInfo_ChannelListRequest.Size(m)
  965. }
  966. func (m *ChannelListRequest) XXX_DiscardUnknown() {
  967. xxx_messageInfo_ChannelListRequest.DiscardUnknown(m)
  968. }
  969. var xxx_messageInfo_ChannelListRequest proto.InternalMessageInfo
  970. func (m *ChannelListRequest) GetPage() int32 {
  971. if m != nil {
  972. return m.Page
  973. }
  974. return 0
  975. }
  976. func (m *ChannelListRequest) GetSn() string {
  977. if m != nil {
  978. return m.Sn
  979. }
  980. return ""
  981. }
  982. func (m *ChannelListRequest) GetChannelNo() string {
  983. if m != nil {
  984. return m.ChannelNo
  985. }
  986. return ""
  987. }
  988. type ChannelItem struct {
  989. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name"`
  990. Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
  991. ChannelNo string `protobuf:"bytes,3,opt,name=channel_no,json=channelNo,proto3" json:"channel_no"`
  992. State int32 `protobuf:"varint,4,opt,name=state,proto3" json:"state"`
  993. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  994. XXX_unrecognized []byte `json:"-"`
  995. XXX_sizecache int32 `json:"-"`
  996. }
  997. func (m *ChannelItem) Reset() { *m = ChannelItem{} }
  998. func (m *ChannelItem) String() string { return proto.CompactTextString(m) }
  999. func (*ChannelItem) ProtoMessage() {}
  1000. func (*ChannelItem) Descriptor() ([]byte, []int) {
  1001. return fileDescriptor_870276a56ac00da5, []int{15}
  1002. }
  1003. func (m *ChannelItem) XXX_Unmarshal(b []byte) error {
  1004. return xxx_messageInfo_ChannelItem.Unmarshal(m, b)
  1005. }
  1006. func (m *ChannelItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1007. return xxx_messageInfo_ChannelItem.Marshal(b, m, deterministic)
  1008. }
  1009. func (m *ChannelItem) XXX_Merge(src proto.Message) {
  1010. xxx_messageInfo_ChannelItem.Merge(m, src)
  1011. }
  1012. func (m *ChannelItem) XXX_Size() int {
  1013. return xxx_messageInfo_ChannelItem.Size(m)
  1014. }
  1015. func (m *ChannelItem) XXX_DiscardUnknown() {
  1016. xxx_messageInfo_ChannelItem.DiscardUnknown(m)
  1017. }
  1018. var xxx_messageInfo_ChannelItem proto.InternalMessageInfo
  1019. func (m *ChannelItem) GetName() string {
  1020. if m != nil {
  1021. return m.Name
  1022. }
  1023. return ""
  1024. }
  1025. func (m *ChannelItem) GetId() int64 {
  1026. if m != nil {
  1027. return m.Id
  1028. }
  1029. return 0
  1030. }
  1031. func (m *ChannelItem) GetChannelNo() string {
  1032. if m != nil {
  1033. return m.ChannelNo
  1034. }
  1035. return ""
  1036. }
  1037. func (m *ChannelItem) GetState() int32 {
  1038. if m != nil {
  1039. return m.State
  1040. }
  1041. return 0
  1042. }
  1043. type ChannelListReply struct {
  1044. List []*ChannelItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  1045. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  1046. Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total"`
  1047. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  1048. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1049. XXX_unrecognized []byte `json:"-"`
  1050. XXX_sizecache int32 `json:"-"`
  1051. }
  1052. func (m *ChannelListReply) Reset() { *m = ChannelListReply{} }
  1053. func (m *ChannelListReply) String() string { return proto.CompactTextString(m) }
  1054. func (*ChannelListReply) ProtoMessage() {}
  1055. func (*ChannelListReply) Descriptor() ([]byte, []int) {
  1056. return fileDescriptor_870276a56ac00da5, []int{16}
  1057. }
  1058. func (m *ChannelListReply) XXX_Unmarshal(b []byte) error {
  1059. return xxx_messageInfo_ChannelListReply.Unmarshal(m, b)
  1060. }
  1061. func (m *ChannelListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1062. return xxx_messageInfo_ChannelListReply.Marshal(b, m, deterministic)
  1063. }
  1064. func (m *ChannelListReply) XXX_Merge(src proto.Message) {
  1065. xxx_messageInfo_ChannelListReply.Merge(m, src)
  1066. }
  1067. func (m *ChannelListReply) XXX_Size() int {
  1068. return xxx_messageInfo_ChannelListReply.Size(m)
  1069. }
  1070. func (m *ChannelListReply) XXX_DiscardUnknown() {
  1071. xxx_messageInfo_ChannelListReply.DiscardUnknown(m)
  1072. }
  1073. var xxx_messageInfo_ChannelListReply proto.InternalMessageInfo
  1074. func (m *ChannelListReply) GetList() []*ChannelItem {
  1075. if m != nil {
  1076. return m.List
  1077. }
  1078. return nil
  1079. }
  1080. func (m *ChannelListReply) GetPage() int32 {
  1081. if m != nil {
  1082. return m.Page
  1083. }
  1084. return 0
  1085. }
  1086. func (m *ChannelListReply) GetTotal() int64 {
  1087. if m != nil {
  1088. return m.Total
  1089. }
  1090. return 0
  1091. }
  1092. func (m *ChannelListReply) GetPageSize() int32 {
  1093. if m != nil {
  1094. return m.PageSize
  1095. }
  1096. return 0
  1097. }
  1098. type DeviceChangeNotifyRequest struct {
  1099. Sn string `protobuf:"bytes,1,opt,name=sn,proto3" json:"sn"`
  1100. DeviceCode int32 `protobuf:"varint,2,opt,name=device_code,json=deviceCode,proto3" json:"device_code"`
  1101. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1102. XXX_unrecognized []byte `json:"-"`
  1103. XXX_sizecache int32 `json:"-"`
  1104. }
  1105. func (m *DeviceChangeNotifyRequest) Reset() { *m = DeviceChangeNotifyRequest{} }
  1106. func (m *DeviceChangeNotifyRequest) String() string { return proto.CompactTextString(m) }
  1107. func (*DeviceChangeNotifyRequest) ProtoMessage() {}
  1108. func (*DeviceChangeNotifyRequest) Descriptor() ([]byte, []int) {
  1109. return fileDescriptor_870276a56ac00da5, []int{17}
  1110. }
  1111. func (m *DeviceChangeNotifyRequest) XXX_Unmarshal(b []byte) error {
  1112. return xxx_messageInfo_DeviceChangeNotifyRequest.Unmarshal(m, b)
  1113. }
  1114. func (m *DeviceChangeNotifyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1115. return xxx_messageInfo_DeviceChangeNotifyRequest.Marshal(b, m, deterministic)
  1116. }
  1117. func (m *DeviceChangeNotifyRequest) XXX_Merge(src proto.Message) {
  1118. xxx_messageInfo_DeviceChangeNotifyRequest.Merge(m, src)
  1119. }
  1120. func (m *DeviceChangeNotifyRequest) XXX_Size() int {
  1121. return xxx_messageInfo_DeviceChangeNotifyRequest.Size(m)
  1122. }
  1123. func (m *DeviceChangeNotifyRequest) XXX_DiscardUnknown() {
  1124. xxx_messageInfo_DeviceChangeNotifyRequest.DiscardUnknown(m)
  1125. }
  1126. var xxx_messageInfo_DeviceChangeNotifyRequest proto.InternalMessageInfo
  1127. func (m *DeviceChangeNotifyRequest) GetSn() string {
  1128. if m != nil {
  1129. return m.Sn
  1130. }
  1131. return ""
  1132. }
  1133. func (m *DeviceChangeNotifyRequest) GetDeviceCode() int32 {
  1134. if m != nil {
  1135. return m.DeviceCode
  1136. }
  1137. return 0
  1138. }
  1139. type DeviceChangeNotifyReply struct {
  1140. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1141. XXX_unrecognized []byte `json:"-"`
  1142. XXX_sizecache int32 `json:"-"`
  1143. }
  1144. func (m *DeviceChangeNotifyReply) Reset() { *m = DeviceChangeNotifyReply{} }
  1145. func (m *DeviceChangeNotifyReply) String() string { return proto.CompactTextString(m) }
  1146. func (*DeviceChangeNotifyReply) ProtoMessage() {}
  1147. func (*DeviceChangeNotifyReply) Descriptor() ([]byte, []int) {
  1148. return fileDescriptor_870276a56ac00da5, []int{18}
  1149. }
  1150. func (m *DeviceChangeNotifyReply) XXX_Unmarshal(b []byte) error {
  1151. return xxx_messageInfo_DeviceChangeNotifyReply.Unmarshal(m, b)
  1152. }
  1153. func (m *DeviceChangeNotifyReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1154. return xxx_messageInfo_DeviceChangeNotifyReply.Marshal(b, m, deterministic)
  1155. }
  1156. func (m *DeviceChangeNotifyReply) XXX_Merge(src proto.Message) {
  1157. xxx_messageInfo_DeviceChangeNotifyReply.Merge(m, src)
  1158. }
  1159. func (m *DeviceChangeNotifyReply) XXX_Size() int {
  1160. return xxx_messageInfo_DeviceChangeNotifyReply.Size(m)
  1161. }
  1162. func (m *DeviceChangeNotifyReply) XXX_DiscardUnknown() {
  1163. xxx_messageInfo_DeviceChangeNotifyReply.DiscardUnknown(m)
  1164. }
  1165. var xxx_messageInfo_DeviceChangeNotifyReply proto.InternalMessageInfo
  1166. type VedioListRequest struct {
  1167. ProviderId int64 `protobuf:"varint,1,opt,name=provider_id,json=providerId,proto3" json:"provider_id"`
  1168. // 状态过滤 审核状态 0 待审核 1 项目通过 2 项目未通过
  1169. StatusFilters []int32 `protobuf:"varint,2,rep,packed,name=status_filters,json=statusFilters,proto3" json:"status_filters"`
  1170. Page int32 `protobuf:"varint,3,opt,name=page,proto3" json:"page"`
  1171. ProjectId int64 `protobuf:"varint,4,opt,name=project_id,json=projectId,proto3" json:"project_id"`
  1172. Filter string `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter"`
  1173. IsAll bool `protobuf:"varint,7,opt,name=is_all,json=isAll,proto3" json:"is_all"`
  1174. Cid int64 `protobuf:"varint,8,opt,name=cid,proto3" json:"cid"`
  1175. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1176. XXX_unrecognized []byte `json:"-"`
  1177. XXX_sizecache int32 `json:"-"`
  1178. }
  1179. func (m *VedioListRequest) Reset() { *m = VedioListRequest{} }
  1180. func (m *VedioListRequest) String() string { return proto.CompactTextString(m) }
  1181. func (*VedioListRequest) ProtoMessage() {}
  1182. func (*VedioListRequest) Descriptor() ([]byte, []int) {
  1183. return fileDescriptor_870276a56ac00da5, []int{19}
  1184. }
  1185. func (m *VedioListRequest) XXX_Unmarshal(b []byte) error {
  1186. return xxx_messageInfo_VedioListRequest.Unmarshal(m, b)
  1187. }
  1188. func (m *VedioListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1189. return xxx_messageInfo_VedioListRequest.Marshal(b, m, deterministic)
  1190. }
  1191. func (m *VedioListRequest) XXX_Merge(src proto.Message) {
  1192. xxx_messageInfo_VedioListRequest.Merge(m, src)
  1193. }
  1194. func (m *VedioListRequest) XXX_Size() int {
  1195. return xxx_messageInfo_VedioListRequest.Size(m)
  1196. }
  1197. func (m *VedioListRequest) XXX_DiscardUnknown() {
  1198. xxx_messageInfo_VedioListRequest.DiscardUnknown(m)
  1199. }
  1200. var xxx_messageInfo_VedioListRequest proto.InternalMessageInfo
  1201. func (m *VedioListRequest) GetProviderId() int64 {
  1202. if m != nil {
  1203. return m.ProviderId
  1204. }
  1205. return 0
  1206. }
  1207. func (m *VedioListRequest) GetStatusFilters() []int32 {
  1208. if m != nil {
  1209. return m.StatusFilters
  1210. }
  1211. return nil
  1212. }
  1213. func (m *VedioListRequest) GetPage() int32 {
  1214. if m != nil {
  1215. return m.Page
  1216. }
  1217. return 0
  1218. }
  1219. func (m *VedioListRequest) GetProjectId() int64 {
  1220. if m != nil {
  1221. return m.ProjectId
  1222. }
  1223. return 0
  1224. }
  1225. func (m *VedioListRequest) GetFilter() string {
  1226. if m != nil {
  1227. return m.Filter
  1228. }
  1229. return ""
  1230. }
  1231. func (m *VedioListRequest) GetIsAll() bool {
  1232. if m != nil {
  1233. return m.IsAll
  1234. }
  1235. return false
  1236. }
  1237. func (m *VedioListRequest) GetCid() int64 {
  1238. if m != nil {
  1239. return m.Cid
  1240. }
  1241. return 0
  1242. }
  1243. type VedioItem struct {
  1244. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  1245. SocialCode string `protobuf:"bytes,2,opt,name=social_code,json=socialCode,proto3" json:"social_code"`
  1246. // 设备类型编码
  1247. TypeCode int32 `protobuf:"varint,3,opt,name=type_code,json=typeCode,proto3" json:"type_code"`
  1248. TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName,proto3" json:"type_name"`
  1249. // 申请时间
  1250. ApplyTime string `protobuf:"bytes,5,opt,name=apply_time,json=applyTime,proto3" json:"apply_time"`
  1251. // 审批时间
  1252. ApproveTime string `protobuf:"bytes,6,opt,name=approve_time,json=approveTime,proto3" json:"approve_time"`
  1253. // 0 待审核 1 项目通过 2 项目不通过
  1254. Status int32 `protobuf:"varint,7,opt,name=status,proto3" json:"status"`
  1255. ProjectName string `protobuf:"bytes,8,opt,name=project_name,json=projectName,proto3" json:"project_name"`
  1256. // 安检备案号
  1257. SafetyRecordNo string `protobuf:"bytes,9,opt,name=safety_record_no,json=safetyRecordNo,proto3" json:"safety_record_no"`
  1258. // 0 离线 1 在线
  1259. State int32 `protobuf:"varint,10,opt,name=state,proto3" json:"state"`
  1260. Sn string `protobuf:"bytes,11,opt,name=sn,proto3" json:"sn"`
  1261. Key string `protobuf:"bytes,12,opt,name=key,proto3" json:"key"`
  1262. ProviderName string `protobuf:"bytes,13,opt,name=provider_name,json=providerName,proto3" json:"provider_name"`
  1263. Name string `protobuf:"bytes,14,opt,name=name,proto3" json:"name"`
  1264. Ip string `protobuf:"bytes,15,opt,name=ip,proto3" json:"ip"`
  1265. Port int64 `protobuf:"varint,16,opt,name=port,proto3" json:"port"`
  1266. MediaTransport string `protobuf:"bytes,17,opt,name=media_transport,json=mediaTransport,proto3" json:"media_transport"`
  1267. ChannelCount int32 `protobuf:"varint,18,opt,name=channel_count,json=channelCount,proto3" json:"channel_count"`
  1268. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1269. XXX_unrecognized []byte `json:"-"`
  1270. XXX_sizecache int32 `json:"-"`
  1271. }
  1272. func (m *VedioItem) Reset() { *m = VedioItem{} }
  1273. func (m *VedioItem) String() string { return proto.CompactTextString(m) }
  1274. func (*VedioItem) ProtoMessage() {}
  1275. func (*VedioItem) Descriptor() ([]byte, []int) {
  1276. return fileDescriptor_870276a56ac00da5, []int{20}
  1277. }
  1278. func (m *VedioItem) XXX_Unmarshal(b []byte) error {
  1279. return xxx_messageInfo_VedioItem.Unmarshal(m, b)
  1280. }
  1281. func (m *VedioItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1282. return xxx_messageInfo_VedioItem.Marshal(b, m, deterministic)
  1283. }
  1284. func (m *VedioItem) XXX_Merge(src proto.Message) {
  1285. xxx_messageInfo_VedioItem.Merge(m, src)
  1286. }
  1287. func (m *VedioItem) XXX_Size() int {
  1288. return xxx_messageInfo_VedioItem.Size(m)
  1289. }
  1290. func (m *VedioItem) XXX_DiscardUnknown() {
  1291. xxx_messageInfo_VedioItem.DiscardUnknown(m)
  1292. }
  1293. var xxx_messageInfo_VedioItem proto.InternalMessageInfo
  1294. func (m *VedioItem) GetId() int64 {
  1295. if m != nil {
  1296. return m.Id
  1297. }
  1298. return 0
  1299. }
  1300. func (m *VedioItem) GetSocialCode() string {
  1301. if m != nil {
  1302. return m.SocialCode
  1303. }
  1304. return ""
  1305. }
  1306. func (m *VedioItem) GetTypeCode() int32 {
  1307. if m != nil {
  1308. return m.TypeCode
  1309. }
  1310. return 0
  1311. }
  1312. func (m *VedioItem) GetTypeName() string {
  1313. if m != nil {
  1314. return m.TypeName
  1315. }
  1316. return ""
  1317. }
  1318. func (m *VedioItem) GetApplyTime() string {
  1319. if m != nil {
  1320. return m.ApplyTime
  1321. }
  1322. return ""
  1323. }
  1324. func (m *VedioItem) GetApproveTime() string {
  1325. if m != nil {
  1326. return m.ApproveTime
  1327. }
  1328. return ""
  1329. }
  1330. func (m *VedioItem) GetStatus() int32 {
  1331. if m != nil {
  1332. return m.Status
  1333. }
  1334. return 0
  1335. }
  1336. func (m *VedioItem) GetProjectName() string {
  1337. if m != nil {
  1338. return m.ProjectName
  1339. }
  1340. return ""
  1341. }
  1342. func (m *VedioItem) GetSafetyRecordNo() string {
  1343. if m != nil {
  1344. return m.SafetyRecordNo
  1345. }
  1346. return ""
  1347. }
  1348. func (m *VedioItem) GetState() int32 {
  1349. if m != nil {
  1350. return m.State
  1351. }
  1352. return 0
  1353. }
  1354. func (m *VedioItem) GetSn() string {
  1355. if m != nil {
  1356. return m.Sn
  1357. }
  1358. return ""
  1359. }
  1360. func (m *VedioItem) GetKey() string {
  1361. if m != nil {
  1362. return m.Key
  1363. }
  1364. return ""
  1365. }
  1366. func (m *VedioItem) GetProviderName() string {
  1367. if m != nil {
  1368. return m.ProviderName
  1369. }
  1370. return ""
  1371. }
  1372. func (m *VedioItem) GetName() string {
  1373. if m != nil {
  1374. return m.Name
  1375. }
  1376. return ""
  1377. }
  1378. func (m *VedioItem) GetIp() string {
  1379. if m != nil {
  1380. return m.Ip
  1381. }
  1382. return ""
  1383. }
  1384. func (m *VedioItem) GetPort() int64 {
  1385. if m != nil {
  1386. return m.Port
  1387. }
  1388. return 0
  1389. }
  1390. func (m *VedioItem) GetMediaTransport() string {
  1391. if m != nil {
  1392. return m.MediaTransport
  1393. }
  1394. return ""
  1395. }
  1396. func (m *VedioItem) GetChannelCount() int32 {
  1397. if m != nil {
  1398. return m.ChannelCount
  1399. }
  1400. return 0
  1401. }
  1402. type VedioListReply struct {
  1403. List []*VedioItem `protobuf:"bytes,1,rep,name=list,proto3" json:"list"`
  1404. Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page"`
  1405. Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total"`
  1406. PageSize int32 `protobuf:"varint,4,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  1407. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  1408. XXX_unrecognized []byte `json:"-"`
  1409. XXX_sizecache int32 `json:"-"`
  1410. }
  1411. func (m *VedioListReply) Reset() { *m = VedioListReply{} }
  1412. func (m *VedioListReply) String() string { return proto.CompactTextString(m) }
  1413. func (*VedioListReply) ProtoMessage() {}
  1414. func (*VedioListReply) Descriptor() ([]byte, []int) {
  1415. return fileDescriptor_870276a56ac00da5, []int{21}
  1416. }
  1417. func (m *VedioListReply) XXX_Unmarshal(b []byte) error {
  1418. return xxx_messageInfo_VedioListReply.Unmarshal(m, b)
  1419. }
  1420. func (m *VedioListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  1421. return xxx_messageInfo_VedioListReply.Marshal(b, m, deterministic)
  1422. }
  1423. func (m *VedioListReply) XXX_Merge(src proto.Message) {
  1424. xxx_messageInfo_VedioListReply.Merge(m, src)
  1425. }
  1426. func (m *VedioListReply) XXX_Size() int {
  1427. return xxx_messageInfo_VedioListReply.Size(m)
  1428. }
  1429. func (m *VedioListReply) XXX_DiscardUnknown() {
  1430. xxx_messageInfo_VedioListReply.DiscardUnknown(m)
  1431. }
  1432. var xxx_messageInfo_VedioListReply proto.InternalMessageInfo
  1433. func (m *VedioListReply) GetList() []*VedioItem {
  1434. if m != nil {
  1435. return m.List
  1436. }
  1437. return nil
  1438. }
  1439. func (m *VedioListReply) GetPage() int32 {
  1440. if m != nil {
  1441. return m.Page
  1442. }
  1443. return 0
  1444. }
  1445. func (m *VedioListReply) GetTotal() int64 {
  1446. if m != nil {
  1447. return m.Total
  1448. }
  1449. return 0
  1450. }
  1451. func (m *VedioListReply) GetPageSize() int32 {
  1452. if m != nil {
  1453. return m.PageSize
  1454. }
  1455. return 0
  1456. }
  1457. func init() {
  1458. proto.RegisterType((*DeviceAllTypeListRequest)(nil), "v1.DeviceAllTypeListRequest")
  1459. proto.RegisterType((*DeviceAllTypeItem)(nil), "v1.DeviceAllTypeItem")
  1460. proto.RegisterType((*DeviceAllTypeListReply)(nil), "v1.DeviceAllTypeListReply")
  1461. proto.RegisterType((*DeviceTypeListRequest)(nil), "v1.DeviceTypeListRequest")
  1462. proto.RegisterType((*DeviceTypeItem)(nil), "v1.DeviceTypeItem")
  1463. proto.RegisterType((*DeviceTypeListReply)(nil), "v1.DeviceTypeListReply")
  1464. proto.RegisterType((*DeviceListRequest)(nil), "v1.DeviceListRequest")
  1465. proto.RegisterType((*DeviceItem)(nil), "v1.DeviceItem")
  1466. proto.RegisterType((*DeviceListReply)(nil), "v1.DeviceListReply")
  1467. proto.RegisterType((*DockingApproveRequest)(nil), "v1.DockingApproveRequest")
  1468. proto.RegisterType((*DockingApproveReply)(nil), "v1.DockingApproveReply")
  1469. proto.RegisterType((*DeviceDelJobItem)(nil), "v1.DeviceDelJobItem")
  1470. proto.RegisterType((*DeviceDelJobListRequest)(nil), "v1.DeviceDelJobListRequest")
  1471. proto.RegisterType((*DeviceDelJobListReply)(nil), "v1.DeviceDelJobListReply")
  1472. proto.RegisterType((*ChannelListRequest)(nil), "v1.ChannelListRequest")
  1473. proto.RegisterType((*ChannelItem)(nil), "v1.ChannelItem")
  1474. proto.RegisterType((*ChannelListReply)(nil), "v1.ChannelListReply")
  1475. proto.RegisterType((*DeviceChangeNotifyRequest)(nil), "v1.DeviceChangeNotifyRequest")
  1476. proto.RegisterType((*DeviceChangeNotifyReply)(nil), "v1.DeviceChangeNotifyReply")
  1477. proto.RegisterType((*VedioListRequest)(nil), "v1.VedioListRequest")
  1478. proto.RegisterType((*VedioItem)(nil), "v1.VedioItem")
  1479. proto.RegisterType((*VedioListReply)(nil), "v1.VedioListReply")
  1480. }
  1481. func init() {
  1482. proto.RegisterFile("device.proto", fileDescriptor_870276a56ac00da5)
  1483. }
  1484. var fileDescriptor_870276a56ac00da5 = []byte{
  1485. // 1075 bytes of a gzipped FileDescriptorProto
  1486. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xec, 0x97, 0xdf, 0x6e, 0xe3, 0xc4,
  1487. 0x17, 0xc7, 0x65, 0x3b, 0x4e, 0x93, 0x93, 0x3f, 0xcd, 0xce, 0xb6, 0x5d, 0xef, 0xfe, 0x54, 0xb5,
  1488. 0x75, 0xf5, 0x83, 0x70, 0xb1, 0x5d, 0x0a, 0x4f, 0x50, 0x5a, 0x21, 0x15, 0xad, 0x7a, 0xe1, 0xad,
  1489. 0x40, 0x20, 0x21, 0x6b, 0x6a, 0x4f, 0xba, 0x43, 0x1d, 0x8f, 0xb1, 0xa7, 0x91, 0x52, 0x21, 0xc4,
  1490. 0x05, 0x48, 0xdc, 0x20, 0x5e, 0x84, 0x67, 0xe1, 0x21, 0x78, 0x12, 0x34, 0x67, 0xc6, 0xf1, 0x9f,
  1491. 0x66, 0x2b, 0x21, 0xed, 0x45, 0x2f, 0xf6, 0x6e, 0xe6, 0x8c, 0x73, 0xe6, 0xfc, 0xf9, 0x7c, 0x8f,
  1492. 0x1d, 0x18, 0xc6, 0x6c, 0xc1, 0x23, 0x76, 0x94, 0xe5, 0x42, 0x0a, 0x62, 0x2f, 0x8e, 0xfd, 0x17,
  1493. 0xe0, 0x9d, 0xa1, 0xed, 0x24, 0x49, 0x2e, 0x97, 0x19, 0x7b, 0xcd, 0x0b, 0x19, 0xb0, 0x1f, 0x6f,
  1494. 0x59, 0x21, 0xfd, 0xef, 0xe1, 0x49, 0xe3, 0xec, 0x5c, 0xb2, 0x39, 0x19, 0x83, 0xcd, 0x63, 0xcf,
  1495. 0xda, 0xb7, 0xa6, 0x4e, 0x60, 0xf3, 0x98, 0xfc, 0x0f, 0xfa, 0x72, 0x99, 0xb1, 0x30, 0x12, 0x31,
  1496. 0xf3, 0x3a, 0xfb, 0xd6, 0xd4, 0x0d, 0x7a, 0xca, 0x70, 0x2a, 0x62, 0xb6, 0x3a, 0x4c, 0xe9, 0x9c,
  1497. 0x79, 0xee, 0xbe, 0x35, 0xed, 0xeb, 0xc3, 0x0b, 0x3a, 0x67, 0xfe, 0x29, 0xec, 0xac, 0xb9, 0x3a,
  1498. 0x4b, 0x96, 0xe4, 0x13, 0xe8, 0x24, 0xbc, 0x90, 0x9e, 0xb5, 0xef, 0x4c, 0x07, 0x9f, 0x6d, 0x1f,
  1499. 0x2d, 0x8e, 0x8f, 0xee, 0x05, 0x12, 0xe0, 0x23, 0xfe, 0x5b, 0xd8, 0xd6, 0x47, 0xad, 0xe0, 0xc9,
  1500. 0x0e, 0x74, 0x67, 0x3c, 0x91, 0x2c, 0xc7, 0x58, 0xfb, 0x81, 0xd9, 0x91, 0x43, 0x18, 0xe9, 0x55,
  1501. 0x58, 0x48, 0x2a, 0x6f, 0x0b, 0xcf, 0xde, 0x77, 0xa6, 0x6e, 0x30, 0xd4, 0xc6, 0x37, 0x68, 0x23,
  1502. 0x04, 0x3a, 0x19, 0xbd, 0x66, 0x9e, 0x83, 0xf9, 0xe0, 0xda, 0xff, 0xc7, 0x86, 0x71, 0x75, 0xd5,
  1503. 0xda, 0x5a, 0x1c, 0xc2, 0x28, 0xcb, 0xc5, 0x82, 0xc7, 0x2c, 0xd7, 0x29, 0xdb, 0x78, 0xf5, 0xb0,
  1504. 0x34, 0xaa, 0xb4, 0xc9, 0x1e, 0x0c, 0x0a, 0x11, 0x71, 0x9a, 0xe8, 0x92, 0x39, 0xf8, 0x08, 0x68,
  1505. 0x53, 0xa3, 0x68, 0xff, 0xb9, 0xa2, 0x64, 0x17, 0x80, 0x66, 0x59, 0xb2, 0x0c, 0x25, 0x9f, 0x33,
  1506. 0xaf, 0x8b, 0xa7, 0x7d, 0xb4, 0x5c, 0xf2, 0x39, 0x23, 0x1e, 0x6c, 0x44, 0x62, 0x3e, 0x67, 0xa9,
  1507. 0xf4, 0x36, 0xf0, 0xac, 0xdc, 0x92, 0x4f, 0x61, 0x2b, 0x66, 0x0b, 0x96, 0x88, 0x2c, 0xa4, 0x99,
  1508. 0x8a, 0x96, 0x69, 0x17, 0x3d, 0x7c, 0x8c, 0x98, 0xb3, 0x13, 0x7d, 0x84, 0xbe, 0x76, 0xa0, 0x6b,
  1509. 0xea, 0xd7, 0xc7, 0x08, 0xcd, 0x8e, 0x1c, 0xc0, 0xb0, 0xe1, 0x01, 0xd0, 0xc3, 0x80, 0xd6, 0x7e,
  1510. 0xfa, 0x02, 0x7a, 0x33, 0xc6, 0xe2, 0x2b, 0x1a, 0xdd, 0x78, 0x03, 0x9d, 0x41, 0xb9, 0xf7, 0x7f,
  1511. 0xb5, 0xe0, 0x69, 0xbb, 0x9f, 0x8a, 0x88, 0x2d, 0x70, 0xa5, 0x90, 0x34, 0x31, 0xc5, 0xd6, 0x1b,
  1512. 0x55, 0x0c, 0xd5, 0x9a, 0xb0, 0xe0, 0x77, 0xba, 0xd6, 0x6e, 0xd0, 0x53, 0x86, 0x37, 0xfc, 0x8e,
  1513. 0xad, 0xeb, 0x21, 0xf9, 0xc8, 0x80, 0xd5, 0x41, 0xb0, 0x48, 0x05, 0x56, 0x8b, 0xaa, 0xdf, 0xec,
  1514. 0x12, 0xfd, 0x3a, 0x52, 0x7b, 0x30, 0x58, 0xb5, 0x77, 0xd5, 0x77, 0x28, 0x4d, 0xe7, 0x31, 0xf9,
  1515. 0x3f, 0x8c, 0x75, 0x19, 0x42, 0x4d, 0x53, 0x09, 0xd7, 0x48, 0x5b, 0xbf, 0xd4, 0xc6, 0xb5, 0x91,
  1516. 0xed, 0x82, 0x72, 0xf4, 0x03, 0x8b, 0xa4, 0x72, 0xdd, 0x41, 0xd7, 0x7d, 0x63, 0x39, 0x8f, 0x6b,
  1517. 0x34, 0xbb, 0x0d, 0x9a, 0x1b, 0xac, 0x74, 0x5b, 0xac, 0x6c, 0x43, 0x97, 0x17, 0x21, 0x4d, 0x12,
  1518. 0x6c, 0x77, 0x2f, 0x70, 0x79, 0x71, 0x92, 0x24, 0xe4, 0x19, 0x6c, 0x44, 0x34, 0x0d, 0x63, 0x96,
  1519. 0x60, 0x7f, 0x7b, 0x41, 0x37, 0xa2, 0xe9, 0x19, 0x4b, 0xc8, 0x04, 0x9c, 0x88, 0xc7, 0xd8, 0x50,
  1520. 0x27, 0x50, 0x4b, 0xff, 0x4f, 0x07, 0x40, 0xd7, 0x61, 0x2d, 0xef, 0x2d, 0x94, 0xed, 0x87, 0x51,
  1521. 0x76, 0x1e, 0x42, 0xb9, 0xf3, 0x20, 0xca, 0x6e, 0x1b, 0xe5, 0x36, 0x66, 0xdd, 0xfb, 0x98, 0x55,
  1522. 0x84, 0x6e, 0xb4, 0x09, 0x2d, 0x2b, 0x8d, 0x37, 0x6b, 0xc6, 0x07, 0xc6, 0x86, 0x97, 0x4f, 0x61,
  1523. 0x52, 0xd0, 0x19, 0x93, 0xcb, 0x30, 0x67, 0x91, 0xc8, 0xe3, 0x30, 0x15, 0x58, 0x95, 0x7e, 0x30,
  1524. 0xd6, 0xf6, 0x00, 0xcd, 0x17, 0x42, 0x71, 0xa9, 0xdc, 0x6a, 0xce, 0xdd, 0x40, 0x6f, 0x54, 0x9d,
  1525. 0x8a, 0xd4, 0xb0, 0x6d, 0x17, 0xa9, 0x2a, 0xec, 0x0d, 0x5b, 0x7a, 0x43, 0x34, 0xa8, 0xe5, 0xfd,
  1526. 0x49, 0x31, 0x5a, 0x33, 0x29, 0x08, 0x74, 0xf0, 0x6c, 0x8c, 0x67, 0xb8, 0xf6, 0x7f, 0x82, 0xcd,
  1527. 0x3a, 0x98, 0xef, 0x51, 0x1b, 0x7e, 0x43, 0x1b, 0xe3, 0x4a, 0x1b, 0x35, 0x5d, 0x7c, 0x0b, 0xdb,
  1528. 0x67, 0x22, 0xba, 0xe1, 0xe9, 0xb5, 0x99, 0x05, 0xa5, 0x34, 0x2a, 0x32, 0x5c, 0x24, 0xa3, 0x36,
  1529. 0x6a, 0xec, 0xe6, 0xa8, 0xa9, 0xda, 0xe2, 0x68, 0xf8, 0xf4, 0xce, 0xdf, 0x86, 0xa7, 0x6d, 0xd7,
  1530. 0x59, 0xb2, 0xf4, 0xff, 0x70, 0x60, 0xa2, 0xc3, 0x38, 0x63, 0xc9, 0x57, 0xe2, 0xea, 0x03, 0x87,
  1531. 0x6b, 0x39, 0xbc, 0xc7, 0x13, 0xac, 0xe1, 0xa9, 0x8d, 0xe5, 0x0e, 0x74, 0x73, 0x46, 0x0b, 0x91,
  1532. 0x1a, 0x32, 0xcd, 0xae, 0x31, 0xa0, 0x47, 0xad, 0x01, 0xfd, 0x97, 0x05, 0xcf, 0xea, 0xfd, 0x78,
  1533. 0xdc, 0xf3, 0xd1, 0xff, 0xdd, 0x2a, 0xbf, 0x0f, 0xea, 0xe1, 0x2a, 0xd5, 0x34, 0xf4, 0x61, 0xb5,
  1534. 0xf4, 0xb1, 0x92, 0x94, 0x5d, 0x97, 0xd4, 0xba, 0xb8, 0xa6, 0x46, 0x35, 0x2e, 0xaa, 0x66, 0xab,
  1535. 0x52, 0x4d, 0x85, 0xab, 0xd1, 0xce, 0x37, 0x40, 0x4e, 0xdf, 0xd2, 0x34, 0x65, 0x49, 0xbd, 0x66,
  1536. 0xa5, 0x4f, 0xab, 0xe6, 0x53, 0xf7, 0xc9, 0x5e, 0xf5, 0x69, 0x17, 0x20, 0xd2, 0xbf, 0x54, 0x00,
  1537. 0xe8, 0x0f, 0x86, 0xbe, 0xb1, 0x5c, 0x08, 0x7f, 0x06, 0x03, 0xe3, 0x18, 0xc5, 0x51, 0x4e, 0x0d,
  1538. 0xab, 0x9a, 0x1a, 0x46, 0x30, 0xf6, 0x4a, 0x30, 0x0f, 0x7b, 0xac, 0xa6, 0x5a, 0xa7, 0x36, 0xd5,
  1539. 0xfc, 0x9f, 0x61, 0xd2, 0x48, 0x40, 0x55, 0xf1, 0xb0, 0xf1, 0xa5, 0xb6, 0xa9, 0xd2, 0xaf, 0xc5,
  1540. 0xa2, 0x33, 0x5f, 0xe5, 0x68, 0xd7, 0x72, 0x5c, 0x55, 0xd8, 0x79, 0xe7, 0xd0, 0xea, 0x34, 0x9b,
  1541. 0xe2, 0xbf, 0x86, 0xe7, 0xba, 0xb4, 0xea, 0x86, 0x6b, 0x76, 0x21, 0x24, 0x9f, 0x2d, 0x6b, 0x03,
  1542. 0xa8, 0x48, 0x4d, 0xce, 0xaa, 0x66, 0x7b, 0x30, 0xd0, 0xdf, 0xba, 0xd5, 0x48, 0x70, 0x03, 0xd0,
  1543. 0x26, 0xa5, 0x7a, 0xff, 0x79, 0xc9, 0x71, 0xd3, 0x9b, 0x9a, 0x39, 0x7f, 0x5b, 0x30, 0xf9, 0x9a,
  1544. 0xc5, 0x5c, 0x3c, 0xf2, 0x97, 0xff, 0x3b, 0xde, 0xef, 0xe6, 0x35, 0xde, 0xab, 0x5e, 0xe3, 0xbf,
  1545. 0x74, 0xa0, 0x8f, 0x09, 0x7d, 0x98, 0x9e, 0x8f, 0xe2, 0x2d, 0x8e, 0x2d, 0xc8, 0xbc, 0x4d, 0xed,
  1546. 0x9a, 0x67, 0x08, 0x85, 0xc8, 0xa5, 0x37, 0xc1, 0xa6, 0xe0, 0x9a, 0x7c, 0x0c, 0x9b, 0x73, 0x16,
  1547. 0x73, 0x1a, 0xca, 0x9c, 0xa6, 0x05, 0x1e, 0x3f, 0xd1, 0xd1, 0xa3, 0xf9, 0xb2, 0xb4, 0xaa, 0x28,
  1548. 0x4a, 0x31, 0x47, 0xe2, 0x36, 0x95, 0x1e, 0xc1, 0x2c, 0x86, 0xc6, 0x78, 0xaa, 0x6c, 0xfe, 0x1d,
  1549. 0x8c, 0x6b, 0x48, 0x2b, 0xe9, 0x1e, 0x34, 0xa4, 0x3b, 0x52, 0xd2, 0x5d, 0x31, 0xf2, 0x5e, 0x85,
  1550. 0xfb, 0xc5, 0xe1, 0x77, 0x07, 0xc5, 0x9c, 0xe6, 0xf2, 0x25, 0x4b, 0x25, 0xcb, 0xb3, 0x9c, 0x17,
  1551. 0xec, 0xe5, 0x9c, 0xa6, 0xf4, 0x9a, 0xa9, 0x2f, 0x82, 0x57, 0xd9, 0xd5, 0xab, 0xc5, 0xf1, 0x55,
  1552. 0x17, 0xff, 0x93, 0x7e, 0xfe, 0x6f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb4, 0x91, 0xbf, 0xb1, 0xa3,
  1553. 0x0e, 0x00, 0x00,
  1554. }