WACommonParameterised.pb.go 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626
  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: waCommonParameterised/WACommonParameterised.proto
  6. package waCommonParameterised
  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 FutureProofBehavior int32
  21. const (
  22. FutureProofBehavior_PLACEHOLDER FutureProofBehavior = 0
  23. FutureProofBehavior_NO_PLACEHOLDER FutureProofBehavior = 1
  24. FutureProofBehavior_IGNORE FutureProofBehavior = 2
  25. )
  26. // Enum value maps for FutureProofBehavior.
  27. var (
  28. FutureProofBehavior_name = map[int32]string{
  29. 0: "PLACEHOLDER",
  30. 1: "NO_PLACEHOLDER",
  31. 2: "IGNORE",
  32. }
  33. FutureProofBehavior_value = map[string]int32{
  34. "PLACEHOLDER": 0,
  35. "NO_PLACEHOLDER": 1,
  36. "IGNORE": 2,
  37. }
  38. )
  39. func (x FutureProofBehavior) Enum() *FutureProofBehavior {
  40. p := new(FutureProofBehavior)
  41. *p = x
  42. return p
  43. }
  44. func (x FutureProofBehavior) String() string {
  45. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  46. }
  47. func (FutureProofBehavior) Descriptor() protoreflect.EnumDescriptor {
  48. return file_waCommonParameterised_WACommonParameterised_proto_enumTypes[0].Descriptor()
  49. }
  50. func (FutureProofBehavior) Type() protoreflect.EnumType {
  51. return &file_waCommonParameterised_WACommonParameterised_proto_enumTypes[0]
  52. }
  53. func (x FutureProofBehavior) Number() protoreflect.EnumNumber {
  54. return protoreflect.EnumNumber(x)
  55. }
  56. // Deprecated: Do not use.
  57. func (x *FutureProofBehavior) UnmarshalJSON(b []byte) error {
  58. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  59. if err != nil {
  60. return err
  61. }
  62. *x = FutureProofBehavior(num)
  63. return nil
  64. }
  65. // Deprecated: Use FutureProofBehavior.Descriptor instead.
  66. func (FutureProofBehavior) EnumDescriptor() ([]byte, []int) {
  67. return file_waCommonParameterised_WACommonParameterised_proto_rawDescGZIP(), []int{0}
  68. }
  69. type Command_CommandType int32
  70. const (
  71. Command_EVERYONE Command_CommandType = 1
  72. Command_SILENT Command_CommandType = 2
  73. Command_AI Command_CommandType = 3
  74. Command_AI_IMAGINE Command_CommandType = 4
  75. )
  76. // Enum value maps for Command_CommandType.
  77. var (
  78. Command_CommandType_name = map[int32]string{
  79. 1: "EVERYONE",
  80. 2: "SILENT",
  81. 3: "AI",
  82. 4: "AI_IMAGINE",
  83. }
  84. Command_CommandType_value = map[string]int32{
  85. "EVERYONE": 1,
  86. "SILENT": 2,
  87. "AI": 3,
  88. "AI_IMAGINE": 4,
  89. }
  90. )
  91. func (x Command_CommandType) Enum() *Command_CommandType {
  92. p := new(Command_CommandType)
  93. *p = x
  94. return p
  95. }
  96. func (x Command_CommandType) String() string {
  97. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  98. }
  99. func (Command_CommandType) Descriptor() protoreflect.EnumDescriptor {
  100. return file_waCommonParameterised_WACommonParameterised_proto_enumTypes[1].Descriptor()
  101. }
  102. func (Command_CommandType) Type() protoreflect.EnumType {
  103. return &file_waCommonParameterised_WACommonParameterised_proto_enumTypes[1]
  104. }
  105. func (x Command_CommandType) Number() protoreflect.EnumNumber {
  106. return protoreflect.EnumNumber(x)
  107. }
  108. // Deprecated: Do not use.
  109. func (x *Command_CommandType) UnmarshalJSON(b []byte) error {
  110. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  111. if err != nil {
  112. return err
  113. }
  114. *x = Command_CommandType(num)
  115. return nil
  116. }
  117. // Deprecated: Use Command_CommandType.Descriptor instead.
  118. func (Command_CommandType) EnumDescriptor() ([]byte, []int) {
  119. return file_waCommonParameterised_WACommonParameterised_proto_rawDescGZIP(), []int{1, 0}
  120. }
  121. type Mention_MentionType int32
  122. const (
  123. Mention_PROFILE Mention_MentionType = 0
  124. )
  125. // Enum value maps for Mention_MentionType.
  126. var (
  127. Mention_MentionType_name = map[int32]string{
  128. 0: "PROFILE",
  129. }
  130. Mention_MentionType_value = map[string]int32{
  131. "PROFILE": 0,
  132. }
  133. )
  134. func (x Mention_MentionType) Enum() *Mention_MentionType {
  135. p := new(Mention_MentionType)
  136. *p = x
  137. return p
  138. }
  139. func (x Mention_MentionType) String() string {
  140. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  141. }
  142. func (Mention_MentionType) Descriptor() protoreflect.EnumDescriptor {
  143. return file_waCommonParameterised_WACommonParameterised_proto_enumTypes[2].Descriptor()
  144. }
  145. func (Mention_MentionType) Type() protoreflect.EnumType {
  146. return &file_waCommonParameterised_WACommonParameterised_proto_enumTypes[2]
  147. }
  148. func (x Mention_MentionType) Number() protoreflect.EnumNumber {
  149. return protoreflect.EnumNumber(x)
  150. }
  151. // Deprecated: Do not use.
  152. func (x *Mention_MentionType) UnmarshalJSON(b []byte) error {
  153. num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
  154. if err != nil {
  155. return err
  156. }
  157. *x = Mention_MentionType(num)
  158. return nil
  159. }
  160. // Deprecated: Use Mention_MentionType.Descriptor instead.
  161. func (Mention_MentionType) EnumDescriptor() ([]byte, []int) {
  162. return file_waCommonParameterised_WACommonParameterised_proto_rawDescGZIP(), []int{2, 0}
  163. }
  164. type MessageKey struct {
  165. state protoimpl.MessageState `protogen:"open.v1"`
  166. RemoteJID *string `protobuf:"bytes,1,opt,name=remoteJID" json:"remoteJID,omitempty"`
  167. FromMe *bool `protobuf:"varint,2,opt,name=fromMe" json:"fromMe,omitempty"`
  168. ID *string `protobuf:"bytes,3,opt,name=ID" json:"ID,omitempty"`
  169. Participant *string `protobuf:"bytes,4,opt,name=participant" json:"participant,omitempty"`
  170. unknownFields protoimpl.UnknownFields
  171. sizeCache protoimpl.SizeCache
  172. }
  173. func (x *MessageKey) Reset() {
  174. *x = MessageKey{}
  175. mi := &file_waCommonParameterised_WACommonParameterised_proto_msgTypes[0]
  176. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  177. ms.StoreMessageInfo(mi)
  178. }
  179. func (x *MessageKey) String() string {
  180. return protoimpl.X.MessageStringOf(x)
  181. }
  182. func (*MessageKey) ProtoMessage() {}
  183. func (x *MessageKey) ProtoReflect() protoreflect.Message {
  184. mi := &file_waCommonParameterised_WACommonParameterised_proto_msgTypes[0]
  185. if x != nil {
  186. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  187. if ms.LoadMessageInfo() == nil {
  188. ms.StoreMessageInfo(mi)
  189. }
  190. return ms
  191. }
  192. return mi.MessageOf(x)
  193. }
  194. // Deprecated: Use MessageKey.ProtoReflect.Descriptor instead.
  195. func (*MessageKey) Descriptor() ([]byte, []int) {
  196. return file_waCommonParameterised_WACommonParameterised_proto_rawDescGZIP(), []int{0}
  197. }
  198. func (x *MessageKey) GetRemoteJID() string {
  199. if x != nil && x.RemoteJID != nil {
  200. return *x.RemoteJID
  201. }
  202. return ""
  203. }
  204. func (x *MessageKey) GetFromMe() bool {
  205. if x != nil && x.FromMe != nil {
  206. return *x.FromMe
  207. }
  208. return false
  209. }
  210. func (x *MessageKey) GetID() string {
  211. if x != nil && x.ID != nil {
  212. return *x.ID
  213. }
  214. return ""
  215. }
  216. func (x *MessageKey) GetParticipant() string {
  217. if x != nil && x.Participant != nil {
  218. return *x.Participant
  219. }
  220. return ""
  221. }
  222. type Command struct {
  223. state protoimpl.MessageState `protogen:"open.v1"`
  224. CommandType *Command_CommandType `protobuf:"varint,1,opt,name=commandType,enum=WACommonParameterised.Command_CommandType" json:"commandType,omitempty"`
  225. Offset *uint32 `protobuf:"varint,2,opt,name=offset" json:"offset,omitempty"`
  226. Length *uint32 `protobuf:"varint,3,opt,name=length" json:"length,omitempty"`
  227. ValidationToken *string `protobuf:"bytes,4,opt,name=validationToken" json:"validationToken,omitempty"`
  228. unknownFields protoimpl.UnknownFields
  229. sizeCache protoimpl.SizeCache
  230. }
  231. func (x *Command) Reset() {
  232. *x = Command{}
  233. mi := &file_waCommonParameterised_WACommonParameterised_proto_msgTypes[1]
  234. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  235. ms.StoreMessageInfo(mi)
  236. }
  237. func (x *Command) String() string {
  238. return protoimpl.X.MessageStringOf(x)
  239. }
  240. func (*Command) ProtoMessage() {}
  241. func (x *Command) ProtoReflect() protoreflect.Message {
  242. mi := &file_waCommonParameterised_WACommonParameterised_proto_msgTypes[1]
  243. if x != nil {
  244. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  245. if ms.LoadMessageInfo() == nil {
  246. ms.StoreMessageInfo(mi)
  247. }
  248. return ms
  249. }
  250. return mi.MessageOf(x)
  251. }
  252. // Deprecated: Use Command.ProtoReflect.Descriptor instead.
  253. func (*Command) Descriptor() ([]byte, []int) {
  254. return file_waCommonParameterised_WACommonParameterised_proto_rawDescGZIP(), []int{1}
  255. }
  256. func (x *Command) GetCommandType() Command_CommandType {
  257. if x != nil && x.CommandType != nil {
  258. return *x.CommandType
  259. }
  260. return Command_EVERYONE
  261. }
  262. func (x *Command) GetOffset() uint32 {
  263. if x != nil && x.Offset != nil {
  264. return *x.Offset
  265. }
  266. return 0
  267. }
  268. func (x *Command) GetLength() uint32 {
  269. if x != nil && x.Length != nil {
  270. return *x.Length
  271. }
  272. return 0
  273. }
  274. func (x *Command) GetValidationToken() string {
  275. if x != nil && x.ValidationToken != nil {
  276. return *x.ValidationToken
  277. }
  278. return ""
  279. }
  280. type Mention struct {
  281. state protoimpl.MessageState `protogen:"open.v1"`
  282. MentionType *Mention_MentionType `protobuf:"varint,1,opt,name=mentionType,enum=WACommonParameterised.Mention_MentionType" json:"mentionType,omitempty"`
  283. MentionedJID *string `protobuf:"bytes,2,opt,name=mentionedJID" json:"mentionedJID,omitempty"`
  284. Offset *uint32 `protobuf:"varint,3,opt,name=offset" json:"offset,omitempty"`
  285. Length *uint32 `protobuf:"varint,4,opt,name=length" json:"length,omitempty"`
  286. unknownFields protoimpl.UnknownFields
  287. sizeCache protoimpl.SizeCache
  288. }
  289. func (x *Mention) Reset() {
  290. *x = Mention{}
  291. mi := &file_waCommonParameterised_WACommonParameterised_proto_msgTypes[2]
  292. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  293. ms.StoreMessageInfo(mi)
  294. }
  295. func (x *Mention) String() string {
  296. return protoimpl.X.MessageStringOf(x)
  297. }
  298. func (*Mention) ProtoMessage() {}
  299. func (x *Mention) ProtoReflect() protoreflect.Message {
  300. mi := &file_waCommonParameterised_WACommonParameterised_proto_msgTypes[2]
  301. if x != nil {
  302. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  303. if ms.LoadMessageInfo() == nil {
  304. ms.StoreMessageInfo(mi)
  305. }
  306. return ms
  307. }
  308. return mi.MessageOf(x)
  309. }
  310. // Deprecated: Use Mention.ProtoReflect.Descriptor instead.
  311. func (*Mention) Descriptor() ([]byte, []int) {
  312. return file_waCommonParameterised_WACommonParameterised_proto_rawDescGZIP(), []int{2}
  313. }
  314. func (x *Mention) GetMentionType() Mention_MentionType {
  315. if x != nil && x.MentionType != nil {
  316. return *x.MentionType
  317. }
  318. return Mention_PROFILE
  319. }
  320. func (x *Mention) GetMentionedJID() string {
  321. if x != nil && x.MentionedJID != nil {
  322. return *x.MentionedJID
  323. }
  324. return ""
  325. }
  326. func (x *Mention) GetOffset() uint32 {
  327. if x != nil && x.Offset != nil {
  328. return *x.Offset
  329. }
  330. return 0
  331. }
  332. func (x *Mention) GetLength() uint32 {
  333. if x != nil && x.Length != nil {
  334. return *x.Length
  335. }
  336. return 0
  337. }
  338. type MessageText struct {
  339. state protoimpl.MessageState `protogen:"open.v1"`
  340. Text *string `protobuf:"bytes,1,opt,name=text" json:"text,omitempty"`
  341. MentionedJID []string `protobuf:"bytes,2,rep,name=mentionedJID" json:"mentionedJID,omitempty"`
  342. Commands []*Command `protobuf:"bytes,3,rep,name=commands" json:"commands,omitempty"`
  343. Mentions []*Mention `protobuf:"bytes,4,rep,name=mentions" json:"mentions,omitempty"`
  344. unknownFields protoimpl.UnknownFields
  345. sizeCache protoimpl.SizeCache
  346. }
  347. func (x *MessageText) Reset() {
  348. *x = MessageText{}
  349. mi := &file_waCommonParameterised_WACommonParameterised_proto_msgTypes[3]
  350. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  351. ms.StoreMessageInfo(mi)
  352. }
  353. func (x *MessageText) String() string {
  354. return protoimpl.X.MessageStringOf(x)
  355. }
  356. func (*MessageText) ProtoMessage() {}
  357. func (x *MessageText) ProtoReflect() protoreflect.Message {
  358. mi := &file_waCommonParameterised_WACommonParameterised_proto_msgTypes[3]
  359. if x != nil {
  360. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  361. if ms.LoadMessageInfo() == nil {
  362. ms.StoreMessageInfo(mi)
  363. }
  364. return ms
  365. }
  366. return mi.MessageOf(x)
  367. }
  368. // Deprecated: Use MessageText.ProtoReflect.Descriptor instead.
  369. func (*MessageText) Descriptor() ([]byte, []int) {
  370. return file_waCommonParameterised_WACommonParameterised_proto_rawDescGZIP(), []int{3}
  371. }
  372. func (x *MessageText) GetText() string {
  373. if x != nil && x.Text != nil {
  374. return *x.Text
  375. }
  376. return ""
  377. }
  378. func (x *MessageText) GetMentionedJID() []string {
  379. if x != nil {
  380. return x.MentionedJID
  381. }
  382. return nil
  383. }
  384. func (x *MessageText) GetCommands() []*Command {
  385. if x != nil {
  386. return x.Commands
  387. }
  388. return nil
  389. }
  390. func (x *MessageText) GetMentions() []*Mention {
  391. if x != nil {
  392. return x.Mentions
  393. }
  394. return nil
  395. }
  396. type SubProtocol struct {
  397. state protoimpl.MessageState `protogen:"open.v1"`
  398. Payload []byte `protobuf:"bytes,1,opt,name=payload" json:"payload,omitempty"`
  399. Version *int32 `protobuf:"varint,2,opt,name=version" json:"version,omitempty"`
  400. unknownFields protoimpl.UnknownFields
  401. sizeCache protoimpl.SizeCache
  402. }
  403. func (x *SubProtocol) Reset() {
  404. *x = SubProtocol{}
  405. mi := &file_waCommonParameterised_WACommonParameterised_proto_msgTypes[4]
  406. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  407. ms.StoreMessageInfo(mi)
  408. }
  409. func (x *SubProtocol) String() string {
  410. return protoimpl.X.MessageStringOf(x)
  411. }
  412. func (*SubProtocol) ProtoMessage() {}
  413. func (x *SubProtocol) ProtoReflect() protoreflect.Message {
  414. mi := &file_waCommonParameterised_WACommonParameterised_proto_msgTypes[4]
  415. if x != nil {
  416. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  417. if ms.LoadMessageInfo() == nil {
  418. ms.StoreMessageInfo(mi)
  419. }
  420. return ms
  421. }
  422. return mi.MessageOf(x)
  423. }
  424. // Deprecated: Use SubProtocol.ProtoReflect.Descriptor instead.
  425. func (*SubProtocol) Descriptor() ([]byte, []int) {
  426. return file_waCommonParameterised_WACommonParameterised_proto_rawDescGZIP(), []int{4}
  427. }
  428. func (x *SubProtocol) GetPayload() []byte {
  429. if x != nil {
  430. return x.Payload
  431. }
  432. return nil
  433. }
  434. func (x *SubProtocol) GetVersion() int32 {
  435. if x != nil && x.Version != nil {
  436. return *x.Version
  437. }
  438. return 0
  439. }
  440. var File_waCommonParameterised_WACommonParameterised_proto protoreflect.FileDescriptor
  441. const file_waCommonParameterised_WACommonParameterised_proto_rawDesc = "" +
  442. "\n" +
  443. "1waCommonParameterised/WACommonParameterised.proto\x12\x15WACommonParameterised\"t\n" +
  444. "\n" +
  445. "MessageKey\x12\x1c\n" +
  446. "\tremoteJID\x18\x01 \x01(\tR\tremoteJID\x12\x16\n" +
  447. "\x06fromMe\x18\x02 \x01(\bR\x06fromMe\x12\x0e\n" +
  448. "\x02ID\x18\x03 \x01(\tR\x02ID\x12 \n" +
  449. "\vparticipant\x18\x04 \x01(\tR\vparticipant\"\xf2\x01\n" +
  450. "\aCommand\x12L\n" +
  451. "\vcommandType\x18\x01 \x01(\x0e2*.WACommonParameterised.Command.CommandTypeR\vcommandType\x12\x16\n" +
  452. "\x06offset\x18\x02 \x01(\rR\x06offset\x12\x16\n" +
  453. "\x06length\x18\x03 \x01(\rR\x06length\x12(\n" +
  454. "\x0fvalidationToken\x18\x04 \x01(\tR\x0fvalidationToken\"?\n" +
  455. "\vCommandType\x12\f\n" +
  456. "\bEVERYONE\x10\x01\x12\n" +
  457. "\n" +
  458. "\x06SILENT\x10\x02\x12\x06\n" +
  459. "\x02AI\x10\x03\x12\x0e\n" +
  460. "\n" +
  461. "AI_IMAGINE\x10\x04\"\xc7\x01\n" +
  462. "\aMention\x12L\n" +
  463. "\vmentionType\x18\x01 \x01(\x0e2*.WACommonParameterised.Mention.MentionTypeR\vmentionType\x12\"\n" +
  464. "\fmentionedJID\x18\x02 \x01(\tR\fmentionedJID\x12\x16\n" +
  465. "\x06offset\x18\x03 \x01(\rR\x06offset\x12\x16\n" +
  466. "\x06length\x18\x04 \x01(\rR\x06length\"\x1a\n" +
  467. "\vMentionType\x12\v\n" +
  468. "\aPROFILE\x10\x00\"\xbd\x01\n" +
  469. "\vMessageText\x12\x12\n" +
  470. "\x04text\x18\x01 \x01(\tR\x04text\x12\"\n" +
  471. "\fmentionedJID\x18\x02 \x03(\tR\fmentionedJID\x12:\n" +
  472. "\bcommands\x18\x03 \x03(\v2\x1e.WACommonParameterised.CommandR\bcommands\x12:\n" +
  473. "\bmentions\x18\x04 \x03(\v2\x1e.WACommonParameterised.MentionR\bmentions\"A\n" +
  474. "\vSubProtocol\x12\x18\n" +
  475. "\apayload\x18\x01 \x01(\fR\apayload\x12\x18\n" +
  476. "\aversion\x18\x02 \x01(\x05R\aversion*F\n" +
  477. "\x13FutureProofBehavior\x12\x0f\n" +
  478. "\vPLACEHOLDER\x10\x00\x12\x12\n" +
  479. "\x0eNO_PLACEHOLDER\x10\x01\x12\n" +
  480. "\n" +
  481. "\x06IGNORE\x10\x02B1Z/git.bobomao.top/joey/testwh/proto/waCommonParameterised"
  482. var (
  483. file_waCommonParameterised_WACommonParameterised_proto_rawDescOnce sync.Once
  484. file_waCommonParameterised_WACommonParameterised_proto_rawDescData []byte
  485. )
  486. func file_waCommonParameterised_WACommonParameterised_proto_rawDescGZIP() []byte {
  487. file_waCommonParameterised_WACommonParameterised_proto_rawDescOnce.Do(func() {
  488. file_waCommonParameterised_WACommonParameterised_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_waCommonParameterised_WACommonParameterised_proto_rawDesc), len(file_waCommonParameterised_WACommonParameterised_proto_rawDesc)))
  489. })
  490. return file_waCommonParameterised_WACommonParameterised_proto_rawDescData
  491. }
  492. var file_waCommonParameterised_WACommonParameterised_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
  493. var file_waCommonParameterised_WACommonParameterised_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  494. var file_waCommonParameterised_WACommonParameterised_proto_goTypes = []any{
  495. (FutureProofBehavior)(0), // 0: WACommonParameterised.FutureProofBehavior
  496. (Command_CommandType)(0), // 1: WACommonParameterised.Command.CommandType
  497. (Mention_MentionType)(0), // 2: WACommonParameterised.Mention.MentionType
  498. (*MessageKey)(nil), // 3: WACommonParameterised.MessageKey
  499. (*Command)(nil), // 4: WACommonParameterised.Command
  500. (*Mention)(nil), // 5: WACommonParameterised.Mention
  501. (*MessageText)(nil), // 6: WACommonParameterised.MessageText
  502. (*SubProtocol)(nil), // 7: WACommonParameterised.SubProtocol
  503. }
  504. var file_waCommonParameterised_WACommonParameterised_proto_depIdxs = []int32{
  505. 1, // 0: WACommonParameterised.Command.commandType:type_name -> WACommonParameterised.Command.CommandType
  506. 2, // 1: WACommonParameterised.Mention.mentionType:type_name -> WACommonParameterised.Mention.MentionType
  507. 4, // 2: WACommonParameterised.MessageText.commands:type_name -> WACommonParameterised.Command
  508. 5, // 3: WACommonParameterised.MessageText.mentions:type_name -> WACommonParameterised.Mention
  509. 4, // [4:4] is the sub-list for method output_type
  510. 4, // [4:4] is the sub-list for method input_type
  511. 4, // [4:4] is the sub-list for extension type_name
  512. 4, // [4:4] is the sub-list for extension extendee
  513. 0, // [0:4] is the sub-list for field type_name
  514. }
  515. func init() { file_waCommonParameterised_WACommonParameterised_proto_init() }
  516. func file_waCommonParameterised_WACommonParameterised_proto_init() {
  517. if File_waCommonParameterised_WACommonParameterised_proto != nil {
  518. return
  519. }
  520. type x struct{}
  521. out := protoimpl.TypeBuilder{
  522. File: protoimpl.DescBuilder{
  523. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  524. RawDescriptor: unsafe.Slice(unsafe.StringData(file_waCommonParameterised_WACommonParameterised_proto_rawDesc), len(file_waCommonParameterised_WACommonParameterised_proto_rawDesc)),
  525. NumEnums: 3,
  526. NumMessages: 5,
  527. NumExtensions: 0,
  528. NumServices: 0,
  529. },
  530. GoTypes: file_waCommonParameterised_WACommonParameterised_proto_goTypes,
  531. DependencyIndexes: file_waCommonParameterised_WACommonParameterised_proto_depIdxs,
  532. EnumInfos: file_waCommonParameterised_WACommonParameterised_proto_enumTypes,
  533. MessageInfos: file_waCommonParameterised_WACommonParameterised_proto_msgTypes,
  534. }.Build()
  535. File_waCommonParameterised_WACommonParameterised_proto = out.File
  536. file_waCommonParameterised_WACommonParameterised_proto_goTypes = nil
  537. file_waCommonParameterised_WACommonParameterised_proto_depIdxs = nil
  538. }