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