webhook_service.pb.go 31 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.34.2
  4. // protoc (unknown)
  5. // source: api/v1/webhook_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. emptypb "google.golang.org/protobuf/types/known/emptypb"
  12. fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
  13. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  14. reflect "reflect"
  15. sync "sync"
  16. )
  17. const (
  18. // Verify that this generated code is sufficiently up-to-date.
  19. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  20. // Verify that runtime/protoimpl is sufficiently up-to-date.
  21. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  22. )
  23. type Webhook struct {
  24. state protoimpl.MessageState
  25. sizeCache protoimpl.SizeCache
  26. unknownFields protoimpl.UnknownFields
  27. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  28. CreatorId int32 `protobuf:"varint,2,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
  29. CreateTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  30. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
  31. RowStatus RowStatus `protobuf:"varint,5,opt,name=row_status,json=rowStatus,proto3,enum=memos.api.v1.RowStatus" json:"row_status,omitempty"`
  32. Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"`
  33. Url string `protobuf:"bytes,7,opt,name=url,proto3" json:"url,omitempty"`
  34. }
  35. func (x *Webhook) Reset() {
  36. *x = Webhook{}
  37. if protoimpl.UnsafeEnabled {
  38. mi := &file_api_v1_webhook_service_proto_msgTypes[0]
  39. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  40. ms.StoreMessageInfo(mi)
  41. }
  42. }
  43. func (x *Webhook) String() string {
  44. return protoimpl.X.MessageStringOf(x)
  45. }
  46. func (*Webhook) ProtoMessage() {}
  47. func (x *Webhook) ProtoReflect() protoreflect.Message {
  48. mi := &file_api_v1_webhook_service_proto_msgTypes[0]
  49. if protoimpl.UnsafeEnabled && x != nil {
  50. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  51. if ms.LoadMessageInfo() == nil {
  52. ms.StoreMessageInfo(mi)
  53. }
  54. return ms
  55. }
  56. return mi.MessageOf(x)
  57. }
  58. // Deprecated: Use Webhook.ProtoReflect.Descriptor instead.
  59. func (*Webhook) Descriptor() ([]byte, []int) {
  60. return file_api_v1_webhook_service_proto_rawDescGZIP(), []int{0}
  61. }
  62. func (x *Webhook) GetId() int32 {
  63. if x != nil {
  64. return x.Id
  65. }
  66. return 0
  67. }
  68. func (x *Webhook) GetCreatorId() int32 {
  69. if x != nil {
  70. return x.CreatorId
  71. }
  72. return 0
  73. }
  74. func (x *Webhook) GetCreateTime() *timestamppb.Timestamp {
  75. if x != nil {
  76. return x.CreateTime
  77. }
  78. return nil
  79. }
  80. func (x *Webhook) GetUpdateTime() *timestamppb.Timestamp {
  81. if x != nil {
  82. return x.UpdateTime
  83. }
  84. return nil
  85. }
  86. func (x *Webhook) GetRowStatus() RowStatus {
  87. if x != nil {
  88. return x.RowStatus
  89. }
  90. return RowStatus_ROW_STATUS_UNSPECIFIED
  91. }
  92. func (x *Webhook) GetName() string {
  93. if x != nil {
  94. return x.Name
  95. }
  96. return ""
  97. }
  98. func (x *Webhook) GetUrl() string {
  99. if x != nil {
  100. return x.Url
  101. }
  102. return ""
  103. }
  104. type CreateWebhookRequest struct {
  105. state protoimpl.MessageState
  106. sizeCache protoimpl.SizeCache
  107. unknownFields protoimpl.UnknownFields
  108. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  109. Url string `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
  110. }
  111. func (x *CreateWebhookRequest) Reset() {
  112. *x = CreateWebhookRequest{}
  113. if protoimpl.UnsafeEnabled {
  114. mi := &file_api_v1_webhook_service_proto_msgTypes[1]
  115. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  116. ms.StoreMessageInfo(mi)
  117. }
  118. }
  119. func (x *CreateWebhookRequest) String() string {
  120. return protoimpl.X.MessageStringOf(x)
  121. }
  122. func (*CreateWebhookRequest) ProtoMessage() {}
  123. func (x *CreateWebhookRequest) ProtoReflect() protoreflect.Message {
  124. mi := &file_api_v1_webhook_service_proto_msgTypes[1]
  125. if protoimpl.UnsafeEnabled && x != nil {
  126. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  127. if ms.LoadMessageInfo() == nil {
  128. ms.StoreMessageInfo(mi)
  129. }
  130. return ms
  131. }
  132. return mi.MessageOf(x)
  133. }
  134. // Deprecated: Use CreateWebhookRequest.ProtoReflect.Descriptor instead.
  135. func (*CreateWebhookRequest) Descriptor() ([]byte, []int) {
  136. return file_api_v1_webhook_service_proto_rawDescGZIP(), []int{1}
  137. }
  138. func (x *CreateWebhookRequest) GetName() string {
  139. if x != nil {
  140. return x.Name
  141. }
  142. return ""
  143. }
  144. func (x *CreateWebhookRequest) GetUrl() string {
  145. if x != nil {
  146. return x.Url
  147. }
  148. return ""
  149. }
  150. type GetWebhookRequest struct {
  151. state protoimpl.MessageState
  152. sizeCache protoimpl.SizeCache
  153. unknownFields protoimpl.UnknownFields
  154. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  155. }
  156. func (x *GetWebhookRequest) Reset() {
  157. *x = GetWebhookRequest{}
  158. if protoimpl.UnsafeEnabled {
  159. mi := &file_api_v1_webhook_service_proto_msgTypes[2]
  160. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  161. ms.StoreMessageInfo(mi)
  162. }
  163. }
  164. func (x *GetWebhookRequest) String() string {
  165. return protoimpl.X.MessageStringOf(x)
  166. }
  167. func (*GetWebhookRequest) ProtoMessage() {}
  168. func (x *GetWebhookRequest) ProtoReflect() protoreflect.Message {
  169. mi := &file_api_v1_webhook_service_proto_msgTypes[2]
  170. if protoimpl.UnsafeEnabled && x != nil {
  171. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  172. if ms.LoadMessageInfo() == nil {
  173. ms.StoreMessageInfo(mi)
  174. }
  175. return ms
  176. }
  177. return mi.MessageOf(x)
  178. }
  179. // Deprecated: Use GetWebhookRequest.ProtoReflect.Descriptor instead.
  180. func (*GetWebhookRequest) Descriptor() ([]byte, []int) {
  181. return file_api_v1_webhook_service_proto_rawDescGZIP(), []int{2}
  182. }
  183. func (x *GetWebhookRequest) GetId() int32 {
  184. if x != nil {
  185. return x.Id
  186. }
  187. return 0
  188. }
  189. type ListWebhooksRequest struct {
  190. state protoimpl.MessageState
  191. sizeCache protoimpl.SizeCache
  192. unknownFields protoimpl.UnknownFields
  193. CreatorId int32 `protobuf:"varint,1,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
  194. }
  195. func (x *ListWebhooksRequest) Reset() {
  196. *x = ListWebhooksRequest{}
  197. if protoimpl.UnsafeEnabled {
  198. mi := &file_api_v1_webhook_service_proto_msgTypes[3]
  199. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  200. ms.StoreMessageInfo(mi)
  201. }
  202. }
  203. func (x *ListWebhooksRequest) String() string {
  204. return protoimpl.X.MessageStringOf(x)
  205. }
  206. func (*ListWebhooksRequest) ProtoMessage() {}
  207. func (x *ListWebhooksRequest) ProtoReflect() protoreflect.Message {
  208. mi := &file_api_v1_webhook_service_proto_msgTypes[3]
  209. if protoimpl.UnsafeEnabled && x != nil {
  210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  211. if ms.LoadMessageInfo() == nil {
  212. ms.StoreMessageInfo(mi)
  213. }
  214. return ms
  215. }
  216. return mi.MessageOf(x)
  217. }
  218. // Deprecated: Use ListWebhooksRequest.ProtoReflect.Descriptor instead.
  219. func (*ListWebhooksRequest) Descriptor() ([]byte, []int) {
  220. return file_api_v1_webhook_service_proto_rawDescGZIP(), []int{3}
  221. }
  222. func (x *ListWebhooksRequest) GetCreatorId() int32 {
  223. if x != nil {
  224. return x.CreatorId
  225. }
  226. return 0
  227. }
  228. type ListWebhooksResponse struct {
  229. state protoimpl.MessageState
  230. sizeCache protoimpl.SizeCache
  231. unknownFields protoimpl.UnknownFields
  232. Webhooks []*Webhook `protobuf:"bytes,1,rep,name=webhooks,proto3" json:"webhooks,omitempty"`
  233. }
  234. func (x *ListWebhooksResponse) Reset() {
  235. *x = ListWebhooksResponse{}
  236. if protoimpl.UnsafeEnabled {
  237. mi := &file_api_v1_webhook_service_proto_msgTypes[4]
  238. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  239. ms.StoreMessageInfo(mi)
  240. }
  241. }
  242. func (x *ListWebhooksResponse) String() string {
  243. return protoimpl.X.MessageStringOf(x)
  244. }
  245. func (*ListWebhooksResponse) ProtoMessage() {}
  246. func (x *ListWebhooksResponse) ProtoReflect() protoreflect.Message {
  247. mi := &file_api_v1_webhook_service_proto_msgTypes[4]
  248. if protoimpl.UnsafeEnabled && x != nil {
  249. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  250. if ms.LoadMessageInfo() == nil {
  251. ms.StoreMessageInfo(mi)
  252. }
  253. return ms
  254. }
  255. return mi.MessageOf(x)
  256. }
  257. // Deprecated: Use ListWebhooksResponse.ProtoReflect.Descriptor instead.
  258. func (*ListWebhooksResponse) Descriptor() ([]byte, []int) {
  259. return file_api_v1_webhook_service_proto_rawDescGZIP(), []int{4}
  260. }
  261. func (x *ListWebhooksResponse) GetWebhooks() []*Webhook {
  262. if x != nil {
  263. return x.Webhooks
  264. }
  265. return nil
  266. }
  267. type UpdateWebhookRequest struct {
  268. state protoimpl.MessageState
  269. sizeCache protoimpl.SizeCache
  270. unknownFields protoimpl.UnknownFields
  271. Webhook *Webhook `protobuf:"bytes,1,opt,name=webhook,proto3" json:"webhook,omitempty"`
  272. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  273. }
  274. func (x *UpdateWebhookRequest) Reset() {
  275. *x = UpdateWebhookRequest{}
  276. if protoimpl.UnsafeEnabled {
  277. mi := &file_api_v1_webhook_service_proto_msgTypes[5]
  278. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  279. ms.StoreMessageInfo(mi)
  280. }
  281. }
  282. func (x *UpdateWebhookRequest) String() string {
  283. return protoimpl.X.MessageStringOf(x)
  284. }
  285. func (*UpdateWebhookRequest) ProtoMessage() {}
  286. func (x *UpdateWebhookRequest) ProtoReflect() protoreflect.Message {
  287. mi := &file_api_v1_webhook_service_proto_msgTypes[5]
  288. if protoimpl.UnsafeEnabled && x != nil {
  289. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  290. if ms.LoadMessageInfo() == nil {
  291. ms.StoreMessageInfo(mi)
  292. }
  293. return ms
  294. }
  295. return mi.MessageOf(x)
  296. }
  297. // Deprecated: Use UpdateWebhookRequest.ProtoReflect.Descriptor instead.
  298. func (*UpdateWebhookRequest) Descriptor() ([]byte, []int) {
  299. return file_api_v1_webhook_service_proto_rawDescGZIP(), []int{5}
  300. }
  301. func (x *UpdateWebhookRequest) GetWebhook() *Webhook {
  302. if x != nil {
  303. return x.Webhook
  304. }
  305. return nil
  306. }
  307. func (x *UpdateWebhookRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
  308. if x != nil {
  309. return x.UpdateMask
  310. }
  311. return nil
  312. }
  313. type DeleteWebhookRequest struct {
  314. state protoimpl.MessageState
  315. sizeCache protoimpl.SizeCache
  316. unknownFields protoimpl.UnknownFields
  317. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  318. }
  319. func (x *DeleteWebhookRequest) Reset() {
  320. *x = DeleteWebhookRequest{}
  321. if protoimpl.UnsafeEnabled {
  322. mi := &file_api_v1_webhook_service_proto_msgTypes[6]
  323. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  324. ms.StoreMessageInfo(mi)
  325. }
  326. }
  327. func (x *DeleteWebhookRequest) String() string {
  328. return protoimpl.X.MessageStringOf(x)
  329. }
  330. func (*DeleteWebhookRequest) ProtoMessage() {}
  331. func (x *DeleteWebhookRequest) ProtoReflect() protoreflect.Message {
  332. mi := &file_api_v1_webhook_service_proto_msgTypes[6]
  333. if protoimpl.UnsafeEnabled && x != nil {
  334. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  335. if ms.LoadMessageInfo() == nil {
  336. ms.StoreMessageInfo(mi)
  337. }
  338. return ms
  339. }
  340. return mi.MessageOf(x)
  341. }
  342. // Deprecated: Use DeleteWebhookRequest.ProtoReflect.Descriptor instead.
  343. func (*DeleteWebhookRequest) Descriptor() ([]byte, []int) {
  344. return file_api_v1_webhook_service_proto_rawDescGZIP(), []int{6}
  345. }
  346. func (x *DeleteWebhookRequest) GetId() int32 {
  347. if x != nil {
  348. return x.Id
  349. }
  350. return 0
  351. }
  352. type WebhookRequestPayload struct {
  353. state protoimpl.MessageState
  354. sizeCache protoimpl.SizeCache
  355. unknownFields protoimpl.UnknownFields
  356. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
  357. ActivityType string `protobuf:"bytes,2,opt,name=activity_type,json=activityType,proto3" json:"activity_type,omitempty"`
  358. CreatorId int32 `protobuf:"varint,3,opt,name=creator_id,json=creatorId,proto3" json:"creator_id,omitempty"`
  359. CreateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  360. Memo *Memo `protobuf:"bytes,5,opt,name=memo,proto3" json:"memo,omitempty"`
  361. }
  362. func (x *WebhookRequestPayload) Reset() {
  363. *x = WebhookRequestPayload{}
  364. if protoimpl.UnsafeEnabled {
  365. mi := &file_api_v1_webhook_service_proto_msgTypes[7]
  366. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  367. ms.StoreMessageInfo(mi)
  368. }
  369. }
  370. func (x *WebhookRequestPayload) String() string {
  371. return protoimpl.X.MessageStringOf(x)
  372. }
  373. func (*WebhookRequestPayload) ProtoMessage() {}
  374. func (x *WebhookRequestPayload) ProtoReflect() protoreflect.Message {
  375. mi := &file_api_v1_webhook_service_proto_msgTypes[7]
  376. if protoimpl.UnsafeEnabled && x != nil {
  377. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  378. if ms.LoadMessageInfo() == nil {
  379. ms.StoreMessageInfo(mi)
  380. }
  381. return ms
  382. }
  383. return mi.MessageOf(x)
  384. }
  385. // Deprecated: Use WebhookRequestPayload.ProtoReflect.Descriptor instead.
  386. func (*WebhookRequestPayload) Descriptor() ([]byte, []int) {
  387. return file_api_v1_webhook_service_proto_rawDescGZIP(), []int{7}
  388. }
  389. func (x *WebhookRequestPayload) GetUrl() string {
  390. if x != nil {
  391. return x.Url
  392. }
  393. return ""
  394. }
  395. func (x *WebhookRequestPayload) GetActivityType() string {
  396. if x != nil {
  397. return x.ActivityType
  398. }
  399. return ""
  400. }
  401. func (x *WebhookRequestPayload) GetCreatorId() int32 {
  402. if x != nil {
  403. return x.CreatorId
  404. }
  405. return 0
  406. }
  407. func (x *WebhookRequestPayload) GetCreateTime() *timestamppb.Timestamp {
  408. if x != nil {
  409. return x.CreateTime
  410. }
  411. return nil
  412. }
  413. func (x *WebhookRequestPayload) GetMemo() *Memo {
  414. if x != nil {
  415. return x.Memo
  416. }
  417. return nil
  418. }
  419. var File_api_v1_webhook_service_proto protoreflect.FileDescriptor
  420. var file_api_v1_webhook_service_proto_rawDesc = []byte{
  421. 0x0a, 0x1c, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
  422. 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c,
  423. 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x13, 0x61, 0x70,
  424. 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  425. 0x6f, 0x1a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x5f, 0x73,
  426. 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f,
  427. 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74,
  428. 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67,
  429. 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72,
  430. 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
  431. 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  432. 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  433. 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f,
  434. 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  435. 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72,
  436. 0x6f, 0x74, 0x6f, 0x22, 0x90, 0x02, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12,
  437. 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x12,
  438. 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20,
  439. 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x3b,
  440. 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x03, 0x20,
  441. 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  442. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
  443. 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75,
  444. 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b,
  445. 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  446. 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70,
  447. 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x36, 0x0a, 0x0a, 0x72, 0x6f, 0x77, 0x5f,
  448. 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d,
  449. 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x77, 0x53,
  450. 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x09, 0x72, 0x6f, 0x77, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73,
  451. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  452. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28,
  453. 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x22, 0x3c, 0x0a, 0x14, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
  454. 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
  455. 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
  456. 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
  457. 0x03, 0x75, 0x72, 0x6c, 0x22, 0x23, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f,
  458. 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  459. 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x34, 0x0a, 0x13, 0x4c, 0x69, 0x73,
  460. 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  461. 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01,
  462. 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x22,
  463. 0x49, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x52,
  464. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f,
  465. 0x6f, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,
  466. 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
  467. 0x52, 0x08, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x22, 0x84, 0x01, 0x0a, 0x14, 0x55,
  468. 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75,
  469. 0x65, 0x73, 0x74, 0x12, 0x2f, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x18, 0x01,
  470. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,
  471. 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x07, 0x77, 0x65, 0x62,
  472. 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d,
  473. 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  474. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c,
  475. 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73,
  476. 0x6b, 0x22, 0x26, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f,
  477. 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18,
  478. 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0xd2, 0x01, 0x0a, 0x15, 0x57, 0x65,
  479. 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x50, 0x61, 0x79, 0x6c,
  480. 0x6f, 0x61, 0x64, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  481. 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x61, 0x63, 0x74, 0x69, 0x76, 0x69, 0x74,
  482. 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x63,
  483. 0x74, 0x69, 0x76, 0x69, 0x74, 0x79, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72,
  484. 0x65, 0x61, 0x74, 0x6f, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09,
  485. 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x49, 0x64, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65,
  486. 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
  487. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  488. 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61,
  489. 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x05,
  490. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,
  491. 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x32, 0xd8,
  492. 0x04, 0x0a, 0x0e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
  493. 0x65, 0x12, 0x67, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f,
  494. 0x6f, 0x6b, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
  495. 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52,
  496. 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,
  497. 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x22, 0x1b, 0x82,
  498. 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x3a, 0x01, 0x2a, 0x22, 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
  499. 0x31, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x68, 0x0a, 0x0a, 0x47, 0x65,
  500. 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
  501. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f,
  502. 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,
  503. 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b,
  504. 0x22, 0x22, 0xda, 0x41, 0x02, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x12, 0x15, 0x2f,
  505. 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f,
  506. 0x7b, 0x69, 0x64, 0x7d, 0x12, 0x6f, 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68,
  507. 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x21, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,
  508. 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73,
  509. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,
  510. 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x57, 0x65, 0x62, 0x68, 0x6f,
  511. 0x6f, 0x6b, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x18, 0x82, 0xd3, 0xe4,
  512. 0x93, 0x02, 0x12, 0x12, 0x10, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x65, 0x62,
  513. 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x12, 0x90, 0x01, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65,
  514. 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,
  515. 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x57, 0x65, 0x62,
  516. 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x6d, 0x65,
  517. 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x65, 0x62, 0x68, 0x6f,
  518. 0x6f, 0x6b, 0x22, 0x44, 0xda, 0x41, 0x13, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x2c, 0x75,
  519. 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x28,
  520. 0x3a, 0x07, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x32, 0x1d, 0x2f, 0x61, 0x70, 0x69, 0x2f,
  521. 0x76, 0x31, 0x2f, 0x77, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x7b, 0x77, 0x65, 0x62,
  522. 0x68, 0x6f, 0x6f, 0x6b, 0x2e, 0x69, 0x64, 0x7d, 0x12, 0x6f, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65,
  523. 0x74, 0x65, 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,
  524. 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x57,
  525. 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
  526. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  527. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x22, 0xda, 0x41, 0x02, 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93,
  528. 0x02, 0x17, 0x2a, 0x15, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x77, 0x65, 0x62, 0x68,
  529. 0x6f, 0x6f, 0x6b, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d, 0x42, 0xab, 0x01, 0x0a, 0x10, 0x63, 0x6f,
  530. 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x13,
  531. 0x57, 0x65, 0x62, 0x68, 0x6f, 0x6f, 0x6b, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72,
  532. 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
  533. 0x6d, 0x2f, 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
  534. 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
  535. 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x41, 0x58, 0xaa, 0x02, 0x0c,
  536. 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0c, 0x4d,
  537. 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x18, 0x4d, 0x65,
  538. 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65,
  539. 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a,
  540. 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
  541. }
  542. var (
  543. file_api_v1_webhook_service_proto_rawDescOnce sync.Once
  544. file_api_v1_webhook_service_proto_rawDescData = file_api_v1_webhook_service_proto_rawDesc
  545. )
  546. func file_api_v1_webhook_service_proto_rawDescGZIP() []byte {
  547. file_api_v1_webhook_service_proto_rawDescOnce.Do(func() {
  548. file_api_v1_webhook_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_webhook_service_proto_rawDescData)
  549. })
  550. return file_api_v1_webhook_service_proto_rawDescData
  551. }
  552. var file_api_v1_webhook_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
  553. var file_api_v1_webhook_service_proto_goTypes = []any{
  554. (*Webhook)(nil), // 0: memos.api.v1.Webhook
  555. (*CreateWebhookRequest)(nil), // 1: memos.api.v1.CreateWebhookRequest
  556. (*GetWebhookRequest)(nil), // 2: memos.api.v1.GetWebhookRequest
  557. (*ListWebhooksRequest)(nil), // 3: memos.api.v1.ListWebhooksRequest
  558. (*ListWebhooksResponse)(nil), // 4: memos.api.v1.ListWebhooksResponse
  559. (*UpdateWebhookRequest)(nil), // 5: memos.api.v1.UpdateWebhookRequest
  560. (*DeleteWebhookRequest)(nil), // 6: memos.api.v1.DeleteWebhookRequest
  561. (*WebhookRequestPayload)(nil), // 7: memos.api.v1.WebhookRequestPayload
  562. (*timestamppb.Timestamp)(nil), // 8: google.protobuf.Timestamp
  563. (RowStatus)(0), // 9: memos.api.v1.RowStatus
  564. (*fieldmaskpb.FieldMask)(nil), // 10: google.protobuf.FieldMask
  565. (*Memo)(nil), // 11: memos.api.v1.Memo
  566. (*emptypb.Empty)(nil), // 12: google.protobuf.Empty
  567. }
  568. var file_api_v1_webhook_service_proto_depIdxs = []int32{
  569. 8, // 0: memos.api.v1.Webhook.create_time:type_name -> google.protobuf.Timestamp
  570. 8, // 1: memos.api.v1.Webhook.update_time:type_name -> google.protobuf.Timestamp
  571. 9, // 2: memos.api.v1.Webhook.row_status:type_name -> memos.api.v1.RowStatus
  572. 0, // 3: memos.api.v1.ListWebhooksResponse.webhooks:type_name -> memos.api.v1.Webhook
  573. 0, // 4: memos.api.v1.UpdateWebhookRequest.webhook:type_name -> memos.api.v1.Webhook
  574. 10, // 5: memos.api.v1.UpdateWebhookRequest.update_mask:type_name -> google.protobuf.FieldMask
  575. 8, // 6: memos.api.v1.WebhookRequestPayload.create_time:type_name -> google.protobuf.Timestamp
  576. 11, // 7: memos.api.v1.WebhookRequestPayload.memo:type_name -> memos.api.v1.Memo
  577. 1, // 8: memos.api.v1.WebhookService.CreateWebhook:input_type -> memos.api.v1.CreateWebhookRequest
  578. 2, // 9: memos.api.v1.WebhookService.GetWebhook:input_type -> memos.api.v1.GetWebhookRequest
  579. 3, // 10: memos.api.v1.WebhookService.ListWebhooks:input_type -> memos.api.v1.ListWebhooksRequest
  580. 5, // 11: memos.api.v1.WebhookService.UpdateWebhook:input_type -> memos.api.v1.UpdateWebhookRequest
  581. 6, // 12: memos.api.v1.WebhookService.DeleteWebhook:input_type -> memos.api.v1.DeleteWebhookRequest
  582. 0, // 13: memos.api.v1.WebhookService.CreateWebhook:output_type -> memos.api.v1.Webhook
  583. 0, // 14: memos.api.v1.WebhookService.GetWebhook:output_type -> memos.api.v1.Webhook
  584. 4, // 15: memos.api.v1.WebhookService.ListWebhooks:output_type -> memos.api.v1.ListWebhooksResponse
  585. 0, // 16: memos.api.v1.WebhookService.UpdateWebhook:output_type -> memos.api.v1.Webhook
  586. 12, // 17: memos.api.v1.WebhookService.DeleteWebhook:output_type -> google.protobuf.Empty
  587. 13, // [13:18] is the sub-list for method output_type
  588. 8, // [8:13] is the sub-list for method input_type
  589. 8, // [8:8] is the sub-list for extension type_name
  590. 8, // [8:8] is the sub-list for extension extendee
  591. 0, // [0:8] is the sub-list for field type_name
  592. }
  593. func init() { file_api_v1_webhook_service_proto_init() }
  594. func file_api_v1_webhook_service_proto_init() {
  595. if File_api_v1_webhook_service_proto != nil {
  596. return
  597. }
  598. file_api_v1_common_proto_init()
  599. file_api_v1_memo_service_proto_init()
  600. if !protoimpl.UnsafeEnabled {
  601. file_api_v1_webhook_service_proto_msgTypes[0].Exporter = func(v any, i int) any {
  602. switch v := v.(*Webhook); i {
  603. case 0:
  604. return &v.state
  605. case 1:
  606. return &v.sizeCache
  607. case 2:
  608. return &v.unknownFields
  609. default:
  610. return nil
  611. }
  612. }
  613. file_api_v1_webhook_service_proto_msgTypes[1].Exporter = func(v any, i int) any {
  614. switch v := v.(*CreateWebhookRequest); i {
  615. case 0:
  616. return &v.state
  617. case 1:
  618. return &v.sizeCache
  619. case 2:
  620. return &v.unknownFields
  621. default:
  622. return nil
  623. }
  624. }
  625. file_api_v1_webhook_service_proto_msgTypes[2].Exporter = func(v any, i int) any {
  626. switch v := v.(*GetWebhookRequest); i {
  627. case 0:
  628. return &v.state
  629. case 1:
  630. return &v.sizeCache
  631. case 2:
  632. return &v.unknownFields
  633. default:
  634. return nil
  635. }
  636. }
  637. file_api_v1_webhook_service_proto_msgTypes[3].Exporter = func(v any, i int) any {
  638. switch v := v.(*ListWebhooksRequest); i {
  639. case 0:
  640. return &v.state
  641. case 1:
  642. return &v.sizeCache
  643. case 2:
  644. return &v.unknownFields
  645. default:
  646. return nil
  647. }
  648. }
  649. file_api_v1_webhook_service_proto_msgTypes[4].Exporter = func(v any, i int) any {
  650. switch v := v.(*ListWebhooksResponse); i {
  651. case 0:
  652. return &v.state
  653. case 1:
  654. return &v.sizeCache
  655. case 2:
  656. return &v.unknownFields
  657. default:
  658. return nil
  659. }
  660. }
  661. file_api_v1_webhook_service_proto_msgTypes[5].Exporter = func(v any, i int) any {
  662. switch v := v.(*UpdateWebhookRequest); i {
  663. case 0:
  664. return &v.state
  665. case 1:
  666. return &v.sizeCache
  667. case 2:
  668. return &v.unknownFields
  669. default:
  670. return nil
  671. }
  672. }
  673. file_api_v1_webhook_service_proto_msgTypes[6].Exporter = func(v any, i int) any {
  674. switch v := v.(*DeleteWebhookRequest); i {
  675. case 0:
  676. return &v.state
  677. case 1:
  678. return &v.sizeCache
  679. case 2:
  680. return &v.unknownFields
  681. default:
  682. return nil
  683. }
  684. }
  685. file_api_v1_webhook_service_proto_msgTypes[7].Exporter = func(v any, i int) any {
  686. switch v := v.(*WebhookRequestPayload); i {
  687. case 0:
  688. return &v.state
  689. case 1:
  690. return &v.sizeCache
  691. case 2:
  692. return &v.unknownFields
  693. default:
  694. return nil
  695. }
  696. }
  697. }
  698. type x struct{}
  699. out := protoimpl.TypeBuilder{
  700. File: protoimpl.DescBuilder{
  701. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  702. RawDescriptor: file_api_v1_webhook_service_proto_rawDesc,
  703. NumEnums: 0,
  704. NumMessages: 8,
  705. NumExtensions: 0,
  706. NumServices: 1,
  707. },
  708. GoTypes: file_api_v1_webhook_service_proto_goTypes,
  709. DependencyIndexes: file_api_v1_webhook_service_proto_depIdxs,
  710. MessageInfos: file_api_v1_webhook_service_proto_msgTypes,
  711. }.Build()
  712. File_api_v1_webhook_service_proto = out.File
  713. file_api_v1_webhook_service_proto_rawDesc = nil
  714. file_api_v1_webhook_service_proto_goTypes = nil
  715. file_api_v1_webhook_service_proto_depIdxs = nil
  716. }