activity.pb.go 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.3
  4. // protoc (unknown)
  5. // source: store/activity.proto
  6. package store
  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 ActivityMemoCommentPayload struct {
  20. state protoimpl.MessageState `protogen:"open.v1"`
  21. MemoId int32 `protobuf:"varint,1,opt,name=memo_id,json=memoId,proto3" json:"memo_id,omitempty"`
  22. RelatedMemoId int32 `protobuf:"varint,2,opt,name=related_memo_id,json=relatedMemoId,proto3" json:"related_memo_id,omitempty"`
  23. unknownFields protoimpl.UnknownFields
  24. sizeCache protoimpl.SizeCache
  25. }
  26. func (x *ActivityMemoCommentPayload) Reset() {
  27. *x = ActivityMemoCommentPayload{}
  28. mi := &file_store_activity_proto_msgTypes[0]
  29. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  30. ms.StoreMessageInfo(mi)
  31. }
  32. func (x *ActivityMemoCommentPayload) String() string {
  33. return protoimpl.X.MessageStringOf(x)
  34. }
  35. func (*ActivityMemoCommentPayload) ProtoMessage() {}
  36. func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message {
  37. mi := &file_store_activity_proto_msgTypes[0]
  38. if x != nil {
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. if ms.LoadMessageInfo() == nil {
  41. ms.StoreMessageInfo(mi)
  42. }
  43. return ms
  44. }
  45. return mi.MessageOf(x)
  46. }
  47. // Deprecated: Use ActivityMemoCommentPayload.ProtoReflect.Descriptor instead.
  48. func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int) {
  49. return file_store_activity_proto_rawDescGZIP(), []int{0}
  50. }
  51. func (x *ActivityMemoCommentPayload) GetMemoId() int32 {
  52. if x != nil {
  53. return x.MemoId
  54. }
  55. return 0
  56. }
  57. func (x *ActivityMemoCommentPayload) GetRelatedMemoId() int32 {
  58. if x != nil {
  59. return x.RelatedMemoId
  60. }
  61. return 0
  62. }
  63. type ActivityVersionUpdatePayload struct {
  64. state protoimpl.MessageState `protogen:"open.v1"`
  65. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
  66. unknownFields protoimpl.UnknownFields
  67. sizeCache protoimpl.SizeCache
  68. }
  69. func (x *ActivityVersionUpdatePayload) Reset() {
  70. *x = ActivityVersionUpdatePayload{}
  71. mi := &file_store_activity_proto_msgTypes[1]
  72. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  73. ms.StoreMessageInfo(mi)
  74. }
  75. func (x *ActivityVersionUpdatePayload) String() string {
  76. return protoimpl.X.MessageStringOf(x)
  77. }
  78. func (*ActivityVersionUpdatePayload) ProtoMessage() {}
  79. func (x *ActivityVersionUpdatePayload) ProtoReflect() protoreflect.Message {
  80. mi := &file_store_activity_proto_msgTypes[1]
  81. if x != nil {
  82. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  83. if ms.LoadMessageInfo() == nil {
  84. ms.StoreMessageInfo(mi)
  85. }
  86. return ms
  87. }
  88. return mi.MessageOf(x)
  89. }
  90. // Deprecated: Use ActivityVersionUpdatePayload.ProtoReflect.Descriptor instead.
  91. func (*ActivityVersionUpdatePayload) Descriptor() ([]byte, []int) {
  92. return file_store_activity_proto_rawDescGZIP(), []int{1}
  93. }
  94. func (x *ActivityVersionUpdatePayload) GetVersion() string {
  95. if x != nil {
  96. return x.Version
  97. }
  98. return ""
  99. }
  100. type ActivityPayload struct {
  101. state protoimpl.MessageState `protogen:"open.v1"`
  102. MemoComment *ActivityMemoCommentPayload `protobuf:"bytes,1,opt,name=memo_comment,json=memoComment,proto3" json:"memo_comment,omitempty"`
  103. VersionUpdate *ActivityVersionUpdatePayload `protobuf:"bytes,2,opt,name=version_update,json=versionUpdate,proto3" json:"version_update,omitempty"`
  104. unknownFields protoimpl.UnknownFields
  105. sizeCache protoimpl.SizeCache
  106. }
  107. func (x *ActivityPayload) Reset() {
  108. *x = ActivityPayload{}
  109. mi := &file_store_activity_proto_msgTypes[2]
  110. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  111. ms.StoreMessageInfo(mi)
  112. }
  113. func (x *ActivityPayload) String() string {
  114. return protoimpl.X.MessageStringOf(x)
  115. }
  116. func (*ActivityPayload) ProtoMessage() {}
  117. func (x *ActivityPayload) ProtoReflect() protoreflect.Message {
  118. mi := &file_store_activity_proto_msgTypes[2]
  119. if x != nil {
  120. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  121. if ms.LoadMessageInfo() == nil {
  122. ms.StoreMessageInfo(mi)
  123. }
  124. return ms
  125. }
  126. return mi.MessageOf(x)
  127. }
  128. // Deprecated: Use ActivityPayload.ProtoReflect.Descriptor instead.
  129. func (*ActivityPayload) Descriptor() ([]byte, []int) {
  130. return file_store_activity_proto_rawDescGZIP(), []int{2}
  131. }
  132. func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload {
  133. if x != nil {
  134. return x.MemoComment
  135. }
  136. return nil
  137. }
  138. func (x *ActivityPayload) GetVersionUpdate() *ActivityVersionUpdatePayload {
  139. if x != nil {
  140. return x.VersionUpdate
  141. }
  142. return nil
  143. }
  144. var File_store_activity_proto protoreflect.FileDescriptor
  145. var file_store_activity_proto_rawDesc = []byte{
  146. 0x0a, 0x14, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79,
  147. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74,
  148. 0x6f, 0x72, 0x65, 0x22, 0x5d, 0x0a, 0x1a, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d,
  149. 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61,
  150. 0x64, 0x12, 0x17, 0x0a, 0x07, 0x6d, 0x65, 0x6d, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
  151. 0x28, 0x05, 0x52, 0x06, 0x6d, 0x65, 0x6d, 0x6f, 0x49, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x72, 0x65,
  152. 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
  153. 0x01, 0x28, 0x05, 0x52, 0x0d, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x6f,
  154. 0x49, 0x64, 0x22, 0x38, 0x0a, 0x1c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x56, 0x65,
  155. 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f,
  156. 0x61, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
  157. 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xaf, 0x01, 0x0a,
  158. 0x0f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
  159. 0x12, 0x4a, 0x0a, 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
  160. 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73,
  161. 0x74, 0x6f, 0x72, 0x65, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d,
  162. 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52,
  163. 0x0b, 0x6d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x50, 0x0a, 0x0e,
  164. 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02,
  165. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x6f,
  166. 0x72, 0x65, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69,
  167. 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52,
  168. 0x0d, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x42, 0x98,
  169. 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x73, 0x74, 0x6f,
  170. 0x72, 0x65, 0x42, 0x0d, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x50, 0x72, 0x6f, 0x74,
  171. 0x6f, 0x50, 0x01, 0x5a, 0x29, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
  172. 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70,
  173. 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0xa2, 0x02,
  174. 0x03, 0x4d, 0x53, 0x58, 0xaa, 0x02, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x53, 0x74, 0x6f,
  175. 0x72, 0x65, 0xca, 0x02, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x65,
  176. 0xe2, 0x02, 0x17, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x5c, 0x47,
  177. 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0c, 0x4d, 0x65, 0x6d,
  178. 0x6f, 0x73, 0x3a, 0x3a, 0x53, 0x74, 0x6f, 0x72, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  179. 0x33,
  180. }
  181. var (
  182. file_store_activity_proto_rawDescOnce sync.Once
  183. file_store_activity_proto_rawDescData = file_store_activity_proto_rawDesc
  184. )
  185. func file_store_activity_proto_rawDescGZIP() []byte {
  186. file_store_activity_proto_rawDescOnce.Do(func() {
  187. file_store_activity_proto_rawDescData = protoimpl.X.CompressGZIP(file_store_activity_proto_rawDescData)
  188. })
  189. return file_store_activity_proto_rawDescData
  190. }
  191. var file_store_activity_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
  192. var file_store_activity_proto_goTypes = []any{
  193. (*ActivityMemoCommentPayload)(nil), // 0: memos.store.ActivityMemoCommentPayload
  194. (*ActivityVersionUpdatePayload)(nil), // 1: memos.store.ActivityVersionUpdatePayload
  195. (*ActivityPayload)(nil), // 2: memos.store.ActivityPayload
  196. }
  197. var file_store_activity_proto_depIdxs = []int32{
  198. 0, // 0: memos.store.ActivityPayload.memo_comment:type_name -> memos.store.ActivityMemoCommentPayload
  199. 1, // 1: memos.store.ActivityPayload.version_update:type_name -> memos.store.ActivityVersionUpdatePayload
  200. 2, // [2:2] is the sub-list for method output_type
  201. 2, // [2:2] is the sub-list for method input_type
  202. 2, // [2:2] is the sub-list for extension type_name
  203. 2, // [2:2] is the sub-list for extension extendee
  204. 0, // [0:2] is the sub-list for field type_name
  205. }
  206. func init() { file_store_activity_proto_init() }
  207. func file_store_activity_proto_init() {
  208. if File_store_activity_proto != nil {
  209. return
  210. }
  211. type x struct{}
  212. out := protoimpl.TypeBuilder{
  213. File: protoimpl.DescBuilder{
  214. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  215. RawDescriptor: file_store_activity_proto_rawDesc,
  216. NumEnums: 0,
  217. NumMessages: 3,
  218. NumExtensions: 0,
  219. NumServices: 0,
  220. },
  221. GoTypes: file_store_activity_proto_goTypes,
  222. DependencyIndexes: file_store_activity_proto_depIdxs,
  223. MessageInfos: file_store_activity_proto_msgTypes,
  224. }.Build()
  225. File_store_activity_proto = out.File
  226. file_store_activity_proto_rawDesc = nil
  227. file_store_activity_proto_goTypes = nil
  228. file_store_activity_proto_depIdxs = nil
  229. }