announcement.pb.go 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // source: announcement.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 AnnouncementAddRequest struct {
  20. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  21. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  22. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content"`
  23. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  24. XXX_unrecognized []byte `json:"-"`
  25. XXX_sizecache int32 `json:"-"`
  26. }
  27. func (m *AnnouncementAddRequest) Reset() { *m = AnnouncementAddRequest{} }
  28. func (m *AnnouncementAddRequest) String() string { return proto.CompactTextString(m) }
  29. func (*AnnouncementAddRequest) ProtoMessage() {}
  30. func (*AnnouncementAddRequest) Descriptor() ([]byte, []int) {
  31. return fileDescriptor_0080e911b962c5cf, []int{0}
  32. }
  33. func (m *AnnouncementAddRequest) XXX_Unmarshal(b []byte) error {
  34. return xxx_messageInfo_AnnouncementAddRequest.Unmarshal(m, b)
  35. }
  36. func (m *AnnouncementAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  37. return xxx_messageInfo_AnnouncementAddRequest.Marshal(b, m, deterministic)
  38. }
  39. func (m *AnnouncementAddRequest) XXX_Merge(src proto.Message) {
  40. xxx_messageInfo_AnnouncementAddRequest.Merge(m, src)
  41. }
  42. func (m *AnnouncementAddRequest) XXX_Size() int {
  43. return xxx_messageInfo_AnnouncementAddRequest.Size(m)
  44. }
  45. func (m *AnnouncementAddRequest) XXX_DiscardUnknown() {
  46. xxx_messageInfo_AnnouncementAddRequest.DiscardUnknown(m)
  47. }
  48. var xxx_messageInfo_AnnouncementAddRequest proto.InternalMessageInfo
  49. func (m *AnnouncementAddRequest) GetGardenId() int64 {
  50. if m != nil {
  51. return m.GardenId
  52. }
  53. return 0
  54. }
  55. func (m *AnnouncementAddRequest) GetTitle() string {
  56. if m != nil {
  57. return m.Title
  58. }
  59. return ""
  60. }
  61. func (m *AnnouncementAddRequest) GetContent() string {
  62. if m != nil {
  63. return m.Content
  64. }
  65. return ""
  66. }
  67. type AnnouncementAddReply struct {
  68. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  69. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  70. XXX_unrecognized []byte `json:"-"`
  71. XXX_sizecache int32 `json:"-"`
  72. }
  73. func (m *AnnouncementAddReply) Reset() { *m = AnnouncementAddReply{} }
  74. func (m *AnnouncementAddReply) String() string { return proto.CompactTextString(m) }
  75. func (*AnnouncementAddReply) ProtoMessage() {}
  76. func (*AnnouncementAddReply) Descriptor() ([]byte, []int) {
  77. return fileDescriptor_0080e911b962c5cf, []int{1}
  78. }
  79. func (m *AnnouncementAddReply) XXX_Unmarshal(b []byte) error {
  80. return xxx_messageInfo_AnnouncementAddReply.Unmarshal(m, b)
  81. }
  82. func (m *AnnouncementAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  83. return xxx_messageInfo_AnnouncementAddReply.Marshal(b, m, deterministic)
  84. }
  85. func (m *AnnouncementAddReply) XXX_Merge(src proto.Message) {
  86. xxx_messageInfo_AnnouncementAddReply.Merge(m, src)
  87. }
  88. func (m *AnnouncementAddReply) XXX_Size() int {
  89. return xxx_messageInfo_AnnouncementAddReply.Size(m)
  90. }
  91. func (m *AnnouncementAddReply) XXX_DiscardUnknown() {
  92. xxx_messageInfo_AnnouncementAddReply.DiscardUnknown(m)
  93. }
  94. var xxx_messageInfo_AnnouncementAddReply proto.InternalMessageInfo
  95. func (m *AnnouncementAddReply) GetId() int64 {
  96. if m != nil {
  97. return m.Id
  98. }
  99. return 0
  100. }
  101. type AnnouncementUpdateRequest struct {
  102. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  103. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  104. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content"`
  105. Id int64 `protobuf:"varint,4,opt,name=id,proto3" json:"id"`
  106. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  107. XXX_unrecognized []byte `json:"-"`
  108. XXX_sizecache int32 `json:"-"`
  109. }
  110. func (m *AnnouncementUpdateRequest) Reset() { *m = AnnouncementUpdateRequest{} }
  111. func (m *AnnouncementUpdateRequest) String() string { return proto.CompactTextString(m) }
  112. func (*AnnouncementUpdateRequest) ProtoMessage() {}
  113. func (*AnnouncementUpdateRequest) Descriptor() ([]byte, []int) {
  114. return fileDescriptor_0080e911b962c5cf, []int{2}
  115. }
  116. func (m *AnnouncementUpdateRequest) XXX_Unmarshal(b []byte) error {
  117. return xxx_messageInfo_AnnouncementUpdateRequest.Unmarshal(m, b)
  118. }
  119. func (m *AnnouncementUpdateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  120. return xxx_messageInfo_AnnouncementUpdateRequest.Marshal(b, m, deterministic)
  121. }
  122. func (m *AnnouncementUpdateRequest) XXX_Merge(src proto.Message) {
  123. xxx_messageInfo_AnnouncementUpdateRequest.Merge(m, src)
  124. }
  125. func (m *AnnouncementUpdateRequest) XXX_Size() int {
  126. return xxx_messageInfo_AnnouncementUpdateRequest.Size(m)
  127. }
  128. func (m *AnnouncementUpdateRequest) XXX_DiscardUnknown() {
  129. xxx_messageInfo_AnnouncementUpdateRequest.DiscardUnknown(m)
  130. }
  131. var xxx_messageInfo_AnnouncementUpdateRequest proto.InternalMessageInfo
  132. func (m *AnnouncementUpdateRequest) GetGardenId() int64 {
  133. if m != nil {
  134. return m.GardenId
  135. }
  136. return 0
  137. }
  138. func (m *AnnouncementUpdateRequest) GetTitle() string {
  139. if m != nil {
  140. return m.Title
  141. }
  142. return ""
  143. }
  144. func (m *AnnouncementUpdateRequest) GetContent() string {
  145. if m != nil {
  146. return m.Content
  147. }
  148. return ""
  149. }
  150. func (m *AnnouncementUpdateRequest) GetId() int64 {
  151. if m != nil {
  152. return m.Id
  153. }
  154. return 0
  155. }
  156. type AnnouncementUpdateReply struct {
  157. Origin *AnnouncementUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  158. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  159. XXX_unrecognized []byte `json:"-"`
  160. XXX_sizecache int32 `json:"-"`
  161. }
  162. func (m *AnnouncementUpdateReply) Reset() { *m = AnnouncementUpdateReply{} }
  163. func (m *AnnouncementUpdateReply) String() string { return proto.CompactTextString(m) }
  164. func (*AnnouncementUpdateReply) ProtoMessage() {}
  165. func (*AnnouncementUpdateReply) Descriptor() ([]byte, []int) {
  166. return fileDescriptor_0080e911b962c5cf, []int{3}
  167. }
  168. func (m *AnnouncementUpdateReply) XXX_Unmarshal(b []byte) error {
  169. return xxx_messageInfo_AnnouncementUpdateReply.Unmarshal(m, b)
  170. }
  171. func (m *AnnouncementUpdateReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  172. return xxx_messageInfo_AnnouncementUpdateReply.Marshal(b, m, deterministic)
  173. }
  174. func (m *AnnouncementUpdateReply) XXX_Merge(src proto.Message) {
  175. xxx_messageInfo_AnnouncementUpdateReply.Merge(m, src)
  176. }
  177. func (m *AnnouncementUpdateReply) XXX_Size() int {
  178. return xxx_messageInfo_AnnouncementUpdateReply.Size(m)
  179. }
  180. func (m *AnnouncementUpdateReply) XXX_DiscardUnknown() {
  181. xxx_messageInfo_AnnouncementUpdateReply.DiscardUnknown(m)
  182. }
  183. var xxx_messageInfo_AnnouncementUpdateReply proto.InternalMessageInfo
  184. func (m *AnnouncementUpdateReply) GetOrigin() *AnnouncementUpdateRequest {
  185. if m != nil {
  186. return m.Origin
  187. }
  188. return nil
  189. }
  190. type AnnouncementDelRequest struct {
  191. GardenId int64 `protobuf:"varint,1,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  192. Id int64 `protobuf:"varint,2,opt,name=id,proto3" json:"id"`
  193. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  194. XXX_unrecognized []byte `json:"-"`
  195. XXX_sizecache int32 `json:"-"`
  196. }
  197. func (m *AnnouncementDelRequest) Reset() { *m = AnnouncementDelRequest{} }
  198. func (m *AnnouncementDelRequest) String() string { return proto.CompactTextString(m) }
  199. func (*AnnouncementDelRequest) ProtoMessage() {}
  200. func (*AnnouncementDelRequest) Descriptor() ([]byte, []int) {
  201. return fileDescriptor_0080e911b962c5cf, []int{4}
  202. }
  203. func (m *AnnouncementDelRequest) XXX_Unmarshal(b []byte) error {
  204. return xxx_messageInfo_AnnouncementDelRequest.Unmarshal(m, b)
  205. }
  206. func (m *AnnouncementDelRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  207. return xxx_messageInfo_AnnouncementDelRequest.Marshal(b, m, deterministic)
  208. }
  209. func (m *AnnouncementDelRequest) XXX_Merge(src proto.Message) {
  210. xxx_messageInfo_AnnouncementDelRequest.Merge(m, src)
  211. }
  212. func (m *AnnouncementDelRequest) XXX_Size() int {
  213. return xxx_messageInfo_AnnouncementDelRequest.Size(m)
  214. }
  215. func (m *AnnouncementDelRequest) XXX_DiscardUnknown() {
  216. xxx_messageInfo_AnnouncementDelRequest.DiscardUnknown(m)
  217. }
  218. var xxx_messageInfo_AnnouncementDelRequest proto.InternalMessageInfo
  219. func (m *AnnouncementDelRequest) GetGardenId() int64 {
  220. if m != nil {
  221. return m.GardenId
  222. }
  223. return 0
  224. }
  225. func (m *AnnouncementDelRequest) GetId() int64 {
  226. if m != nil {
  227. return m.Id
  228. }
  229. return 0
  230. }
  231. type AnnouncementDelReply struct {
  232. Origin *AnnouncementUpdateRequest `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin"`
  233. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  234. XXX_unrecognized []byte `json:"-"`
  235. XXX_sizecache int32 `json:"-"`
  236. }
  237. func (m *AnnouncementDelReply) Reset() { *m = AnnouncementDelReply{} }
  238. func (m *AnnouncementDelReply) String() string { return proto.CompactTextString(m) }
  239. func (*AnnouncementDelReply) ProtoMessage() {}
  240. func (*AnnouncementDelReply) Descriptor() ([]byte, []int) {
  241. return fileDescriptor_0080e911b962c5cf, []int{5}
  242. }
  243. func (m *AnnouncementDelReply) XXX_Unmarshal(b []byte) error {
  244. return xxx_messageInfo_AnnouncementDelReply.Unmarshal(m, b)
  245. }
  246. func (m *AnnouncementDelReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  247. return xxx_messageInfo_AnnouncementDelReply.Marshal(b, m, deterministic)
  248. }
  249. func (m *AnnouncementDelReply) XXX_Merge(src proto.Message) {
  250. xxx_messageInfo_AnnouncementDelReply.Merge(m, src)
  251. }
  252. func (m *AnnouncementDelReply) XXX_Size() int {
  253. return xxx_messageInfo_AnnouncementDelReply.Size(m)
  254. }
  255. func (m *AnnouncementDelReply) XXX_DiscardUnknown() {
  256. xxx_messageInfo_AnnouncementDelReply.DiscardUnknown(m)
  257. }
  258. var xxx_messageInfo_AnnouncementDelReply proto.InternalMessageInfo
  259. func (m *AnnouncementDelReply) GetOrigin() *AnnouncementUpdateRequest {
  260. if m != nil {
  261. return m.Origin
  262. }
  263. return nil
  264. }
  265. type AnnouncementListRequest struct {
  266. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  267. PageSize int64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size"`
  268. GardenId int64 `protobuf:"varint,3,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  269. Uid int64 `protobuf:"varint,4,opt,name=uid,proto3" json:"uid"`
  270. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  271. XXX_unrecognized []byte `json:"-"`
  272. XXX_sizecache int32 `json:"-"`
  273. }
  274. func (m *AnnouncementListRequest) Reset() { *m = AnnouncementListRequest{} }
  275. func (m *AnnouncementListRequest) String() string { return proto.CompactTextString(m) }
  276. func (*AnnouncementListRequest) ProtoMessage() {}
  277. func (*AnnouncementListRequest) Descriptor() ([]byte, []int) {
  278. return fileDescriptor_0080e911b962c5cf, []int{6}
  279. }
  280. func (m *AnnouncementListRequest) XXX_Unmarshal(b []byte) error {
  281. return xxx_messageInfo_AnnouncementListRequest.Unmarshal(m, b)
  282. }
  283. func (m *AnnouncementListRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  284. return xxx_messageInfo_AnnouncementListRequest.Marshal(b, m, deterministic)
  285. }
  286. func (m *AnnouncementListRequest) XXX_Merge(src proto.Message) {
  287. xxx_messageInfo_AnnouncementListRequest.Merge(m, src)
  288. }
  289. func (m *AnnouncementListRequest) XXX_Size() int {
  290. return xxx_messageInfo_AnnouncementListRequest.Size(m)
  291. }
  292. func (m *AnnouncementListRequest) XXX_DiscardUnknown() {
  293. xxx_messageInfo_AnnouncementListRequest.DiscardUnknown(m)
  294. }
  295. var xxx_messageInfo_AnnouncementListRequest proto.InternalMessageInfo
  296. func (m *AnnouncementListRequest) GetPage() int64 {
  297. if m != nil {
  298. return m.Page
  299. }
  300. return 0
  301. }
  302. func (m *AnnouncementListRequest) GetPageSize() int64 {
  303. if m != nil {
  304. return m.PageSize
  305. }
  306. return 0
  307. }
  308. func (m *AnnouncementListRequest) GetGardenId() int64 {
  309. if m != nil {
  310. return m.GardenId
  311. }
  312. return 0
  313. }
  314. func (m *AnnouncementListRequest) GetUid() int64 {
  315. if m != nil {
  316. return m.Uid
  317. }
  318. return 0
  319. }
  320. type AnnouncementItem struct {
  321. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  322. Title string `protobuf:"bytes,2,opt,name=title,proto3" json:"title"`
  323. Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content"`
  324. CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at"`
  325. ReadCount int64 `protobuf:"varint,5,opt,name=read_count,json=readCount,proto3" json:"read_count"`
  326. Read bool `protobuf:"varint,6,opt,name=read,proto3" json:"read"`
  327. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  328. XXX_unrecognized []byte `json:"-"`
  329. XXX_sizecache int32 `json:"-"`
  330. }
  331. func (m *AnnouncementItem) Reset() { *m = AnnouncementItem{} }
  332. func (m *AnnouncementItem) String() string { return proto.CompactTextString(m) }
  333. func (*AnnouncementItem) ProtoMessage() {}
  334. func (*AnnouncementItem) Descriptor() ([]byte, []int) {
  335. return fileDescriptor_0080e911b962c5cf, []int{7}
  336. }
  337. func (m *AnnouncementItem) XXX_Unmarshal(b []byte) error {
  338. return xxx_messageInfo_AnnouncementItem.Unmarshal(m, b)
  339. }
  340. func (m *AnnouncementItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  341. return xxx_messageInfo_AnnouncementItem.Marshal(b, m, deterministic)
  342. }
  343. func (m *AnnouncementItem) XXX_Merge(src proto.Message) {
  344. xxx_messageInfo_AnnouncementItem.Merge(m, src)
  345. }
  346. func (m *AnnouncementItem) XXX_Size() int {
  347. return xxx_messageInfo_AnnouncementItem.Size(m)
  348. }
  349. func (m *AnnouncementItem) XXX_DiscardUnknown() {
  350. xxx_messageInfo_AnnouncementItem.DiscardUnknown(m)
  351. }
  352. var xxx_messageInfo_AnnouncementItem proto.InternalMessageInfo
  353. func (m *AnnouncementItem) GetId() int64 {
  354. if m != nil {
  355. return m.Id
  356. }
  357. return 0
  358. }
  359. func (m *AnnouncementItem) GetTitle() string {
  360. if m != nil {
  361. return m.Title
  362. }
  363. return ""
  364. }
  365. func (m *AnnouncementItem) GetContent() string {
  366. if m != nil {
  367. return m.Content
  368. }
  369. return ""
  370. }
  371. func (m *AnnouncementItem) GetCreatedAt() string {
  372. if m != nil {
  373. return m.CreatedAt
  374. }
  375. return ""
  376. }
  377. func (m *AnnouncementItem) GetReadCount() int64 {
  378. if m != nil {
  379. return m.ReadCount
  380. }
  381. return 0
  382. }
  383. func (m *AnnouncementItem) GetRead() bool {
  384. if m != nil {
  385. return m.Read
  386. }
  387. return false
  388. }
  389. type AnnouncementListReply struct {
  390. Page int64 `protobuf:"varint,1,opt,name=page,proto3" json:"page"`
  391. Total int64 `protobuf:"varint,2,opt,name=total,proto3" json:"total"`
  392. List []*AnnouncementItem `protobuf:"bytes,3,rep,name=list,proto3" json:"list"`
  393. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  394. XXX_unrecognized []byte `json:"-"`
  395. XXX_sizecache int32 `json:"-"`
  396. }
  397. func (m *AnnouncementListReply) Reset() { *m = AnnouncementListReply{} }
  398. func (m *AnnouncementListReply) String() string { return proto.CompactTextString(m) }
  399. func (*AnnouncementListReply) ProtoMessage() {}
  400. func (*AnnouncementListReply) Descriptor() ([]byte, []int) {
  401. return fileDescriptor_0080e911b962c5cf, []int{8}
  402. }
  403. func (m *AnnouncementListReply) XXX_Unmarshal(b []byte) error {
  404. return xxx_messageInfo_AnnouncementListReply.Unmarshal(m, b)
  405. }
  406. func (m *AnnouncementListReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  407. return xxx_messageInfo_AnnouncementListReply.Marshal(b, m, deterministic)
  408. }
  409. func (m *AnnouncementListReply) XXX_Merge(src proto.Message) {
  410. xxx_messageInfo_AnnouncementListReply.Merge(m, src)
  411. }
  412. func (m *AnnouncementListReply) XXX_Size() int {
  413. return xxx_messageInfo_AnnouncementListReply.Size(m)
  414. }
  415. func (m *AnnouncementListReply) XXX_DiscardUnknown() {
  416. xxx_messageInfo_AnnouncementListReply.DiscardUnknown(m)
  417. }
  418. var xxx_messageInfo_AnnouncementListReply proto.InternalMessageInfo
  419. func (m *AnnouncementListReply) GetPage() int64 {
  420. if m != nil {
  421. return m.Page
  422. }
  423. return 0
  424. }
  425. func (m *AnnouncementListReply) GetTotal() int64 {
  426. if m != nil {
  427. return m.Total
  428. }
  429. return 0
  430. }
  431. func (m *AnnouncementListReply) GetList() []*AnnouncementItem {
  432. if m != nil {
  433. return m.List
  434. }
  435. return nil
  436. }
  437. type AnnouncementReadAddRequest struct {
  438. Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id"`
  439. GardenId int64 `protobuf:"varint,2,opt,name=garden_id,json=gardenId,proto3" json:"garden_id"`
  440. Uid int64 `protobuf:"varint,3,opt,name=uid,proto3" json:"uid"`
  441. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  442. XXX_unrecognized []byte `json:"-"`
  443. XXX_sizecache int32 `json:"-"`
  444. }
  445. func (m *AnnouncementReadAddRequest) Reset() { *m = AnnouncementReadAddRequest{} }
  446. func (m *AnnouncementReadAddRequest) String() string { return proto.CompactTextString(m) }
  447. func (*AnnouncementReadAddRequest) ProtoMessage() {}
  448. func (*AnnouncementReadAddRequest) Descriptor() ([]byte, []int) {
  449. return fileDescriptor_0080e911b962c5cf, []int{9}
  450. }
  451. func (m *AnnouncementReadAddRequest) XXX_Unmarshal(b []byte) error {
  452. return xxx_messageInfo_AnnouncementReadAddRequest.Unmarshal(m, b)
  453. }
  454. func (m *AnnouncementReadAddRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  455. return xxx_messageInfo_AnnouncementReadAddRequest.Marshal(b, m, deterministic)
  456. }
  457. func (m *AnnouncementReadAddRequest) XXX_Merge(src proto.Message) {
  458. xxx_messageInfo_AnnouncementReadAddRequest.Merge(m, src)
  459. }
  460. func (m *AnnouncementReadAddRequest) XXX_Size() int {
  461. return xxx_messageInfo_AnnouncementReadAddRequest.Size(m)
  462. }
  463. func (m *AnnouncementReadAddRequest) XXX_DiscardUnknown() {
  464. xxx_messageInfo_AnnouncementReadAddRequest.DiscardUnknown(m)
  465. }
  466. var xxx_messageInfo_AnnouncementReadAddRequest proto.InternalMessageInfo
  467. func (m *AnnouncementReadAddRequest) GetId() int64 {
  468. if m != nil {
  469. return m.Id
  470. }
  471. return 0
  472. }
  473. func (m *AnnouncementReadAddRequest) GetGardenId() int64 {
  474. if m != nil {
  475. return m.GardenId
  476. }
  477. return 0
  478. }
  479. func (m *AnnouncementReadAddRequest) GetUid() int64 {
  480. if m != nil {
  481. return m.Uid
  482. }
  483. return 0
  484. }
  485. type AnnouncementReadAddReply struct {
  486. XXX_NoUnkeyedLiteral struct{} `json:"-"`
  487. XXX_unrecognized []byte `json:"-"`
  488. XXX_sizecache int32 `json:"-"`
  489. }
  490. func (m *AnnouncementReadAddReply) Reset() { *m = AnnouncementReadAddReply{} }
  491. func (m *AnnouncementReadAddReply) String() string { return proto.CompactTextString(m) }
  492. func (*AnnouncementReadAddReply) ProtoMessage() {}
  493. func (*AnnouncementReadAddReply) Descriptor() ([]byte, []int) {
  494. return fileDescriptor_0080e911b962c5cf, []int{10}
  495. }
  496. func (m *AnnouncementReadAddReply) XXX_Unmarshal(b []byte) error {
  497. return xxx_messageInfo_AnnouncementReadAddReply.Unmarshal(m, b)
  498. }
  499. func (m *AnnouncementReadAddReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
  500. return xxx_messageInfo_AnnouncementReadAddReply.Marshal(b, m, deterministic)
  501. }
  502. func (m *AnnouncementReadAddReply) XXX_Merge(src proto.Message) {
  503. xxx_messageInfo_AnnouncementReadAddReply.Merge(m, src)
  504. }
  505. func (m *AnnouncementReadAddReply) XXX_Size() int {
  506. return xxx_messageInfo_AnnouncementReadAddReply.Size(m)
  507. }
  508. func (m *AnnouncementReadAddReply) XXX_DiscardUnknown() {
  509. xxx_messageInfo_AnnouncementReadAddReply.DiscardUnknown(m)
  510. }
  511. var xxx_messageInfo_AnnouncementReadAddReply proto.InternalMessageInfo
  512. func init() {
  513. proto.RegisterType((*AnnouncementAddRequest)(nil), "pb_v1.AnnouncementAddRequest")
  514. proto.RegisterType((*AnnouncementAddReply)(nil), "pb_v1.AnnouncementAddReply")
  515. proto.RegisterType((*AnnouncementUpdateRequest)(nil), "pb_v1.AnnouncementUpdateRequest")
  516. proto.RegisterType((*AnnouncementUpdateReply)(nil), "pb_v1.AnnouncementUpdateReply")
  517. proto.RegisterType((*AnnouncementDelRequest)(nil), "pb_v1.AnnouncementDelRequest")
  518. proto.RegisterType((*AnnouncementDelReply)(nil), "pb_v1.AnnouncementDelReply")
  519. proto.RegisterType((*AnnouncementListRequest)(nil), "pb_v1.AnnouncementListRequest")
  520. proto.RegisterType((*AnnouncementItem)(nil), "pb_v1.AnnouncementItem")
  521. proto.RegisterType((*AnnouncementListReply)(nil), "pb_v1.AnnouncementListReply")
  522. proto.RegisterType((*AnnouncementReadAddRequest)(nil), "pb_v1.AnnouncementReadAddRequest")
  523. proto.RegisterType((*AnnouncementReadAddReply)(nil), "pb_v1.AnnouncementReadAddReply")
  524. }
  525. func init() {
  526. proto.RegisterFile("announcement.proto", fileDescriptor_0080e911b962c5cf)
  527. }
  528. var fileDescriptor_0080e911b962c5cf = []byte{
  529. // 426 bytes of a gzipped FileDescriptorProto
  530. 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0xcf, 0x8b, 0xd4, 0x30,
  531. 0x14, 0xc7, 0x69, 0x3b, 0x33, 0x4e, 0xdf, 0x82, 0x2c, 0x61, 0xd7, 0xa9, 0x2b, 0x42, 0xe9, 0x41,
  532. 0x0a, 0xe2, 0x2c, 0xbb, 0x5e, 0xbc, 0x8e, 0x3f, 0x0e, 0x0b, 0x1e, 0x24, 0x8b, 0x17, 0x3d, 0x94,
  533. 0x4c, 0xf3, 0x18, 0x02, 0xdd, 0x24, 0xb6, 0xe9, 0x62, 0xf7, 0xef, 0xf1, 0x0f, 0x95, 0xa4, 0x9d,
  534. 0xda, 0xce, 0x54, 0x50, 0xc4, 0x53, 0xf3, 0x5e, 0xc2, 0xfb, 0x7e, 0xbf, 0x9f, 0xb4, 0x05, 0xc2,
  535. 0xa4, 0x54, 0xb5, 0xcc, 0xf1, 0x0e, 0xa5, 0x59, 0xeb, 0x52, 0x19, 0x45, 0xe6, 0x7a, 0x9b, 0xdd,
  536. 0x5f, 0x25, 0x08, 0x4f, 0x36, 0x83, 0xcd, 0x0d, 0xe7, 0x14, 0xbf, 0xd5, 0x58, 0x19, 0xf2, 0x0c,
  537. 0xc2, 0x1d, 0x2b, 0x39, 0xca, 0x4c, 0xf0, 0xc8, 0x8b, 0xbd, 0x34, 0xa0, 0xcb, 0xb6, 0x71, 0xc3,
  538. 0xc9, 0x19, 0xcc, 0x8d, 0x30, 0x05, 0x46, 0x7e, 0xec, 0xa5, 0x21, 0x6d, 0x0b, 0x12, 0xc1, 0xa3,
  539. 0x5c, 0x49, 0x83, 0xd2, 0x44, 0x81, 0xeb, 0xef, 0xcb, 0xe4, 0x05, 0x9c, 0x1d, 0xc9, 0xe8, 0xa2,
  540. 0x21, 0x8f, 0xc1, 0xef, 0xa7, 0xfb, 0x82, 0x27, 0xdf, 0xe1, 0xe9, 0xf0, 0xdc, 0x67, 0xcd, 0x99,
  541. 0xc1, 0xff, 0xe1, 0xa8, 0x53, 0x9e, 0xf5, 0xca, 0xb7, 0xb0, 0x9a, 0x52, 0xb6, 0x26, 0xdf, 0xc0,
  542. 0x42, 0x95, 0x62, 0x27, 0xa4, 0x13, 0x3d, 0xb9, 0x8e, 0xd7, 0x8e, 0xdd, 0xfa, 0xb7, 0x4e, 0x69,
  543. 0x77, 0x3e, 0xf9, 0x30, 0xa6, 0xfb, 0x1e, 0x8b, 0x3f, 0xca, 0xd2, 0x7a, 0xf3, 0x7b, 0x6f, 0x9f,
  544. 0xc6, 0xf4, 0xdc, 0x98, 0x7f, 0x33, 0xd6, 0x8c, 0xd3, 0x7e, 0x14, 0x95, 0xd9, 0x3b, 0x23, 0x30,
  545. 0xd3, 0x6c, 0x87, 0x9d, 0x29, 0xb7, 0xb6, 0x6e, 0xed, 0x33, 0xab, 0xc4, 0x03, 0x76, 0xbe, 0x96,
  546. 0xb6, 0x71, 0x2b, 0x1e, 0x70, 0x1c, 0x25, 0x38, 0x88, 0x72, 0x0a, 0x41, 0xdd, 0x73, 0xb6, 0xcb,
  547. 0xe4, 0x87, 0x07, 0xa7, 0x43, 0xed, 0x1b, 0x83, 0x77, 0x87, 0xef, 0xc1, 0x5f, 0xdf, 0xe6, 0x73,
  548. 0x80, 0xbc, 0x44, 0x66, 0x90, 0x67, 0xcc, 0x38, 0xb5, 0x90, 0x86, 0x5d, 0x67, 0xe3, 0xb6, 0x4b,
  549. 0x64, 0x3c, 0xcb, 0x55, 0x2d, 0x4d, 0x34, 0x77, 0x32, 0xa1, 0xed, 0xbc, 0xb3, 0x0d, 0x1b, 0xd9,
  550. 0x16, 0xd1, 0x22, 0xf6, 0xd2, 0x25, 0x75, 0xeb, 0x44, 0xc2, 0xf9, 0x31, 0x21, 0x0b, 0x7d, 0x8a,
  551. 0x8f, 0xb5, 0xab, 0x0c, 0x2b, 0x3a, 0x36, 0x6d, 0x41, 0x5e, 0xc2, 0xac, 0x10, 0x95, 0xf5, 0x1a,
  552. 0xa4, 0x27, 0xd7, 0xab, 0x89, 0xcb, 0xb1, 0xd9, 0xa9, 0x3b, 0x94, 0x7c, 0x85, 0x8b, 0xe1, 0x0e,
  553. 0x45, 0xc6, 0x07, 0x1f, 0xe3, 0x21, 0x9f, 0x11, 0x73, 0x7f, 0x9a, 0x79, 0xf0, 0x8b, 0xf9, 0x05,
  554. 0x44, 0x93, 0xc3, 0x75, 0xd1, 0xbc, 0x5d, 0x7d, 0x39, 0xd7, 0xa5, 0xd2, 0x58, 0x9a, 0xe6, 0x55,
  555. 0x3b, 0xe2, 0x52, 0x6f, 0x2f, 0xef, 0xaf, 0xb6, 0x0b, 0xf7, 0xa3, 0x78, 0xfd, 0x33, 0x00, 0x00,
  556. 0xff, 0xff, 0xf0, 0x0a, 0x77, 0xc9, 0x3e, 0x04, 0x00, 0x00,
  557. }