WAArmadilloTransportEvent.pb.go 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.10
  4. // protoc v3.21.12
  5. // source: waArmadilloTransportEvent/WAArmadilloTransportEvent.proto
  6. package waArmadilloTransportEvent
  7. import (
  8. reflect "reflect"
  9. sync "sync"
  10. unsafe "unsafe"
  11. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  12. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  13. )
  14. const (
  15. // Verify that this generated code is sufficiently up-to-date.
  16. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  17. // Verify that runtime/protoimpl is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  19. )
  20. type TransportEvent_Event_IcdcAlert_Type int32
  21. const (
  22. TransportEvent_Event_IcdcAlert_NONE TransportEvent_Event_IcdcAlert_Type = 0
  23. TransportEvent_Event_IcdcAlert_DETECTED TransportEvent_Event_IcdcAlert_Type = 1
  24. TransportEvent_Event_IcdcAlert_CLEARED TransportEvent_Event_IcdcAlert_Type = 2
  25. )
  26. // Enum value maps for TransportEvent_Event_IcdcAlert_Type.
  27. var (
  28. TransportEvent_Event_IcdcAlert_Type_name = map[int32]string{
  29. 0: "NONE",
  30. 1: "DETECTED",
  31. 2: "CLEARED",
  32. }
  33. TransportEvent_Event_IcdcAlert_Type_value = map[string]int32{
  34. "NONE": 0,
  35. "DETECTED": 1,
  36. "CLEARED": 2,
  37. }
  38. )
  39. func (x TransportEvent_Event_IcdcAlert_Type) Enum() *TransportEvent_Event_IcdcAlert_Type {
  40. p := new(TransportEvent_Event_IcdcAlert_Type)
  41. *p = x
  42. return p
  43. }
  44. func (x TransportEvent_Event_IcdcAlert_Type) String() string {
  45. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  46. }
  47. func (TransportEvent_Event_IcdcAlert_Type) Descriptor() protoreflect.EnumDescriptor {
  48. return file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_enumTypes[0].Descriptor()
  49. }
  50. func (TransportEvent_Event_IcdcAlert_Type) Type() protoreflect.EnumType {
  51. return &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_enumTypes[0]
  52. }
  53. func (x TransportEvent_Event_IcdcAlert_Type) Number() protoreflect.EnumNumber {
  54. return protoreflect.EnumNumber(x)
  55. }
  56. // Deprecated: Do not use.
  57. func (x *TransportEvent_Event_IcdcAlert_Type) UnmarshalJSON(b []byte) error {
  58. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  59. if err != nil {
  60. return err
  61. }
  62. *x = TransportEvent_Event_IcdcAlert_Type(num)
  63. return nil
  64. }
  65. // Deprecated: Use TransportEvent_Event_IcdcAlert_Type.Descriptor instead.
  66. func (TransportEvent_Event_IcdcAlert_Type) EnumDescriptor() ([]byte, []int) {
  67. return file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescGZIP(), []int{0, 0, 0, 0}
  68. }
  69. type TransportEvent_Event_DeviceChange_Type int32
  70. const (
  71. TransportEvent_Event_DeviceChange_NONE TransportEvent_Event_DeviceChange_Type = 0
  72. TransportEvent_Event_DeviceChange_ADDED TransportEvent_Event_DeviceChange_Type = 1
  73. TransportEvent_Event_DeviceChange_REMOVED TransportEvent_Event_DeviceChange_Type = 2
  74. TransportEvent_Event_DeviceChange_REPLACED TransportEvent_Event_DeviceChange_Type = 3
  75. )
  76. // Enum value maps for TransportEvent_Event_DeviceChange_Type.
  77. var (
  78. TransportEvent_Event_DeviceChange_Type_name = map[int32]string{
  79. 0: "NONE",
  80. 1: "ADDED",
  81. 2: "REMOVED",
  82. 3: "REPLACED",
  83. }
  84. TransportEvent_Event_DeviceChange_Type_value = map[string]int32{
  85. "NONE": 0,
  86. "ADDED": 1,
  87. "REMOVED": 2,
  88. "REPLACED": 3,
  89. }
  90. )
  91. func (x TransportEvent_Event_DeviceChange_Type) Enum() *TransportEvent_Event_DeviceChange_Type {
  92. p := new(TransportEvent_Event_DeviceChange_Type)
  93. *p = x
  94. return p
  95. }
  96. func (x TransportEvent_Event_DeviceChange_Type) String() string {
  97. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  98. }
  99. func (TransportEvent_Event_DeviceChange_Type) Descriptor() protoreflect.EnumDescriptor {
  100. return file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_enumTypes[1].Descriptor()
  101. }
  102. func (TransportEvent_Event_DeviceChange_Type) Type() protoreflect.EnumType {
  103. return &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_enumTypes[1]
  104. }
  105. func (x TransportEvent_Event_DeviceChange_Type) Number() protoreflect.EnumNumber {
  106. return protoreflect.EnumNumber(x)
  107. }
  108. // Deprecated: Do not use.
  109. func (x *TransportEvent_Event_DeviceChange_Type) UnmarshalJSON(b []byte) error {
  110. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  111. if err != nil {
  112. return err
  113. }
  114. *x = TransportEvent_Event_DeviceChange_Type(num)
  115. return nil
  116. }
  117. // Deprecated: Use TransportEvent_Event_DeviceChange_Type.Descriptor instead.
  118. func (TransportEvent_Event_DeviceChange_Type) EnumDescriptor() ([]byte, []int) {
  119. return file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescGZIP(), []int{0, 0, 1, 0}
  120. }
  121. type TransportEvent_Placeholder_Type int32
  122. const (
  123. TransportEvent_Placeholder_DECRYPTION_FAILURE TransportEvent_Placeholder_Type = 1
  124. TransportEvent_Placeholder_UNAVAILABLE_MESSAGE TransportEvent_Placeholder_Type = 2
  125. )
  126. // Enum value maps for TransportEvent_Placeholder_Type.
  127. var (
  128. TransportEvent_Placeholder_Type_name = map[int32]string{
  129. 1: "DECRYPTION_FAILURE",
  130. 2: "UNAVAILABLE_MESSAGE",
  131. }
  132. TransportEvent_Placeholder_Type_value = map[string]int32{
  133. "DECRYPTION_FAILURE": 1,
  134. "UNAVAILABLE_MESSAGE": 2,
  135. }
  136. )
  137. func (x TransportEvent_Placeholder_Type) Enum() *TransportEvent_Placeholder_Type {
  138. p := new(TransportEvent_Placeholder_Type)
  139. *p = x
  140. return p
  141. }
  142. func (x TransportEvent_Placeholder_Type) String() string {
  143. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  144. }
  145. func (TransportEvent_Placeholder_Type) Descriptor() protoreflect.EnumDescriptor {
  146. return file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_enumTypes[2].Descriptor()
  147. }
  148. func (TransportEvent_Placeholder_Type) Type() protoreflect.EnumType {
  149. return &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_enumTypes[2]
  150. }
  151. func (x TransportEvent_Placeholder_Type) Number() protoreflect.EnumNumber {
  152. return protoreflect.EnumNumber(x)
  153. }
  154. // Deprecated: Do not use.
  155. func (x *TransportEvent_Placeholder_Type) UnmarshalJSON(b []byte) error {
  156. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  157. if err != nil {
  158. return err
  159. }
  160. *x = TransportEvent_Placeholder_Type(num)
  161. return nil
  162. }
  163. // Deprecated: Use TransportEvent_Placeholder_Type.Descriptor instead.
  164. func (TransportEvent_Placeholder_Type) EnumDescriptor() ([]byte, []int) {
  165. return file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescGZIP(), []int{0, 1, 0}
  166. }
  167. type TransportEvent struct {
  168. state protoimpl.MessageState `protogen:"open.v1"`
  169. // Types that are valid to be assigned to Content:
  170. //
  171. // *TransportEvent_Placeholder_
  172. // *TransportEvent_Event_
  173. Content isTransportEvent_Content `protobuf_oneof:"content"`
  174. unknownFields protoimpl.UnknownFields
  175. sizeCache protoimpl.SizeCache
  176. }
  177. func (x *TransportEvent) Reset() {
  178. *x = TransportEvent{}
  179. mi := &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes[0]
  180. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  181. ms.StoreMessageInfo(mi)
  182. }
  183. func (x *TransportEvent) String() string {
  184. return protoimpl.X.MessageStringOf(x)
  185. }
  186. func (*TransportEvent) ProtoMessage() {}
  187. func (x *TransportEvent) ProtoReflect() protoreflect.Message {
  188. mi := &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes[0]
  189. if x != nil {
  190. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  191. if ms.LoadMessageInfo() == nil {
  192. ms.StoreMessageInfo(mi)
  193. }
  194. return ms
  195. }
  196. return mi.MessageOf(x)
  197. }
  198. // Deprecated: Use TransportEvent.ProtoReflect.Descriptor instead.
  199. func (*TransportEvent) Descriptor() ([]byte, []int) {
  200. return file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescGZIP(), []int{0}
  201. }
  202. func (x *TransportEvent) GetContent() isTransportEvent_Content {
  203. if x != nil {
  204. return x.Content
  205. }
  206. return nil
  207. }
  208. func (x *TransportEvent) GetPlaceholder() *TransportEvent_Placeholder {
  209. if x != nil {
  210. if x, ok := x.Content.(*TransportEvent_Placeholder_); ok {
  211. return x.Placeholder
  212. }
  213. }
  214. return nil
  215. }
  216. func (x *TransportEvent) GetEvent() *TransportEvent_Event {
  217. if x != nil {
  218. if x, ok := x.Content.(*TransportEvent_Event_); ok {
  219. return x.Event
  220. }
  221. }
  222. return nil
  223. }
  224. type isTransportEvent_Content interface {
  225. isTransportEvent_Content()
  226. }
  227. type TransportEvent_Placeholder_ struct {
  228. Placeholder *TransportEvent_Placeholder `protobuf:"bytes,1,opt,name=placeholder,oneof"`
  229. }
  230. type TransportEvent_Event_ struct {
  231. Event *TransportEvent_Event `protobuf:"bytes,2,opt,name=event,oneof"`
  232. }
  233. func (*TransportEvent_Placeholder_) isTransportEvent_Content() {}
  234. func (*TransportEvent_Event_) isTransportEvent_Content() {}
  235. type TransportEvent_Event struct {
  236. state protoimpl.MessageState `protogen:"open.v1"`
  237. // Types that are valid to be assigned to Event:
  238. //
  239. // *TransportEvent_Event_DeviceChange_
  240. // *TransportEvent_Event_IcdcAlert_
  241. Event isTransportEvent_Event_Event `protobuf_oneof:"event"`
  242. unknownFields protoimpl.UnknownFields
  243. sizeCache protoimpl.SizeCache
  244. }
  245. func (x *TransportEvent_Event) Reset() {
  246. *x = TransportEvent_Event{}
  247. mi := &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes[1]
  248. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  249. ms.StoreMessageInfo(mi)
  250. }
  251. func (x *TransportEvent_Event) String() string {
  252. return protoimpl.X.MessageStringOf(x)
  253. }
  254. func (*TransportEvent_Event) ProtoMessage() {}
  255. func (x *TransportEvent_Event) ProtoReflect() protoreflect.Message {
  256. mi := &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes[1]
  257. if x != nil {
  258. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  259. if ms.LoadMessageInfo() == nil {
  260. ms.StoreMessageInfo(mi)
  261. }
  262. return ms
  263. }
  264. return mi.MessageOf(x)
  265. }
  266. // Deprecated: Use TransportEvent_Event.ProtoReflect.Descriptor instead.
  267. func (*TransportEvent_Event) Descriptor() ([]byte, []int) {
  268. return file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescGZIP(), []int{0, 0}
  269. }
  270. func (x *TransportEvent_Event) GetEvent() isTransportEvent_Event_Event {
  271. if x != nil {
  272. return x.Event
  273. }
  274. return nil
  275. }
  276. func (x *TransportEvent_Event) GetDeviceChange() *TransportEvent_Event_DeviceChange {
  277. if x != nil {
  278. if x, ok := x.Event.(*TransportEvent_Event_DeviceChange_); ok {
  279. return x.DeviceChange
  280. }
  281. }
  282. return nil
  283. }
  284. func (x *TransportEvent_Event) GetIcdcAlert() *TransportEvent_Event_IcdcAlert {
  285. if x != nil {
  286. if x, ok := x.Event.(*TransportEvent_Event_IcdcAlert_); ok {
  287. return x.IcdcAlert
  288. }
  289. }
  290. return nil
  291. }
  292. type isTransportEvent_Event_Event interface {
  293. isTransportEvent_Event_Event()
  294. }
  295. type TransportEvent_Event_DeviceChange_ struct {
  296. DeviceChange *TransportEvent_Event_DeviceChange `protobuf:"bytes,1,opt,name=deviceChange,oneof"`
  297. }
  298. type TransportEvent_Event_IcdcAlert_ struct {
  299. IcdcAlert *TransportEvent_Event_IcdcAlert `protobuf:"bytes,2,opt,name=icdcAlert,oneof"`
  300. }
  301. func (*TransportEvent_Event_DeviceChange_) isTransportEvent_Event_Event() {}
  302. func (*TransportEvent_Event_IcdcAlert_) isTransportEvent_Event_Event() {}
  303. type TransportEvent_Placeholder struct {
  304. state protoimpl.MessageState `protogen:"open.v1"`
  305. Type *TransportEvent_Placeholder_Type `protobuf:"varint,1,opt,name=type,enum=WAArmadilloTransportEvent.TransportEvent_Placeholder_Type" json:"type,omitempty"`
  306. unknownFields protoimpl.UnknownFields
  307. sizeCache protoimpl.SizeCache
  308. }
  309. func (x *TransportEvent_Placeholder) Reset() {
  310. *x = TransportEvent_Placeholder{}
  311. mi := &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes[2]
  312. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  313. ms.StoreMessageInfo(mi)
  314. }
  315. func (x *TransportEvent_Placeholder) String() string {
  316. return protoimpl.X.MessageStringOf(x)
  317. }
  318. func (*TransportEvent_Placeholder) ProtoMessage() {}
  319. func (x *TransportEvent_Placeholder) ProtoReflect() protoreflect.Message {
  320. mi := &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes[2]
  321. if x != nil {
  322. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  323. if ms.LoadMessageInfo() == nil {
  324. ms.StoreMessageInfo(mi)
  325. }
  326. return ms
  327. }
  328. return mi.MessageOf(x)
  329. }
  330. // Deprecated: Use TransportEvent_Placeholder.ProtoReflect.Descriptor instead.
  331. func (*TransportEvent_Placeholder) Descriptor() ([]byte, []int) {
  332. return file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescGZIP(), []int{0, 1}
  333. }
  334. func (x *TransportEvent_Placeholder) GetType() TransportEvent_Placeholder_Type {
  335. if x != nil && x.Type != nil {
  336. return *x.Type
  337. }
  338. return TransportEvent_Placeholder_DECRYPTION_FAILURE
  339. }
  340. type TransportEvent_Event_IcdcAlert struct {
  341. state protoimpl.MessageState `protogen:"open.v1"`
  342. Type *TransportEvent_Event_IcdcAlert_Type `protobuf:"varint,1,opt,name=type,enum=WAArmadilloTransportEvent.TransportEvent_Event_IcdcAlert_Type" json:"type,omitempty"`
  343. unknownFields protoimpl.UnknownFields
  344. sizeCache protoimpl.SizeCache
  345. }
  346. func (x *TransportEvent_Event_IcdcAlert) Reset() {
  347. *x = TransportEvent_Event_IcdcAlert{}
  348. mi := &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes[3]
  349. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  350. ms.StoreMessageInfo(mi)
  351. }
  352. func (x *TransportEvent_Event_IcdcAlert) String() string {
  353. return protoimpl.X.MessageStringOf(x)
  354. }
  355. func (*TransportEvent_Event_IcdcAlert) ProtoMessage() {}
  356. func (x *TransportEvent_Event_IcdcAlert) ProtoReflect() protoreflect.Message {
  357. mi := &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes[3]
  358. if x != nil {
  359. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  360. if ms.LoadMessageInfo() == nil {
  361. ms.StoreMessageInfo(mi)
  362. }
  363. return ms
  364. }
  365. return mi.MessageOf(x)
  366. }
  367. // Deprecated: Use TransportEvent_Event_IcdcAlert.ProtoReflect.Descriptor instead.
  368. func (*TransportEvent_Event_IcdcAlert) Descriptor() ([]byte, []int) {
  369. return file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescGZIP(), []int{0, 0, 0}
  370. }
  371. func (x *TransportEvent_Event_IcdcAlert) GetType() TransportEvent_Event_IcdcAlert_Type {
  372. if x != nil && x.Type != nil {
  373. return *x.Type
  374. }
  375. return TransportEvent_Event_IcdcAlert_NONE
  376. }
  377. type TransportEvent_Event_DeviceChange struct {
  378. state protoimpl.MessageState `protogen:"open.v1"`
  379. Type *TransportEvent_Event_DeviceChange_Type `protobuf:"varint,1,opt,name=type,enum=WAArmadilloTransportEvent.TransportEvent_Event_DeviceChange_Type" json:"type,omitempty"`
  380. DeviceName *string `protobuf:"bytes,2,opt,name=deviceName" json:"deviceName,omitempty"`
  381. DevicePlatform *string `protobuf:"bytes,3,opt,name=devicePlatform" json:"devicePlatform,omitempty"`
  382. DeviceModel *string `protobuf:"bytes,4,opt,name=deviceModel" json:"deviceModel,omitempty"`
  383. unknownFields protoimpl.UnknownFields
  384. sizeCache protoimpl.SizeCache
  385. }
  386. func (x *TransportEvent_Event_DeviceChange) Reset() {
  387. *x = TransportEvent_Event_DeviceChange{}
  388. mi := &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes[4]
  389. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  390. ms.StoreMessageInfo(mi)
  391. }
  392. func (x *TransportEvent_Event_DeviceChange) String() string {
  393. return protoimpl.X.MessageStringOf(x)
  394. }
  395. func (*TransportEvent_Event_DeviceChange) ProtoMessage() {}
  396. func (x *TransportEvent_Event_DeviceChange) ProtoReflect() protoreflect.Message {
  397. mi := &file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes[4]
  398. if x != nil {
  399. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  400. if ms.LoadMessageInfo() == nil {
  401. ms.StoreMessageInfo(mi)
  402. }
  403. return ms
  404. }
  405. return mi.MessageOf(x)
  406. }
  407. // Deprecated: Use TransportEvent_Event_DeviceChange.ProtoReflect.Descriptor instead.
  408. func (*TransportEvent_Event_DeviceChange) Descriptor() ([]byte, []int) {
  409. return file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescGZIP(), []int{0, 0, 1}
  410. }
  411. func (x *TransportEvent_Event_DeviceChange) GetType() TransportEvent_Event_DeviceChange_Type {
  412. if x != nil && x.Type != nil {
  413. return *x.Type
  414. }
  415. return TransportEvent_Event_DeviceChange_NONE
  416. }
  417. func (x *TransportEvent_Event_DeviceChange) GetDeviceName() string {
  418. if x != nil && x.DeviceName != nil {
  419. return *x.DeviceName
  420. }
  421. return ""
  422. }
  423. func (x *TransportEvent_Event_DeviceChange) GetDevicePlatform() string {
  424. if x != nil && x.DevicePlatform != nil {
  425. return *x.DevicePlatform
  426. }
  427. return ""
  428. }
  429. func (x *TransportEvent_Event_DeviceChange) GetDeviceModel() string {
  430. if x != nil && x.DeviceModel != nil {
  431. return *x.DeviceModel
  432. }
  433. return ""
  434. }
  435. var File_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto protoreflect.FileDescriptor
  436. const file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDesc = "" +
  437. "\n" +
  438. "9waArmadilloTransportEvent/WAArmadilloTransportEvent.proto\x12\x19WAArmadilloTransportEvent\"\xc3\a\n" +
  439. "\x0eTransportEvent\x12Y\n" +
  440. "\vplaceholder\x18\x01 \x01(\v25.WAArmadilloTransportEvent.TransportEvent.PlaceholderH\x00R\vplaceholder\x12G\n" +
  441. "\x05event\x18\x02 \x01(\v2/.WAArmadilloTransportEvent.TransportEvent.EventH\x00R\x05event\x1a\xe8\x04\n" +
  442. "\x05Event\x12b\n" +
  443. "\fdeviceChange\x18\x01 \x01(\v2<.WAArmadilloTransportEvent.TransportEvent.Event.DeviceChangeH\x00R\fdeviceChange\x12Y\n" +
  444. "\ticdcAlert\x18\x02 \x01(\v29.WAArmadilloTransportEvent.TransportEvent.Event.IcdcAlertH\x00R\ticdcAlert\x1a\x8c\x01\n" +
  445. "\tIcdcAlert\x12R\n" +
  446. "\x04type\x18\x01 \x01(\x0e2>.WAArmadilloTransportEvent.TransportEvent.Event.IcdcAlert.TypeR\x04type\"+\n" +
  447. "\x04Type\x12\b\n" +
  448. "\x04NONE\x10\x00\x12\f\n" +
  449. "\bDETECTED\x10\x01\x12\v\n" +
  450. "\aCLEARED\x10\x02\x1a\x87\x02\n" +
  451. "\fDeviceChange\x12U\n" +
  452. "\x04type\x18\x01 \x01(\x0e2A.WAArmadilloTransportEvent.TransportEvent.Event.DeviceChange.TypeR\x04type\x12\x1e\n" +
  453. "\n" +
  454. "deviceName\x18\x02 \x01(\tR\n" +
  455. "deviceName\x12&\n" +
  456. "\x0edevicePlatform\x18\x03 \x01(\tR\x0edevicePlatform\x12 \n" +
  457. "\vdeviceModel\x18\x04 \x01(\tR\vdeviceModel\"6\n" +
  458. "\x04Type\x12\b\n" +
  459. "\x04NONE\x10\x00\x12\t\n" +
  460. "\x05ADDED\x10\x01\x12\v\n" +
  461. "\aREMOVED\x10\x02\x12\f\n" +
  462. "\bREPLACED\x10\x03B\a\n" +
  463. "\x05event\x1a\x96\x01\n" +
  464. "\vPlaceholder\x12N\n" +
  465. "\x04type\x18\x01 \x01(\x0e2:.WAArmadilloTransportEvent.TransportEvent.Placeholder.TypeR\x04type\"7\n" +
  466. "\x04Type\x12\x16\n" +
  467. "\x12DECRYPTION_FAILURE\x10\x01\x12\x17\n" +
  468. "\x13UNAVAILABLE_MESSAGE\x10\x02B\t\n" +
  469. "\acontentB5Z3git.bobomao.top/joey/testwh/proto/waArmadilloTransportEvent"
  470. var (
  471. file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescOnce sync.Once
  472. file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescData []byte
  473. )
  474. func file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescGZIP() []byte {
  475. file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescOnce.Do(func() {
  476. file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDesc), len(file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDesc)))
  477. })
  478. return file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDescData
  479. }
  480. var file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
  481. var file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  482. var file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_goTypes = []any{
  483. (TransportEvent_Event_IcdcAlert_Type)(0), // 0: WAArmadilloTransportEvent.TransportEvent.Event.IcdcAlert.Type
  484. (TransportEvent_Event_DeviceChange_Type)(0), // 1: WAArmadilloTransportEvent.TransportEvent.Event.DeviceChange.Type
  485. (TransportEvent_Placeholder_Type)(0), // 2: WAArmadilloTransportEvent.TransportEvent.Placeholder.Type
  486. (*TransportEvent)(nil), // 3: WAArmadilloTransportEvent.TransportEvent
  487. (*TransportEvent_Event)(nil), // 4: WAArmadilloTransportEvent.TransportEvent.Event
  488. (*TransportEvent_Placeholder)(nil), // 5: WAArmadilloTransportEvent.TransportEvent.Placeholder
  489. (*TransportEvent_Event_IcdcAlert)(nil), // 6: WAArmadilloTransportEvent.TransportEvent.Event.IcdcAlert
  490. (*TransportEvent_Event_DeviceChange)(nil), // 7: WAArmadilloTransportEvent.TransportEvent.Event.DeviceChange
  491. }
  492. var file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_depIdxs = []int32{
  493. 5, // 0: WAArmadilloTransportEvent.TransportEvent.placeholder:type_name -> WAArmadilloTransportEvent.TransportEvent.Placeholder
  494. 4, // 1: WAArmadilloTransportEvent.TransportEvent.event:type_name -> WAArmadilloTransportEvent.TransportEvent.Event
  495. 7, // 2: WAArmadilloTransportEvent.TransportEvent.Event.deviceChange:type_name -> WAArmadilloTransportEvent.TransportEvent.Event.DeviceChange
  496. 6, // 3: WAArmadilloTransportEvent.TransportEvent.Event.icdcAlert:type_name -> WAArmadilloTransportEvent.TransportEvent.Event.IcdcAlert
  497. 2, // 4: WAArmadilloTransportEvent.TransportEvent.Placeholder.type:type_name -> WAArmadilloTransportEvent.TransportEvent.Placeholder.Type
  498. 0, // 5: WAArmadilloTransportEvent.TransportEvent.Event.IcdcAlert.type:type_name -> WAArmadilloTransportEvent.TransportEvent.Event.IcdcAlert.Type
  499. 1, // 6: WAArmadilloTransportEvent.TransportEvent.Event.DeviceChange.type:type_name -> WAArmadilloTransportEvent.TransportEvent.Event.DeviceChange.Type
  500. 7, // [7:7] is the sub-list for method output_type
  501. 7, // [7:7] is the sub-list for method input_type
  502. 7, // [7:7] is the sub-list for extension type_name
  503. 7, // [7:7] is the sub-list for extension extendee
  504. 0, // [0:7] is the sub-list for field type_name
  505. }
  506. func init() { file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_init() }
  507. func file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_init() {
  508. if File_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto != nil {
  509. return
  510. }
  511. file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes[0].OneofWrappers = []any{
  512. (*TransportEvent_Placeholder_)(nil),
  513. (*TransportEvent_Event_)(nil),
  514. }
  515. file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes[1].OneofWrappers = []any{
  516. (*TransportEvent_Event_DeviceChange_)(nil),
  517. (*TransportEvent_Event_IcdcAlert_)(nil),
  518. }
  519. type x struct{}
  520. out := protoimpl.TypeBuilder{
  521. File: protoimpl.DescBuilder{
  522. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  523. RawDescriptor: unsafe.Slice(unsafe.StringData(file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDesc), len(file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_rawDesc)),
  524. NumEnums: 3,
  525. NumMessages: 5,
  526. NumExtensions: 0,
  527. NumServices: 0,
  528. },
  529. GoTypes: file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_goTypes,
  530. DependencyIndexes: file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_depIdxs,
  531. EnumInfos: file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_enumTypes,
  532. MessageInfos: file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_msgTypes,
  533. }.Build()
  534. File_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto = out.File
  535. file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_goTypes = nil
  536. file_waArmadilloTransportEvent_WAArmadilloTransportEvent_proto_depIdxs = nil
  537. }