user_service.pb.go 90 KB

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