card.pb.go 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.30.0
  4. // protoc v3.17.3
  5. // source: card/common/card.proto
  6. package common
  7. import (
  8. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  9. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  10. reflect "reflect"
  11. sync "sync"
  12. )
  13. const (
  14. // Verify that this generated code is sufficiently up-to-date.
  15. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  16. // Verify that runtime/protoimpl is sufficiently up-to-date.
  17. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  18. )
  19. type CardStatus int32
  20. const (
  21. CardStatus_CARD_STATUS_UNDEFINED CardStatus = 0
  22. CardStatus_CARD_STATUS_NORMAL CardStatus = 1
  23. CardStatus_CARD_STATUS_DELETED CardStatus = 2
  24. )
  25. // Enum value maps for CardStatus.
  26. var (
  27. CardStatus_name = map[int32]string{
  28. 0: "CARD_STATUS_UNDEFINED",
  29. 1: "CARD_STATUS_NORMAL",
  30. 2: "CARD_STATUS_DELETED",
  31. }
  32. CardStatus_value = map[string]int32{
  33. "CARD_STATUS_UNDEFINED": 0,
  34. "CARD_STATUS_NORMAL": 1,
  35. "CARD_STATUS_DELETED": 2,
  36. }
  37. )
  38. func (x CardStatus) Enum() *CardStatus {
  39. p := new(CardStatus)
  40. *p = x
  41. return p
  42. }
  43. func (x CardStatus) String() string {
  44. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  45. }
  46. func (CardStatus) Descriptor() protoreflect.EnumDescriptor {
  47. return file_card_common_card_proto_enumTypes[0].Descriptor()
  48. }
  49. func (CardStatus) Type() protoreflect.EnumType {
  50. return &file_card_common_card_proto_enumTypes[0]
  51. }
  52. func (x CardStatus) Number() protoreflect.EnumNumber {
  53. return protoreflect.EnumNumber(x)
  54. }
  55. // Deprecated: Use CardStatus.Descriptor instead.
  56. func (CardStatus) EnumDescriptor() ([]byte, []int) {
  57. return file_card_common_card_proto_rawDescGZIP(), []int{0}
  58. }
  59. type CardType int32
  60. const (
  61. CardType_CARD_TYPE_UNDEFINED CardType = 0
  62. CardType_CARD_TYPE_SELF CardType = 1
  63. CardType_CARD_TYPE_OTHER CardType = 2
  64. )
  65. // Enum value maps for CardType.
  66. var (
  67. CardType_name = map[int32]string{
  68. 0: "CARD_TYPE_UNDEFINED",
  69. 1: "CARD_TYPE_SELF",
  70. 2: "CARD_TYPE_OTHER",
  71. }
  72. CardType_value = map[string]int32{
  73. "CARD_TYPE_UNDEFINED": 0,
  74. "CARD_TYPE_SELF": 1,
  75. "CARD_TYPE_OTHER": 2,
  76. }
  77. )
  78. func (x CardType) Enum() *CardType {
  79. p := new(CardType)
  80. *p = x
  81. return p
  82. }
  83. func (x CardType) String() string {
  84. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  85. }
  86. func (CardType) Descriptor() protoreflect.EnumDescriptor {
  87. return file_card_common_card_proto_enumTypes[1].Descriptor()
  88. }
  89. func (CardType) Type() protoreflect.EnumType {
  90. return &file_card_common_card_proto_enumTypes[1]
  91. }
  92. func (x CardType) Number() protoreflect.EnumNumber {
  93. return protoreflect.EnumNumber(x)
  94. }
  95. // Deprecated: Use CardType.Descriptor instead.
  96. func (CardType) EnumDescriptor() ([]byte, []int) {
  97. return file_card_common_card_proto_rawDescGZIP(), []int{1}
  98. }
  99. type CardTemplateBody struct {
  100. state protoimpl.MessageState
  101. sizeCache protoimpl.SizeCache
  102. unknownFields protoimpl.UnknownFields
  103. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  104. Body *CardTemplateBaseBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
  105. }
  106. func (x *CardTemplateBody) Reset() {
  107. *x = CardTemplateBody{}
  108. if protoimpl.UnsafeEnabled {
  109. mi := &file_card_common_card_proto_msgTypes[0]
  110. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  111. ms.StoreMessageInfo(mi)
  112. }
  113. }
  114. func (x *CardTemplateBody) String() string {
  115. return protoimpl.X.MessageStringOf(x)
  116. }
  117. func (*CardTemplateBody) ProtoMessage() {}
  118. func (x *CardTemplateBody) ProtoReflect() protoreflect.Message {
  119. mi := &file_card_common_card_proto_msgTypes[0]
  120. if protoimpl.UnsafeEnabled && x != nil {
  121. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  122. if ms.LoadMessageInfo() == nil {
  123. ms.StoreMessageInfo(mi)
  124. }
  125. return ms
  126. }
  127. return mi.MessageOf(x)
  128. }
  129. // Deprecated: Use CardTemplateBody.ProtoReflect.Descriptor instead.
  130. func (*CardTemplateBody) Descriptor() ([]byte, []int) {
  131. return file_card_common_card_proto_rawDescGZIP(), []int{0}
  132. }
  133. func (x *CardTemplateBody) GetId() uint32 {
  134. if x != nil {
  135. return x.Id
  136. }
  137. return 0
  138. }
  139. func (x *CardTemplateBody) GetBody() *CardTemplateBaseBody {
  140. if x != nil {
  141. return x.Body
  142. }
  143. return nil
  144. }
  145. type CardSupplementBody struct {
  146. state protoimpl.MessageState
  147. sizeCache protoimpl.SizeCache
  148. unknownFields protoimpl.UnknownFields
  149. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  150. Body *CardSupplementBaseBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
  151. }
  152. func (x *CardSupplementBody) Reset() {
  153. *x = CardSupplementBody{}
  154. if protoimpl.UnsafeEnabled {
  155. mi := &file_card_common_card_proto_msgTypes[1]
  156. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  157. ms.StoreMessageInfo(mi)
  158. }
  159. }
  160. func (x *CardSupplementBody) String() string {
  161. return protoimpl.X.MessageStringOf(x)
  162. }
  163. func (*CardSupplementBody) ProtoMessage() {}
  164. func (x *CardSupplementBody) ProtoReflect() protoreflect.Message {
  165. mi := &file_card_common_card_proto_msgTypes[1]
  166. if protoimpl.UnsafeEnabled && x != nil {
  167. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  168. if ms.LoadMessageInfo() == nil {
  169. ms.StoreMessageInfo(mi)
  170. }
  171. return ms
  172. }
  173. return mi.MessageOf(x)
  174. }
  175. // Deprecated: Use CardSupplementBody.ProtoReflect.Descriptor instead.
  176. func (*CardSupplementBody) Descriptor() ([]byte, []int) {
  177. return file_card_common_card_proto_rawDescGZIP(), []int{1}
  178. }
  179. func (x *CardSupplementBody) GetId() uint32 {
  180. if x != nil {
  181. return x.Id
  182. }
  183. return 0
  184. }
  185. func (x *CardSupplementBody) GetBody() *CardSupplementBaseBody {
  186. if x != nil {
  187. return x.Body
  188. }
  189. return nil
  190. }
  191. type CardSupplementBaseBody struct {
  192. state protoimpl.MessageState
  193. sizeCache protoimpl.SizeCache
  194. unknownFields protoimpl.UnknownFields
  195. CardId uint32 `protobuf:"varint,1,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
  196. KeyName string `protobuf:"bytes,2,opt,name=key_name,json=keyName,proto3" json:"key_name,omitempty"`
  197. KeyValue string `protobuf:"bytes,3,opt,name=key_value,json=keyValue,proto3" json:"key_value,omitempty"`
  198. }
  199. func (x *CardSupplementBaseBody) Reset() {
  200. *x = CardSupplementBaseBody{}
  201. if protoimpl.UnsafeEnabled {
  202. mi := &file_card_common_card_proto_msgTypes[2]
  203. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  204. ms.StoreMessageInfo(mi)
  205. }
  206. }
  207. func (x *CardSupplementBaseBody) String() string {
  208. return protoimpl.X.MessageStringOf(x)
  209. }
  210. func (*CardSupplementBaseBody) ProtoMessage() {}
  211. func (x *CardSupplementBaseBody) ProtoReflect() protoreflect.Message {
  212. mi := &file_card_common_card_proto_msgTypes[2]
  213. if protoimpl.UnsafeEnabled && x != nil {
  214. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  215. if ms.LoadMessageInfo() == nil {
  216. ms.StoreMessageInfo(mi)
  217. }
  218. return ms
  219. }
  220. return mi.MessageOf(x)
  221. }
  222. // Deprecated: Use CardSupplementBaseBody.ProtoReflect.Descriptor instead.
  223. func (*CardSupplementBaseBody) Descriptor() ([]byte, []int) {
  224. return file_card_common_card_proto_rawDescGZIP(), []int{2}
  225. }
  226. func (x *CardSupplementBaseBody) GetCardId() uint32 {
  227. if x != nil {
  228. return x.CardId
  229. }
  230. return 0
  231. }
  232. func (x *CardSupplementBaseBody) GetKeyName() string {
  233. if x != nil {
  234. return x.KeyName
  235. }
  236. return ""
  237. }
  238. func (x *CardSupplementBaseBody) GetKeyValue() string {
  239. if x != nil {
  240. return x.KeyValue
  241. }
  242. return ""
  243. }
  244. type CardTemplateBaseBody struct {
  245. state protoimpl.MessageState
  246. sizeCache protoimpl.SizeCache
  247. unknownFields protoimpl.UnknownFields
  248. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  249. TitleColor string `protobuf:"bytes,2,opt,name=title_color,json=titleColor,proto3" json:"title_color,omitempty"`
  250. SubtitleColor string `protobuf:"bytes,3,opt,name=subtitle_color,json=subtitleColor,proto3" json:"subtitle_color,omitempty"`
  251. ContactColor string `protobuf:"bytes,4,opt,name=contact_color,json=contactColor,proto3" json:"contact_color,omitempty"`
  252. BackgroundImg string `protobuf:"bytes,5,opt,name=background_img,json=backgroundImg,proto3" json:"background_img,omitempty"`
  253. }
  254. func (x *CardTemplateBaseBody) Reset() {
  255. *x = CardTemplateBaseBody{}
  256. if protoimpl.UnsafeEnabled {
  257. mi := &file_card_common_card_proto_msgTypes[3]
  258. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  259. ms.StoreMessageInfo(mi)
  260. }
  261. }
  262. func (x *CardTemplateBaseBody) String() string {
  263. return protoimpl.X.MessageStringOf(x)
  264. }
  265. func (*CardTemplateBaseBody) ProtoMessage() {}
  266. func (x *CardTemplateBaseBody) ProtoReflect() protoreflect.Message {
  267. mi := &file_card_common_card_proto_msgTypes[3]
  268. if protoimpl.UnsafeEnabled && x != nil {
  269. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  270. if ms.LoadMessageInfo() == nil {
  271. ms.StoreMessageInfo(mi)
  272. }
  273. return ms
  274. }
  275. return mi.MessageOf(x)
  276. }
  277. // Deprecated: Use CardTemplateBaseBody.ProtoReflect.Descriptor instead.
  278. func (*CardTemplateBaseBody) Descriptor() ([]byte, []int) {
  279. return file_card_common_card_proto_rawDescGZIP(), []int{3}
  280. }
  281. func (x *CardTemplateBaseBody) GetName() string {
  282. if x != nil {
  283. return x.Name
  284. }
  285. return ""
  286. }
  287. func (x *CardTemplateBaseBody) GetTitleColor() string {
  288. if x != nil {
  289. return x.TitleColor
  290. }
  291. return ""
  292. }
  293. func (x *CardTemplateBaseBody) GetSubtitleColor() string {
  294. if x != nil {
  295. return x.SubtitleColor
  296. }
  297. return ""
  298. }
  299. func (x *CardTemplateBaseBody) GetContactColor() string {
  300. if x != nil {
  301. return x.ContactColor
  302. }
  303. return ""
  304. }
  305. func (x *CardTemplateBaseBody) GetBackgroundImg() string {
  306. if x != nil {
  307. return x.BackgroundImg
  308. }
  309. return ""
  310. }
  311. type CardBody struct {
  312. state protoimpl.MessageState
  313. sizeCache protoimpl.SizeCache
  314. unknownFields protoimpl.UnknownFields
  315. Id uint32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  316. Body *CardBaseBody `protobuf:"bytes,2,opt,name=body,proto3" json:"body,omitempty"`
  317. }
  318. func (x *CardBody) Reset() {
  319. *x = CardBody{}
  320. if protoimpl.UnsafeEnabled {
  321. mi := &file_card_common_card_proto_msgTypes[4]
  322. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  323. ms.StoreMessageInfo(mi)
  324. }
  325. }
  326. func (x *CardBody) String() string {
  327. return protoimpl.X.MessageStringOf(x)
  328. }
  329. func (*CardBody) ProtoMessage() {}
  330. func (x *CardBody) ProtoReflect() protoreflect.Message {
  331. mi := &file_card_common_card_proto_msgTypes[4]
  332. if protoimpl.UnsafeEnabled && x != nil {
  333. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  334. if ms.LoadMessageInfo() == nil {
  335. ms.StoreMessageInfo(mi)
  336. }
  337. return ms
  338. }
  339. return mi.MessageOf(x)
  340. }
  341. // Deprecated: Use CardBody.ProtoReflect.Descriptor instead.
  342. func (*CardBody) Descriptor() ([]byte, []int) {
  343. return file_card_common_card_proto_rawDescGZIP(), []int{4}
  344. }
  345. func (x *CardBody) GetId() uint32 {
  346. if x != nil {
  347. return x.Id
  348. }
  349. return 0
  350. }
  351. func (x *CardBody) GetBody() *CardBaseBody {
  352. if x != nil {
  353. return x.Body
  354. }
  355. return nil
  356. }
  357. type CardBaseBody struct {
  358. state protoimpl.MessageState
  359. sizeCache protoimpl.SizeCache
  360. unknownFields protoimpl.UnknownFields
  361. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  362. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
  363. CompanyName string `protobuf:"bytes,3,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
  364. CompanyShortName string `protobuf:"bytes,4,opt,name=company_short_name,json=companyShortName,proto3" json:"company_short_name,omitempty"`
  365. TemplateId uint32 `protobuf:"varint,5,opt,name=template_id,json=templateId,proto3" json:"template_id,omitempty"`
  366. UserId uint32 `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  367. Status CardStatus `protobuf:"varint,7,opt,name=status,proto3,enum=common.CardStatus" json:"status,omitempty"`
  368. SearchKey string `protobuf:"bytes,8,opt,name=search_key,json=searchKey,proto3" json:"search_key,omitempty"`
  369. Type CardType `protobuf:"varint,9,opt,name=type,proto3,enum=common.CardType" json:"type,omitempty"`
  370. Created uint64 `protobuf:"varint,10,opt,name=created,proto3" json:"created,omitempty"`
  371. }
  372. func (x *CardBaseBody) Reset() {
  373. *x = CardBaseBody{}
  374. if protoimpl.UnsafeEnabled {
  375. mi := &file_card_common_card_proto_msgTypes[5]
  376. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  377. ms.StoreMessageInfo(mi)
  378. }
  379. }
  380. func (x *CardBaseBody) String() string {
  381. return protoimpl.X.MessageStringOf(x)
  382. }
  383. func (*CardBaseBody) ProtoMessage() {}
  384. func (x *CardBaseBody) ProtoReflect() protoreflect.Message {
  385. mi := &file_card_common_card_proto_msgTypes[5]
  386. if protoimpl.UnsafeEnabled && x != nil {
  387. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  388. if ms.LoadMessageInfo() == nil {
  389. ms.StoreMessageInfo(mi)
  390. }
  391. return ms
  392. }
  393. return mi.MessageOf(x)
  394. }
  395. // Deprecated: Use CardBaseBody.ProtoReflect.Descriptor instead.
  396. func (*CardBaseBody) Descriptor() ([]byte, []int) {
  397. return file_card_common_card_proto_rawDescGZIP(), []int{5}
  398. }
  399. func (x *CardBaseBody) GetName() string {
  400. if x != nil {
  401. return x.Name
  402. }
  403. return ""
  404. }
  405. func (x *CardBaseBody) GetTitle() string {
  406. if x != nil {
  407. return x.Title
  408. }
  409. return ""
  410. }
  411. func (x *CardBaseBody) GetCompanyName() string {
  412. if x != nil {
  413. return x.CompanyName
  414. }
  415. return ""
  416. }
  417. func (x *CardBaseBody) GetCompanyShortName() string {
  418. if x != nil {
  419. return x.CompanyShortName
  420. }
  421. return ""
  422. }
  423. func (x *CardBaseBody) GetTemplateId() uint32 {
  424. if x != nil {
  425. return x.TemplateId
  426. }
  427. return 0
  428. }
  429. func (x *CardBaseBody) GetUserId() uint32 {
  430. if x != nil {
  431. return x.UserId
  432. }
  433. return 0
  434. }
  435. func (x *CardBaseBody) GetStatus() CardStatus {
  436. if x != nil {
  437. return x.Status
  438. }
  439. return CardStatus_CARD_STATUS_UNDEFINED
  440. }
  441. func (x *CardBaseBody) GetSearchKey() string {
  442. if x != nil {
  443. return x.SearchKey
  444. }
  445. return ""
  446. }
  447. func (x *CardBaseBody) GetType() CardType {
  448. if x != nil {
  449. return x.Type
  450. }
  451. return CardType_CARD_TYPE_UNDEFINED
  452. }
  453. func (x *CardBaseBody) GetCreated() uint64 {
  454. if x != nil {
  455. return x.Created
  456. }
  457. return 0
  458. }
  459. type CardUser struct {
  460. state protoimpl.MessageState
  461. sizeCache protoimpl.SizeCache
  462. unknownFields protoimpl.UnknownFields
  463. UserId uint32 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  464. CardId uint32 `protobuf:"varint,2,opt,name=card_id,json=cardId,proto3" json:"card_id,omitempty"`
  465. }
  466. func (x *CardUser) Reset() {
  467. *x = CardUser{}
  468. if protoimpl.UnsafeEnabled {
  469. mi := &file_card_common_card_proto_msgTypes[6]
  470. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  471. ms.StoreMessageInfo(mi)
  472. }
  473. }
  474. func (x *CardUser) String() string {
  475. return protoimpl.X.MessageStringOf(x)
  476. }
  477. func (*CardUser) ProtoMessage() {}
  478. func (x *CardUser) ProtoReflect() protoreflect.Message {
  479. mi := &file_card_common_card_proto_msgTypes[6]
  480. if protoimpl.UnsafeEnabled && x != nil {
  481. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  482. if ms.LoadMessageInfo() == nil {
  483. ms.StoreMessageInfo(mi)
  484. }
  485. return ms
  486. }
  487. return mi.MessageOf(x)
  488. }
  489. // Deprecated: Use CardUser.ProtoReflect.Descriptor instead.
  490. func (*CardUser) Descriptor() ([]byte, []int) {
  491. return file_card_common_card_proto_rawDescGZIP(), []int{6}
  492. }
  493. func (x *CardUser) GetUserId() uint32 {
  494. if x != nil {
  495. return x.UserId
  496. }
  497. return 0
  498. }
  499. func (x *CardUser) GetCardId() uint32 {
  500. if x != nil {
  501. return x.CardId
  502. }
  503. return 0
  504. }
  505. type CardFilterBody struct {
  506. state protoimpl.MessageState
  507. sizeCache protoimpl.SizeCache
  508. unknownFields protoimpl.UnknownFields
  509. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  510. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title,omitempty"`
  511. CompanyName string `protobuf:"bytes,3,opt,name=company_name,json=companyName,proto3" json:"company_name,omitempty"`
  512. CompanyShortName string `protobuf:"bytes,4,opt,name=company_short_name,json=companyShortName,proto3" json:"company_short_name,omitempty"`
  513. SearchKey string `protobuf:"bytes,5,opt,name=search_key,json=searchKey,proto3" json:"search_key,omitempty"`
  514. UserId uint32 `protobuf:"varint,6,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
  515. Type CardType `protobuf:"varint,7,opt,name=type,proto3,enum=common.CardType" json:"type,omitempty"`
  516. Status CardStatus `protobuf:"varint,8,opt,name=status,proto3,enum=common.CardStatus" json:"status,omitempty"`
  517. }
  518. func (x *CardFilterBody) Reset() {
  519. *x = CardFilterBody{}
  520. if protoimpl.UnsafeEnabled {
  521. mi := &file_card_common_card_proto_msgTypes[7]
  522. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  523. ms.StoreMessageInfo(mi)
  524. }
  525. }
  526. func (x *CardFilterBody) String() string {
  527. return protoimpl.X.MessageStringOf(x)
  528. }
  529. func (*CardFilterBody) ProtoMessage() {}
  530. func (x *CardFilterBody) ProtoReflect() protoreflect.Message {
  531. mi := &file_card_common_card_proto_msgTypes[7]
  532. if protoimpl.UnsafeEnabled && x != nil {
  533. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  534. if ms.LoadMessageInfo() == nil {
  535. ms.StoreMessageInfo(mi)
  536. }
  537. return ms
  538. }
  539. return mi.MessageOf(x)
  540. }
  541. // Deprecated: Use CardFilterBody.ProtoReflect.Descriptor instead.
  542. func (*CardFilterBody) Descriptor() ([]byte, []int) {
  543. return file_card_common_card_proto_rawDescGZIP(), []int{7}
  544. }
  545. func (x *CardFilterBody) GetName() string {
  546. if x != nil {
  547. return x.Name
  548. }
  549. return ""
  550. }
  551. func (x *CardFilterBody) GetTitle() string {
  552. if x != nil {
  553. return x.Title
  554. }
  555. return ""
  556. }
  557. func (x *CardFilterBody) GetCompanyName() string {
  558. if x != nil {
  559. return x.CompanyName
  560. }
  561. return ""
  562. }
  563. func (x *CardFilterBody) GetCompanyShortName() string {
  564. if x != nil {
  565. return x.CompanyShortName
  566. }
  567. return ""
  568. }
  569. func (x *CardFilterBody) GetSearchKey() string {
  570. if x != nil {
  571. return x.SearchKey
  572. }
  573. return ""
  574. }
  575. func (x *CardFilterBody) GetUserId() uint32 {
  576. if x != nil {
  577. return x.UserId
  578. }
  579. return 0
  580. }
  581. func (x *CardFilterBody) GetType() CardType {
  582. if x != nil {
  583. return x.Type
  584. }
  585. return CardType_CARD_TYPE_UNDEFINED
  586. }
  587. func (x *CardFilterBody) GetStatus() CardStatus {
  588. if x != nil {
  589. return x.Status
  590. }
  591. return CardStatus_CARD_STATUS_UNDEFINED
  592. }
  593. var File_card_common_card_proto protoreflect.FileDescriptor
  594. var file_card_common_card_proto_rawDesc = []byte{
  595. 0x0a, 0x16, 0x63, 0x61, 0x72, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x61,
  596. 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e,
  597. 0x22, 0x54, 0x0a, 0x10, 0x43, 0x61, 0x72, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65,
  598. 0x42, 0x6f, 0x64, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
  599. 0x52, 0x02, 0x69, 0x64, 0x12, 0x30, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01,
  600. 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64,
  601. 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79,
  602. 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0x58, 0x0a, 0x12, 0x43, 0x61, 0x72, 0x64, 0x53, 0x75,
  603. 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x0e, 0x0a, 0x02,
  604. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x32, 0x0a, 0x04,
  605. 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x63, 0x6f, 0x6d,
  606. 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65,
  607. 0x6e, 0x74, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79,
  608. 0x22, 0x69, 0x0a, 0x16, 0x43, 0x61, 0x72, 0x64, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x65, 0x6d, 0x65,
  609. 0x6e, 0x74, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61,
  610. 0x72, 0x64, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72,
  611. 0x64, 0x49, 0x64, 0x12, 0x19, 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  612. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6b, 0x65, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1b,
  613. 0x0a, 0x09, 0x6b, 0x65, 0x79, 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
  614. 0x09, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xbe, 0x01, 0x0a, 0x14,
  615. 0x43, 0x61, 0x72, 0x64, 0x54, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x42, 0x61, 0x73, 0x65,
  616. 0x42, 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  617. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x69, 0x74, 0x6c,
  618. 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x74,
  619. 0x69, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x75, 0x62,
  620. 0x74, 0x69, 0x74, 0x6c, 0x65, 0x5f, 0x63, 0x6f, 0x6c, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28,
  621. 0x09, 0x52, 0x0d, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x43, 0x6f, 0x6c, 0x6f, 0x72,
  622. 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74, 0x5f, 0x63, 0x6f, 0x6c, 0x6f,
  623. 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x63, 0x74,
  624. 0x43, 0x6f, 0x6c, 0x6f, 0x72, 0x12, 0x25, 0x0a, 0x0e, 0x62, 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f,
  625. 0x75, 0x6e, 0x64, 0x5f, 0x69, 0x6d, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x62,
  626. 0x61, 0x63, 0x6b, 0x67, 0x72, 0x6f, 0x75, 0x6e, 0x64, 0x49, 0x6d, 0x67, 0x22, 0x44, 0x0a, 0x08,
  627. 0x43, 0x61, 0x72, 0x64, 0x42, 0x6f, 0x64, 0x79, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01,
  628. 0x20, 0x01, 0x28, 0x0d, 0x52, 0x02, 0x69, 0x64, 0x12, 0x28, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79,
  629. 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
  630. 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, 0x73, 0x65, 0x42, 0x6f, 0x64, 0x79, 0x52, 0x04, 0x62, 0x6f,
  631. 0x64, 0x79, 0x22, 0xce, 0x02, 0x0a, 0x0c, 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, 0x73, 0x65, 0x42,
  632. 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  633. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65,
  634. 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x21, 0x0a,
  635. 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20,
  636. 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x4e, 0x61, 0x6d, 0x65,
  637. 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x73, 0x68, 0x6f, 0x72,
  638. 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63, 0x6f,
  639. 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f,
  640. 0x0a, 0x0b, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20,
  641. 0x01, 0x28, 0x0d, 0x52, 0x0a, 0x74, 0x65, 0x6d, 0x70, 0x6c, 0x61, 0x74, 0x65, 0x49, 0x64, 0x12,
  642. 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d,
  643. 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74,
  644. 0x75, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  645. 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x06, 0x73, 0x74,
  646. 0x61, 0x74, 0x75, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6b,
  647. 0x65, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68,
  648. 0x4b, 0x65, 0x79, 0x12, 0x24, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28,
  649. 0x0e, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x54,
  650. 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65,
  651. 0x61, 0x74, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61,
  652. 0x74, 0x65, 0x64, 0x22, 0x3c, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x55, 0x73, 0x65, 0x72, 0x12,
  653. 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d,
  654. 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x17, 0x0a, 0x07, 0x63, 0x61, 0x72, 0x64,
  655. 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x63, 0x61, 0x72, 0x64, 0x49,
  656. 0x64, 0x22, 0x95, 0x02, 0x0a, 0x0e, 0x43, 0x61, 0x72, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
  657. 0x42, 0x6f, 0x64, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  658. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c,
  659. 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x21,
  660. 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
  661. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x4e, 0x61, 0x6d,
  662. 0x65, 0x12, 0x2c, 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x5f, 0x73, 0x68, 0x6f,
  663. 0x72, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x63,
  664. 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x53, 0x68, 0x6f, 0x72, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12,
  665. 0x1d, 0x0a, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x05, 0x20,
  666. 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4b, 0x65, 0x79, 0x12, 0x17,
  667. 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0d, 0x52,
  668. 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18,
  669. 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43,
  670. 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2a, 0x0a,
  671. 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x12, 0x2e,
  672. 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x61, 0x72, 0x64, 0x53, 0x74, 0x61, 0x74, 0x75,
  673. 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x2a, 0x58, 0x0a, 0x0a, 0x43, 0x61, 0x72,
  674. 0x64, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x19, 0x0a, 0x15, 0x43, 0x41, 0x52, 0x44, 0x5f,
  675. 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x44, 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44,
  676. 0x10, 0x00, 0x12, 0x16, 0x0a, 0x12, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55,
  677. 0x53, 0x5f, 0x4e, 0x4f, 0x52, 0x4d, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x43, 0x41,
  678. 0x52, 0x44, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x44, 0x45, 0x4c, 0x45, 0x54, 0x45,
  679. 0x44, 0x10, 0x02, 0x2a, 0x4c, 0x0a, 0x08, 0x43, 0x61, 0x72, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12,
  680. 0x17, 0x0a, 0x13, 0x43, 0x41, 0x52, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x44,
  681. 0x45, 0x46, 0x49, 0x4e, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x43, 0x41, 0x52, 0x44,
  682. 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4c, 0x46, 0x10, 0x01, 0x12, 0x13, 0x0a, 0x0f,
  683. 0x43, 0x41, 0x52, 0x44, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x4f, 0x54, 0x48, 0x45, 0x52, 0x10,
  684. 0x02, 0x42, 0x3e, 0x0a, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x50, 0x01, 0x5a, 0x32, 0x67,
  685. 0x69, 0x74, 0x2e, 0x74, 0x74, 0x6d, 0x79, 0x6c, 0x69, 0x66, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  686. 0x7a, 0x65, 0x75, 0x73, 0x7a, 0x68, 0x61, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x63,
  687. 0x61, 0x72, 0x64, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x3b, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
  688. 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  689. }
  690. var (
  691. file_card_common_card_proto_rawDescOnce sync.Once
  692. file_card_common_card_proto_rawDescData = file_card_common_card_proto_rawDesc
  693. )
  694. func file_card_common_card_proto_rawDescGZIP() []byte {
  695. file_card_common_card_proto_rawDescOnce.Do(func() {
  696. file_card_common_card_proto_rawDescData = protoimpl.X.CompressGZIP(file_card_common_card_proto_rawDescData)
  697. })
  698. return file_card_common_card_proto_rawDescData
  699. }
  700. var file_card_common_card_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
  701. var file_card_common_card_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  702. var file_card_common_card_proto_goTypes = []interface{}{
  703. (CardStatus)(0), // 0: common.CardStatus
  704. (CardType)(0), // 1: common.CardType
  705. (*CardTemplateBody)(nil), // 2: common.CardTemplateBody
  706. (*CardSupplementBody)(nil), // 3: common.CardSupplementBody
  707. (*CardSupplementBaseBody)(nil), // 4: common.CardSupplementBaseBody
  708. (*CardTemplateBaseBody)(nil), // 5: common.CardTemplateBaseBody
  709. (*CardBody)(nil), // 6: common.CardBody
  710. (*CardBaseBody)(nil), // 7: common.CardBaseBody
  711. (*CardUser)(nil), // 8: common.CardUser
  712. (*CardFilterBody)(nil), // 9: common.CardFilterBody
  713. }
  714. var file_card_common_card_proto_depIdxs = []int32{
  715. 5, // 0: common.CardTemplateBody.body:type_name -> common.CardTemplateBaseBody
  716. 4, // 1: common.CardSupplementBody.body:type_name -> common.CardSupplementBaseBody
  717. 7, // 2: common.CardBody.body:type_name -> common.CardBaseBody
  718. 0, // 3: common.CardBaseBody.status:type_name -> common.CardStatus
  719. 1, // 4: common.CardBaseBody.type:type_name -> common.CardType
  720. 1, // 5: common.CardFilterBody.type:type_name -> common.CardType
  721. 0, // 6: common.CardFilterBody.status:type_name -> common.CardStatus
  722. 7, // [7:7] is the sub-list for method output_type
  723. 7, // [7:7] is the sub-list for method input_type
  724. 7, // [7:7] is the sub-list for extension type_name
  725. 7, // [7:7] is the sub-list for extension extendee
  726. 0, // [0:7] is the sub-list for field type_name
  727. }
  728. func init() { file_card_common_card_proto_init() }
  729. func file_card_common_card_proto_init() {
  730. if File_card_common_card_proto != nil {
  731. return
  732. }
  733. if !protoimpl.UnsafeEnabled {
  734. file_card_common_card_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
  735. switch v := v.(*CardTemplateBody); i {
  736. case 0:
  737. return &v.state
  738. case 1:
  739. return &v.sizeCache
  740. case 2:
  741. return &v.unknownFields
  742. default:
  743. return nil
  744. }
  745. }
  746. file_card_common_card_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
  747. switch v := v.(*CardSupplementBody); i {
  748. case 0:
  749. return &v.state
  750. case 1:
  751. return &v.sizeCache
  752. case 2:
  753. return &v.unknownFields
  754. default:
  755. return nil
  756. }
  757. }
  758. file_card_common_card_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
  759. switch v := v.(*CardSupplementBaseBody); i {
  760. case 0:
  761. return &v.state
  762. case 1:
  763. return &v.sizeCache
  764. case 2:
  765. return &v.unknownFields
  766. default:
  767. return nil
  768. }
  769. }
  770. file_card_common_card_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
  771. switch v := v.(*CardTemplateBaseBody); i {
  772. case 0:
  773. return &v.state
  774. case 1:
  775. return &v.sizeCache
  776. case 2:
  777. return &v.unknownFields
  778. default:
  779. return nil
  780. }
  781. }
  782. file_card_common_card_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
  783. switch v := v.(*CardBody); i {
  784. case 0:
  785. return &v.state
  786. case 1:
  787. return &v.sizeCache
  788. case 2:
  789. return &v.unknownFields
  790. default:
  791. return nil
  792. }
  793. }
  794. file_card_common_card_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
  795. switch v := v.(*CardBaseBody); i {
  796. case 0:
  797. return &v.state
  798. case 1:
  799. return &v.sizeCache
  800. case 2:
  801. return &v.unknownFields
  802. default:
  803. return nil
  804. }
  805. }
  806. file_card_common_card_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
  807. switch v := v.(*CardUser); i {
  808. case 0:
  809. return &v.state
  810. case 1:
  811. return &v.sizeCache
  812. case 2:
  813. return &v.unknownFields
  814. default:
  815. return nil
  816. }
  817. }
  818. file_card_common_card_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
  819. switch v := v.(*CardFilterBody); i {
  820. case 0:
  821. return &v.state
  822. case 1:
  823. return &v.sizeCache
  824. case 2:
  825. return &v.unknownFields
  826. default:
  827. return nil
  828. }
  829. }
  830. }
  831. type x struct{}
  832. out := protoimpl.TypeBuilder{
  833. File: protoimpl.DescBuilder{
  834. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  835. RawDescriptor: file_card_common_card_proto_rawDesc,
  836. NumEnums: 2,
  837. NumMessages: 8,
  838. NumExtensions: 0,
  839. NumServices: 0,
  840. },
  841. GoTypes: file_card_common_card_proto_goTypes,
  842. DependencyIndexes: file_card_common_card_proto_depIdxs,
  843. EnumInfos: file_card_common_card_proto_enumTypes,
  844. MessageInfos: file_card_common_card_proto_msgTypes,
  845. }.Build()
  846. File_card_common_card_proto = out.File
  847. file_card_common_card_proto_rawDesc = nil
  848. file_card_common_card_proto_goTypes = nil
  849. file_card_common_card_proto_depIdxs = nil
  850. }