memo_service.pb.go 84 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999
  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/memo_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. unsafe "unsafe"
  17. )
  18. const (
  19. // Verify that this generated code is sufficiently up-to-date.
  20. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
  21. // Verify that runtime/protoimpl is sufficiently up-to-date.
  22. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
  23. )
  24. type Visibility int32
  25. const (
  26. Visibility_VISIBILITY_UNSPECIFIED Visibility = 0
  27. Visibility_PRIVATE Visibility = 1
  28. Visibility_PROTECTED Visibility = 2
  29. Visibility_PUBLIC Visibility = 3
  30. )
  31. // Enum value maps for Visibility.
  32. var (
  33. Visibility_name = map[int32]string{
  34. 0: "VISIBILITY_UNSPECIFIED",
  35. 1: "PRIVATE",
  36. 2: "PROTECTED",
  37. 3: "PUBLIC",
  38. }
  39. Visibility_value = map[string]int32{
  40. "VISIBILITY_UNSPECIFIED": 0,
  41. "PRIVATE": 1,
  42. "PROTECTED": 2,
  43. "PUBLIC": 3,
  44. }
  45. )
  46. func (x Visibility) Enum() *Visibility {
  47. p := new(Visibility)
  48. *p = x
  49. return p
  50. }
  51. func (x Visibility) String() string {
  52. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  53. }
  54. func (Visibility) Descriptor() protoreflect.EnumDescriptor {
  55. return file_api_v1_memo_service_proto_enumTypes[0].Descriptor()
  56. }
  57. func (Visibility) Type() protoreflect.EnumType {
  58. return &file_api_v1_memo_service_proto_enumTypes[0]
  59. }
  60. func (x Visibility) Number() protoreflect.EnumNumber {
  61. return protoreflect.EnumNumber(x)
  62. }
  63. // Deprecated: Use Visibility.Descriptor instead.
  64. func (Visibility) EnumDescriptor() ([]byte, []int) {
  65. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{0}
  66. }
  67. type Memo struct {
  68. state protoimpl.MessageState `protogen:"open.v1"`
  69. // The name of the memo.
  70. // Format: memos/{memo}, memo is the user defined id or uuid.
  71. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  72. State State `protobuf:"varint,3,opt,name=state,proto3,enum=memos.api.v1.State" json:"state,omitempty"`
  73. // The name of the creator.
  74. // Format: users/{user}
  75. Creator string `protobuf:"bytes,4,opt,name=creator,proto3" json:"creator,omitempty"`
  76. CreateTime *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  77. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
  78. DisplayTime *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=display_time,json=displayTime,proto3" json:"display_time,omitempty"`
  79. Content string `protobuf:"bytes,8,opt,name=content,proto3" json:"content,omitempty"`
  80. Nodes []*Node `protobuf:"bytes,9,rep,name=nodes,proto3" json:"nodes,omitempty"`
  81. Visibility Visibility `protobuf:"varint,10,opt,name=visibility,proto3,enum=memos.api.v1.Visibility" json:"visibility,omitempty"`
  82. Tags []string `protobuf:"bytes,11,rep,name=tags,proto3" json:"tags,omitempty"`
  83. Pinned bool `protobuf:"varint,12,opt,name=pinned,proto3" json:"pinned,omitempty"`
  84. Resources []*Resource `protobuf:"bytes,14,rep,name=resources,proto3" json:"resources,omitempty"`
  85. Relations []*MemoRelation `protobuf:"bytes,15,rep,name=relations,proto3" json:"relations,omitempty"`
  86. Reactions []*Reaction `protobuf:"bytes,16,rep,name=reactions,proto3" json:"reactions,omitempty"`
  87. Property *MemoProperty `protobuf:"bytes,17,opt,name=property,proto3" json:"property,omitempty"`
  88. // The name of the parent memo.
  89. // Format: memos/{id}
  90. Parent *string `protobuf:"bytes,18,opt,name=parent,proto3,oneof" json:"parent,omitempty"`
  91. // The snippet of the memo content. Plain text only.
  92. Snippet string `protobuf:"bytes,19,opt,name=snippet,proto3" json:"snippet,omitempty"`
  93. // The location of the memo.
  94. Location *Location `protobuf:"bytes,20,opt,name=location,proto3,oneof" json:"location,omitempty"`
  95. unknownFields protoimpl.UnknownFields
  96. sizeCache protoimpl.SizeCache
  97. }
  98. func (x *Memo) Reset() {
  99. *x = Memo{}
  100. mi := &file_api_v1_memo_service_proto_msgTypes[0]
  101. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  102. ms.StoreMessageInfo(mi)
  103. }
  104. func (x *Memo) String() string {
  105. return protoimpl.X.MessageStringOf(x)
  106. }
  107. func (*Memo) ProtoMessage() {}
  108. func (x *Memo) ProtoReflect() protoreflect.Message {
  109. mi := &file_api_v1_memo_service_proto_msgTypes[0]
  110. if x != nil {
  111. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  112. if ms.LoadMessageInfo() == nil {
  113. ms.StoreMessageInfo(mi)
  114. }
  115. return ms
  116. }
  117. return mi.MessageOf(x)
  118. }
  119. // Deprecated: Use Memo.ProtoReflect.Descriptor instead.
  120. func (*Memo) Descriptor() ([]byte, []int) {
  121. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{0}
  122. }
  123. func (x *Memo) GetName() string {
  124. if x != nil {
  125. return x.Name
  126. }
  127. return ""
  128. }
  129. func (x *Memo) GetState() State {
  130. if x != nil {
  131. return x.State
  132. }
  133. return State_STATE_UNSPECIFIED
  134. }
  135. func (x *Memo) GetCreator() string {
  136. if x != nil {
  137. return x.Creator
  138. }
  139. return ""
  140. }
  141. func (x *Memo) GetCreateTime() *timestamppb.Timestamp {
  142. if x != nil {
  143. return x.CreateTime
  144. }
  145. return nil
  146. }
  147. func (x *Memo) GetUpdateTime() *timestamppb.Timestamp {
  148. if x != nil {
  149. return x.UpdateTime
  150. }
  151. return nil
  152. }
  153. func (x *Memo) GetDisplayTime() *timestamppb.Timestamp {
  154. if x != nil {
  155. return x.DisplayTime
  156. }
  157. return nil
  158. }
  159. func (x *Memo) GetContent() string {
  160. if x != nil {
  161. return x.Content
  162. }
  163. return ""
  164. }
  165. func (x *Memo) GetNodes() []*Node {
  166. if x != nil {
  167. return x.Nodes
  168. }
  169. return nil
  170. }
  171. func (x *Memo) GetVisibility() Visibility {
  172. if x != nil {
  173. return x.Visibility
  174. }
  175. return Visibility_VISIBILITY_UNSPECIFIED
  176. }
  177. func (x *Memo) GetTags() []string {
  178. if x != nil {
  179. return x.Tags
  180. }
  181. return nil
  182. }
  183. func (x *Memo) GetPinned() bool {
  184. if x != nil {
  185. return x.Pinned
  186. }
  187. return false
  188. }
  189. func (x *Memo) GetResources() []*Resource {
  190. if x != nil {
  191. return x.Resources
  192. }
  193. return nil
  194. }
  195. func (x *Memo) GetRelations() []*MemoRelation {
  196. if x != nil {
  197. return x.Relations
  198. }
  199. return nil
  200. }
  201. func (x *Memo) GetReactions() []*Reaction {
  202. if x != nil {
  203. return x.Reactions
  204. }
  205. return nil
  206. }
  207. func (x *Memo) GetProperty() *MemoProperty {
  208. if x != nil {
  209. return x.Property
  210. }
  211. return nil
  212. }
  213. func (x *Memo) GetParent() string {
  214. if x != nil && x.Parent != nil {
  215. return *x.Parent
  216. }
  217. return ""
  218. }
  219. func (x *Memo) GetSnippet() string {
  220. if x != nil {
  221. return x.Snippet
  222. }
  223. return ""
  224. }
  225. func (x *Memo) GetLocation() *Location {
  226. if x != nil {
  227. return x.Location
  228. }
  229. return nil
  230. }
  231. type MemoProperty struct {
  232. state protoimpl.MessageState `protogen:"open.v1"`
  233. HasLink bool `protobuf:"varint,1,opt,name=has_link,json=hasLink,proto3" json:"has_link,omitempty"`
  234. HasTaskList bool `protobuf:"varint,2,opt,name=has_task_list,json=hasTaskList,proto3" json:"has_task_list,omitempty"`
  235. HasCode bool `protobuf:"varint,3,opt,name=has_code,json=hasCode,proto3" json:"has_code,omitempty"`
  236. HasIncompleteTasks bool `protobuf:"varint,4,opt,name=has_incomplete_tasks,json=hasIncompleteTasks,proto3" json:"has_incomplete_tasks,omitempty"`
  237. unknownFields protoimpl.UnknownFields
  238. sizeCache protoimpl.SizeCache
  239. }
  240. func (x *MemoProperty) Reset() {
  241. *x = MemoProperty{}
  242. mi := &file_api_v1_memo_service_proto_msgTypes[1]
  243. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  244. ms.StoreMessageInfo(mi)
  245. }
  246. func (x *MemoProperty) String() string {
  247. return protoimpl.X.MessageStringOf(x)
  248. }
  249. func (*MemoProperty) ProtoMessage() {}
  250. func (x *MemoProperty) ProtoReflect() protoreflect.Message {
  251. mi := &file_api_v1_memo_service_proto_msgTypes[1]
  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 MemoProperty.ProtoReflect.Descriptor instead.
  262. func (*MemoProperty) Descriptor() ([]byte, []int) {
  263. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{1}
  264. }
  265. func (x *MemoProperty) GetHasLink() bool {
  266. if x != nil {
  267. return x.HasLink
  268. }
  269. return false
  270. }
  271. func (x *MemoProperty) GetHasTaskList() bool {
  272. if x != nil {
  273. return x.HasTaskList
  274. }
  275. return false
  276. }
  277. func (x *MemoProperty) GetHasCode() bool {
  278. if x != nil {
  279. return x.HasCode
  280. }
  281. return false
  282. }
  283. func (x *MemoProperty) GetHasIncompleteTasks() bool {
  284. if x != nil {
  285. return x.HasIncompleteTasks
  286. }
  287. return false
  288. }
  289. type Location struct {
  290. state protoimpl.MessageState `protogen:"open.v1"`
  291. Placeholder string `protobuf:"bytes,1,opt,name=placeholder,proto3" json:"placeholder,omitempty"`
  292. Latitude float64 `protobuf:"fixed64,2,opt,name=latitude,proto3" json:"latitude,omitempty"`
  293. Longitude float64 `protobuf:"fixed64,3,opt,name=longitude,proto3" json:"longitude,omitempty"`
  294. unknownFields protoimpl.UnknownFields
  295. sizeCache protoimpl.SizeCache
  296. }
  297. func (x *Location) Reset() {
  298. *x = Location{}
  299. mi := &file_api_v1_memo_service_proto_msgTypes[2]
  300. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  301. ms.StoreMessageInfo(mi)
  302. }
  303. func (x *Location) String() string {
  304. return protoimpl.X.MessageStringOf(x)
  305. }
  306. func (*Location) ProtoMessage() {}
  307. func (x *Location) ProtoReflect() protoreflect.Message {
  308. mi := &file_api_v1_memo_service_proto_msgTypes[2]
  309. if x != nil {
  310. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  311. if ms.LoadMessageInfo() == nil {
  312. ms.StoreMessageInfo(mi)
  313. }
  314. return ms
  315. }
  316. return mi.MessageOf(x)
  317. }
  318. // Deprecated: Use Location.ProtoReflect.Descriptor instead.
  319. func (*Location) Descriptor() ([]byte, []int) {
  320. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{2}
  321. }
  322. func (x *Location) GetPlaceholder() string {
  323. if x != nil {
  324. return x.Placeholder
  325. }
  326. return ""
  327. }
  328. func (x *Location) GetLatitude() float64 {
  329. if x != nil {
  330. return x.Latitude
  331. }
  332. return 0
  333. }
  334. func (x *Location) GetLongitude() float64 {
  335. if x != nil {
  336. return x.Longitude
  337. }
  338. return 0
  339. }
  340. type CreateMemoRequest struct {
  341. state protoimpl.MessageState `protogen:"open.v1"`
  342. // The memo to create.
  343. Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
  344. unknownFields protoimpl.UnknownFields
  345. sizeCache protoimpl.SizeCache
  346. }
  347. func (x *CreateMemoRequest) Reset() {
  348. *x = CreateMemoRequest{}
  349. mi := &file_api_v1_memo_service_proto_msgTypes[3]
  350. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  351. ms.StoreMessageInfo(mi)
  352. }
  353. func (x *CreateMemoRequest) String() string {
  354. return protoimpl.X.MessageStringOf(x)
  355. }
  356. func (*CreateMemoRequest) ProtoMessage() {}
  357. func (x *CreateMemoRequest) ProtoReflect() protoreflect.Message {
  358. mi := &file_api_v1_memo_service_proto_msgTypes[3]
  359. if x != nil {
  360. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  361. if ms.LoadMessageInfo() == nil {
  362. ms.StoreMessageInfo(mi)
  363. }
  364. return ms
  365. }
  366. return mi.MessageOf(x)
  367. }
  368. // Deprecated: Use CreateMemoRequest.ProtoReflect.Descriptor instead.
  369. func (*CreateMemoRequest) Descriptor() ([]byte, []int) {
  370. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{3}
  371. }
  372. func (x *CreateMemoRequest) GetMemo() *Memo {
  373. if x != nil {
  374. return x.Memo
  375. }
  376. return nil
  377. }
  378. type ListMemosRequest struct {
  379. state protoimpl.MessageState `protogen:"open.v1"`
  380. // The parent is the owner of the memos.
  381. // If not specified or `users/-`, it will list all memos.
  382. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  383. // The maximum number of memos to return.
  384. PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
  385. // A page token, received from a previous `ListMemos` call.
  386. // Provide this to retrieve the subsequent page.
  387. PageToken string `protobuf:"bytes,3,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
  388. // The state of the memos to list.
  389. // Default to `NORMAL`. Set to `ARCHIVED` to list archived memos.
  390. State State `protobuf:"varint,4,opt,name=state,proto3,enum=memos.api.v1.State" json:"state,omitempty"`
  391. // What field to sort the results by.
  392. // Default to display_time.
  393. Sort string `protobuf:"bytes,5,opt,name=sort,proto3" json:"sort,omitempty"`
  394. // The direction to sort the results by.
  395. // Default to DESC.
  396. Direction Direction `protobuf:"varint,6,opt,name=direction,proto3,enum=memos.api.v1.Direction" json:"direction,omitempty"`
  397. // Filter is a CEL expression to filter memos.
  398. // Refer to `Shortcut.filter`.
  399. Filter string `protobuf:"bytes,7,opt,name=filter,proto3" json:"filter,omitempty"`
  400. // [Deprecated] Old filter contains some specific conditions to filter memos.
  401. // Format: "creator == 'users/{user}' && visibilities == ['PUBLIC', 'PROTECTED']"
  402. OldFilter string `protobuf:"bytes,8,opt,name=old_filter,json=oldFilter,proto3" json:"old_filter,omitempty"`
  403. unknownFields protoimpl.UnknownFields
  404. sizeCache protoimpl.SizeCache
  405. }
  406. func (x *ListMemosRequest) Reset() {
  407. *x = ListMemosRequest{}
  408. mi := &file_api_v1_memo_service_proto_msgTypes[4]
  409. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  410. ms.StoreMessageInfo(mi)
  411. }
  412. func (x *ListMemosRequest) String() string {
  413. return protoimpl.X.MessageStringOf(x)
  414. }
  415. func (*ListMemosRequest) ProtoMessage() {}
  416. func (x *ListMemosRequest) ProtoReflect() protoreflect.Message {
  417. mi := &file_api_v1_memo_service_proto_msgTypes[4]
  418. if x != nil {
  419. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  420. if ms.LoadMessageInfo() == nil {
  421. ms.StoreMessageInfo(mi)
  422. }
  423. return ms
  424. }
  425. return mi.MessageOf(x)
  426. }
  427. // Deprecated: Use ListMemosRequest.ProtoReflect.Descriptor instead.
  428. func (*ListMemosRequest) Descriptor() ([]byte, []int) {
  429. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{4}
  430. }
  431. func (x *ListMemosRequest) GetParent() string {
  432. if x != nil {
  433. return x.Parent
  434. }
  435. return ""
  436. }
  437. func (x *ListMemosRequest) GetPageSize() int32 {
  438. if x != nil {
  439. return x.PageSize
  440. }
  441. return 0
  442. }
  443. func (x *ListMemosRequest) GetPageToken() string {
  444. if x != nil {
  445. return x.PageToken
  446. }
  447. return ""
  448. }
  449. func (x *ListMemosRequest) GetState() State {
  450. if x != nil {
  451. return x.State
  452. }
  453. return State_STATE_UNSPECIFIED
  454. }
  455. func (x *ListMemosRequest) GetSort() string {
  456. if x != nil {
  457. return x.Sort
  458. }
  459. return ""
  460. }
  461. func (x *ListMemosRequest) GetDirection() Direction {
  462. if x != nil {
  463. return x.Direction
  464. }
  465. return Direction_DIRECTION_UNSPECIFIED
  466. }
  467. func (x *ListMemosRequest) GetFilter() string {
  468. if x != nil {
  469. return x.Filter
  470. }
  471. return ""
  472. }
  473. func (x *ListMemosRequest) GetOldFilter() string {
  474. if x != nil {
  475. return x.OldFilter
  476. }
  477. return ""
  478. }
  479. type ListMemosResponse struct {
  480. state protoimpl.MessageState `protogen:"open.v1"`
  481. Memos []*Memo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"`
  482. // A token, which can be sent as `page_token` to retrieve the next page.
  483. // If this field is omitted, there are no subsequent pages.
  484. NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
  485. unknownFields protoimpl.UnknownFields
  486. sizeCache protoimpl.SizeCache
  487. }
  488. func (x *ListMemosResponse) Reset() {
  489. *x = ListMemosResponse{}
  490. mi := &file_api_v1_memo_service_proto_msgTypes[5]
  491. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  492. ms.StoreMessageInfo(mi)
  493. }
  494. func (x *ListMemosResponse) String() string {
  495. return protoimpl.X.MessageStringOf(x)
  496. }
  497. func (*ListMemosResponse) ProtoMessage() {}
  498. func (x *ListMemosResponse) ProtoReflect() protoreflect.Message {
  499. mi := &file_api_v1_memo_service_proto_msgTypes[5]
  500. if x != nil {
  501. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  502. if ms.LoadMessageInfo() == nil {
  503. ms.StoreMessageInfo(mi)
  504. }
  505. return ms
  506. }
  507. return mi.MessageOf(x)
  508. }
  509. // Deprecated: Use ListMemosResponse.ProtoReflect.Descriptor instead.
  510. func (*ListMemosResponse) Descriptor() ([]byte, []int) {
  511. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{5}
  512. }
  513. func (x *ListMemosResponse) GetMemos() []*Memo {
  514. if x != nil {
  515. return x.Memos
  516. }
  517. return nil
  518. }
  519. func (x *ListMemosResponse) GetNextPageToken() string {
  520. if x != nil {
  521. return x.NextPageToken
  522. }
  523. return ""
  524. }
  525. type GetMemoRequest struct {
  526. state protoimpl.MessageState `protogen:"open.v1"`
  527. // The name of the memo.
  528. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  529. unknownFields protoimpl.UnknownFields
  530. sizeCache protoimpl.SizeCache
  531. }
  532. func (x *GetMemoRequest) Reset() {
  533. *x = GetMemoRequest{}
  534. mi := &file_api_v1_memo_service_proto_msgTypes[6]
  535. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  536. ms.StoreMessageInfo(mi)
  537. }
  538. func (x *GetMemoRequest) String() string {
  539. return protoimpl.X.MessageStringOf(x)
  540. }
  541. func (*GetMemoRequest) ProtoMessage() {}
  542. func (x *GetMemoRequest) ProtoReflect() protoreflect.Message {
  543. mi := &file_api_v1_memo_service_proto_msgTypes[6]
  544. if x != nil {
  545. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  546. if ms.LoadMessageInfo() == nil {
  547. ms.StoreMessageInfo(mi)
  548. }
  549. return ms
  550. }
  551. return mi.MessageOf(x)
  552. }
  553. // Deprecated: Use GetMemoRequest.ProtoReflect.Descriptor instead.
  554. func (*GetMemoRequest) Descriptor() ([]byte, []int) {
  555. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{6}
  556. }
  557. func (x *GetMemoRequest) GetName() string {
  558. if x != nil {
  559. return x.Name
  560. }
  561. return ""
  562. }
  563. type UpdateMemoRequest struct {
  564. state protoimpl.MessageState `protogen:"open.v1"`
  565. // The memo to update.
  566. // The `name` field is required.
  567. Memo *Memo `protobuf:"bytes,1,opt,name=memo,proto3" json:"memo,omitempty"`
  568. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  569. unknownFields protoimpl.UnknownFields
  570. sizeCache protoimpl.SizeCache
  571. }
  572. func (x *UpdateMemoRequest) Reset() {
  573. *x = UpdateMemoRequest{}
  574. mi := &file_api_v1_memo_service_proto_msgTypes[7]
  575. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  576. ms.StoreMessageInfo(mi)
  577. }
  578. func (x *UpdateMemoRequest) String() string {
  579. return protoimpl.X.MessageStringOf(x)
  580. }
  581. func (*UpdateMemoRequest) ProtoMessage() {}
  582. func (x *UpdateMemoRequest) ProtoReflect() protoreflect.Message {
  583. mi := &file_api_v1_memo_service_proto_msgTypes[7]
  584. if x != nil {
  585. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  586. if ms.LoadMessageInfo() == nil {
  587. ms.StoreMessageInfo(mi)
  588. }
  589. return ms
  590. }
  591. return mi.MessageOf(x)
  592. }
  593. // Deprecated: Use UpdateMemoRequest.ProtoReflect.Descriptor instead.
  594. func (*UpdateMemoRequest) Descriptor() ([]byte, []int) {
  595. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{7}
  596. }
  597. func (x *UpdateMemoRequest) GetMemo() *Memo {
  598. if x != nil {
  599. return x.Memo
  600. }
  601. return nil
  602. }
  603. func (x *UpdateMemoRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
  604. if x != nil {
  605. return x.UpdateMask
  606. }
  607. return nil
  608. }
  609. type DeleteMemoRequest struct {
  610. state protoimpl.MessageState `protogen:"open.v1"`
  611. // The name of the memo.
  612. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  613. unknownFields protoimpl.UnknownFields
  614. sizeCache protoimpl.SizeCache
  615. }
  616. func (x *DeleteMemoRequest) Reset() {
  617. *x = DeleteMemoRequest{}
  618. mi := &file_api_v1_memo_service_proto_msgTypes[8]
  619. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  620. ms.StoreMessageInfo(mi)
  621. }
  622. func (x *DeleteMemoRequest) String() string {
  623. return protoimpl.X.MessageStringOf(x)
  624. }
  625. func (*DeleteMemoRequest) ProtoMessage() {}
  626. func (x *DeleteMemoRequest) ProtoReflect() protoreflect.Message {
  627. mi := &file_api_v1_memo_service_proto_msgTypes[8]
  628. if x != nil {
  629. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  630. if ms.LoadMessageInfo() == nil {
  631. ms.StoreMessageInfo(mi)
  632. }
  633. return ms
  634. }
  635. return mi.MessageOf(x)
  636. }
  637. // Deprecated: Use DeleteMemoRequest.ProtoReflect.Descriptor instead.
  638. func (*DeleteMemoRequest) Descriptor() ([]byte, []int) {
  639. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{8}
  640. }
  641. func (x *DeleteMemoRequest) GetName() string {
  642. if x != nil {
  643. return x.Name
  644. }
  645. return ""
  646. }
  647. type RenameMemoTagRequest struct {
  648. state protoimpl.MessageState `protogen:"open.v1"`
  649. // The parent, who owns the tags.
  650. // Format: memos/{id}. Use "memos/-" to rename all tags.
  651. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  652. OldTag string `protobuf:"bytes,2,opt,name=old_tag,json=oldTag,proto3" json:"old_tag,omitempty"`
  653. NewTag string `protobuf:"bytes,3,opt,name=new_tag,json=newTag,proto3" json:"new_tag,omitempty"`
  654. unknownFields protoimpl.UnknownFields
  655. sizeCache protoimpl.SizeCache
  656. }
  657. func (x *RenameMemoTagRequest) Reset() {
  658. *x = RenameMemoTagRequest{}
  659. mi := &file_api_v1_memo_service_proto_msgTypes[9]
  660. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  661. ms.StoreMessageInfo(mi)
  662. }
  663. func (x *RenameMemoTagRequest) String() string {
  664. return protoimpl.X.MessageStringOf(x)
  665. }
  666. func (*RenameMemoTagRequest) ProtoMessage() {}
  667. func (x *RenameMemoTagRequest) ProtoReflect() protoreflect.Message {
  668. mi := &file_api_v1_memo_service_proto_msgTypes[9]
  669. if x != nil {
  670. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  671. if ms.LoadMessageInfo() == nil {
  672. ms.StoreMessageInfo(mi)
  673. }
  674. return ms
  675. }
  676. return mi.MessageOf(x)
  677. }
  678. // Deprecated: Use RenameMemoTagRequest.ProtoReflect.Descriptor instead.
  679. func (*RenameMemoTagRequest) Descriptor() ([]byte, []int) {
  680. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{9}
  681. }
  682. func (x *RenameMemoTagRequest) GetParent() string {
  683. if x != nil {
  684. return x.Parent
  685. }
  686. return ""
  687. }
  688. func (x *RenameMemoTagRequest) GetOldTag() string {
  689. if x != nil {
  690. return x.OldTag
  691. }
  692. return ""
  693. }
  694. func (x *RenameMemoTagRequest) GetNewTag() string {
  695. if x != nil {
  696. return x.NewTag
  697. }
  698. return ""
  699. }
  700. type DeleteMemoTagRequest struct {
  701. state protoimpl.MessageState `protogen:"open.v1"`
  702. // The parent, who owns the tags.
  703. // Format: memos/{id}. Use "memos/-" to delete all tags.
  704. Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`
  705. Tag string `protobuf:"bytes,2,opt,name=tag,proto3" json:"tag,omitempty"`
  706. DeleteRelatedMemos bool `protobuf:"varint,3,opt,name=delete_related_memos,json=deleteRelatedMemos,proto3" json:"delete_related_memos,omitempty"`
  707. unknownFields protoimpl.UnknownFields
  708. sizeCache protoimpl.SizeCache
  709. }
  710. func (x *DeleteMemoTagRequest) Reset() {
  711. *x = DeleteMemoTagRequest{}
  712. mi := &file_api_v1_memo_service_proto_msgTypes[10]
  713. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  714. ms.StoreMessageInfo(mi)
  715. }
  716. func (x *DeleteMemoTagRequest) String() string {
  717. return protoimpl.X.MessageStringOf(x)
  718. }
  719. func (*DeleteMemoTagRequest) ProtoMessage() {}
  720. func (x *DeleteMemoTagRequest) ProtoReflect() protoreflect.Message {
  721. mi := &file_api_v1_memo_service_proto_msgTypes[10]
  722. if x != nil {
  723. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  724. if ms.LoadMessageInfo() == nil {
  725. ms.StoreMessageInfo(mi)
  726. }
  727. return ms
  728. }
  729. return mi.MessageOf(x)
  730. }
  731. // Deprecated: Use DeleteMemoTagRequest.ProtoReflect.Descriptor instead.
  732. func (*DeleteMemoTagRequest) Descriptor() ([]byte, []int) {
  733. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{10}
  734. }
  735. func (x *DeleteMemoTagRequest) GetParent() string {
  736. if x != nil {
  737. return x.Parent
  738. }
  739. return ""
  740. }
  741. func (x *DeleteMemoTagRequest) GetTag() string {
  742. if x != nil {
  743. return x.Tag
  744. }
  745. return ""
  746. }
  747. func (x *DeleteMemoTagRequest) GetDeleteRelatedMemos() bool {
  748. if x != nil {
  749. return x.DeleteRelatedMemos
  750. }
  751. return false
  752. }
  753. type SetMemoResourcesRequest struct {
  754. state protoimpl.MessageState `protogen:"open.v1"`
  755. // The name of the memo.
  756. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  757. Resources []*Resource `protobuf:"bytes,2,rep,name=resources,proto3" json:"resources,omitempty"`
  758. unknownFields protoimpl.UnknownFields
  759. sizeCache protoimpl.SizeCache
  760. }
  761. func (x *SetMemoResourcesRequest) Reset() {
  762. *x = SetMemoResourcesRequest{}
  763. mi := &file_api_v1_memo_service_proto_msgTypes[11]
  764. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  765. ms.StoreMessageInfo(mi)
  766. }
  767. func (x *SetMemoResourcesRequest) String() string {
  768. return protoimpl.X.MessageStringOf(x)
  769. }
  770. func (*SetMemoResourcesRequest) ProtoMessage() {}
  771. func (x *SetMemoResourcesRequest) ProtoReflect() protoreflect.Message {
  772. mi := &file_api_v1_memo_service_proto_msgTypes[11]
  773. if x != nil {
  774. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  775. if ms.LoadMessageInfo() == nil {
  776. ms.StoreMessageInfo(mi)
  777. }
  778. return ms
  779. }
  780. return mi.MessageOf(x)
  781. }
  782. // Deprecated: Use SetMemoResourcesRequest.ProtoReflect.Descriptor instead.
  783. func (*SetMemoResourcesRequest) Descriptor() ([]byte, []int) {
  784. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{11}
  785. }
  786. func (x *SetMemoResourcesRequest) GetName() string {
  787. if x != nil {
  788. return x.Name
  789. }
  790. return ""
  791. }
  792. func (x *SetMemoResourcesRequest) GetResources() []*Resource {
  793. if x != nil {
  794. return x.Resources
  795. }
  796. return nil
  797. }
  798. type ListMemoResourcesRequest struct {
  799. state protoimpl.MessageState `protogen:"open.v1"`
  800. // The name of the memo.
  801. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  802. unknownFields protoimpl.UnknownFields
  803. sizeCache protoimpl.SizeCache
  804. }
  805. func (x *ListMemoResourcesRequest) Reset() {
  806. *x = ListMemoResourcesRequest{}
  807. mi := &file_api_v1_memo_service_proto_msgTypes[12]
  808. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  809. ms.StoreMessageInfo(mi)
  810. }
  811. func (x *ListMemoResourcesRequest) String() string {
  812. return protoimpl.X.MessageStringOf(x)
  813. }
  814. func (*ListMemoResourcesRequest) ProtoMessage() {}
  815. func (x *ListMemoResourcesRequest) ProtoReflect() protoreflect.Message {
  816. mi := &file_api_v1_memo_service_proto_msgTypes[12]
  817. if x != nil {
  818. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  819. if ms.LoadMessageInfo() == nil {
  820. ms.StoreMessageInfo(mi)
  821. }
  822. return ms
  823. }
  824. return mi.MessageOf(x)
  825. }
  826. // Deprecated: Use ListMemoResourcesRequest.ProtoReflect.Descriptor instead.
  827. func (*ListMemoResourcesRequest) Descriptor() ([]byte, []int) {
  828. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{12}
  829. }
  830. func (x *ListMemoResourcesRequest) GetName() string {
  831. if x != nil {
  832. return x.Name
  833. }
  834. return ""
  835. }
  836. type ListMemoResourcesResponse struct {
  837. state protoimpl.MessageState `protogen:"open.v1"`
  838. Resources []*Resource `protobuf:"bytes,1,rep,name=resources,proto3" json:"resources,omitempty"`
  839. unknownFields protoimpl.UnknownFields
  840. sizeCache protoimpl.SizeCache
  841. }
  842. func (x *ListMemoResourcesResponse) Reset() {
  843. *x = ListMemoResourcesResponse{}
  844. mi := &file_api_v1_memo_service_proto_msgTypes[13]
  845. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  846. ms.StoreMessageInfo(mi)
  847. }
  848. func (x *ListMemoResourcesResponse) String() string {
  849. return protoimpl.X.MessageStringOf(x)
  850. }
  851. func (*ListMemoResourcesResponse) ProtoMessage() {}
  852. func (x *ListMemoResourcesResponse) ProtoReflect() protoreflect.Message {
  853. mi := &file_api_v1_memo_service_proto_msgTypes[13]
  854. if x != nil {
  855. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  856. if ms.LoadMessageInfo() == nil {
  857. ms.StoreMessageInfo(mi)
  858. }
  859. return ms
  860. }
  861. return mi.MessageOf(x)
  862. }
  863. // Deprecated: Use ListMemoResourcesResponse.ProtoReflect.Descriptor instead.
  864. func (*ListMemoResourcesResponse) Descriptor() ([]byte, []int) {
  865. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{13}
  866. }
  867. func (x *ListMemoResourcesResponse) GetResources() []*Resource {
  868. if x != nil {
  869. return x.Resources
  870. }
  871. return nil
  872. }
  873. type SetMemoRelationsRequest struct {
  874. state protoimpl.MessageState `protogen:"open.v1"`
  875. // The name of the memo.
  876. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  877. Relations []*MemoRelation `protobuf:"bytes,2,rep,name=relations,proto3" json:"relations,omitempty"`
  878. unknownFields protoimpl.UnknownFields
  879. sizeCache protoimpl.SizeCache
  880. }
  881. func (x *SetMemoRelationsRequest) Reset() {
  882. *x = SetMemoRelationsRequest{}
  883. mi := &file_api_v1_memo_service_proto_msgTypes[14]
  884. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  885. ms.StoreMessageInfo(mi)
  886. }
  887. func (x *SetMemoRelationsRequest) String() string {
  888. return protoimpl.X.MessageStringOf(x)
  889. }
  890. func (*SetMemoRelationsRequest) ProtoMessage() {}
  891. func (x *SetMemoRelationsRequest) ProtoReflect() protoreflect.Message {
  892. mi := &file_api_v1_memo_service_proto_msgTypes[14]
  893. if x != nil {
  894. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  895. if ms.LoadMessageInfo() == nil {
  896. ms.StoreMessageInfo(mi)
  897. }
  898. return ms
  899. }
  900. return mi.MessageOf(x)
  901. }
  902. // Deprecated: Use SetMemoRelationsRequest.ProtoReflect.Descriptor instead.
  903. func (*SetMemoRelationsRequest) Descriptor() ([]byte, []int) {
  904. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{14}
  905. }
  906. func (x *SetMemoRelationsRequest) GetName() string {
  907. if x != nil {
  908. return x.Name
  909. }
  910. return ""
  911. }
  912. func (x *SetMemoRelationsRequest) GetRelations() []*MemoRelation {
  913. if x != nil {
  914. return x.Relations
  915. }
  916. return nil
  917. }
  918. type ListMemoRelationsRequest struct {
  919. state protoimpl.MessageState `protogen:"open.v1"`
  920. // The name of the memo.
  921. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  922. unknownFields protoimpl.UnknownFields
  923. sizeCache protoimpl.SizeCache
  924. }
  925. func (x *ListMemoRelationsRequest) Reset() {
  926. *x = ListMemoRelationsRequest{}
  927. mi := &file_api_v1_memo_service_proto_msgTypes[15]
  928. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  929. ms.StoreMessageInfo(mi)
  930. }
  931. func (x *ListMemoRelationsRequest) String() string {
  932. return protoimpl.X.MessageStringOf(x)
  933. }
  934. func (*ListMemoRelationsRequest) ProtoMessage() {}
  935. func (x *ListMemoRelationsRequest) ProtoReflect() protoreflect.Message {
  936. mi := &file_api_v1_memo_service_proto_msgTypes[15]
  937. if x != nil {
  938. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  939. if ms.LoadMessageInfo() == nil {
  940. ms.StoreMessageInfo(mi)
  941. }
  942. return ms
  943. }
  944. return mi.MessageOf(x)
  945. }
  946. // Deprecated: Use ListMemoRelationsRequest.ProtoReflect.Descriptor instead.
  947. func (*ListMemoRelationsRequest) Descriptor() ([]byte, []int) {
  948. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{15}
  949. }
  950. func (x *ListMemoRelationsRequest) GetName() string {
  951. if x != nil {
  952. return x.Name
  953. }
  954. return ""
  955. }
  956. type ListMemoRelationsResponse struct {
  957. state protoimpl.MessageState `protogen:"open.v1"`
  958. Relations []*MemoRelation `protobuf:"bytes,1,rep,name=relations,proto3" json:"relations,omitempty"`
  959. unknownFields protoimpl.UnknownFields
  960. sizeCache protoimpl.SizeCache
  961. }
  962. func (x *ListMemoRelationsResponse) Reset() {
  963. *x = ListMemoRelationsResponse{}
  964. mi := &file_api_v1_memo_service_proto_msgTypes[16]
  965. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  966. ms.StoreMessageInfo(mi)
  967. }
  968. func (x *ListMemoRelationsResponse) String() string {
  969. return protoimpl.X.MessageStringOf(x)
  970. }
  971. func (*ListMemoRelationsResponse) ProtoMessage() {}
  972. func (x *ListMemoRelationsResponse) ProtoReflect() protoreflect.Message {
  973. mi := &file_api_v1_memo_service_proto_msgTypes[16]
  974. if x != nil {
  975. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  976. if ms.LoadMessageInfo() == nil {
  977. ms.StoreMessageInfo(mi)
  978. }
  979. return ms
  980. }
  981. return mi.MessageOf(x)
  982. }
  983. // Deprecated: Use ListMemoRelationsResponse.ProtoReflect.Descriptor instead.
  984. func (*ListMemoRelationsResponse) Descriptor() ([]byte, []int) {
  985. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{16}
  986. }
  987. func (x *ListMemoRelationsResponse) GetRelations() []*MemoRelation {
  988. if x != nil {
  989. return x.Relations
  990. }
  991. return nil
  992. }
  993. type CreateMemoCommentRequest struct {
  994. state protoimpl.MessageState `protogen:"open.v1"`
  995. // The name of the memo.
  996. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  997. // The comment to create.
  998. Comment *Memo `protobuf:"bytes,2,opt,name=comment,proto3" json:"comment,omitempty"`
  999. unknownFields protoimpl.UnknownFields
  1000. sizeCache protoimpl.SizeCache
  1001. }
  1002. func (x *CreateMemoCommentRequest) Reset() {
  1003. *x = CreateMemoCommentRequest{}
  1004. mi := &file_api_v1_memo_service_proto_msgTypes[17]
  1005. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1006. ms.StoreMessageInfo(mi)
  1007. }
  1008. func (x *CreateMemoCommentRequest) String() string {
  1009. return protoimpl.X.MessageStringOf(x)
  1010. }
  1011. func (*CreateMemoCommentRequest) ProtoMessage() {}
  1012. func (x *CreateMemoCommentRequest) ProtoReflect() protoreflect.Message {
  1013. mi := &file_api_v1_memo_service_proto_msgTypes[17]
  1014. if x != nil {
  1015. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1016. if ms.LoadMessageInfo() == nil {
  1017. ms.StoreMessageInfo(mi)
  1018. }
  1019. return ms
  1020. }
  1021. return mi.MessageOf(x)
  1022. }
  1023. // Deprecated: Use CreateMemoCommentRequest.ProtoReflect.Descriptor instead.
  1024. func (*CreateMemoCommentRequest) Descriptor() ([]byte, []int) {
  1025. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{17}
  1026. }
  1027. func (x *CreateMemoCommentRequest) GetName() string {
  1028. if x != nil {
  1029. return x.Name
  1030. }
  1031. return ""
  1032. }
  1033. func (x *CreateMemoCommentRequest) GetComment() *Memo {
  1034. if x != nil {
  1035. return x.Comment
  1036. }
  1037. return nil
  1038. }
  1039. type ListMemoCommentsRequest struct {
  1040. state protoimpl.MessageState `protogen:"open.v1"`
  1041. // The name of the memo.
  1042. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1043. unknownFields protoimpl.UnknownFields
  1044. sizeCache protoimpl.SizeCache
  1045. }
  1046. func (x *ListMemoCommentsRequest) Reset() {
  1047. *x = ListMemoCommentsRequest{}
  1048. mi := &file_api_v1_memo_service_proto_msgTypes[18]
  1049. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1050. ms.StoreMessageInfo(mi)
  1051. }
  1052. func (x *ListMemoCommentsRequest) String() string {
  1053. return protoimpl.X.MessageStringOf(x)
  1054. }
  1055. func (*ListMemoCommentsRequest) ProtoMessage() {}
  1056. func (x *ListMemoCommentsRequest) ProtoReflect() protoreflect.Message {
  1057. mi := &file_api_v1_memo_service_proto_msgTypes[18]
  1058. if x != nil {
  1059. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1060. if ms.LoadMessageInfo() == nil {
  1061. ms.StoreMessageInfo(mi)
  1062. }
  1063. return ms
  1064. }
  1065. return mi.MessageOf(x)
  1066. }
  1067. // Deprecated: Use ListMemoCommentsRequest.ProtoReflect.Descriptor instead.
  1068. func (*ListMemoCommentsRequest) Descriptor() ([]byte, []int) {
  1069. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{18}
  1070. }
  1071. func (x *ListMemoCommentsRequest) GetName() string {
  1072. if x != nil {
  1073. return x.Name
  1074. }
  1075. return ""
  1076. }
  1077. type ListMemoCommentsResponse struct {
  1078. state protoimpl.MessageState `protogen:"open.v1"`
  1079. Memos []*Memo `protobuf:"bytes,1,rep,name=memos,proto3" json:"memos,omitempty"`
  1080. unknownFields protoimpl.UnknownFields
  1081. sizeCache protoimpl.SizeCache
  1082. }
  1083. func (x *ListMemoCommentsResponse) Reset() {
  1084. *x = ListMemoCommentsResponse{}
  1085. mi := &file_api_v1_memo_service_proto_msgTypes[19]
  1086. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1087. ms.StoreMessageInfo(mi)
  1088. }
  1089. func (x *ListMemoCommentsResponse) String() string {
  1090. return protoimpl.X.MessageStringOf(x)
  1091. }
  1092. func (*ListMemoCommentsResponse) ProtoMessage() {}
  1093. func (x *ListMemoCommentsResponse) ProtoReflect() protoreflect.Message {
  1094. mi := &file_api_v1_memo_service_proto_msgTypes[19]
  1095. if x != nil {
  1096. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1097. if ms.LoadMessageInfo() == nil {
  1098. ms.StoreMessageInfo(mi)
  1099. }
  1100. return ms
  1101. }
  1102. return mi.MessageOf(x)
  1103. }
  1104. // Deprecated: Use ListMemoCommentsResponse.ProtoReflect.Descriptor instead.
  1105. func (*ListMemoCommentsResponse) Descriptor() ([]byte, []int) {
  1106. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{19}
  1107. }
  1108. func (x *ListMemoCommentsResponse) GetMemos() []*Memo {
  1109. if x != nil {
  1110. return x.Memos
  1111. }
  1112. return nil
  1113. }
  1114. type ListMemoReactionsRequest struct {
  1115. state protoimpl.MessageState `protogen:"open.v1"`
  1116. // The name of the memo.
  1117. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1118. unknownFields protoimpl.UnknownFields
  1119. sizeCache protoimpl.SizeCache
  1120. }
  1121. func (x *ListMemoReactionsRequest) Reset() {
  1122. *x = ListMemoReactionsRequest{}
  1123. mi := &file_api_v1_memo_service_proto_msgTypes[20]
  1124. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1125. ms.StoreMessageInfo(mi)
  1126. }
  1127. func (x *ListMemoReactionsRequest) String() string {
  1128. return protoimpl.X.MessageStringOf(x)
  1129. }
  1130. func (*ListMemoReactionsRequest) ProtoMessage() {}
  1131. func (x *ListMemoReactionsRequest) ProtoReflect() protoreflect.Message {
  1132. mi := &file_api_v1_memo_service_proto_msgTypes[20]
  1133. if x != nil {
  1134. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1135. if ms.LoadMessageInfo() == nil {
  1136. ms.StoreMessageInfo(mi)
  1137. }
  1138. return ms
  1139. }
  1140. return mi.MessageOf(x)
  1141. }
  1142. // Deprecated: Use ListMemoReactionsRequest.ProtoReflect.Descriptor instead.
  1143. func (*ListMemoReactionsRequest) Descriptor() ([]byte, []int) {
  1144. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{20}
  1145. }
  1146. func (x *ListMemoReactionsRequest) GetName() string {
  1147. if x != nil {
  1148. return x.Name
  1149. }
  1150. return ""
  1151. }
  1152. type ListMemoReactionsResponse struct {
  1153. state protoimpl.MessageState `protogen:"open.v1"`
  1154. Reactions []*Reaction `protobuf:"bytes,1,rep,name=reactions,proto3" json:"reactions,omitempty"`
  1155. unknownFields protoimpl.UnknownFields
  1156. sizeCache protoimpl.SizeCache
  1157. }
  1158. func (x *ListMemoReactionsResponse) Reset() {
  1159. *x = ListMemoReactionsResponse{}
  1160. mi := &file_api_v1_memo_service_proto_msgTypes[21]
  1161. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1162. ms.StoreMessageInfo(mi)
  1163. }
  1164. func (x *ListMemoReactionsResponse) String() string {
  1165. return protoimpl.X.MessageStringOf(x)
  1166. }
  1167. func (*ListMemoReactionsResponse) ProtoMessage() {}
  1168. func (x *ListMemoReactionsResponse) ProtoReflect() protoreflect.Message {
  1169. mi := &file_api_v1_memo_service_proto_msgTypes[21]
  1170. if x != nil {
  1171. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1172. if ms.LoadMessageInfo() == nil {
  1173. ms.StoreMessageInfo(mi)
  1174. }
  1175. return ms
  1176. }
  1177. return mi.MessageOf(x)
  1178. }
  1179. // Deprecated: Use ListMemoReactionsResponse.ProtoReflect.Descriptor instead.
  1180. func (*ListMemoReactionsResponse) Descriptor() ([]byte, []int) {
  1181. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{21}
  1182. }
  1183. func (x *ListMemoReactionsResponse) GetReactions() []*Reaction {
  1184. if x != nil {
  1185. return x.Reactions
  1186. }
  1187. return nil
  1188. }
  1189. type UpsertMemoReactionRequest struct {
  1190. state protoimpl.MessageState `protogen:"open.v1"`
  1191. // The name of the memo.
  1192. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1193. Reaction *Reaction `protobuf:"bytes,2,opt,name=reaction,proto3" json:"reaction,omitempty"`
  1194. unknownFields protoimpl.UnknownFields
  1195. sizeCache protoimpl.SizeCache
  1196. }
  1197. func (x *UpsertMemoReactionRequest) Reset() {
  1198. *x = UpsertMemoReactionRequest{}
  1199. mi := &file_api_v1_memo_service_proto_msgTypes[22]
  1200. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1201. ms.StoreMessageInfo(mi)
  1202. }
  1203. func (x *UpsertMemoReactionRequest) String() string {
  1204. return protoimpl.X.MessageStringOf(x)
  1205. }
  1206. func (*UpsertMemoReactionRequest) ProtoMessage() {}
  1207. func (x *UpsertMemoReactionRequest) ProtoReflect() protoreflect.Message {
  1208. mi := &file_api_v1_memo_service_proto_msgTypes[22]
  1209. if x != nil {
  1210. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1211. if ms.LoadMessageInfo() == nil {
  1212. ms.StoreMessageInfo(mi)
  1213. }
  1214. return ms
  1215. }
  1216. return mi.MessageOf(x)
  1217. }
  1218. // Deprecated: Use UpsertMemoReactionRequest.ProtoReflect.Descriptor instead.
  1219. func (*UpsertMemoReactionRequest) Descriptor() ([]byte, []int) {
  1220. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{22}
  1221. }
  1222. func (x *UpsertMemoReactionRequest) GetName() string {
  1223. if x != nil {
  1224. return x.Name
  1225. }
  1226. return ""
  1227. }
  1228. func (x *UpsertMemoReactionRequest) GetReaction() *Reaction {
  1229. if x != nil {
  1230. return x.Reaction
  1231. }
  1232. return nil
  1233. }
  1234. type DeleteMemoReactionRequest struct {
  1235. state protoimpl.MessageState `protogen:"open.v1"`
  1236. // The id of the reaction.
  1237. // Refer to the `Reaction.id`.
  1238. Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
  1239. unknownFields protoimpl.UnknownFields
  1240. sizeCache protoimpl.SizeCache
  1241. }
  1242. func (x *DeleteMemoReactionRequest) Reset() {
  1243. *x = DeleteMemoReactionRequest{}
  1244. mi := &file_api_v1_memo_service_proto_msgTypes[23]
  1245. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1246. ms.StoreMessageInfo(mi)
  1247. }
  1248. func (x *DeleteMemoReactionRequest) String() string {
  1249. return protoimpl.X.MessageStringOf(x)
  1250. }
  1251. func (*DeleteMemoReactionRequest) ProtoMessage() {}
  1252. func (x *DeleteMemoReactionRequest) ProtoReflect() protoreflect.Message {
  1253. mi := &file_api_v1_memo_service_proto_msgTypes[23]
  1254. if x != nil {
  1255. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1256. if ms.LoadMessageInfo() == nil {
  1257. ms.StoreMessageInfo(mi)
  1258. }
  1259. return ms
  1260. }
  1261. return mi.MessageOf(x)
  1262. }
  1263. // Deprecated: Use DeleteMemoReactionRequest.ProtoReflect.Descriptor instead.
  1264. func (*DeleteMemoReactionRequest) Descriptor() ([]byte, []int) {
  1265. return file_api_v1_memo_service_proto_rawDescGZIP(), []int{23}
  1266. }
  1267. func (x *DeleteMemoReactionRequest) GetId() int32 {
  1268. if x != nil {
  1269. return x.Id
  1270. }
  1271. return 0
  1272. }
  1273. var File_api_v1_memo_service_proto protoreflect.FileDescriptor
  1274. var file_api_v1_memo_service_proto_rawDesc = string([]byte{
  1275. 0x0a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x5f, 0x73, 0x65,
  1276. 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x6d,
  1277. 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x13, 0x61, 0x70, 0x69, 0x2f, 0x76,
  1278. 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d,
  1279. 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x61, 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x5f,
  1280. 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x22, 0x61,
  1281. 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74,
  1282. 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1283. 0x6f, 0x1a, 0x1d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69,
  1284. 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1285. 0x1a, 0x1d, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63,
  1286. 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
  1287. 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f,
  1288. 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67,
  1289. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
  1290. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
  1291. 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f,
  1292. 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
  1293. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70,
  1294. 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f,
  1295. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b,
  1296. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70,
  1297. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
  1298. 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd8, 0x06, 0x0a, 0x04, 0x4d, 0x65, 0x6d, 0x6f,
  1299. 0x12, 0x18, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04,
  1300. 0xe2, 0x41, 0x01, 0x03, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x05, 0x73, 0x74,
  1301. 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,
  1302. 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05,
  1303. 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72,
  1304. 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x72, 0x65, 0x61, 0x74, 0x6f, 0x72, 0x12,
  1305. 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x05,
  1306. 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  1307. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
  1308. 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b,
  1309. 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28,
  1310. 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1311. 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75,
  1312. 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x69, 0x73,
  1313. 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1314. 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  1315. 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0b, 0x64, 0x69, 0x73,
  1316. 0x70, 0x6c, 0x61, 0x79, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74,
  1317. 0x65, 0x6e, 0x74, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65,
  1318. 0x6e, 0x74, 0x12, 0x2e, 0x0a, 0x05, 0x6e, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28,
  1319. 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
  1320. 0x2e, 0x4e, 0x6f, 0x64, 0x65, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x05, 0x6e, 0x6f, 0x64,
  1321. 0x65, 0x73, 0x12, 0x38, 0x0a, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
  1322. 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x18, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,
  1323. 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79,
  1324. 0x52, 0x0a, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x18, 0x0a, 0x04,
  1325. 0x74, 0x61, 0x67, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03,
  1326. 0x52, 0x04, 0x74, 0x61, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64,
  1327. 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x70, 0x69, 0x6e, 0x6e, 0x65, 0x64, 0x12, 0x34,
  1328. 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28,
  1329. 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
  1330. 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75,
  1331. 0x72, 0x63, 0x65, 0x73, 0x12, 0x38, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1332. 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,
  1333. 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74,
  1334. 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3a,
  1335. 0x0a, 0x09, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x10, 0x20, 0x03, 0x28,
  1336. 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
  1337. 0x2e, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52,
  1338. 0x09, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x08, 0x70, 0x72,
  1339. 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d,
  1340. 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f,
  1341. 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x52, 0x08,
  1342. 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x79, 0x12, 0x21, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65,
  1343. 0x6e, 0x74, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x03, 0x48, 0x00,
  1344. 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x12, 0x1e, 0x0a, 0x07, 0x73,
  1345. 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,
  1346. 0x01, 0x03, 0x52, 0x07, 0x73, 0x6e, 0x69, 0x70, 0x70, 0x65, 0x74, 0x12, 0x37, 0x0a, 0x08, 0x6c,
  1347. 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x14, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e,
  1348. 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63,
  1349. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x01, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
  1350. 0x6e, 0x88, 0x01, 0x01, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x42,
  1351. 0x0b, 0x0a, 0x09, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4a, 0x04, 0x08, 0x02,
  1352. 0x10, 0x03, 0x22, 0x9a, 0x01, 0x0a, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x50, 0x72, 0x6f, 0x70, 0x65,
  1353. 0x72, 0x74, 0x79, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x18,
  1354. 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x22,
  1355. 0x0a, 0x0d, 0x68, 0x61, 0x73, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18,
  1356. 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x68, 0x61, 0x73, 0x54, 0x61, 0x73, 0x6b, 0x4c, 0x69,
  1357. 0x73, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x68, 0x61, 0x73, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03,
  1358. 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x68, 0x61, 0x73, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x30, 0x0a,
  1359. 0x14, 0x68, 0x61, 0x73, 0x5f, 0x69, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x5f,
  1360. 0x74, 0x61, 0x73, 0x6b, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x68, 0x61, 0x73,
  1361. 0x49, 0x6e, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x22,
  1362. 0x66, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x0b, 0x70,
  1363. 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1364. 0x52, 0x0b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x68, 0x6f, 0x6c, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a,
  1365. 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x01, 0x52,
  1366. 0x08, 0x6c, 0x61, 0x74, 0x69, 0x74, 0x75, 0x64, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x6c, 0x6f, 0x6e,
  1367. 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6c, 0x6f,
  1368. 0x6e, 0x67, 0x69, 0x74, 0x75, 0x64, 0x65, 0x22, 0x41, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74,
  1369. 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x04,
  1370. 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d,
  1371. 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x42, 0x04,
  1372. 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22, 0x93, 0x02, 0x0a, 0x10, 0x4c,
  1373. 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  1374. 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52,
  1375. 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65, 0x5f,
  1376. 0x73, 0x69, 0x7a, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67, 0x65,
  1377. 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b,
  1378. 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54, 0x6f,
  1379. 0x6b, 0x65, 0x6e, 0x12, 0x29, 0x0a, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01,
  1380. 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
  1381. 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12,
  1382. 0x0a, 0x04, 0x73, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x73, 0x6f,
  1383. 0x72, 0x74, 0x12, 0x35, 0x0a, 0x09, 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18,
  1384. 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,
  1385. 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09,
  1386. 0x64, 0x69, 0x72, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c,
  1387. 0x74, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65,
  1388. 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x6c, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18,
  1389. 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x6c, 0x64, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72,
  1390. 0x22, 0x65, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52, 0x65, 0x73,
  1391. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x18, 0x01,
  1392. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,
  1393. 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x12,
  1394. 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f, 0x6b,
  1395. 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e, 0x65, 0x78, 0x74, 0x50, 0x61,
  1396. 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x24, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x4d, 0x65,
  1397. 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  1398. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x7e, 0x0a,
  1399. 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
  1400. 0x73, 0x74, 0x12, 0x2c, 0x0a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
  1401. 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e,
  1402. 0x4d, 0x65, 0x6d, 0x6f, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x6d, 0x65, 0x6d, 0x6f,
  1403. 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18,
  1404. 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  1405. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73,
  1406. 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x27, 0x0a,
  1407. 0x11, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65,
  1408. 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1409. 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x60, 0x0a, 0x14, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65,
  1410. 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16,
  1411. 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06,
  1412. 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x6f, 0x6c, 0x64, 0x5f, 0x74, 0x61,
  1413. 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x6c, 0x64, 0x54, 0x61, 0x67, 0x12,
  1414. 0x17, 0x0a, 0x07, 0x6e, 0x65, 0x77, 0x5f, 0x74, 0x61, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
  1415. 0x52, 0x06, 0x6e, 0x65, 0x77, 0x54, 0x61, 0x67, 0x22, 0x72, 0x0a, 0x14, 0x44, 0x65, 0x6c, 0x65,
  1416. 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1417. 0x12, 0x16, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1418. 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x74, 0x61, 0x67, 0x18,
  1419. 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x74, 0x61, 0x67, 0x12, 0x30, 0x0a, 0x14, 0x64, 0x65,
  1420. 0x6c, 0x65, 0x74, 0x65, 0x5f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x6d, 0x65, 0x6d,
  1421. 0x6f, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x12, 0x64, 0x65, 0x6c, 0x65, 0x74, 0x65,
  1422. 0x52, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x22, 0x63, 0x0a, 0x17,
  1423. 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
  1424. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  1425. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x34, 0x0a, 0x09, 0x72,
  1426. 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16,
  1427. 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65,
  1428. 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
  1429. 0x73, 0x22, 0x2e, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73,
  1430. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
  1431. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  1432. 0x65, 0x22, 0x51, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73,
  1433. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34,
  1434. 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28,
  1435. 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
  1436. 0x2e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75,
  1437. 0x72, 0x63, 0x65, 0x73, 0x22, 0x67, 0x0a, 0x17, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52,
  1438. 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12,
  1439. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  1440. 0x61, 0x6d, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  1441. 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,
  1442. 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69,
  1443. 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x2e, 0x0a,
  1444. 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f,
  1445. 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d,
  1446. 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x55, 0x0a,
  1447. 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f,
  1448. 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x38, 0x0a, 0x09, 0x72, 0x65,
  1449. 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
  1450. 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d,
  1451. 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x72, 0x65, 0x6c, 0x61, 0x74,
  1452. 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x5c, 0x0a, 0x18, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65,
  1453. 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1454. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  1455. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x18,
  1456. 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,
  1457. 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65,
  1458. 0x6e, 0x74, 0x22, 0x2d, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f,
  1459. 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
  1460. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  1461. 0x65, 0x22, 0x44, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d,
  1462. 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a,
  1463. 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d,
  1464. 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f,
  1465. 0x52, 0x05, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x22, 0x2e, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x4d,
  1466. 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75,
  1467. 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28,
  1468. 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x51, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74, 0x4d,
  1469. 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,
  1470. 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x09, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  1471. 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,
  1472. 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52,
  1473. 0x09, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x63, 0x0a, 0x19, 0x55, 0x70,
  1474. 0x73, 0x65, 0x72, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  1475. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
  1476. 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x08, 0x72,
  1477. 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e,
  1478. 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61,
  1479. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22,
  1480. 0x2b, 0x0a, 0x19, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61,
  1481. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02,
  1482. 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x2a, 0x50, 0x0a, 0x0a,
  1483. 0x56, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x12, 0x1a, 0x0a, 0x16, 0x56, 0x49,
  1484. 0x53, 0x49, 0x42, 0x49, 0x4c, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
  1485. 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x50, 0x52, 0x49, 0x56, 0x41, 0x54,
  1486. 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x50, 0x52, 0x4f, 0x54, 0x45, 0x43, 0x54, 0x45, 0x44,
  1487. 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x50, 0x55, 0x42, 0x4c, 0x49, 0x43, 0x10, 0x03, 0x32, 0xbf,
  1488. 0x10, 0x0a, 0x0b, 0x4d, 0x65, 0x6d, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5e,
  1489. 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x1f, 0x2e, 0x6d,
  1490. 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61,
  1491. 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e,
  1492. 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d,
  1493. 0x6f, 0x22, 0x1b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x3a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x22,
  1494. 0x0d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x85,
  1495. 0x01, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x1e, 0x2e, 0x6d,
  1496. 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
  1497. 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d,
  1498. 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74,
  1499. 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x37, 0x82,
  1500. 0xd3, 0xe4, 0x93, 0x02, 0x31, 0x5a, 0x20, 0x12, 0x1e, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31,
  1501. 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a,
  1502. 0x7d, 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x0d, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31,
  1503. 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x12, 0x62, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d,
  1504. 0x6f, 0x12, 0x1c, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
  1505. 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  1506. 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
  1507. 0x65, 0x6d, 0x6f, 0x22, 0x25, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,
  1508. 0x02, 0x18, 0x12, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
  1509. 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7f, 0x0a, 0x0a, 0x55, 0x70,
  1510. 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
  1511. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x65,
  1512. 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,
  1513. 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x22, 0x3c, 0xda,
  1514. 0x41, 0x10, 0x6d, 0x65, 0x6d, 0x6f, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61,
  1515. 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x04, 0x6d, 0x65, 0x6d, 0x6f, 0x32, 0x1b,
  1516. 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6d, 0x65, 0x6d, 0x6f, 0x2e, 0x6e, 0x61,
  1517. 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x6c, 0x0a, 0x0a, 0x44,
  1518. 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,
  1519. 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d,
  1520. 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f,
  1521. 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70,
  1522. 0x74, 0x79, 0x22, 0x25, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02,
  1523. 0x18, 0x2a, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65,
  1524. 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x7c, 0x0a, 0x0d, 0x52, 0x65, 0x6e,
  1525. 0x61, 0x6d, 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61, 0x67, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x6d,
  1526. 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65,
  1527. 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16,
  1528. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  1529. 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x01,
  1530. 0x2a, 0x32, 0x24, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65,
  1531. 0x6e, 0x74, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x67, 0x73,
  1532. 0x3a, 0x72, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x78, 0x0a, 0x0d, 0x44, 0x65, 0x6c, 0x65, 0x74,
  1533. 0x65, 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x61, 0x67, 0x12, 0x22, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
  1534. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65,
  1535. 0x6d, 0x6f, 0x54, 0x61, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67,
  1536. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45,
  1537. 0x6d, 0x70, 0x74, 0x79, 0x22, 0x2b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x2a, 0x23, 0x2f, 0x61,
  1538. 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x6d, 0x65,
  1539. 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x61, 0x67, 0x73, 0x2f, 0x7b, 0x74, 0x61, 0x67,
  1540. 0x7d, 0x12, 0x85, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73,
  1541. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,
  1542. 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73,
  1543. 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
  1544. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  1545. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x32, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3,
  1546. 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x32, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31,
  1547. 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
  1548. 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x95, 0x01, 0x0a, 0x11, 0x4c, 0x69,
  1549. 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12,
  1550. 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
  1551. 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73,
  1552. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,
  1553. 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52,
  1554. 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1555. 0x22, 0x2f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12,
  1556. 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d,
  1557. 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
  1558. 0x73, 0x12, 0x85, 0x01, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c,
  1559. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,
  1560. 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c,
  1561. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
  1562. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  1563. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x32, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3,
  1564. 0xe4, 0x93, 0x02, 0x25, 0x3a, 0x01, 0x2a, 0x32, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31,
  1565. 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
  1566. 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x95, 0x01, 0x0a, 0x11, 0x4c, 0x69,
  1567. 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12,
  1568. 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
  1569. 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
  1570. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,
  1571. 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52,
  1572. 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1573. 0x22, 0x2f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12,
  1574. 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d,
  1575. 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
  1576. 0x73, 0x12, 0x88, 0x01, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d, 0x6f,
  1577. 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,
  1578. 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4d, 0x65, 0x6d,
  1579. 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  1580. 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4d,
  1581. 0x65, 0x6d, 0x6f, 0x22, 0x37, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,
  1582. 0x02, 0x2a, 0x3a, 0x07, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x22, 0x1f, 0x2f, 0x61, 0x70,
  1583. 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
  1584. 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x91, 0x01, 0x0a,
  1585. 0x10, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
  1586. 0x73, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
  1587. 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74,
  1588. 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
  1589. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f,
  1590. 0x43, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1591. 0x22, 0x2e, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x21, 0x12,
  1592. 0x1f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d,
  1593. 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x65, 0x6e, 0x74, 0x73,
  1594. 0x12, 0x95, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61,
  1595. 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,
  1596. 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65,
  1597. 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x27,
  1598. 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69,
  1599. 0x73, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
  1600. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2f, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65,
  1601. 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x22, 0x12, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f,
  1602. 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72,
  1603. 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x89, 0x01, 0x0a, 0x12, 0x55, 0x70, 0x73,
  1604. 0x65, 0x72, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  1605. 0x27, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55,
  1606. 0x70, 0x73, 0x65, 0x72, 0x74, 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f,
  1607. 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
  1608. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e,
  1609. 0x22, 0x32, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x25, 0x3a,
  1610. 0x01, 0x2a, 0x22, 0x20, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d,
  1611. 0x65, 0x3d, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74,
  1612. 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x7a, 0x0a, 0x12, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x4d, 0x65,
  1613. 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x27, 0x2e, 0x6d, 0x65, 0x6d,
  1614. 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65,
  1615. 0x4d, 0x65, 0x6d, 0x6f, 0x52, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75,
  1616. 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
  1617. 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x23, 0xda, 0x41, 0x02,
  1618. 0x69, 0x64, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x2a, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
  1619. 0x31, 0x2f, 0x72, 0x65, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x7b, 0x69, 0x64, 0x7d,
  1620. 0x42, 0xa8, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,
  1621. 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x4d, 0x65, 0x6d, 0x6f, 0x53, 0x65, 0x72, 0x76, 0x69,
  1622. 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74, 0x68, 0x75,
  1623. 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x6d,
  1624. 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e, 0x2f, 0x61,
  1625. 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x4d, 0x41,
  1626. 0x58, 0xaa, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x70, 0x69, 0x2e, 0x56, 0x31,
  1627. 0xca, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0xe2,
  1628. 0x02, 0x18, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31, 0x5c, 0x47,
  1629. 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d, 0x65, 0x6d,
  1630. 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f,
  1631. 0x74, 0x6f, 0x33,
  1632. })
  1633. var (
  1634. file_api_v1_memo_service_proto_rawDescOnce sync.Once
  1635. file_api_v1_memo_service_proto_rawDescData []byte
  1636. )
  1637. func file_api_v1_memo_service_proto_rawDescGZIP() []byte {
  1638. file_api_v1_memo_service_proto_rawDescOnce.Do(func() {
  1639. file_api_v1_memo_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_api_v1_memo_service_proto_rawDesc), len(file_api_v1_memo_service_proto_rawDesc)))
  1640. })
  1641. return file_api_v1_memo_service_proto_rawDescData
  1642. }
  1643. var file_api_v1_memo_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1644. var file_api_v1_memo_service_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
  1645. var file_api_v1_memo_service_proto_goTypes = []any{
  1646. (Visibility)(0), // 0: memos.api.v1.Visibility
  1647. (*Memo)(nil), // 1: memos.api.v1.Memo
  1648. (*MemoProperty)(nil), // 2: memos.api.v1.MemoProperty
  1649. (*Location)(nil), // 3: memos.api.v1.Location
  1650. (*CreateMemoRequest)(nil), // 4: memos.api.v1.CreateMemoRequest
  1651. (*ListMemosRequest)(nil), // 5: memos.api.v1.ListMemosRequest
  1652. (*ListMemosResponse)(nil), // 6: memos.api.v1.ListMemosResponse
  1653. (*GetMemoRequest)(nil), // 7: memos.api.v1.GetMemoRequest
  1654. (*UpdateMemoRequest)(nil), // 8: memos.api.v1.UpdateMemoRequest
  1655. (*DeleteMemoRequest)(nil), // 9: memos.api.v1.DeleteMemoRequest
  1656. (*RenameMemoTagRequest)(nil), // 10: memos.api.v1.RenameMemoTagRequest
  1657. (*DeleteMemoTagRequest)(nil), // 11: memos.api.v1.DeleteMemoTagRequest
  1658. (*SetMemoResourcesRequest)(nil), // 12: memos.api.v1.SetMemoResourcesRequest
  1659. (*ListMemoResourcesRequest)(nil), // 13: memos.api.v1.ListMemoResourcesRequest
  1660. (*ListMemoResourcesResponse)(nil), // 14: memos.api.v1.ListMemoResourcesResponse
  1661. (*SetMemoRelationsRequest)(nil), // 15: memos.api.v1.SetMemoRelationsRequest
  1662. (*ListMemoRelationsRequest)(nil), // 16: memos.api.v1.ListMemoRelationsRequest
  1663. (*ListMemoRelationsResponse)(nil), // 17: memos.api.v1.ListMemoRelationsResponse
  1664. (*CreateMemoCommentRequest)(nil), // 18: memos.api.v1.CreateMemoCommentRequest
  1665. (*ListMemoCommentsRequest)(nil), // 19: memos.api.v1.ListMemoCommentsRequest
  1666. (*ListMemoCommentsResponse)(nil), // 20: memos.api.v1.ListMemoCommentsResponse
  1667. (*ListMemoReactionsRequest)(nil), // 21: memos.api.v1.ListMemoReactionsRequest
  1668. (*ListMemoReactionsResponse)(nil), // 22: memos.api.v1.ListMemoReactionsResponse
  1669. (*UpsertMemoReactionRequest)(nil), // 23: memos.api.v1.UpsertMemoReactionRequest
  1670. (*DeleteMemoReactionRequest)(nil), // 24: memos.api.v1.DeleteMemoReactionRequest
  1671. (State)(0), // 25: memos.api.v1.State
  1672. (*timestamppb.Timestamp)(nil), // 26: google.protobuf.Timestamp
  1673. (*Node)(nil), // 27: memos.api.v1.Node
  1674. (*Resource)(nil), // 28: memos.api.v1.Resource
  1675. (*MemoRelation)(nil), // 29: memos.api.v1.MemoRelation
  1676. (*Reaction)(nil), // 30: memos.api.v1.Reaction
  1677. (Direction)(0), // 31: memos.api.v1.Direction
  1678. (*fieldmaskpb.FieldMask)(nil), // 32: google.protobuf.FieldMask
  1679. (*emptypb.Empty)(nil), // 33: google.protobuf.Empty
  1680. }
  1681. var file_api_v1_memo_service_proto_depIdxs = []int32{
  1682. 25, // 0: memos.api.v1.Memo.state:type_name -> memos.api.v1.State
  1683. 26, // 1: memos.api.v1.Memo.create_time:type_name -> google.protobuf.Timestamp
  1684. 26, // 2: memos.api.v1.Memo.update_time:type_name -> google.protobuf.Timestamp
  1685. 26, // 3: memos.api.v1.Memo.display_time:type_name -> google.protobuf.Timestamp
  1686. 27, // 4: memos.api.v1.Memo.nodes:type_name -> memos.api.v1.Node
  1687. 0, // 5: memos.api.v1.Memo.visibility:type_name -> memos.api.v1.Visibility
  1688. 28, // 6: memos.api.v1.Memo.resources:type_name -> memos.api.v1.Resource
  1689. 29, // 7: memos.api.v1.Memo.relations:type_name -> memos.api.v1.MemoRelation
  1690. 30, // 8: memos.api.v1.Memo.reactions:type_name -> memos.api.v1.Reaction
  1691. 2, // 9: memos.api.v1.Memo.property:type_name -> memos.api.v1.MemoProperty
  1692. 3, // 10: memos.api.v1.Memo.location:type_name -> memos.api.v1.Location
  1693. 1, // 11: memos.api.v1.CreateMemoRequest.memo:type_name -> memos.api.v1.Memo
  1694. 25, // 12: memos.api.v1.ListMemosRequest.state:type_name -> memos.api.v1.State
  1695. 31, // 13: memos.api.v1.ListMemosRequest.direction:type_name -> memos.api.v1.Direction
  1696. 1, // 14: memos.api.v1.ListMemosResponse.memos:type_name -> memos.api.v1.Memo
  1697. 1, // 15: memos.api.v1.UpdateMemoRequest.memo:type_name -> memos.api.v1.Memo
  1698. 32, // 16: memos.api.v1.UpdateMemoRequest.update_mask:type_name -> google.protobuf.FieldMask
  1699. 28, // 17: memos.api.v1.SetMemoResourcesRequest.resources:type_name -> memos.api.v1.Resource
  1700. 28, // 18: memos.api.v1.ListMemoResourcesResponse.resources:type_name -> memos.api.v1.Resource
  1701. 29, // 19: memos.api.v1.SetMemoRelationsRequest.relations:type_name -> memos.api.v1.MemoRelation
  1702. 29, // 20: memos.api.v1.ListMemoRelationsResponse.relations:type_name -> memos.api.v1.MemoRelation
  1703. 1, // 21: memos.api.v1.CreateMemoCommentRequest.comment:type_name -> memos.api.v1.Memo
  1704. 1, // 22: memos.api.v1.ListMemoCommentsResponse.memos:type_name -> memos.api.v1.Memo
  1705. 30, // 23: memos.api.v1.ListMemoReactionsResponse.reactions:type_name -> memos.api.v1.Reaction
  1706. 30, // 24: memos.api.v1.UpsertMemoReactionRequest.reaction:type_name -> memos.api.v1.Reaction
  1707. 4, // 25: memos.api.v1.MemoService.CreateMemo:input_type -> memos.api.v1.CreateMemoRequest
  1708. 5, // 26: memos.api.v1.MemoService.ListMemos:input_type -> memos.api.v1.ListMemosRequest
  1709. 7, // 27: memos.api.v1.MemoService.GetMemo:input_type -> memos.api.v1.GetMemoRequest
  1710. 8, // 28: memos.api.v1.MemoService.UpdateMemo:input_type -> memos.api.v1.UpdateMemoRequest
  1711. 9, // 29: memos.api.v1.MemoService.DeleteMemo:input_type -> memos.api.v1.DeleteMemoRequest
  1712. 10, // 30: memos.api.v1.MemoService.RenameMemoTag:input_type -> memos.api.v1.RenameMemoTagRequest
  1713. 11, // 31: memos.api.v1.MemoService.DeleteMemoTag:input_type -> memos.api.v1.DeleteMemoTagRequest
  1714. 12, // 32: memos.api.v1.MemoService.SetMemoResources:input_type -> memos.api.v1.SetMemoResourcesRequest
  1715. 13, // 33: memos.api.v1.MemoService.ListMemoResources:input_type -> memos.api.v1.ListMemoResourcesRequest
  1716. 15, // 34: memos.api.v1.MemoService.SetMemoRelations:input_type -> memos.api.v1.SetMemoRelationsRequest
  1717. 16, // 35: memos.api.v1.MemoService.ListMemoRelations:input_type -> memos.api.v1.ListMemoRelationsRequest
  1718. 18, // 36: memos.api.v1.MemoService.CreateMemoComment:input_type -> memos.api.v1.CreateMemoCommentRequest
  1719. 19, // 37: memos.api.v1.MemoService.ListMemoComments:input_type -> memos.api.v1.ListMemoCommentsRequest
  1720. 21, // 38: memos.api.v1.MemoService.ListMemoReactions:input_type -> memos.api.v1.ListMemoReactionsRequest
  1721. 23, // 39: memos.api.v1.MemoService.UpsertMemoReaction:input_type -> memos.api.v1.UpsertMemoReactionRequest
  1722. 24, // 40: memos.api.v1.MemoService.DeleteMemoReaction:input_type -> memos.api.v1.DeleteMemoReactionRequest
  1723. 1, // 41: memos.api.v1.MemoService.CreateMemo:output_type -> memos.api.v1.Memo
  1724. 6, // 42: memos.api.v1.MemoService.ListMemos:output_type -> memos.api.v1.ListMemosResponse
  1725. 1, // 43: memos.api.v1.MemoService.GetMemo:output_type -> memos.api.v1.Memo
  1726. 1, // 44: memos.api.v1.MemoService.UpdateMemo:output_type -> memos.api.v1.Memo
  1727. 33, // 45: memos.api.v1.MemoService.DeleteMemo:output_type -> google.protobuf.Empty
  1728. 33, // 46: memos.api.v1.MemoService.RenameMemoTag:output_type -> google.protobuf.Empty
  1729. 33, // 47: memos.api.v1.MemoService.DeleteMemoTag:output_type -> google.protobuf.Empty
  1730. 33, // 48: memos.api.v1.MemoService.SetMemoResources:output_type -> google.protobuf.Empty
  1731. 14, // 49: memos.api.v1.MemoService.ListMemoResources:output_type -> memos.api.v1.ListMemoResourcesResponse
  1732. 33, // 50: memos.api.v1.MemoService.SetMemoRelations:output_type -> google.protobuf.Empty
  1733. 17, // 51: memos.api.v1.MemoService.ListMemoRelations:output_type -> memos.api.v1.ListMemoRelationsResponse
  1734. 1, // 52: memos.api.v1.MemoService.CreateMemoComment:output_type -> memos.api.v1.Memo
  1735. 20, // 53: memos.api.v1.MemoService.ListMemoComments:output_type -> memos.api.v1.ListMemoCommentsResponse
  1736. 22, // 54: memos.api.v1.MemoService.ListMemoReactions:output_type -> memos.api.v1.ListMemoReactionsResponse
  1737. 30, // 55: memos.api.v1.MemoService.UpsertMemoReaction:output_type -> memos.api.v1.Reaction
  1738. 33, // 56: memos.api.v1.MemoService.DeleteMemoReaction:output_type -> google.protobuf.Empty
  1739. 41, // [41:57] is the sub-list for method output_type
  1740. 25, // [25:41] is the sub-list for method input_type
  1741. 25, // [25:25] is the sub-list for extension type_name
  1742. 25, // [25:25] is the sub-list for extension extendee
  1743. 0, // [0:25] is the sub-list for field type_name
  1744. }
  1745. func init() { file_api_v1_memo_service_proto_init() }
  1746. func file_api_v1_memo_service_proto_init() {
  1747. if File_api_v1_memo_service_proto != nil {
  1748. return
  1749. }
  1750. file_api_v1_common_proto_init()
  1751. file_api_v1_markdown_service_proto_init()
  1752. file_api_v1_memo_relation_service_proto_init()
  1753. file_api_v1_reaction_service_proto_init()
  1754. file_api_v1_resource_service_proto_init()
  1755. file_api_v1_memo_service_proto_msgTypes[0].OneofWrappers = []any{}
  1756. type x struct{}
  1757. out := protoimpl.TypeBuilder{
  1758. File: protoimpl.DescBuilder{
  1759. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1760. RawDescriptor: unsafe.Slice(unsafe.StringData(file_api_v1_memo_service_proto_rawDesc), len(file_api_v1_memo_service_proto_rawDesc)),
  1761. NumEnums: 1,
  1762. NumMessages: 24,
  1763. NumExtensions: 0,
  1764. NumServices: 1,
  1765. },
  1766. GoTypes: file_api_v1_memo_service_proto_goTypes,
  1767. DependencyIndexes: file_api_v1_memo_service_proto_depIdxs,
  1768. EnumInfos: file_api_v1_memo_service_proto_enumTypes,
  1769. MessageInfos: file_api_v1_memo_service_proto_msgTypes,
  1770. }.Build()
  1771. File_api_v1_memo_service_proto = out.File
  1772. file_api_v1_memo_service_proto_goTypes = nil
  1773. file_api_v1_memo_service_proto_depIdxs = nil
  1774. }