activity_service.pb.go 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.4
  4. // protoc (unknown)
  5. // source: api/v1/activity_service.proto
  6. package apiv1
  7. import (
  8. _ "google.golang.org/genproto/googleapis/api/annotations"
  9. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  10. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  11. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  12. reflect "reflect"
  13. sync "sync"
  14. unsafe "unsafe"
  15. )
  16. const (
  17. // Verify that this generated code is sufficiently up-to-date.
  18. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  19. // Verify that runtime/protoimpl is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  21. )
  22. type Activity struct {
  23. state protoimpl.MessageState `protogen:"open.v1"`
  24. // The name of the activity.
  25. // Format: activities/{id}
  26. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  27. // The name of the creator.
  28. // Format: users/{user}
  29. Creator string `protobuf:"bytes,2,opt,name=creator,proto3" json:"creator,omitempty"`
  30. // The type of the activity.
  31. Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"`
  32. // The level of the activity.
  33. Level string `protobuf:"bytes,4,opt,name=level,proto3" json:"level,omitempty"`
  34. // The create time of the activity.
  35. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  36. // The payload of the activity.
  37. Payload *ActivityPayload `protobuf:"bytes,6,opt,name=payload,proto3" json:"payload,omitempty"`
  38. unknownFields protoimpl.UnknownFields
  39. sizeCache protoimpl.SizeCache
  40. }
  41. func (x *Activity) Reset() {
  42. *x = Activity{}
  43. mi := &file_api_v1_activity_service_proto_msgTypes[0]
  44. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  45. ms.StoreMessageInfo(mi)
  46. }
  47. func (x *Activity) String() string {
  48. return protoimpl.X.MessageStringOf(x)
  49. }
  50. func (*Activity) ProtoMessage() {}
  51. func (x *Activity) ProtoReflect() protoreflect.Message {
  52. mi := &file_api_v1_activity_service_proto_msgTypes[0]
  53. if x != nil {
  54. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  55. if ms.LoadMessageInfo() == nil {
  56. ms.StoreMessageInfo(mi)
  57. }
  58. return ms
  59. }
  60. return mi.MessageOf(x)
  61. }
  62. // Deprecated: Use Activity.ProtoReflect.Descriptor instead.
  63. func (*Activity) Descriptor() ([]byte, []int) {
  64. return file_api_v1_activity_service_proto_rawDescGZIP(), []int{0}
  65. }
  66. func (x *Activity) GetName() string {
  67. if x != nil {
  68. return x.Name
  69. }
  70. return ""
  71. }
  72. func (x *Activity) GetCreator() string {
  73. if x != nil {
  74. return x.Creator
  75. }
  76. return ""
  77. }
  78. func (x *Activity) GetType() string {
  79. if x != nil {
  80. return x.Type
  81. }
  82. return ""
  83. }
  84. func (x *Activity) GetLevel() string {
  85. if x != nil {
  86. return x.Level
  87. }
  88. return ""
  89. }
  90. func (x *Activity) GetCreateTime() *timestamppb.Timestamp {
  91. if x != nil {
  92. return x.CreateTime
  93. }
  94. return nil
  95. }
  96. func (x *Activity) GetPayload() *ActivityPayload {
  97. if x != nil {
  98. return x.Payload
  99. }
  100. return nil
  101. }
  102. type ActivityPayload struct {
  103. state protoimpl.MessageState `protogen:"open.v1"`
  104. MemoComment *ActivityMemoCommentPayload `protobuf:"bytes,1,opt,name=memo_comment,json=memoComment,proto3" json:"memo_comment,omitempty"`
  105. VersionUpdate *ActivityVersionUpdatePayload `protobuf:"bytes,2,opt,name=version_update,json=versionUpdate,proto3" json:"version_update,omitempty"`
  106. unknownFields protoimpl.UnknownFields
  107. sizeCache protoimpl.SizeCache
  108. }
  109. func (x *ActivityPayload) Reset() {
  110. *x = ActivityPayload{}
  111. mi := &file_api_v1_activity_service_proto_msgTypes[1]
  112. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  113. ms.StoreMessageInfo(mi)
  114. }
  115. func (x *ActivityPayload) String() string {
  116. return protoimpl.X.MessageStringOf(x)
  117. }
  118. func (*ActivityPayload) ProtoMessage() {}
  119. func (x *ActivityPayload) ProtoReflect() protoreflect.Message {
  120. mi := &file_api_v1_activity_service_proto_msgTypes[1]
  121. if x != nil {
  122. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  123. if ms.LoadMessageInfo() == nil {
  124. ms.StoreMessageInfo(mi)
  125. }
  126. return ms
  127. }
  128. return mi.MessageOf(x)
  129. }
  130. // Deprecated: Use ActivityPayload.ProtoReflect.Descriptor instead.
  131. func (*ActivityPayload) Descriptor() ([]byte, []int) {
  132. return file_api_v1_activity_service_proto_rawDescGZIP(), []int{1}
  133. }
  134. func (x *ActivityPayload) GetMemoComment() *ActivityMemoCommentPayload {
  135. if x != nil {
  136. return x.MemoComment
  137. }
  138. return nil
  139. }
  140. func (x *ActivityPayload) GetVersionUpdate() *ActivityVersionUpdatePayload {
  141. if x != nil {
  142. return x.VersionUpdate
  143. }
  144. return nil
  145. }
  146. // ActivityMemoCommentPayload represents the payload of a memo comment activity.
  147. type ActivityMemoCommentPayload struct {
  148. state protoimpl.MessageState `protogen:"open.v1"`
  149. // The memo name of comment.
  150. // Refer to `Memo.name`.
  151. Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
  152. // The name of related memo.
  153. RelatedMemo string `protobuf:"bytes,2,opt,name=related_memo,json=relatedMemo,proto3" json:"related_memo,omitempty"`
  154. unknownFields protoimpl.UnknownFields
  155. sizeCache protoimpl.SizeCache
  156. }
  157. func (x *ActivityMemoCommentPayload) Reset() {
  158. *x = ActivityMemoCommentPayload{}
  159. mi := &file_api_v1_activity_service_proto_msgTypes[2]
  160. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  161. ms.StoreMessageInfo(mi)
  162. }
  163. func (x *ActivityMemoCommentPayload) String() string {
  164. return protoimpl.X.MessageStringOf(x)
  165. }
  166. func (*ActivityMemoCommentPayload) ProtoMessage() {}
  167. func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message {
  168. mi := &file_api_v1_activity_service_proto_msgTypes[2]
  169. if x != nil {
  170. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  171. if ms.LoadMessageInfo() == nil {
  172. ms.StoreMessageInfo(mi)
  173. }
  174. return ms
  175. }
  176. return mi.MessageOf(x)
  177. }
  178. // Deprecated: Use ActivityMemoCommentPayload.ProtoReflect.Descriptor instead.
  179. func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int) {
  180. return file_api_v1_activity_service_proto_rawDescGZIP(), []int{2}
  181. }
  182. func (x *ActivityMemoCommentPayload) GetMemo() string {
  183. if x != nil {
  184. return x.Memo
  185. }
  186. return ""
  187. }
  188. func (x *ActivityMemoCommentPayload) GetRelatedMemo() string {
  189. if x != nil {
  190. return x.RelatedMemo
  191. }
  192. return ""
  193. }
  194. type ActivityVersionUpdatePayload struct {
  195. state protoimpl.MessageState `protogen:"open.v1"`
  196. // The updated version of memos.
  197. Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"`
  198. unknownFields protoimpl.UnknownFields
  199. sizeCache protoimpl.SizeCache
  200. }
  201. func (x *ActivityVersionUpdatePayload) Reset() {
  202. *x = ActivityVersionUpdatePayload{}
  203. mi := &file_api_v1_activity_service_proto_msgTypes[3]
  204. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  205. ms.StoreMessageInfo(mi)
  206. }
  207. func (x *ActivityVersionUpdatePayload) String() string {
  208. return protoimpl.X.MessageStringOf(x)
  209. }
  210. func (*ActivityVersionUpdatePayload) ProtoMessage() {}
  211. func (x *ActivityVersionUpdatePayload) ProtoReflect() protoreflect.Message {
  212. mi := &file_api_v1_activity_service_proto_msgTypes[3]
  213. if 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 ActivityVersionUpdatePayload.ProtoReflect.Descriptor instead.
  223. func (*ActivityVersionUpdatePayload) Descriptor() ([]byte, []int) {
  224. return file_api_v1_activity_service_proto_rawDescGZIP(), []int{3}
  225. }
  226. func (x *ActivityVersionUpdatePayload) GetVersion() string {
  227. if x != nil {
  228. return x.Version
  229. }
  230. return ""
  231. }
  232. type GetActivityRequest struct {
  233. state protoimpl.MessageState `protogen:"open.v1"`
  234. // The name of the activity.
  235. // Format: activities/{id}, id is the system generated auto-incremented id.
  236. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  237. unknownFields protoimpl.UnknownFields
  238. sizeCache protoimpl.SizeCache
  239. }
  240. func (x *GetActivityRequest) Reset() {
  241. *x = GetActivityRequest{}
  242. mi := &file_api_v1_activity_service_proto_msgTypes[4]
  243. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  244. ms.StoreMessageInfo(mi)
  245. }
  246. func (x *GetActivityRequest) String() string {
  247. return protoimpl.X.MessageStringOf(x)
  248. }
  249. func (*GetActivityRequest) ProtoMessage() {}
  250. func (x *GetActivityRequest) ProtoReflect() protoreflect.Message {
  251. mi := &file_api_v1_activity_service_proto_msgTypes[4]
  252. if x != nil {
  253. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  254. if ms.LoadMessageInfo() == nil {
  255. ms.StoreMessageInfo(mi)
  256. }
  257. return ms
  258. }
  259. return mi.MessageOf(x)
  260. }
  261. // Deprecated: Use GetActivityRequest.ProtoReflect.Descriptor instead.
  262. func (*GetActivityRequest) Descriptor() ([]byte, []int) {
  263. return file_api_v1_activity_service_proto_rawDescGZIP(), []int{4}
  264. }
  265. func (x *GetActivityRequest) GetName() string {
  266. if x != nil {
  267. return x.Name
  268. }
  269. return ""
  270. }
  271. var File_api_v1_activity_service_proto protoreflect.FileDescriptor
  272. var file_api_v1_activity_service_proto_rawDesc = string([]byte{
  273. 0x0a, 0x1d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
  274. 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  275. 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67,
  276. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
  277. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f,
  278. 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70,
  279. 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
  280. 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
  281. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
  282. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
  283. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x01, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69, 0x76,
  284. 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  285. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74,
  286. 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f,
  287. 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  288. 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04,
  289. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x41, 0x0a, 0x0b, 0x63,
  290. 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
  291. 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  292. 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41,
  293. 0x01, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37,
  294. 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
  295. 0x1d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41,
  296. 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07,
  297. 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0xb1, 0x01, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69,
  298. 0x76, 0x69, 0x74, 0x79, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x4b, 0x0a, 0x0c, 0x6d,
  299. 0x65, 0x6d, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28,
  300. 0x0b, 0x32, 0x28, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
  301. 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d,
  302. 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x0b, 0x6d, 0x65, 0x6d,
  303. 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x51, 0x0a, 0x0e, 0x76, 0x65, 0x72, 0x73,
  304. 0x69, 0x6f, 0x6e, 0x5f, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  305. 0x32, 0x2a, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e,
  306. 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x55,
  307. 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x0d, 0x76, 0x65,
  308. 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22, 0x53, 0x0a, 0x1a, 0x41,
  309. 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65,
  310. 0x6e, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d,
  311. 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x21, 0x0a,
  312. 0x0c, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x02, 0x20,
  313. 0x01, 0x28, 0x09, 0x52, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x6f,
  314. 0x22, 0x38, 0x0a, 0x1c, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x56, 0x65, 0x72, 0x73,
  315. 0x69, 0x6f, 0x6e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64,
  316. 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
  317. 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x28, 0x0a, 0x12, 0x47, 0x65,
  318. 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  319. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  320. 0x6e, 0x61, 0x6d, 0x65, 0x32, 0x86, 0x01, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
  321. 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x73, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x41,
  322. 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x20, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,
  323. 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69,
  324. 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,
  325. 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
  326. 0x79, 0x22, 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d,
  327. 0x12, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
  328. 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x42, 0xac, 0x01,
  329. 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e,
  330. 0x76, 0x31, 0x42, 0x14, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76,
  331. 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68,
  332. 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f,
  333. 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f,
  334. 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d,
  335. 0x41, 0x58, 0xaa, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x56,
  336. 0x31, 0xca, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31,
  337. 0xe2, 0x02, 0x18, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0x5c,
  338. 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d, 0x65,
  339. 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
  340. 0x6f, 0x74, 0x6f, 0x33,
  341. })
  342. var (
  343. file_api_v1_activity_service_proto_rawDescOnce sync.Once
  344. file_api_v1_activity_service_proto_rawDescData []byte
  345. )
  346. func file_api_v1_activity_service_proto_rawDescGZIP() []byte {
  347. file_api_v1_activity_service_proto_rawDescOnce.Do(func() {
  348. file_api_v1_activity_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_activity_service_proto_rawDesc), len(file_api_v1_activity_service_proto_rawDesc)))
  349. })
  350. return file_api_v1_activity_service_proto_rawDescData
  351. }
  352. var file_api_v1_activity_service_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
  353. var file_api_v1_activity_service_proto_goTypes = []any{
  354. (*Activity)(nil), // 0: memos.api.v1.Activity
  355. (*ActivityPayload)(nil), // 1: memos.api.v1.ActivityPayload
  356. (*ActivityMemoCommentPayload)(nil), // 2: memos.api.v1.ActivityMemoCommentPayload
  357. (*ActivityVersionUpdatePayload)(nil), // 3: memos.api.v1.ActivityVersionUpdatePayload
  358. (*GetActivityRequest)(nil), // 4: memos.api.v1.GetActivityRequest
  359. (*timestamppb.Timestamp)(nil), // 5: google.protobuf.Timestamp
  360. }
  361. var file_api_v1_activity_service_proto_depIdxs = []int32{
  362. 5, // 0: memos.api.v1.Activity.create_time:type_name -> google.protobuf.Timestamp
  363. 1, // 1: memos.api.v1.Activity.payload:type_name -> memos.api.v1.ActivityPayload
  364. 2, // 2: memos.api.v1.ActivityPayload.memo_comment:type_name -> memos.api.v1.ActivityMemoCommentPayload
  365. 3, // 3: memos.api.v1.ActivityPayload.version_update:type_name -> memos.api.v1.ActivityVersionUpdatePayload
  366. 4, // 4: memos.api.v1.ActivityService.GetActivity:input_type -> memos.api.v1.GetActivityRequest
  367. 0, // 5: memos.api.v1.ActivityService.GetActivity:output_type -> memos.api.v1.Activity
  368. 5, // [5:6] is the sub-list for method output_type
  369. 4, // [4:5] is the sub-list for method input_type
  370. 4, // [4:4] is the sub-list for extension type_name
  371. 4, // [4:4] is the sub-list for extension extendee
  372. 0, // [0:4] is the sub-list for field type_name
  373. }
  374. func init() { file_api_v1_activity_service_proto_init() }
  375. func file_api_v1_activity_service_proto_init() {
  376. if File_api_v1_activity_service_proto != nil {
  377. return
  378. }
  379. type x struct{}
  380. out := protoimpl.TypeBuilder{
  381. File: protoimpl.DescBuilder{
  382. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  383. RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_activity_service_proto_rawDesc), len(file_api_v1_activity_service_proto_rawDesc)),
  384. NumEnums: 0,
  385. NumMessages: 5,
  386. NumExtensions: 0,
  387. NumServices: 1,
  388. },
  389. GoTypes: file_api_v1_activity_service_proto_goTypes,
  390. DependencyIndexes: file_api_v1_activity_service_proto_depIdxs,
  391. MessageInfos: file_api_v1_activity_service_proto_msgTypes,
  392. }.Build()
  393. File_api_v1_activity_service_proto = out.File
  394. file_api_v1_activity_service_proto_goTypes = nil
  395. file_api_v1_activity_service_proto_depIdxs = nil
  396. }