user_service.pb.go 74 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774
  1. // Code generated by protoc-gen-go. DO NOT EDIT.
  2. // versions:
  3. // protoc-gen-go v1.36.3
  4. // protoc (unknown)
  5. // source: api/v1/user_service.proto
  6. package apiv1
  7. import (
  8. _ "google.golang.org/genproto/googleapis/api/annotations"
  9. httpbody "google.golang.org/genproto/googleapis/api/httpbody"
  10. protoreflect "google.golang.org/protobuf/reflect/protoreflect"
  11. protoimpl "google.golang.org/protobuf/runtime/protoimpl"
  12. emptypb "google.golang.org/protobuf/types/known/emptypb"
  13. fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
  14. timestamppb "google.golang.org/protobuf/types/known/timestamppb"
  15. reflect "reflect"
  16. sync "sync"
  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 User_Role int32
  25. const (
  26. User_ROLE_UNSPECIFIED User_Role = 0
  27. User_HOST User_Role = 1
  28. User_ADMIN User_Role = 2
  29. User_USER User_Role = 3
  30. )
  31. // Enum value maps for User_Role.
  32. var (
  33. User_Role_name = map[int32]string{
  34. 0: "ROLE_UNSPECIFIED",
  35. 1: "HOST",
  36. 2: "ADMIN",
  37. 3: "USER",
  38. }
  39. User_Role_value = map[string]int32{
  40. "ROLE_UNSPECIFIED": 0,
  41. "HOST": 1,
  42. "ADMIN": 2,
  43. "USER": 3,
  44. }
  45. )
  46. func (x User_Role) Enum() *User_Role {
  47. p := new(User_Role)
  48. *p = x
  49. return p
  50. }
  51. func (x User_Role) String() string {
  52. return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
  53. }
  54. func (User_Role) Descriptor() protoreflect.EnumDescriptor {
  55. return file_api_v1_user_service_proto_enumTypes[0].Descriptor()
  56. }
  57. func (User_Role) Type() protoreflect.EnumType {
  58. return &file_api_v1_user_service_proto_enumTypes[0]
  59. }
  60. func (x User_Role) Number() protoreflect.EnumNumber {
  61. return protoreflect.EnumNumber(x)
  62. }
  63. // Deprecated: Use User_Role.Descriptor instead.
  64. func (User_Role) EnumDescriptor() ([]byte, []int) {
  65. return file_api_v1_user_service_proto_rawDescGZIP(), []int{0, 0}
  66. }
  67. type User struct {
  68. state protoimpl.MessageState `protogen:"open.v1"`
  69. // The name of the user.
  70. // Format: users/{user}. {user} is a system-generated auto-increment id.
  71. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  72. Role User_Role `protobuf:"varint,3,opt,name=role,proto3,enum=memos.api.v1.User_Role" json:"role,omitempty"`
  73. Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`
  74. Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
  75. Nickname string `protobuf:"bytes,6,opt,name=nickname,proto3" json:"nickname,omitempty"`
  76. AvatarUrl string `protobuf:"bytes,7,opt,name=avatar_url,json=avatarUrl,proto3" json:"avatar_url,omitempty"`
  77. Description string `protobuf:"bytes,8,opt,name=description,proto3" json:"description,omitempty"`
  78. Password string `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"`
  79. State State `protobuf:"varint,10,opt,name=state,proto3,enum=memos.api.v1.State" json:"state,omitempty"`
  80. CreateTime *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=create_time,json=createTime,proto3" json:"create_time,omitempty"`
  81. UpdateTime *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`
  82. unknownFields protoimpl.UnknownFields
  83. sizeCache protoimpl.SizeCache
  84. }
  85. func (x *User) Reset() {
  86. *x = User{}
  87. mi := &file_api_v1_user_service_proto_msgTypes[0]
  88. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  89. ms.StoreMessageInfo(mi)
  90. }
  91. func (x *User) String() string {
  92. return protoimpl.X.MessageStringOf(x)
  93. }
  94. func (*User) ProtoMessage() {}
  95. func (x *User) ProtoReflect() protoreflect.Message {
  96. mi := &file_api_v1_user_service_proto_msgTypes[0]
  97. if x != nil {
  98. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  99. if ms.LoadMessageInfo() == nil {
  100. ms.StoreMessageInfo(mi)
  101. }
  102. return ms
  103. }
  104. return mi.MessageOf(x)
  105. }
  106. // Deprecated: Use User.ProtoReflect.Descriptor instead.
  107. func (*User) Descriptor() ([]byte, []int) {
  108. return file_api_v1_user_service_proto_rawDescGZIP(), []int{0}
  109. }
  110. func (x *User) GetName() string {
  111. if x != nil {
  112. return x.Name
  113. }
  114. return ""
  115. }
  116. func (x *User) GetRole() User_Role {
  117. if x != nil {
  118. return x.Role
  119. }
  120. return User_ROLE_UNSPECIFIED
  121. }
  122. func (x *User) GetUsername() string {
  123. if x != nil {
  124. return x.Username
  125. }
  126. return ""
  127. }
  128. func (x *User) GetEmail() string {
  129. if x != nil {
  130. return x.Email
  131. }
  132. return ""
  133. }
  134. func (x *User) GetNickname() string {
  135. if x != nil {
  136. return x.Nickname
  137. }
  138. return ""
  139. }
  140. func (x *User) GetAvatarUrl() string {
  141. if x != nil {
  142. return x.AvatarUrl
  143. }
  144. return ""
  145. }
  146. func (x *User) GetDescription() string {
  147. if x != nil {
  148. return x.Description
  149. }
  150. return ""
  151. }
  152. func (x *User) GetPassword() string {
  153. if x != nil {
  154. return x.Password
  155. }
  156. return ""
  157. }
  158. func (x *User) GetState() State {
  159. if x != nil {
  160. return x.State
  161. }
  162. return State_STATE_UNSPECIFIED
  163. }
  164. func (x *User) GetCreateTime() *timestamppb.Timestamp {
  165. if x != nil {
  166. return x.CreateTime
  167. }
  168. return nil
  169. }
  170. func (x *User) GetUpdateTime() *timestamppb.Timestamp {
  171. if x != nil {
  172. return x.UpdateTime
  173. }
  174. return nil
  175. }
  176. type ListUsersRequest struct {
  177. state protoimpl.MessageState `protogen:"open.v1"`
  178. unknownFields protoimpl.UnknownFields
  179. sizeCache protoimpl.SizeCache
  180. }
  181. func (x *ListUsersRequest) Reset() {
  182. *x = ListUsersRequest{}
  183. mi := &file_api_v1_user_service_proto_msgTypes[1]
  184. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  185. ms.StoreMessageInfo(mi)
  186. }
  187. func (x *ListUsersRequest) String() string {
  188. return protoimpl.X.MessageStringOf(x)
  189. }
  190. func (*ListUsersRequest) ProtoMessage() {}
  191. func (x *ListUsersRequest) ProtoReflect() protoreflect.Message {
  192. mi := &file_api_v1_user_service_proto_msgTypes[1]
  193. if x != nil {
  194. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  195. if ms.LoadMessageInfo() == nil {
  196. ms.StoreMessageInfo(mi)
  197. }
  198. return ms
  199. }
  200. return mi.MessageOf(x)
  201. }
  202. // Deprecated: Use ListUsersRequest.ProtoReflect.Descriptor instead.
  203. func (*ListUsersRequest) Descriptor() ([]byte, []int) {
  204. return file_api_v1_user_service_proto_rawDescGZIP(), []int{1}
  205. }
  206. type ListUsersResponse struct {
  207. state protoimpl.MessageState `protogen:"open.v1"`
  208. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
  209. unknownFields protoimpl.UnknownFields
  210. sizeCache protoimpl.SizeCache
  211. }
  212. func (x *ListUsersResponse) Reset() {
  213. *x = ListUsersResponse{}
  214. mi := &file_api_v1_user_service_proto_msgTypes[2]
  215. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  216. ms.StoreMessageInfo(mi)
  217. }
  218. func (x *ListUsersResponse) String() string {
  219. return protoimpl.X.MessageStringOf(x)
  220. }
  221. func (*ListUsersResponse) ProtoMessage() {}
  222. func (x *ListUsersResponse) ProtoReflect() protoreflect.Message {
  223. mi := &file_api_v1_user_service_proto_msgTypes[2]
  224. if x != nil {
  225. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  226. if ms.LoadMessageInfo() == nil {
  227. ms.StoreMessageInfo(mi)
  228. }
  229. return ms
  230. }
  231. return mi.MessageOf(x)
  232. }
  233. // Deprecated: Use ListUsersResponse.ProtoReflect.Descriptor instead.
  234. func (*ListUsersResponse) Descriptor() ([]byte, []int) {
  235. return file_api_v1_user_service_proto_rawDescGZIP(), []int{2}
  236. }
  237. func (x *ListUsersResponse) GetUsers() []*User {
  238. if x != nil {
  239. return x.Users
  240. }
  241. return nil
  242. }
  243. type SearchUsersRequest struct {
  244. state protoimpl.MessageState `protogen:"open.v1"`
  245. // Filter is used to filter users returned in the list.
  246. // Format: "username == 'frank'"
  247. Filter string `protobuf:"bytes,1,opt,name=filter,proto3" json:"filter,omitempty"`
  248. unknownFields protoimpl.UnknownFields
  249. sizeCache protoimpl.SizeCache
  250. }
  251. func (x *SearchUsersRequest) Reset() {
  252. *x = SearchUsersRequest{}
  253. mi := &file_api_v1_user_service_proto_msgTypes[3]
  254. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  255. ms.StoreMessageInfo(mi)
  256. }
  257. func (x *SearchUsersRequest) String() string {
  258. return protoimpl.X.MessageStringOf(x)
  259. }
  260. func (*SearchUsersRequest) ProtoMessage() {}
  261. func (x *SearchUsersRequest) ProtoReflect() protoreflect.Message {
  262. mi := &file_api_v1_user_service_proto_msgTypes[3]
  263. if x != nil {
  264. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  265. if ms.LoadMessageInfo() == nil {
  266. ms.StoreMessageInfo(mi)
  267. }
  268. return ms
  269. }
  270. return mi.MessageOf(x)
  271. }
  272. // Deprecated: Use SearchUsersRequest.ProtoReflect.Descriptor instead.
  273. func (*SearchUsersRequest) Descriptor() ([]byte, []int) {
  274. return file_api_v1_user_service_proto_rawDescGZIP(), []int{3}
  275. }
  276. func (x *SearchUsersRequest) GetFilter() string {
  277. if x != nil {
  278. return x.Filter
  279. }
  280. return ""
  281. }
  282. type SearchUsersResponse struct {
  283. state protoimpl.MessageState `protogen:"open.v1"`
  284. Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"`
  285. unknownFields protoimpl.UnknownFields
  286. sizeCache protoimpl.SizeCache
  287. }
  288. func (x *SearchUsersResponse) Reset() {
  289. *x = SearchUsersResponse{}
  290. mi := &file_api_v1_user_service_proto_msgTypes[4]
  291. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  292. ms.StoreMessageInfo(mi)
  293. }
  294. func (x *SearchUsersResponse) String() string {
  295. return protoimpl.X.MessageStringOf(x)
  296. }
  297. func (*SearchUsersResponse) ProtoMessage() {}
  298. func (x *SearchUsersResponse) ProtoReflect() protoreflect.Message {
  299. mi := &file_api_v1_user_service_proto_msgTypes[4]
  300. if x != nil {
  301. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  302. if ms.LoadMessageInfo() == nil {
  303. ms.StoreMessageInfo(mi)
  304. }
  305. return ms
  306. }
  307. return mi.MessageOf(x)
  308. }
  309. // Deprecated: Use SearchUsersResponse.ProtoReflect.Descriptor instead.
  310. func (*SearchUsersResponse) Descriptor() ([]byte, []int) {
  311. return file_api_v1_user_service_proto_rawDescGZIP(), []int{4}
  312. }
  313. func (x *SearchUsersResponse) GetUsers() []*User {
  314. if x != nil {
  315. return x.Users
  316. }
  317. return nil
  318. }
  319. type GetUserRequest struct {
  320. state protoimpl.MessageState `protogen:"open.v1"`
  321. // The name of the user.
  322. // Format: users/{user}
  323. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  324. unknownFields protoimpl.UnknownFields
  325. sizeCache protoimpl.SizeCache
  326. }
  327. func (x *GetUserRequest) Reset() {
  328. *x = GetUserRequest{}
  329. mi := &file_api_v1_user_service_proto_msgTypes[5]
  330. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  331. ms.StoreMessageInfo(mi)
  332. }
  333. func (x *GetUserRequest) String() string {
  334. return protoimpl.X.MessageStringOf(x)
  335. }
  336. func (*GetUserRequest) ProtoMessage() {}
  337. func (x *GetUserRequest) ProtoReflect() protoreflect.Message {
  338. mi := &file_api_v1_user_service_proto_msgTypes[5]
  339. if x != nil {
  340. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  341. if ms.LoadMessageInfo() == nil {
  342. ms.StoreMessageInfo(mi)
  343. }
  344. return ms
  345. }
  346. return mi.MessageOf(x)
  347. }
  348. // Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
  349. func (*GetUserRequest) Descriptor() ([]byte, []int) {
  350. return file_api_v1_user_service_proto_rawDescGZIP(), []int{5}
  351. }
  352. func (x *GetUserRequest) GetName() string {
  353. if x != nil {
  354. return x.Name
  355. }
  356. return ""
  357. }
  358. type GetUserAvatarBinaryRequest struct {
  359. state protoimpl.MessageState `protogen:"open.v1"`
  360. // The name of the user.
  361. // Format: users/{user}
  362. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  363. // The raw HTTP body is bound to this field.
  364. HttpBody *httpbody.HttpBody `protobuf:"bytes,2,opt,name=http_body,json=httpBody,proto3" json:"http_body,omitempty"`
  365. unknownFields protoimpl.UnknownFields
  366. sizeCache protoimpl.SizeCache
  367. }
  368. func (x *GetUserAvatarBinaryRequest) Reset() {
  369. *x = GetUserAvatarBinaryRequest{}
  370. mi := &file_api_v1_user_service_proto_msgTypes[6]
  371. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  372. ms.StoreMessageInfo(mi)
  373. }
  374. func (x *GetUserAvatarBinaryRequest) String() string {
  375. return protoimpl.X.MessageStringOf(x)
  376. }
  377. func (*GetUserAvatarBinaryRequest) ProtoMessage() {}
  378. func (x *GetUserAvatarBinaryRequest) ProtoReflect() protoreflect.Message {
  379. mi := &file_api_v1_user_service_proto_msgTypes[6]
  380. if x != nil {
  381. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  382. if ms.LoadMessageInfo() == nil {
  383. ms.StoreMessageInfo(mi)
  384. }
  385. return ms
  386. }
  387. return mi.MessageOf(x)
  388. }
  389. // Deprecated: Use GetUserAvatarBinaryRequest.ProtoReflect.Descriptor instead.
  390. func (*GetUserAvatarBinaryRequest) Descriptor() ([]byte, []int) {
  391. return file_api_v1_user_service_proto_rawDescGZIP(), []int{6}
  392. }
  393. func (x *GetUserAvatarBinaryRequest) GetName() string {
  394. if x != nil {
  395. return x.Name
  396. }
  397. return ""
  398. }
  399. func (x *GetUserAvatarBinaryRequest) GetHttpBody() *httpbody.HttpBody {
  400. if x != nil {
  401. return x.HttpBody
  402. }
  403. return nil
  404. }
  405. type CreateUserRequest struct {
  406. state protoimpl.MessageState `protogen:"open.v1"`
  407. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
  408. unknownFields protoimpl.UnknownFields
  409. sizeCache protoimpl.SizeCache
  410. }
  411. func (x *CreateUserRequest) Reset() {
  412. *x = CreateUserRequest{}
  413. mi := &file_api_v1_user_service_proto_msgTypes[7]
  414. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  415. ms.StoreMessageInfo(mi)
  416. }
  417. func (x *CreateUserRequest) String() string {
  418. return protoimpl.X.MessageStringOf(x)
  419. }
  420. func (*CreateUserRequest) ProtoMessage() {}
  421. func (x *CreateUserRequest) ProtoReflect() protoreflect.Message {
  422. mi := &file_api_v1_user_service_proto_msgTypes[7]
  423. if x != nil {
  424. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  425. if ms.LoadMessageInfo() == nil {
  426. ms.StoreMessageInfo(mi)
  427. }
  428. return ms
  429. }
  430. return mi.MessageOf(x)
  431. }
  432. // Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
  433. func (*CreateUserRequest) Descriptor() ([]byte, []int) {
  434. return file_api_v1_user_service_proto_rawDescGZIP(), []int{7}
  435. }
  436. func (x *CreateUserRequest) GetUser() *User {
  437. if x != nil {
  438. return x.User
  439. }
  440. return nil
  441. }
  442. type UpdateUserRequest struct {
  443. state protoimpl.MessageState `protogen:"open.v1"`
  444. User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
  445. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  446. unknownFields protoimpl.UnknownFields
  447. sizeCache protoimpl.SizeCache
  448. }
  449. func (x *UpdateUserRequest) Reset() {
  450. *x = UpdateUserRequest{}
  451. mi := &file_api_v1_user_service_proto_msgTypes[8]
  452. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  453. ms.StoreMessageInfo(mi)
  454. }
  455. func (x *UpdateUserRequest) String() string {
  456. return protoimpl.X.MessageStringOf(x)
  457. }
  458. func (*UpdateUserRequest) ProtoMessage() {}
  459. func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message {
  460. mi := &file_api_v1_user_service_proto_msgTypes[8]
  461. if x != nil {
  462. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  463. if ms.LoadMessageInfo() == nil {
  464. ms.StoreMessageInfo(mi)
  465. }
  466. return ms
  467. }
  468. return mi.MessageOf(x)
  469. }
  470. // Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
  471. func (*UpdateUserRequest) Descriptor() ([]byte, []int) {
  472. return file_api_v1_user_service_proto_rawDescGZIP(), []int{8}
  473. }
  474. func (x *UpdateUserRequest) GetUser() *User {
  475. if x != nil {
  476. return x.User
  477. }
  478. return nil
  479. }
  480. func (x *UpdateUserRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
  481. if x != nil {
  482. return x.UpdateMask
  483. }
  484. return nil
  485. }
  486. type DeleteUserRequest struct {
  487. state protoimpl.MessageState `protogen:"open.v1"`
  488. // The name of the user.
  489. // Format: users/{user}
  490. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  491. unknownFields protoimpl.UnknownFields
  492. sizeCache protoimpl.SizeCache
  493. }
  494. func (x *DeleteUserRequest) Reset() {
  495. *x = DeleteUserRequest{}
  496. mi := &file_api_v1_user_service_proto_msgTypes[9]
  497. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  498. ms.StoreMessageInfo(mi)
  499. }
  500. func (x *DeleteUserRequest) String() string {
  501. return protoimpl.X.MessageStringOf(x)
  502. }
  503. func (*DeleteUserRequest) ProtoMessage() {}
  504. func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message {
  505. mi := &file_api_v1_user_service_proto_msgTypes[9]
  506. if x != nil {
  507. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  508. if ms.LoadMessageInfo() == nil {
  509. ms.StoreMessageInfo(mi)
  510. }
  511. return ms
  512. }
  513. return mi.MessageOf(x)
  514. }
  515. // Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.
  516. func (*DeleteUserRequest) Descriptor() ([]byte, []int) {
  517. return file_api_v1_user_service_proto_rawDescGZIP(), []int{9}
  518. }
  519. func (x *DeleteUserRequest) GetName() string {
  520. if x != nil {
  521. return x.Name
  522. }
  523. return ""
  524. }
  525. type UserStats struct {
  526. state protoimpl.MessageState `protogen:"open.v1"`
  527. // The name of the user.
  528. // Format: users/{user}
  529. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  530. // The timestamps when the memos were displayed.
  531. // We should return raw data to the client, and let the client format the data with the user's timezone.
  532. MemoDisplayTimestamps []*timestamppb.Timestamp `protobuf:"bytes,2,rep,name=memo_display_timestamps,json=memoDisplayTimestamps,proto3" json:"memo_display_timestamps,omitempty"`
  533. // The stats of memo types.
  534. MemoTypeStats *UserStats_MemoTypeStats `protobuf:"bytes,3,opt,name=memo_type_stats,json=memoTypeStats,proto3" json:"memo_type_stats,omitempty"`
  535. // The count of tags.
  536. // Format: "tag1": 1, "tag2": 2
  537. TagCount map[string]int32 `protobuf:"bytes,4,rep,name=tag_count,json=tagCount,proto3" json:"tag_count,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"varint,2,opt,name=value"`
  538. unknownFields protoimpl.UnknownFields
  539. sizeCache protoimpl.SizeCache
  540. }
  541. func (x *UserStats) Reset() {
  542. *x = UserStats{}
  543. mi := &file_api_v1_user_service_proto_msgTypes[10]
  544. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  545. ms.StoreMessageInfo(mi)
  546. }
  547. func (x *UserStats) String() string {
  548. return protoimpl.X.MessageStringOf(x)
  549. }
  550. func (*UserStats) ProtoMessage() {}
  551. func (x *UserStats) ProtoReflect() protoreflect.Message {
  552. mi := &file_api_v1_user_service_proto_msgTypes[10]
  553. if x != nil {
  554. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  555. if ms.LoadMessageInfo() == nil {
  556. ms.StoreMessageInfo(mi)
  557. }
  558. return ms
  559. }
  560. return mi.MessageOf(x)
  561. }
  562. // Deprecated: Use UserStats.ProtoReflect.Descriptor instead.
  563. func (*UserStats) Descriptor() ([]byte, []int) {
  564. return file_api_v1_user_service_proto_rawDescGZIP(), []int{10}
  565. }
  566. func (x *UserStats) GetName() string {
  567. if x != nil {
  568. return x.Name
  569. }
  570. return ""
  571. }
  572. func (x *UserStats) GetMemoDisplayTimestamps() []*timestamppb.Timestamp {
  573. if x != nil {
  574. return x.MemoDisplayTimestamps
  575. }
  576. return nil
  577. }
  578. func (x *UserStats) GetMemoTypeStats() *UserStats_MemoTypeStats {
  579. if x != nil {
  580. return x.MemoTypeStats
  581. }
  582. return nil
  583. }
  584. func (x *UserStats) GetTagCount() map[string]int32 {
  585. if x != nil {
  586. return x.TagCount
  587. }
  588. return nil
  589. }
  590. type ListAllUserStatsRequest struct {
  591. state protoimpl.MessageState `protogen:"open.v1"`
  592. unknownFields protoimpl.UnknownFields
  593. sizeCache protoimpl.SizeCache
  594. }
  595. func (x *ListAllUserStatsRequest) Reset() {
  596. *x = ListAllUserStatsRequest{}
  597. mi := &file_api_v1_user_service_proto_msgTypes[11]
  598. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  599. ms.StoreMessageInfo(mi)
  600. }
  601. func (x *ListAllUserStatsRequest) String() string {
  602. return protoimpl.X.MessageStringOf(x)
  603. }
  604. func (*ListAllUserStatsRequest) ProtoMessage() {}
  605. func (x *ListAllUserStatsRequest) ProtoReflect() protoreflect.Message {
  606. mi := &file_api_v1_user_service_proto_msgTypes[11]
  607. if x != nil {
  608. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  609. if ms.LoadMessageInfo() == nil {
  610. ms.StoreMessageInfo(mi)
  611. }
  612. return ms
  613. }
  614. return mi.MessageOf(x)
  615. }
  616. // Deprecated: Use ListAllUserStatsRequest.ProtoReflect.Descriptor instead.
  617. func (*ListAllUserStatsRequest) Descriptor() ([]byte, []int) {
  618. return file_api_v1_user_service_proto_rawDescGZIP(), []int{11}
  619. }
  620. type ListAllUserStatsResponse struct {
  621. state protoimpl.MessageState `protogen:"open.v1"`
  622. UserStats []*UserStats `protobuf:"bytes,1,rep,name=user_stats,json=userStats,proto3" json:"user_stats,omitempty"`
  623. unknownFields protoimpl.UnknownFields
  624. sizeCache protoimpl.SizeCache
  625. }
  626. func (x *ListAllUserStatsResponse) Reset() {
  627. *x = ListAllUserStatsResponse{}
  628. mi := &file_api_v1_user_service_proto_msgTypes[12]
  629. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  630. ms.StoreMessageInfo(mi)
  631. }
  632. func (x *ListAllUserStatsResponse) String() string {
  633. return protoimpl.X.MessageStringOf(x)
  634. }
  635. func (*ListAllUserStatsResponse) ProtoMessage() {}
  636. func (x *ListAllUserStatsResponse) ProtoReflect() protoreflect.Message {
  637. mi := &file_api_v1_user_service_proto_msgTypes[12]
  638. if x != nil {
  639. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  640. if ms.LoadMessageInfo() == nil {
  641. ms.StoreMessageInfo(mi)
  642. }
  643. return ms
  644. }
  645. return mi.MessageOf(x)
  646. }
  647. // Deprecated: Use ListAllUserStatsResponse.ProtoReflect.Descriptor instead.
  648. func (*ListAllUserStatsResponse) Descriptor() ([]byte, []int) {
  649. return file_api_v1_user_service_proto_rawDescGZIP(), []int{12}
  650. }
  651. func (x *ListAllUserStatsResponse) GetUserStats() []*UserStats {
  652. if x != nil {
  653. return x.UserStats
  654. }
  655. return nil
  656. }
  657. type GetUserStatsRequest struct {
  658. state protoimpl.MessageState `protogen:"open.v1"`
  659. // The name of the user.
  660. // Format: users/{user}.
  661. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  662. unknownFields protoimpl.UnknownFields
  663. sizeCache protoimpl.SizeCache
  664. }
  665. func (x *GetUserStatsRequest) Reset() {
  666. *x = GetUserStatsRequest{}
  667. mi := &file_api_v1_user_service_proto_msgTypes[13]
  668. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  669. ms.StoreMessageInfo(mi)
  670. }
  671. func (x *GetUserStatsRequest) String() string {
  672. return protoimpl.X.MessageStringOf(x)
  673. }
  674. func (*GetUserStatsRequest) ProtoMessage() {}
  675. func (x *GetUserStatsRequest) ProtoReflect() protoreflect.Message {
  676. mi := &file_api_v1_user_service_proto_msgTypes[13]
  677. if x != nil {
  678. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  679. if ms.LoadMessageInfo() == nil {
  680. ms.StoreMessageInfo(mi)
  681. }
  682. return ms
  683. }
  684. return mi.MessageOf(x)
  685. }
  686. // Deprecated: Use GetUserStatsRequest.ProtoReflect.Descriptor instead.
  687. func (*GetUserStatsRequest) Descriptor() ([]byte, []int) {
  688. return file_api_v1_user_service_proto_rawDescGZIP(), []int{13}
  689. }
  690. func (x *GetUserStatsRequest) GetName() string {
  691. if x != nil {
  692. return x.Name
  693. }
  694. return ""
  695. }
  696. type UserSetting struct {
  697. state protoimpl.MessageState `protogen:"open.v1"`
  698. // The name of the user.
  699. // Format: users/{user}
  700. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  701. // The preferred locale of the user.
  702. Locale string `protobuf:"bytes,2,opt,name=locale,proto3" json:"locale,omitempty"`
  703. // The preferred appearance of the user.
  704. Appearance string `protobuf:"bytes,3,opt,name=appearance,proto3" json:"appearance,omitempty"`
  705. // The default visibility of the memo.
  706. MemoVisibility string `protobuf:"bytes,4,opt,name=memo_visibility,json=memoVisibility,proto3" json:"memo_visibility,omitempty"`
  707. unknownFields protoimpl.UnknownFields
  708. sizeCache protoimpl.SizeCache
  709. }
  710. func (x *UserSetting) Reset() {
  711. *x = UserSetting{}
  712. mi := &file_api_v1_user_service_proto_msgTypes[14]
  713. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  714. ms.StoreMessageInfo(mi)
  715. }
  716. func (x *UserSetting) String() string {
  717. return protoimpl.X.MessageStringOf(x)
  718. }
  719. func (*UserSetting) ProtoMessage() {}
  720. func (x *UserSetting) ProtoReflect() protoreflect.Message {
  721. mi := &file_api_v1_user_service_proto_msgTypes[14]
  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 UserSetting.ProtoReflect.Descriptor instead.
  732. func (*UserSetting) Descriptor() ([]byte, []int) {
  733. return file_api_v1_user_service_proto_rawDescGZIP(), []int{14}
  734. }
  735. func (x *UserSetting) GetName() string {
  736. if x != nil {
  737. return x.Name
  738. }
  739. return ""
  740. }
  741. func (x *UserSetting) GetLocale() string {
  742. if x != nil {
  743. return x.Locale
  744. }
  745. return ""
  746. }
  747. func (x *UserSetting) GetAppearance() string {
  748. if x != nil {
  749. return x.Appearance
  750. }
  751. return ""
  752. }
  753. func (x *UserSetting) GetMemoVisibility() string {
  754. if x != nil {
  755. return x.MemoVisibility
  756. }
  757. return ""
  758. }
  759. type GetUserSettingRequest struct {
  760. state protoimpl.MessageState `protogen:"open.v1"`
  761. // The name of the user.
  762. // Format: users/{user}
  763. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  764. unknownFields protoimpl.UnknownFields
  765. sizeCache protoimpl.SizeCache
  766. }
  767. func (x *GetUserSettingRequest) Reset() {
  768. *x = GetUserSettingRequest{}
  769. mi := &file_api_v1_user_service_proto_msgTypes[15]
  770. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  771. ms.StoreMessageInfo(mi)
  772. }
  773. func (x *GetUserSettingRequest) String() string {
  774. return protoimpl.X.MessageStringOf(x)
  775. }
  776. func (*GetUserSettingRequest) ProtoMessage() {}
  777. func (x *GetUserSettingRequest) ProtoReflect() protoreflect.Message {
  778. mi := &file_api_v1_user_service_proto_msgTypes[15]
  779. if x != nil {
  780. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  781. if ms.LoadMessageInfo() == nil {
  782. ms.StoreMessageInfo(mi)
  783. }
  784. return ms
  785. }
  786. return mi.MessageOf(x)
  787. }
  788. // Deprecated: Use GetUserSettingRequest.ProtoReflect.Descriptor instead.
  789. func (*GetUserSettingRequest) Descriptor() ([]byte, []int) {
  790. return file_api_v1_user_service_proto_rawDescGZIP(), []int{15}
  791. }
  792. func (x *GetUserSettingRequest) GetName() string {
  793. if x != nil {
  794. return x.Name
  795. }
  796. return ""
  797. }
  798. type UpdateUserSettingRequest struct {
  799. state protoimpl.MessageState `protogen:"open.v1"`
  800. Setting *UserSetting `protobuf:"bytes,1,opt,name=setting,proto3" json:"setting,omitempty"`
  801. UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,2,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
  802. unknownFields protoimpl.UnknownFields
  803. sizeCache protoimpl.SizeCache
  804. }
  805. func (x *UpdateUserSettingRequest) Reset() {
  806. *x = UpdateUserSettingRequest{}
  807. mi := &file_api_v1_user_service_proto_msgTypes[16]
  808. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  809. ms.StoreMessageInfo(mi)
  810. }
  811. func (x *UpdateUserSettingRequest) String() string {
  812. return protoimpl.X.MessageStringOf(x)
  813. }
  814. func (*UpdateUserSettingRequest) ProtoMessage() {}
  815. func (x *UpdateUserSettingRequest) ProtoReflect() protoreflect.Message {
  816. mi := &file_api_v1_user_service_proto_msgTypes[16]
  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 UpdateUserSettingRequest.ProtoReflect.Descriptor instead.
  827. func (*UpdateUserSettingRequest) Descriptor() ([]byte, []int) {
  828. return file_api_v1_user_service_proto_rawDescGZIP(), []int{16}
  829. }
  830. func (x *UpdateUserSettingRequest) GetSetting() *UserSetting {
  831. if x != nil {
  832. return x.Setting
  833. }
  834. return nil
  835. }
  836. func (x *UpdateUserSettingRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
  837. if x != nil {
  838. return x.UpdateMask
  839. }
  840. return nil
  841. }
  842. type UserAccessToken struct {
  843. state protoimpl.MessageState `protogen:"open.v1"`
  844. AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
  845. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  846. IssuedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`
  847. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
  848. unknownFields protoimpl.UnknownFields
  849. sizeCache protoimpl.SizeCache
  850. }
  851. func (x *UserAccessToken) Reset() {
  852. *x = UserAccessToken{}
  853. mi := &file_api_v1_user_service_proto_msgTypes[17]
  854. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  855. ms.StoreMessageInfo(mi)
  856. }
  857. func (x *UserAccessToken) String() string {
  858. return protoimpl.X.MessageStringOf(x)
  859. }
  860. func (*UserAccessToken) ProtoMessage() {}
  861. func (x *UserAccessToken) ProtoReflect() protoreflect.Message {
  862. mi := &file_api_v1_user_service_proto_msgTypes[17]
  863. if x != nil {
  864. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  865. if ms.LoadMessageInfo() == nil {
  866. ms.StoreMessageInfo(mi)
  867. }
  868. return ms
  869. }
  870. return mi.MessageOf(x)
  871. }
  872. // Deprecated: Use UserAccessToken.ProtoReflect.Descriptor instead.
  873. func (*UserAccessToken) Descriptor() ([]byte, []int) {
  874. return file_api_v1_user_service_proto_rawDescGZIP(), []int{17}
  875. }
  876. func (x *UserAccessToken) GetAccessToken() string {
  877. if x != nil {
  878. return x.AccessToken
  879. }
  880. return ""
  881. }
  882. func (x *UserAccessToken) GetDescription() string {
  883. if x != nil {
  884. return x.Description
  885. }
  886. return ""
  887. }
  888. func (x *UserAccessToken) GetIssuedAt() *timestamppb.Timestamp {
  889. if x != nil {
  890. return x.IssuedAt
  891. }
  892. return nil
  893. }
  894. func (x *UserAccessToken) GetExpiresAt() *timestamppb.Timestamp {
  895. if x != nil {
  896. return x.ExpiresAt
  897. }
  898. return nil
  899. }
  900. type ListUserAccessTokensRequest struct {
  901. state protoimpl.MessageState `protogen:"open.v1"`
  902. // The name of the user.
  903. // Format: users/{user}
  904. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  905. unknownFields protoimpl.UnknownFields
  906. sizeCache protoimpl.SizeCache
  907. }
  908. func (x *ListUserAccessTokensRequest) Reset() {
  909. *x = ListUserAccessTokensRequest{}
  910. mi := &file_api_v1_user_service_proto_msgTypes[18]
  911. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  912. ms.StoreMessageInfo(mi)
  913. }
  914. func (x *ListUserAccessTokensRequest) String() string {
  915. return protoimpl.X.MessageStringOf(x)
  916. }
  917. func (*ListUserAccessTokensRequest) ProtoMessage() {}
  918. func (x *ListUserAccessTokensRequest) ProtoReflect() protoreflect.Message {
  919. mi := &file_api_v1_user_service_proto_msgTypes[18]
  920. if x != nil {
  921. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  922. if ms.LoadMessageInfo() == nil {
  923. ms.StoreMessageInfo(mi)
  924. }
  925. return ms
  926. }
  927. return mi.MessageOf(x)
  928. }
  929. // Deprecated: Use ListUserAccessTokensRequest.ProtoReflect.Descriptor instead.
  930. func (*ListUserAccessTokensRequest) Descriptor() ([]byte, []int) {
  931. return file_api_v1_user_service_proto_rawDescGZIP(), []int{18}
  932. }
  933. func (x *ListUserAccessTokensRequest) GetName() string {
  934. if x != nil {
  935. return x.Name
  936. }
  937. return ""
  938. }
  939. type ListUserAccessTokensResponse struct {
  940. state protoimpl.MessageState `protogen:"open.v1"`
  941. AccessTokens []*UserAccessToken `protobuf:"bytes,1,rep,name=access_tokens,json=accessTokens,proto3" json:"access_tokens,omitempty"`
  942. unknownFields protoimpl.UnknownFields
  943. sizeCache protoimpl.SizeCache
  944. }
  945. func (x *ListUserAccessTokensResponse) Reset() {
  946. *x = ListUserAccessTokensResponse{}
  947. mi := &file_api_v1_user_service_proto_msgTypes[19]
  948. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  949. ms.StoreMessageInfo(mi)
  950. }
  951. func (x *ListUserAccessTokensResponse) String() string {
  952. return protoimpl.X.MessageStringOf(x)
  953. }
  954. func (*ListUserAccessTokensResponse) ProtoMessage() {}
  955. func (x *ListUserAccessTokensResponse) ProtoReflect() protoreflect.Message {
  956. mi := &file_api_v1_user_service_proto_msgTypes[19]
  957. if x != nil {
  958. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  959. if ms.LoadMessageInfo() == nil {
  960. ms.StoreMessageInfo(mi)
  961. }
  962. return ms
  963. }
  964. return mi.MessageOf(x)
  965. }
  966. // Deprecated: Use ListUserAccessTokensResponse.ProtoReflect.Descriptor instead.
  967. func (*ListUserAccessTokensResponse) Descriptor() ([]byte, []int) {
  968. return file_api_v1_user_service_proto_rawDescGZIP(), []int{19}
  969. }
  970. func (x *ListUserAccessTokensResponse) GetAccessTokens() []*UserAccessToken {
  971. if x != nil {
  972. return x.AccessTokens
  973. }
  974. return nil
  975. }
  976. type CreateUserAccessTokenRequest struct {
  977. state protoimpl.MessageState `protogen:"open.v1"`
  978. // The name of the user.
  979. // Format: users/{user}
  980. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  981. Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
  982. ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3,oneof" json:"expires_at,omitempty"`
  983. unknownFields protoimpl.UnknownFields
  984. sizeCache protoimpl.SizeCache
  985. }
  986. func (x *CreateUserAccessTokenRequest) Reset() {
  987. *x = CreateUserAccessTokenRequest{}
  988. mi := &file_api_v1_user_service_proto_msgTypes[20]
  989. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  990. ms.StoreMessageInfo(mi)
  991. }
  992. func (x *CreateUserAccessTokenRequest) String() string {
  993. return protoimpl.X.MessageStringOf(x)
  994. }
  995. func (*CreateUserAccessTokenRequest) ProtoMessage() {}
  996. func (x *CreateUserAccessTokenRequest) ProtoReflect() protoreflect.Message {
  997. mi := &file_api_v1_user_service_proto_msgTypes[20]
  998. if x != nil {
  999. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1000. if ms.LoadMessageInfo() == nil {
  1001. ms.StoreMessageInfo(mi)
  1002. }
  1003. return ms
  1004. }
  1005. return mi.MessageOf(x)
  1006. }
  1007. // Deprecated: Use CreateUserAccessTokenRequest.ProtoReflect.Descriptor instead.
  1008. func (*CreateUserAccessTokenRequest) Descriptor() ([]byte, []int) {
  1009. return file_api_v1_user_service_proto_rawDescGZIP(), []int{20}
  1010. }
  1011. func (x *CreateUserAccessTokenRequest) GetName() string {
  1012. if x != nil {
  1013. return x.Name
  1014. }
  1015. return ""
  1016. }
  1017. func (x *CreateUserAccessTokenRequest) GetDescription() string {
  1018. if x != nil {
  1019. return x.Description
  1020. }
  1021. return ""
  1022. }
  1023. func (x *CreateUserAccessTokenRequest) GetExpiresAt() *timestamppb.Timestamp {
  1024. if x != nil {
  1025. return x.ExpiresAt
  1026. }
  1027. return nil
  1028. }
  1029. type DeleteUserAccessTokenRequest struct {
  1030. state protoimpl.MessageState `protogen:"open.v1"`
  1031. // The name of the user.
  1032. // Format: users/{user}
  1033. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
  1034. // access_token is the access token to delete.
  1035. AccessToken string `protobuf:"bytes,2,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
  1036. unknownFields protoimpl.UnknownFields
  1037. sizeCache protoimpl.SizeCache
  1038. }
  1039. func (x *DeleteUserAccessTokenRequest) Reset() {
  1040. *x = DeleteUserAccessTokenRequest{}
  1041. mi := &file_api_v1_user_service_proto_msgTypes[21]
  1042. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1043. ms.StoreMessageInfo(mi)
  1044. }
  1045. func (x *DeleteUserAccessTokenRequest) String() string {
  1046. return protoimpl.X.MessageStringOf(x)
  1047. }
  1048. func (*DeleteUserAccessTokenRequest) ProtoMessage() {}
  1049. func (x *DeleteUserAccessTokenRequest) ProtoReflect() protoreflect.Message {
  1050. mi := &file_api_v1_user_service_proto_msgTypes[21]
  1051. if x != nil {
  1052. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1053. if ms.LoadMessageInfo() == nil {
  1054. ms.StoreMessageInfo(mi)
  1055. }
  1056. return ms
  1057. }
  1058. return mi.MessageOf(x)
  1059. }
  1060. // Deprecated: Use DeleteUserAccessTokenRequest.ProtoReflect.Descriptor instead.
  1061. func (*DeleteUserAccessTokenRequest) Descriptor() ([]byte, []int) {
  1062. return file_api_v1_user_service_proto_rawDescGZIP(), []int{21}
  1063. }
  1064. func (x *DeleteUserAccessTokenRequest) GetName() string {
  1065. if x != nil {
  1066. return x.Name
  1067. }
  1068. return ""
  1069. }
  1070. func (x *DeleteUserAccessTokenRequest) GetAccessToken() string {
  1071. if x != nil {
  1072. return x.AccessToken
  1073. }
  1074. return ""
  1075. }
  1076. type UserStats_MemoTypeStats struct {
  1077. state protoimpl.MessageState `protogen:"open.v1"`
  1078. LinkCount int32 `protobuf:"varint,1,opt,name=link_count,json=linkCount,proto3" json:"link_count,omitempty"`
  1079. CodeCount int32 `protobuf:"varint,2,opt,name=code_count,json=codeCount,proto3" json:"code_count,omitempty"`
  1080. TodoCount int32 `protobuf:"varint,3,opt,name=todo_count,json=todoCount,proto3" json:"todo_count,omitempty"`
  1081. UndoCount int32 `protobuf:"varint,4,opt,name=undo_count,json=undoCount,proto3" json:"undo_count,omitempty"`
  1082. unknownFields protoimpl.UnknownFields
  1083. sizeCache protoimpl.SizeCache
  1084. }
  1085. func (x *UserStats_MemoTypeStats) Reset() {
  1086. *x = UserStats_MemoTypeStats{}
  1087. mi := &file_api_v1_user_service_proto_msgTypes[23]
  1088. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1089. ms.StoreMessageInfo(mi)
  1090. }
  1091. func (x *UserStats_MemoTypeStats) String() string {
  1092. return protoimpl.X.MessageStringOf(x)
  1093. }
  1094. func (*UserStats_MemoTypeStats) ProtoMessage() {}
  1095. func (x *UserStats_MemoTypeStats) ProtoReflect() protoreflect.Message {
  1096. mi := &file_api_v1_user_service_proto_msgTypes[23]
  1097. if x != nil {
  1098. ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
  1099. if ms.LoadMessageInfo() == nil {
  1100. ms.StoreMessageInfo(mi)
  1101. }
  1102. return ms
  1103. }
  1104. return mi.MessageOf(x)
  1105. }
  1106. // Deprecated: Use UserStats_MemoTypeStats.ProtoReflect.Descriptor instead.
  1107. func (*UserStats_MemoTypeStats) Descriptor() ([]byte, []int) {
  1108. return file_api_v1_user_service_proto_rawDescGZIP(), []int{10, 1}
  1109. }
  1110. func (x *UserStats_MemoTypeStats) GetLinkCount() int32 {
  1111. if x != nil {
  1112. return x.LinkCount
  1113. }
  1114. return 0
  1115. }
  1116. func (x *UserStats_MemoTypeStats) GetCodeCount() int32 {
  1117. if x != nil {
  1118. return x.CodeCount
  1119. }
  1120. return 0
  1121. }
  1122. func (x *UserStats_MemoTypeStats) GetTodoCount() int32 {
  1123. if x != nil {
  1124. return x.TodoCount
  1125. }
  1126. return 0
  1127. }
  1128. func (x *UserStats_MemoTypeStats) GetUndoCount() int32 {
  1129. if x != nil {
  1130. return x.UndoCount
  1131. }
  1132. return 0
  1133. }
  1134. var File_api_v1_user_service_proto protoreflect.FileDescriptor
  1135. var file_api_v1_user_service_proto_rawDesc = []byte{
  1136. 0x0a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x65,
  1137. 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0c, 0x6d, 0x65, 0x6d,
  1138. 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x1a, 0x13, 0x61, 0x70, 0x69, 0x2f, 0x76,
  1139. 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c,
  1140. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74,
  1141. 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f,
  1142. 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e,
  1143. 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70,
  1144. 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72,
  1145. 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
  1146. 0x70, 0x69, 0x2f, 0x68, 0x74, 0x74, 0x70, 0x62, 0x6f, 0x64, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1147. 0x6f, 0x1a, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  1148. 0x75, 0x66, 0x2f, 0x65, 0x6d, 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20,
  1149. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
  1150. 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
  1151. 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
  1152. 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1153. 0x6f, 0x22, 0xda, 0x03, 0x0a, 0x04, 0x55, 0x73, 0x65, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61,
  1154. 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2b,
  1155. 0x0a, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x17, 0x2e, 0x6d,
  1156. 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72,
  1157. 0x2e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x6f, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x75,
  1158. 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75,
  1159. 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c,
  1160. 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x1a, 0x0a,
  1161. 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52,
  1162. 0x08, 0x6e, 0x69, 0x63, 0x6b, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x61, 0x76, 0x61,
  1163. 0x74, 0x61, 0x72, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61,
  1164. 0x76, 0x61, 0x74, 0x61, 0x72, 0x55, 0x72, 0x6c, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63,
  1165. 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64,
  1166. 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x20, 0x0a, 0x08, 0x70, 0x61,
  1167. 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x42, 0x04, 0xe2, 0x41,
  1168. 0x01, 0x04, 0x52, 0x08, 0x70, 0x61, 0x73, 0x73, 0x77, 0x6f, 0x72, 0x64, 0x12, 0x29, 0x0a, 0x05,
  1169. 0x73, 0x74, 0x61, 0x74, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x13, 0x2e, 0x6d, 0x65,
  1170. 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x74, 0x61, 0x74, 0x65,
  1171. 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x63, 0x72, 0x65, 0x61, 0x74,
  1172. 0x65, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
  1173. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
  1174. 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65,
  1175. 0x54, 0x69, 0x6d, 0x65, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x74,
  1176. 0x69, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  1177. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
  1178. 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d,
  1179. 0x65, 0x22, 0x3b, 0x0a, 0x04, 0x52, 0x6f, 0x6c, 0x65, 0x12, 0x14, 0x0a, 0x10, 0x52, 0x4f, 0x4c,
  1180. 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12,
  1181. 0x08, 0x0a, 0x04, 0x48, 0x4f, 0x53, 0x54, 0x10, 0x01, 0x12, 0x09, 0x0a, 0x05, 0x41, 0x44, 0x4d,
  1182. 0x49, 0x4e, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x55, 0x53, 0x45, 0x52, 0x10, 0x03, 0x22, 0x12,
  1183. 0x0a, 0x10, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
  1184. 0x73, 0x74, 0x22, 0x3d, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52,
  1185. 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73,
  1186. 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61,
  1187. 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72,
  1188. 0x73, 0x22, 0x2c, 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x73,
  1189. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65,
  1190. 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22,
  1191. 0x3f, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65,
  1192. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x28, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18,
  1193. 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,
  1194. 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73,
  1195. 0x22, 0x24, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65,
  1196. 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1197. 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x63, 0x0a, 0x1a, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
  1198. 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71,
  1199. 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
  1200. 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x09, 0x68, 0x74, 0x74, 0x70,
  1201. 0x5f, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f,
  1202. 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64,
  1203. 0x79, 0x52, 0x08, 0x68, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x3b, 0x0a, 0x11, 0x43,
  1204. 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1205. 0x12, 0x26, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12,
  1206. 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73,
  1207. 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x7e, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61,
  1208. 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x2c, 0x0a,
  1209. 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x6d, 0x65,
  1210. 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x42,
  1211. 0x04, 0xe2, 0x41, 0x01, 0x02, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x3b, 0x0a, 0x0b, 0x75,
  1212. 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b,
  1213. 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
  1214. 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70,
  1215. 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0x27, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x65,
  1216. 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
  1217. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  1218. 0x65, 0x22, 0xd1, 0x03, 0x0a, 0x09, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12,
  1219. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  1220. 0x61, 0x6d, 0x65, 0x12, 0x52, 0x0a, 0x17, 0x6d, 0x65, 0x6d, 0x6f, 0x5f, 0x64, 0x69, 0x73, 0x70,
  1221. 0x6c, 0x61, 0x79, 0x5f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x18, 0x02,
  1222. 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
  1223. 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
  1224. 0x52, 0x15, 0x6d, 0x65, 0x6d, 0x6f, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x54, 0x69, 0x6d,
  1225. 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x73, 0x12, 0x4d, 0x0a, 0x0f, 0x6d, 0x65, 0x6d, 0x6f, 0x5f,
  1226. 0x74, 0x79, 0x70, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b,
  1227. 0x32, 0x25, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e,
  1228. 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x2e, 0x4d, 0x65, 0x6d, 0x6f, 0x54, 0x79,
  1229. 0x70, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x0d, 0x6d, 0x65, 0x6d, 0x6f, 0x54, 0x79, 0x70,
  1230. 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x42, 0x0a, 0x09, 0x74, 0x61, 0x67, 0x5f, 0x63, 0x6f,
  1231. 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,
  1232. 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61,
  1233. 0x74, 0x73, 0x2e, 0x54, 0x61, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79,
  1234. 0x52, 0x08, 0x74, 0x61, 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x1a, 0x3b, 0x0a, 0x0d, 0x54, 0x61,
  1235. 0x67, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b,
  1236. 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a,
  1237. 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x76, 0x61,
  1238. 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x1a, 0x8b, 0x01, 0x0a, 0x0d, 0x4d, 0x65, 0x6d, 0x6f,
  1239. 0x54, 0x79, 0x70, 0x65, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12, 0x1d, 0x0a, 0x0a, 0x6c, 0x69, 0x6e,
  1240. 0x6b, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x6c,
  1241. 0x69, 0x6e, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x6f, 0x64, 0x65,
  1242. 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x63, 0x6f,
  1243. 0x64, 0x65, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x64, 0x6f, 0x5f,
  1244. 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x74, 0x6f, 0x64,
  1245. 0x6f, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x75, 0x6e, 0x64, 0x6f, 0x5f, 0x63,
  1246. 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, 0x52, 0x09, 0x75, 0x6e, 0x64, 0x6f,
  1247. 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x19, 0x0a, 0x17, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c,
  1248. 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1249. 0x22, 0x52, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x53,
  1250. 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x36, 0x0a, 0x0a,
  1251. 0x75, 0x73, 0x65, 0x72, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b,
  1252. 0x32, 0x17, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e,
  1253. 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x09, 0x75, 0x73, 0x65, 0x72, 0x53,
  1254. 0x74, 0x61, 0x74, 0x73, 0x22, 0x29, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53,
  1255. 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e,
  1256. 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22,
  1257. 0x82, 0x01, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12,
  1258. 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e,
  1259. 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x18, 0x02, 0x20,
  1260. 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x61,
  1261. 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52,
  1262. 0x0a, 0x61, 0x70, 0x70, 0x65, 0x61, 0x72, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x27, 0x0a, 0x0f, 0x6d,
  1263. 0x65, 0x6d, 0x6f, 0x5f, 0x76, 0x69, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x18, 0x04,
  1264. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x65, 0x6d, 0x6f, 0x56, 0x69, 0x73, 0x69, 0x62, 0x69,
  1265. 0x6c, 0x69, 0x74, 0x79, 0x22, 0x2b, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53,
  1266. 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a,
  1267. 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d,
  1268. 0x65, 0x22, 0x92, 0x01, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
  1269. 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x39,
  1270. 0x0a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
  1271. 0x19, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55,
  1272. 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x04, 0xe2, 0x41, 0x01, 0x02,
  1273. 0x52, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x3b, 0x0a, 0x0b, 0x75, 0x70, 0x64,
  1274. 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a,
  1275. 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66,
  1276. 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61,
  1277. 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xca, 0x01, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x41,
  1278. 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63,
  1279. 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1280. 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x20, 0x0a,
  1281. 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01,
  1282. 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12,
  1283. 0x37, 0x0a, 0x09, 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x03, 0x20, 0x01,
  1284. 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
  1285. 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x08,
  1286. 0x69, 0x73, 0x73, 0x75, 0x65, 0x64, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69,
  1287. 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67,
  1288. 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54,
  1289. 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65,
  1290. 0x73, 0x41, 0x74, 0x22, 0x31, 0x0a, 0x1b, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41,
  1291. 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
  1292. 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
  1293. 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x62, 0x0a, 0x1c, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73,
  1294. 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65,
  1295. 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x42, 0x0a, 0x0d, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73,
  1296. 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e,
  1297. 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65,
  1298. 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x0c, 0x61, 0x63,
  1299. 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x22, 0xa3, 0x01, 0x0a, 0x1c, 0x43,
  1300. 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54,
  1301. 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e,
  1302. 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
  1303. 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02,
  1304. 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
  1305. 0x6e, 0x12, 0x3e, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74, 0x18,
  1306. 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70,
  1307. 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d,
  1308. 0x70, 0x48, 0x00, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x88, 0x01,
  1309. 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f, 0x61, 0x74,
  1310. 0x22, 0x55, 0x0a, 0x1c, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63,
  1311. 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
  1312. 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
  1313. 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74,
  1314. 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x63, 0x63, 0x65,
  1315. 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0xb8, 0x0e, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72,
  1316. 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x63, 0x0a, 0x09, 0x4c, 0x69, 0x73, 0x74, 0x55,
  1317. 0x73, 0x65, 0x72, 0x73, 0x12, 0x1e, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,
  1318. 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71,
  1319. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,
  1320. 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73,
  1321. 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x0f, 0x12, 0x0d, 0x2f,
  1322. 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x70, 0x0a, 0x0b,
  1323. 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x73, 0x12, 0x20, 0x2e, 0x6d, 0x65,
  1324. 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63,
  1325. 0x68, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e,
  1326. 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61,
  1327. 0x72, 0x63, 0x68, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1328. 0x22, 0x1c, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x16, 0x12, 0x14, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
  1329. 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 0x62,
  1330. 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1c, 0x2e, 0x6d, 0x65, 0x6d, 0x6f,
  1331. 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72,
  1332. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,
  1333. 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x22, 0x25, 0xda, 0x41, 0x04,
  1334. 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x12, 0x16, 0x2f, 0x61, 0x70, 0x69,
  1335. 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f,
  1336. 0x2a, 0x7d, 0x12, 0x81, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x76,
  1337. 0x61, 0x74, 0x61, 0x72, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x12, 0x28, 0x2e, 0x6d, 0x65, 0x6d,
  1338. 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
  1339. 0x72, 0x41, 0x76, 0x61, 0x74, 0x61, 0x72, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x52, 0x65, 0x71,
  1340. 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x61, 0x70,
  1341. 0x69, 0x2e, 0x48, 0x74, 0x74, 0x70, 0x42, 0x6f, 0x64, 0x79, 0x22, 0x2a, 0xda, 0x41, 0x04, 0x6e,
  1342. 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1d, 0x12, 0x1b, 0x2f, 0x66, 0x69, 0x6c, 0x65,
  1343. 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x2f,
  1344. 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x65, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65,
  1345. 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69,
  1346. 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65,
  1347. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,
  1348. 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x22, 0x22, 0xda, 0x41, 0x04, 0x75, 0x73,
  1349. 0x65, 0x72, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x15, 0x3a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x22, 0x0d,
  1350. 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x7f, 0x0a,
  1351. 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x6d, 0x65,
  1352. 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74,
  1353. 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x12, 0x2e, 0x6d,
  1354. 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72,
  1355. 0x22, 0x3c, 0xda, 0x41, 0x10, 0x75, 0x73, 0x65, 0x72, 0x2c, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65,
  1356. 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x3a, 0x04, 0x75, 0x73, 0x65,
  1357. 0x72, 0x32, 0x1b, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x75, 0x73, 0x65, 0x72,
  1358. 0x2e, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x6c,
  1359. 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x6d,
  1360. 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c, 0x65,
  1361. 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e,
  1362. 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
  1363. 0x45, 0x6d, 0x70, 0x74, 0x79, 0x22, 0x25, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3,
  1364. 0xe4, 0x93, 0x02, 0x18, 0x2a, 0x16, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e,
  1365. 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x80, 0x01, 0x0a,
  1366. 0x10, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74,
  1367. 0x73, 0x12, 0x25, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31,
  1368. 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74,
  1369. 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
  1370. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x55,
  1371. 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
  1372. 0x22, 0x1d, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x17, 0x22, 0x15, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76,
  1373. 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2d, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x12,
  1374. 0x77, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x12,
  1375. 0x21, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47,
  1376. 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65,
  1377. 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76,
  1378. 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x74, 0x61, 0x74, 0x73, 0x22, 0x2b, 0xda, 0x41, 0x04,
  1379. 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1e, 0x12, 0x1c, 0x2f, 0x61, 0x70, 0x69,
  1380. 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f,
  1381. 0x2a, 0x7d, 0x2f, 0x73, 0x74, 0x61, 0x74, 0x73, 0x12, 0x7f, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55,
  1382. 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x23, 0x2e, 0x6d, 0x65, 0x6d,
  1383. 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65,
  1384. 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
  1385. 0x19, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55,
  1386. 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x22, 0x2d, 0xda, 0x41, 0x04, 0x6e,
  1387. 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x61, 0x70, 0x69, 0x2f,
  1388. 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a,
  1389. 0x7d, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12, 0xa5, 0x01, 0x0a, 0x11, 0x55, 0x70,
  1390. 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x12,
  1391. 0x26, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55,
  1392. 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
  1393. 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e,
  1394. 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x74, 0x74, 0x69,
  1395. 0x6e, 0x67, 0x22, 0x4d, 0xda, 0x41, 0x13, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2c, 0x75,
  1396. 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x31,
  1397. 0x3a, 0x07, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x32, 0x26, 0x2f, 0x61, 0x70, 0x69, 0x2f,
  1398. 0x76, 0x31, 0x2f, 0x7b, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x6e, 0x61, 0x6d, 0x65,
  1399. 0x3d, 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67,
  1400. 0x7d, 0x12, 0xa2, 0x01, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63,
  1401. 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x29, 0x2e, 0x6d, 0x65, 0x6d,
  1402. 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73,
  1403. 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65,
  1404. 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70,
  1405. 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63,
  1406. 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
  1407. 0x65, 0x22, 0x33, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26,
  1408. 0x12, 0x24, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d,
  1409. 0x75, 0x73, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f,
  1410. 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x73, 0x12, 0x9a, 0x01, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74,
  1411. 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
  1412. 0x12, 0x2a, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e,
  1413. 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73,
  1414. 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x6d,
  1415. 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72,
  1416. 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x36, 0xda, 0x41, 0x04,
  1417. 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x29, 0x3a, 0x01, 0x2a, 0x22, 0x24, 0x2f,
  1418. 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65,
  1419. 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b,
  1420. 0x65, 0x6e, 0x73, 0x12, 0xac, 0x01, 0x0a, 0x15, 0x44, 0x65, 0x6c, 0x65, 0x74, 0x65, 0x55, 0x73,
  1421. 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x2a, 0x2e,
  1422. 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x2e, 0x44, 0x65, 0x6c,
  1423. 0x65, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x54, 0x6f, 0x6b,
  1424. 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
  1425. 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d, 0x70, 0x74,
  1426. 0x79, 0x22, 0x4f, 0xda, 0x41, 0x11, 0x6e, 0x61, 0x6d, 0x65, 0x2c, 0x61, 0x63, 0x63, 0x65, 0x73,
  1427. 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x35, 0x2a, 0x33, 0x2f,
  1428. 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x75, 0x73, 0x65,
  1429. 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b,
  1430. 0x65, 0x6e, 0x73, 0x2f, 0x7b, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
  1431. 0x6e, 0x7d, 0x42, 0xa8, 0x01, 0x0a, 0x10, 0x63, 0x6f, 0x6d, 0x2e, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
  1432. 0x2e, 0x61, 0x70, 0x69, 0x2e, 0x76, 0x31, 0x42, 0x10, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72,
  1433. 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x30, 0x67, 0x69, 0x74,
  1434. 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x75, 0x73, 0x65, 0x6d, 0x65, 0x6d, 0x6f, 0x73,
  1435. 0x2f, 0x6d, 0x65, 0x6d, 0x6f, 0x73, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x65, 0x6e,
  1436. 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x76, 0x31, 0x3b, 0x61, 0x70, 0x69, 0x76, 0x31, 0xa2, 0x02, 0x03,
  1437. 0x4d, 0x41, 0x58, 0xaa, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x2e, 0x41, 0x70, 0x69, 0x2e,
  1438. 0x56, 0x31, 0xca, 0x02, 0x0c, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56,
  1439. 0x31, 0xe2, 0x02, 0x18, 0x4d, 0x65, 0x6d, 0x6f, 0x73, 0x5c, 0x41, 0x70, 0x69, 0x5c, 0x56, 0x31,
  1440. 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0xea, 0x02, 0x0e, 0x4d,
  1441. 0x65, 0x6d, 0x6f, 0x73, 0x3a, 0x3a, 0x41, 0x70, 0x69, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
  1442. 0x72, 0x6f, 0x74, 0x6f, 0x33,
  1443. }
  1444. var (
  1445. file_api_v1_user_service_proto_rawDescOnce sync.Once
  1446. file_api_v1_user_service_proto_rawDescData = file_api_v1_user_service_proto_rawDesc
  1447. )
  1448. func file_api_v1_user_service_proto_rawDescGZIP() []byte {
  1449. file_api_v1_user_service_proto_rawDescOnce.Do(func() {
  1450. file_api_v1_user_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_v1_user_service_proto_rawDescData)
  1451. })
  1452. return file_api_v1_user_service_proto_rawDescData
  1453. }
  1454. var file_api_v1_user_service_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
  1455. var file_api_v1_user_service_proto_msgTypes = make([]protoimpl.MessageInfo, 24)
  1456. var file_api_v1_user_service_proto_goTypes = []any{
  1457. (User_Role)(0), // 0: memos.api.v1.User.Role
  1458. (*User)(nil), // 1: memos.api.v1.User
  1459. (*ListUsersRequest)(nil), // 2: memos.api.v1.ListUsersRequest
  1460. (*ListUsersResponse)(nil), // 3: memos.api.v1.ListUsersResponse
  1461. (*SearchUsersRequest)(nil), // 4: memos.api.v1.SearchUsersRequest
  1462. (*SearchUsersResponse)(nil), // 5: memos.api.v1.SearchUsersResponse
  1463. (*GetUserRequest)(nil), // 6: memos.api.v1.GetUserRequest
  1464. (*GetUserAvatarBinaryRequest)(nil), // 7: memos.api.v1.GetUserAvatarBinaryRequest
  1465. (*CreateUserRequest)(nil), // 8: memos.api.v1.CreateUserRequest
  1466. (*UpdateUserRequest)(nil), // 9: memos.api.v1.UpdateUserRequest
  1467. (*DeleteUserRequest)(nil), // 10: memos.api.v1.DeleteUserRequest
  1468. (*UserStats)(nil), // 11: memos.api.v1.UserStats
  1469. (*ListAllUserStatsRequest)(nil), // 12: memos.api.v1.ListAllUserStatsRequest
  1470. (*ListAllUserStatsResponse)(nil), // 13: memos.api.v1.ListAllUserStatsResponse
  1471. (*GetUserStatsRequest)(nil), // 14: memos.api.v1.GetUserStatsRequest
  1472. (*UserSetting)(nil), // 15: memos.api.v1.UserSetting
  1473. (*GetUserSettingRequest)(nil), // 16: memos.api.v1.GetUserSettingRequest
  1474. (*UpdateUserSettingRequest)(nil), // 17: memos.api.v1.UpdateUserSettingRequest
  1475. (*UserAccessToken)(nil), // 18: memos.api.v1.UserAccessToken
  1476. (*ListUserAccessTokensRequest)(nil), // 19: memos.api.v1.ListUserAccessTokensRequest
  1477. (*ListUserAccessTokensResponse)(nil), // 20: memos.api.v1.ListUserAccessTokensResponse
  1478. (*CreateUserAccessTokenRequest)(nil), // 21: memos.api.v1.CreateUserAccessTokenRequest
  1479. (*DeleteUserAccessTokenRequest)(nil), // 22: memos.api.v1.DeleteUserAccessTokenRequest
  1480. nil, // 23: memos.api.v1.UserStats.TagCountEntry
  1481. (*UserStats_MemoTypeStats)(nil), // 24: memos.api.v1.UserStats.MemoTypeStats
  1482. (State)(0), // 25: memos.api.v1.State
  1483. (*timestamppb.Timestamp)(nil), // 26: google.protobuf.Timestamp
  1484. (*httpbody.HttpBody)(nil), // 27: google.api.HttpBody
  1485. (*fieldmaskpb.FieldMask)(nil), // 28: google.protobuf.FieldMask
  1486. (*emptypb.Empty)(nil), // 29: google.protobuf.Empty
  1487. }
  1488. var file_api_v1_user_service_proto_depIdxs = []int32{
  1489. 0, // 0: memos.api.v1.User.role:type_name -> memos.api.v1.User.Role
  1490. 25, // 1: memos.api.v1.User.state:type_name -> memos.api.v1.State
  1491. 26, // 2: memos.api.v1.User.create_time:type_name -> google.protobuf.Timestamp
  1492. 26, // 3: memos.api.v1.User.update_time:type_name -> google.protobuf.Timestamp
  1493. 1, // 4: memos.api.v1.ListUsersResponse.users:type_name -> memos.api.v1.User
  1494. 1, // 5: memos.api.v1.SearchUsersResponse.users:type_name -> memos.api.v1.User
  1495. 27, // 6: memos.api.v1.GetUserAvatarBinaryRequest.http_body:type_name -> google.api.HttpBody
  1496. 1, // 7: memos.api.v1.CreateUserRequest.user:type_name -> memos.api.v1.User
  1497. 1, // 8: memos.api.v1.UpdateUserRequest.user:type_name -> memos.api.v1.User
  1498. 28, // 9: memos.api.v1.UpdateUserRequest.update_mask:type_name -> google.protobuf.FieldMask
  1499. 26, // 10: memos.api.v1.UserStats.memo_display_timestamps:type_name -> google.protobuf.Timestamp
  1500. 24, // 11: memos.api.v1.UserStats.memo_type_stats:type_name -> memos.api.v1.UserStats.MemoTypeStats
  1501. 23, // 12: memos.api.v1.UserStats.tag_count:type_name -> memos.api.v1.UserStats.TagCountEntry
  1502. 11, // 13: memos.api.v1.ListAllUserStatsResponse.user_stats:type_name -> memos.api.v1.UserStats
  1503. 15, // 14: memos.api.v1.UpdateUserSettingRequest.setting:type_name -> memos.api.v1.UserSetting
  1504. 28, // 15: memos.api.v1.UpdateUserSettingRequest.update_mask:type_name -> google.protobuf.FieldMask
  1505. 26, // 16: memos.api.v1.UserAccessToken.issued_at:type_name -> google.protobuf.Timestamp
  1506. 26, // 17: memos.api.v1.UserAccessToken.expires_at:type_name -> google.protobuf.Timestamp
  1507. 18, // 18: memos.api.v1.ListUserAccessTokensResponse.access_tokens:type_name -> memos.api.v1.UserAccessToken
  1508. 26, // 19: memos.api.v1.CreateUserAccessTokenRequest.expires_at:type_name -> google.protobuf.Timestamp
  1509. 2, // 20: memos.api.v1.UserService.ListUsers:input_type -> memos.api.v1.ListUsersRequest
  1510. 4, // 21: memos.api.v1.UserService.SearchUsers:input_type -> memos.api.v1.SearchUsersRequest
  1511. 6, // 22: memos.api.v1.UserService.GetUser:input_type -> memos.api.v1.GetUserRequest
  1512. 7, // 23: memos.api.v1.UserService.GetUserAvatarBinary:input_type -> memos.api.v1.GetUserAvatarBinaryRequest
  1513. 8, // 24: memos.api.v1.UserService.CreateUser:input_type -> memos.api.v1.CreateUserRequest
  1514. 9, // 25: memos.api.v1.UserService.UpdateUser:input_type -> memos.api.v1.UpdateUserRequest
  1515. 10, // 26: memos.api.v1.UserService.DeleteUser:input_type -> memos.api.v1.DeleteUserRequest
  1516. 12, // 27: memos.api.v1.UserService.ListAllUserStats:input_type -> memos.api.v1.ListAllUserStatsRequest
  1517. 14, // 28: memos.api.v1.UserService.GetUserStats:input_type -> memos.api.v1.GetUserStatsRequest
  1518. 16, // 29: memos.api.v1.UserService.GetUserSetting:input_type -> memos.api.v1.GetUserSettingRequest
  1519. 17, // 30: memos.api.v1.UserService.UpdateUserSetting:input_type -> memos.api.v1.UpdateUserSettingRequest
  1520. 19, // 31: memos.api.v1.UserService.ListUserAccessTokens:input_type -> memos.api.v1.ListUserAccessTokensRequest
  1521. 21, // 32: memos.api.v1.UserService.CreateUserAccessToken:input_type -> memos.api.v1.CreateUserAccessTokenRequest
  1522. 22, // 33: memos.api.v1.UserService.DeleteUserAccessToken:input_type -> memos.api.v1.DeleteUserAccessTokenRequest
  1523. 3, // 34: memos.api.v1.UserService.ListUsers:output_type -> memos.api.v1.ListUsersResponse
  1524. 5, // 35: memos.api.v1.UserService.SearchUsers:output_type -> memos.api.v1.SearchUsersResponse
  1525. 1, // 36: memos.api.v1.UserService.GetUser:output_type -> memos.api.v1.User
  1526. 27, // 37: memos.api.v1.UserService.GetUserAvatarBinary:output_type -> google.api.HttpBody
  1527. 1, // 38: memos.api.v1.UserService.CreateUser:output_type -> memos.api.v1.User
  1528. 1, // 39: memos.api.v1.UserService.UpdateUser:output_type -> memos.api.v1.User
  1529. 29, // 40: memos.api.v1.UserService.DeleteUser:output_type -> google.protobuf.Empty
  1530. 13, // 41: memos.api.v1.UserService.ListAllUserStats:output_type -> memos.api.v1.ListAllUserStatsResponse
  1531. 11, // 42: memos.api.v1.UserService.GetUserStats:output_type -> memos.api.v1.UserStats
  1532. 15, // 43: memos.api.v1.UserService.GetUserSetting:output_type -> memos.api.v1.UserSetting
  1533. 15, // 44: memos.api.v1.UserService.UpdateUserSetting:output_type -> memos.api.v1.UserSetting
  1534. 20, // 45: memos.api.v1.UserService.ListUserAccessTokens:output_type -> memos.api.v1.ListUserAccessTokensResponse
  1535. 18, // 46: memos.api.v1.UserService.CreateUserAccessToken:output_type -> memos.api.v1.UserAccessToken
  1536. 29, // 47: memos.api.v1.UserService.DeleteUserAccessToken:output_type -> google.protobuf.Empty
  1537. 34, // [34:48] is the sub-list for method output_type
  1538. 20, // [20:34] is the sub-list for method input_type
  1539. 20, // [20:20] is the sub-list for extension type_name
  1540. 20, // [20:20] is the sub-list for extension extendee
  1541. 0, // [0:20] is the sub-list for field type_name
  1542. }
  1543. func init() { file_api_v1_user_service_proto_init() }
  1544. func file_api_v1_user_service_proto_init() {
  1545. if File_api_v1_user_service_proto != nil {
  1546. return
  1547. }
  1548. file_api_v1_common_proto_init()
  1549. file_api_v1_user_service_proto_msgTypes[20].OneofWrappers = []any{}
  1550. type x struct{}
  1551. out := protoimpl.TypeBuilder{
  1552. File: protoimpl.DescBuilder{
  1553. GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
  1554. RawDescriptor: file_api_v1_user_service_proto_rawDesc,
  1555. NumEnums: 1,
  1556. NumMessages: 24,
  1557. NumExtensions: 0,
  1558. NumServices: 1,
  1559. },
  1560. GoTypes: file_api_v1_user_service_proto_goTypes,
  1561. DependencyIndexes: file_api_v1_user_service_proto_depIdxs,
  1562. EnumInfos: file_api_v1_user_service_proto_enumTypes,
  1563. MessageInfos: file_api_v1_user_service_proto_msgTypes,
  1564. }.Build()
  1565. File_api_v1_user_service_proto = out.File
  1566. file_api_v1_user_service_proto_rawDesc = nil
  1567. file_api_v1_user_service_proto_goTypes = nil
  1568. file_api_v1_user_service_proto_depIdxs = nil
  1569. }