user_service.pb.go 66 KB

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