activity_service.pb.go 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.5
  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. 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. // ActivityMemoCommentPayload represents the payload of a memo comment activity.
  140. type ActivityMemoCommentPayload struct {
  141. state protoimpl.MessageState `protogen:"open.v1"`
  142. // The memo name of comment.
  143. // Refer to `Memo.name`.
  144. Memo string `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
  145. // The name of related memo.
  146. RelatedMemo string `protobuf:"bytes,2,opt,name=related_memo,json=relatedMemo,proto3" json:"related_memo,omitempty"`
  147. unknownFields protoimpl.UnknownFields
  148. sizeCache protoimpl.SizeCache
  149. }
  150. func (x *ActivityMemoCommentPayload) Reset() {
  151. *x = ActivityMemoCommentPayload{}
  152. mi := &file_api_v1_activity_service_proto_msgTypes[2]
  153. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  154. ms.StoreMessageInfo(mi)
  155. }
  156. func (x *ActivityMemoCommentPayload) String() string {
  157. return protoimpl.X.MessageStringOf(x)
  158. }
  159. func (*ActivityMemoCommentPayload) ProtoMessage() {}
  160. func (x *ActivityMemoCommentPayload) ProtoReflect() protoreflect.Message {
  161. mi := &file_api_v1_activity_service_proto_msgTypes[2]
  162. if x != nil {
  163. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  164. if ms.LoadMessageInfo() == nil {
  165. ms.StoreMessageInfo(mi)
  166. }
  167. return ms
  168. }
  169. return mi.MessageOf(x)
  170. }
  171. // Deprecated: Use ActivityMemoCommentPayload.ProtoReflect.Descriptor instead.
  172. func (*ActivityMemoCommentPayload) Descriptor() ([]byte, []int) {
  173. return file_api_v1_activity_service_proto_rawDescGZIP(), []int{2}
  174. }
  175. func (x *ActivityMemoCommentPayload) GetMemo() string {
  176. if x != nil {
  177. return x.Memo
  178. }
  179. return ""
  180. }
  181. func (x *ActivityMemoCommentPayload) GetRelatedMemo() string {
  182. if x != nil {
  183. return x.RelatedMemo
  184. }
  185. return ""
  186. }
  187. type GetActivityRequest struct {
  188. state protoimpl.MessageState `protogen:"open.v1"`
  189. // The name of the activity.
  190. // Format: activities/{id}, id is the system generated auto-incremented id.
  191. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  192. unknownFields protoimpl.UnknownFields
  193. sizeCache protoimpl.SizeCache
  194. }
  195. func (x *GetActivityRequest) Reset() {
  196. *x = GetActivityRequest{}
  197. mi := &file_api_v1_activity_service_proto_msgTypes[3]
  198. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  199. ms.StoreMessageInfo(mi)
  200. }
  201. func (x *GetActivityRequest) String() string {
  202. return protoimpl.X.MessageStringOf(x)
  203. }
  204. func (*GetActivityRequest) ProtoMessage() {}
  205. func (x *GetActivityRequest) ProtoReflect() protoreflect.Message {
  206. mi := &file_api_v1_activity_service_proto_msgTypes[3]
  207. if x != nil {
  208. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  209. if ms.LoadMessageInfo() == nil {
  210. ms.StoreMessageInfo(mi)
  211. }
  212. return ms
  213. }
  214. return mi.MessageOf(x)
  215. }
  216. // Deprecated: Use GetActivityRequest.ProtoReflect.Descriptor instead.
  217. func (*GetActivityRequest) Descriptor() ([]byte, []int) {
  218. return file_api_v1_activity_service_proto_rawDescGZIP(), []int{3}
  219. }
  220. func (x *GetActivityRequest) GetName() string {
  221. if x != nil {
  222. return x.Name
  223. }
  224. return ""
  225. }
  226. var File_api_v1_activity_service_proto protoreflect.FileDescriptor
  227. var file_api_v1_activity_service_proto_rawDesc = string([]byte{
  228. 0x0a, 0x1d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
  229. 0x79, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
  230. 0x0c, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67,
  231. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61,
  232. 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f,
  233. 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70,
  234. 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
  235. 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
  236. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72,
  237. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
  238. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xde, 0x01, 0x0a, 0x08, 0x41, 0x63, 0x74, 0x69, 0x76,
  239. 0x69, 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  240. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74,
  241. 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f,
  242. 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  243. 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x04,
  244. 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x41, 0x0a, 0x0b, 0x63,
  245. 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
  246. 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  247. 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x04, 0xe2, 0x41,
  248. 0x01, 0x03, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x37,
  249. 0x0a, 0x07, 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
  250. 0x1d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41,
  251. 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x07,
  252. 0x70, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x22, 0x5e, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x76,
  253. 0x69, 0x74, 0x79, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x4b, 0x0a, 0x0c, 0x6d, 0x65,
  254. 0x6d, 0x6f, 0x5f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  255. 0x32, 0x28, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e,
  256. 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d,
  257. 0x65, 0x6e, 0x74, 0x50, 0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x0b, 0x6d, 0x65, 0x6d, 0x6f,
  258. 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x53, 0x0a, 0x1a, 0x41, 0x63, 0x74, 0x69, 0x76,
  259. 0x69, 0x74, 0x79, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x50, 0x61,
  260. 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01, 0x20,
  261. 0x01, 0x28, 0x09, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x12, 0x21, 0x0a, 0x0c, 0x72, 0x65, 0x6c,
  262. 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  263. 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x22, 0x28, 0x0a, 0x12,
  264. 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65,
  265. 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  266. 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x32, 0x86, 0x01, 0x0a, 0x0f, 0x41, 0x63, 0x74, 0x69, 0x76,
  267. 0x69, 0x74, 0x79, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x73, 0x0a, 0x0b, 0x47, 0x65,
  268. 0x74, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x12, 0x20, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,
  269. 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x63, 0x74, 0x69,
  270. 0x76, 0x69, 0x74, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6d, 0x65,
  271. 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x63, 0x74, 0x69, 0x76,
  272. 0x69, 0x74, 0x79, 0x22, 0x2a, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,
  273. 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
  274. 0x65, 0x3d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x69, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x42,
  275. 0xac, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,
  276. 0x69, 0x2e, 0x76, 0x31, 0x42, 0x14, 0x41, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x53, 0x65,
  277. 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69,
  278. 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f,
  279. 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65,
  280. 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, 0x02,
  281. 0x03, 0x4d, 0x41, 0x58, 0xaa, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x70, 0x69,
  282. 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c,
  283. 0x56, 0x31, 0xe2, 0x02, 0x18, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56,
  284. 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e,
  285. 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06,
  286. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  287. })
  288. var (
  289. file_api_v1_activity_service_proto_rawDescOnce sync.Once
  290. file_api_v1_activity_service_proto_rawDescData []byte
  291. )
  292. func file_api_v1_activity_service_proto_rawDescGZIP() []byte {
  293. file_api_v1_activity_service_proto_rawDescOnce.Do(func() {
  294. 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)))
  295. })
  296. return file_api_v1_activity_service_proto_rawDescData
  297. }
  298. var file_api_v1_activity_service_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
  299. var file_api_v1_activity_service_proto_goTypes = []any{
  300. (*Activity)(nil), // 0: memos.api.v1.Activity
  301. (*ActivityPayload)(nil), // 1: memos.api.v1.ActivityPayload
  302. (*ActivityMemoCommentPayload)(nil), // 2: memos.api.v1.ActivityMemoCommentPayload
  303. (*GetActivityRequest)(nil), // 3: memos.api.v1.GetActivityRequest
  304. (*timestamppb.Timestamp)(nil), // 4: google.protobuf.Timestamp
  305. }
  306. var file_api_v1_activity_service_proto_depIdxs = []int32{
  307. 4, // 0: memos.api.v1.Activity.create_time:type_name -> google.protobuf.Timestamp
  308. 1, // 1: memos.api.v1.Activity.payload:type_name -> memos.api.v1.ActivityPayload
  309. 2, // 2: memos.api.v1.ActivityPayload.memo_comment:type_name -> memos.api.v1.ActivityMemoCommentPayload
  310. 3, // 3: memos.api.v1.ActivityService.GetActivity:input_type -> memos.api.v1.GetActivityRequest
  311. 0, // 4: memos.api.v1.ActivityService.GetActivity:output_type -> memos.api.v1.Activity
  312. 4, // [4:5] is the sub-list for method output_type
  313. 3, // [3:4] is the sub-list for method input_type
  314. 3, // [3:3] is the sub-list for extension type_name
  315. 3, // [3:3] is the sub-list for extension extendee
  316. 0, // [0:3] is the sub-list for field type_name
  317. }
  318. func init() { file_api_v1_activity_service_proto_init() }
  319. func file_api_v1_activity_service_proto_init() {
  320. if File_api_v1_activity_service_proto != nil {
  321. return
  322. }
  323. type x struct{}
  324. out := protoimpl.TypeBuilder{
  325. File: protoimpl.DescBuilder{
  326. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  327. RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_activity_service_proto_rawDesc), len(file_api_v1_activity_service_proto_rawDesc)),
  328. NumEnums: 0,
  329. NumMessages: 4,
  330. NumExtensions: 0,
  331. NumServices: 1,
  332. },
  333. GoTypes: file_api_v1_activity_service_proto_goTypes,
  334. DependencyIndexes: file_api_v1_activity_service_proto_depIdxs,
  335. MessageInfos: file_api_v1_activity_service_proto_msgTypes,
  336. }.Build()
  337. File_api_v1_activity_service_proto = out.File
  338. file_api_v1_activity_service_proto_goTypes = nil
  339. file_api_v1_activity_service_proto_depIdxs = nil
  340. }