Debian Codegraph @

go/svc/user/v1/service.pb.go

raw symbols SCIP
1 // Code generated by protoc-gen-go. DO NOT EDIT.
2 // versions:
3 // protoc-gen-go v1.36.5
4 // protoc (unknown)
5 // source: svc/user/v1/service.proto
6
7 package userv1
8
9 import (
10 v1 "github.com/humanlogio/api/go/types/v1"
11 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
14 reflect "reflect"
15 sync "sync"
16 unsafe "unsafe"
17 )
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
26 type WhoamiRequest struct {
27 state protoimpl.MessageState `protogen:"open.v1"`
28 unknownFields protoimpl.UnknownFields
29 sizeCache protoimpl.SizeCache
30 }
31
32 func (x *WhoamiRequest) Reset() {
33 *x = WhoamiRequest{}
34 mi := &file_svc_user_v1_service_proto_msgTypes[0]
35 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
36 ms.StoreMessageInfo(mi)
37 }
38
39 func (x *WhoamiRequest) String() string {
40 return protoimpl.X.MessageStringOf(x)
41 }
42
43 func (*WhoamiRequest) ProtoMessage() {}
44
45 func (x *WhoamiRequest) ProtoReflect() protoreflect.Message {
46 mi := &file_svc_user_v1_service_proto_msgTypes[0]
47 if x != nil {
48 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
49 if ms.LoadMessageInfo() == nil {
50 ms.StoreMessageInfo(mi)
51 }
52 return ms
53 }
54 return mi.MessageOf(x)
55 }
56
57 // Deprecated: Use WhoamiRequest.ProtoReflect.Descriptor instead.
58 func (*WhoamiRequest) Descriptor() ([]byte, []int) {
59 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{0}
60 }
61
62 type WhoamiResponse struct {
63 state protoimpl.MessageState `protogen:"open.v1"`
64 User *v1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
65 CurrentOrganization *v1.Organization `protobuf:"bytes,2,opt,name=current_organization,json=currentOrganization,proto3" json:"current_organization,omitempty"`
66 DefaultOrganization *v1.Organization `protobuf:"bytes,3,opt,name=default_organization,json=defaultOrganization,proto3" json:"default_organization,omitempty"`
67 unknownFields protoimpl.UnknownFields
68 sizeCache protoimpl.SizeCache
69 }
70
71 func (x *WhoamiResponse) Reset() {
72 *x = WhoamiResponse{}
73 mi := &file_svc_user_v1_service_proto_msgTypes[1]
74 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
75 ms.StoreMessageInfo(mi)
76 }
77
78 func (x *WhoamiResponse) String() string {
79 return protoimpl.X.MessageStringOf(x)
80 }
81
82 func (*WhoamiResponse) ProtoMessage() {}
83
84 func (x *WhoamiResponse) ProtoReflect() protoreflect.Message {
85 mi := &file_svc_user_v1_service_proto_msgTypes[1]
86 if x != nil {
87 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
88 if ms.LoadMessageInfo() == nil {
89 ms.StoreMessageInfo(mi)
90 }
91 return ms
92 }
93 return mi.MessageOf(x)
94 }
95
96 // Deprecated: Use WhoamiResponse.ProtoReflect.Descriptor instead.
97 func (*WhoamiResponse) Descriptor() ([]byte, []int) {
98 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{1}
99 }
100
101 func (x *WhoamiResponse) GetUser() *v1.User {
102 if x != nil {
103 return x.User
104 }
105 return nil
106 }
107
108 func (x *WhoamiResponse) GetCurrentOrganization() *v1.Organization {
109 if x != nil {
110 return x.CurrentOrganization
111 }
112 return nil
113 }
114
115 func (x *WhoamiResponse) GetDefaultOrganization() *v1.Organization {
116 if x != nil {
117 return x.DefaultOrganization
118 }
119 return nil
120 }
121
122 type GetLogoutURLRequest struct {
123 state protoimpl.MessageState `protogen:"open.v1"`
124 ReturnTo string `protobuf:"bytes,1,opt,name=return_to,json=returnTo,proto3" json:"return_to,omitempty"`
125 unknownFields protoimpl.UnknownFields
126 sizeCache protoimpl.SizeCache
127 }
128
129 func (x *GetLogoutURLRequest) Reset() {
130 *x = GetLogoutURLRequest{}
131 mi := &file_svc_user_v1_service_proto_msgTypes[2]
132 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
133 ms.StoreMessageInfo(mi)
134 }
135
136 func (x *GetLogoutURLRequest) String() string {
137 return protoimpl.X.MessageStringOf(x)
138 }
139
140 func (*GetLogoutURLRequest) ProtoMessage() {}
141
142 func (x *GetLogoutURLRequest) ProtoReflect() protoreflect.Message {
143 mi := &file_svc_user_v1_service_proto_msgTypes[2]
144 if x != nil {
145 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
146 if ms.LoadMessageInfo() == nil {
147 ms.StoreMessageInfo(mi)
148 }
149 return ms
150 }
151 return mi.MessageOf(x)
152 }
153
154 // Deprecated: Use GetLogoutURLRequest.ProtoReflect.Descriptor instead.
155 func (*GetLogoutURLRequest) Descriptor() ([]byte, []int) {
156 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{2}
157 }
158
159 func (x *GetLogoutURLRequest) GetReturnTo() string {
160 if x != nil {
161 return x.ReturnTo
162 }
163 return ""
164 }
165
166 type GetLogoutURLResponse struct {
167 state protoimpl.MessageState `protogen:"open.v1"`
168 LogoutUrl string `protobuf:"bytes,1,opt,name=logout_url,json=logoutUrl,proto3" json:"logout_url,omitempty"`
169 unknownFields protoimpl.UnknownFields
170 sizeCache protoimpl.SizeCache
171 }
172
173 func (x *GetLogoutURLResponse) Reset() {
174 *x = GetLogoutURLResponse{}
175 mi := &file_svc_user_v1_service_proto_msgTypes[3]
176 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
177 ms.StoreMessageInfo(mi)
178 }
179
180 func (x *GetLogoutURLResponse) String() string {
181 return protoimpl.X.MessageStringOf(x)
182 }
183
184 func (*GetLogoutURLResponse) ProtoMessage() {}
185
186 func (x *GetLogoutURLResponse) ProtoReflect() protoreflect.Message {
187 mi := &file_svc_user_v1_service_proto_msgTypes[3]
188 if x != nil {
189 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
190 if ms.LoadMessageInfo() == nil {
191 ms.StoreMessageInfo(mi)
192 }
193 return ms
194 }
195 return mi.MessageOf(x)
196 }
197
198 // Deprecated: Use GetLogoutURLResponse.ProtoReflect.Descriptor instead.
199 func (*GetLogoutURLResponse) Descriptor() ([]byte, []int) {
200 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{3}
201 }
202
203 func (x *GetLogoutURLResponse) GetLogoutUrl() string {
204 if x != nil {
205 return x.LogoutUrl
206 }
207 return ""
208 }
209
210 type RefreshUserTokenRequest struct {
211 state protoimpl.MessageState `protogen:"open.v1"`
212 unknownFields protoimpl.UnknownFields
213 sizeCache protoimpl.SizeCache
214 }
215
216 func (x *RefreshUserTokenRequest) Reset() {
217 *x = RefreshUserTokenRequest{}
218 mi := &file_svc_user_v1_service_proto_msgTypes[4]
219 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
220 ms.StoreMessageInfo(mi)
221 }
222
223 func (x *RefreshUserTokenRequest) String() string {
224 return protoimpl.X.MessageStringOf(x)
225 }
226
227 func (*RefreshUserTokenRequest) ProtoMessage() {}
228
229 func (x *RefreshUserTokenRequest) ProtoReflect() protoreflect.Message {
230 mi := &file_svc_user_v1_service_proto_msgTypes[4]
231 if x != nil {
232 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
233 if ms.LoadMessageInfo() == nil {
234 ms.StoreMessageInfo(mi)
235 }
236 return ms
237 }
238 return mi.MessageOf(x)
239 }
240
241 // Deprecated: Use RefreshUserTokenRequest.ProtoReflect.Descriptor instead.
242 func (*RefreshUserTokenRequest) Descriptor() ([]byte, []int) {
243 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{4}
244 }
245
246 type RefreshUserTokenResponse struct {
247 state protoimpl.MessageState `protogen:"open.v1"`
248 Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
249 RefreshAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=refresh_at,json=refreshAt,proto3" json:"refresh_at,omitempty"`
250 ExpiresAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
251 unknownFields protoimpl.UnknownFields
252 sizeCache protoimpl.SizeCache
253 }
254
255 func (x *RefreshUserTokenResponse) Reset() {
256 *x = RefreshUserTokenResponse{}
257 mi := &file_svc_user_v1_service_proto_msgTypes[5]
258 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
259 ms.StoreMessageInfo(mi)
260 }
261
262 func (x *RefreshUserTokenResponse) String() string {
263 return protoimpl.X.MessageStringOf(x)
264 }
265
266 func (*RefreshUserTokenResponse) ProtoMessage() {}
267
268 func (x *RefreshUserTokenResponse) ProtoReflect() protoreflect.Message {
269 mi := &file_svc_user_v1_service_proto_msgTypes[5]
270 if x != nil {
271 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
272 if ms.LoadMessageInfo() == nil {
273 ms.StoreMessageInfo(mi)
274 }
275 return ms
276 }
277 return mi.MessageOf(x)
278 }
279
280 // Deprecated: Use RefreshUserTokenResponse.ProtoReflect.Descriptor instead.
281 func (*RefreshUserTokenResponse) Descriptor() ([]byte, []int) {
282 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{5}
283 }
284
285 func (x *RefreshUserTokenResponse) GetToken() string {
286 if x != nil {
287 return x.Token
288 }
289 return ""
290 }
291
292 func (x *RefreshUserTokenResponse) GetRefreshAt() *timestamppb.Timestamp {
293 if x != nil {
294 return x.RefreshAt
295 }
296 return nil
297 }
298
299 func (x *RefreshUserTokenResponse) GetExpiresAt() *timestamppb.Timestamp {
300 if x != nil {
301 return x.ExpiresAt
302 }
303 return nil
304 }
305
306 type UpdateUserRequest struct {
307 state protoimpl.MessageState `protogen:"open.v1"`
308 FirstName *string `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"`
309 LastName *string `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"`
310 unknownFields protoimpl.UnknownFields
311 sizeCache protoimpl.SizeCache
312 }
313
314 func (x *UpdateUserRequest) Reset() {
315 *x = UpdateUserRequest{}
316 mi := &file_svc_user_v1_service_proto_msgTypes[6]
317 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
318 ms.StoreMessageInfo(mi)
319 }
320
321 func (x *UpdateUserRequest) String() string {
322 return protoimpl.X.MessageStringOf(x)
323 }
324
325 func (*UpdateUserRequest) ProtoMessage() {}
326
327 func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message {
328 mi := &file_svc_user_v1_service_proto_msgTypes[6]
329 if x != nil {
330 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
331 if ms.LoadMessageInfo() == nil {
332 ms.StoreMessageInfo(mi)
333 }
334 return ms
335 }
336 return mi.MessageOf(x)
337 }
338
339 // Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
340 func (*UpdateUserRequest) Descriptor() ([]byte, []int) {
341 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{6}
342 }
343
344 func (x *UpdateUserRequest) GetFirstName() string {
345 if x != nil && x.FirstName != nil {
346 return *x.FirstName
347 }
348 return ""
349 }
350
351 func (x *UpdateUserRequest) GetLastName() string {
352 if x != nil && x.LastName != nil {
353 return *x.LastName
354 }
355 return ""
356 }
357
358 type UpdateUserResponse struct {
359 state protoimpl.MessageState `protogen:"open.v1"`
360 User *v1.User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
361 unknownFields protoimpl.UnknownFields
362 sizeCache protoimpl.SizeCache
363 }
364
365 func (x *UpdateUserResponse) Reset() {
366 *x = UpdateUserResponse{}
367 mi := &file_svc_user_v1_service_proto_msgTypes[7]
368 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
369 ms.StoreMessageInfo(mi)
370 }
371
372 func (x *UpdateUserResponse) String() string {
373 return protoimpl.X.MessageStringOf(x)
374 }
375
376 func (*UpdateUserResponse) ProtoMessage() {}
377
378 func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message {
379 mi := &file_svc_user_v1_service_proto_msgTypes[7]
380 if x != nil {
381 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
382 if ms.LoadMessageInfo() == nil {
383 ms.StoreMessageInfo(mi)
384 }
385 return ms
386 }
387 return mi.MessageOf(x)
388 }
389
390 // Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
391 func (*UpdateUserResponse) Descriptor() ([]byte, []int) {
392 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{7}
393 }
394
395 func (x *UpdateUserResponse) GetUser() *v1.User {
396 if x != nil {
397 return x.User
398 }
399 return nil
400 }
401
402 type CreateOrganizationRequest struct {
403 state protoimpl.MessageState `protogen:"open.v1"`
404 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
405 unknownFields protoimpl.UnknownFields
406 sizeCache protoimpl.SizeCache
407 }
408
409 func (x *CreateOrganizationRequest) Reset() {
410 *x = CreateOrganizationRequest{}
411 mi := &file_svc_user_v1_service_proto_msgTypes[8]
412 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
413 ms.StoreMessageInfo(mi)
414 }
415
416 func (x *CreateOrganizationRequest) String() string {
417 return protoimpl.X.MessageStringOf(x)
418 }
419
420 func (*CreateOrganizationRequest) ProtoMessage() {}
421
422 func (x *CreateOrganizationRequest) ProtoReflect() protoreflect.Message {
423 mi := &file_svc_user_v1_service_proto_msgTypes[8]
424 if x != nil {
425 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
426 if ms.LoadMessageInfo() == nil {
427 ms.StoreMessageInfo(mi)
428 }
429 return ms
430 }
431 return mi.MessageOf(x)
432 }
433
434 // Deprecated: Use CreateOrganizationRequest.ProtoReflect.Descriptor instead.
435 func (*CreateOrganizationRequest) Descriptor() ([]byte, []int) {
436 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{8}
437 }
438
439 func (x *CreateOrganizationRequest) GetName() string {
440 if x != nil {
441 return x.Name
442 }
443 return ""
444 }
445
446 type CreateOrganizationResponse struct {
447 state protoimpl.MessageState `protogen:"open.v1"`
448 Organization *v1.Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
449 unknownFields protoimpl.UnknownFields
450 sizeCache protoimpl.SizeCache
451 }
452
453 func (x *CreateOrganizationResponse) Reset() {
454 *x = CreateOrganizationResponse{}
455 mi := &file_svc_user_v1_service_proto_msgTypes[9]
456 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
457 ms.StoreMessageInfo(mi)
458 }
459
460 func (x *CreateOrganizationResponse) String() string {
461 return protoimpl.X.MessageStringOf(x)
462 }
463
464 func (*CreateOrganizationResponse) ProtoMessage() {}
465
466 func (x *CreateOrganizationResponse) ProtoReflect() protoreflect.Message {
467 mi := &file_svc_user_v1_service_proto_msgTypes[9]
468 if x != nil {
469 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
470 if ms.LoadMessageInfo() == nil {
471 ms.StoreMessageInfo(mi)
472 }
473 return ms
474 }
475 return mi.MessageOf(x)
476 }
477
478 // Deprecated: Use CreateOrganizationResponse.ProtoReflect.Descriptor instead.
479 func (*CreateOrganizationResponse) Descriptor() ([]byte, []int) {
480 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{9}
481 }
482
483 func (x *CreateOrganizationResponse) GetOrganization() *v1.Organization {
484 if x != nil {
485 return x.Organization
486 }
487 return nil
488 }
489
490 type ListOrganizationRequest struct {
491 state protoimpl.MessageState `protogen:"open.v1"`
492 Cursor *v1.Cursor `protobuf:"bytes,1,opt,name=cursor,proto3" json:"cursor,omitempty"`
493 Limit int32 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit,omitempty"`
494 unknownFields protoimpl.UnknownFields
495 sizeCache protoimpl.SizeCache
496 }
497
498 func (x *ListOrganizationRequest) Reset() {
499 *x = ListOrganizationRequest{}
500 mi := &file_svc_user_v1_service_proto_msgTypes[10]
501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
502 ms.StoreMessageInfo(mi)
503 }
504
505 func (x *ListOrganizationRequest) String() string {
506 return protoimpl.X.MessageStringOf(x)
507 }
508
509 func (*ListOrganizationRequest) ProtoMessage() {}
510
511 func (x *ListOrganizationRequest) ProtoReflect() protoreflect.Message {
512 mi := &file_svc_user_v1_service_proto_msgTypes[10]
513 if x != nil {
514 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
515 if ms.LoadMessageInfo() == nil {
516 ms.StoreMessageInfo(mi)
517 }
518 return ms
519 }
520 return mi.MessageOf(x)
521 }
522
523 // Deprecated: Use ListOrganizationRequest.ProtoReflect.Descriptor instead.
524 func (*ListOrganizationRequest) Descriptor() ([]byte, []int) {
525 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{10}
526 }
527
528 func (x *ListOrganizationRequest) GetCursor() *v1.Cursor {
529 if x != nil {
530 return x.Cursor
531 }
532 return nil
533 }
534
535 func (x *ListOrganizationRequest) GetLimit() int32 {
536 if x != nil {
537 return x.Limit
538 }
539 return 0
540 }
541
542 type ListOrganizationResponse struct {
543 state protoimpl.MessageState `protogen:"open.v1"`
544 Next *v1.Cursor `protobuf:"bytes,1,opt,name=next,proto3" json:"next,omitempty"`
545 Items []*ListOrganizationResponse_ListItem `protobuf:"bytes,2,rep,name=items,proto3" json:"items,omitempty"`
546 DefaultOrganization *v1.Organization `protobuf:"bytes,3,opt,name=default_organization,json=defaultOrganization,proto3" json:"default_organization,omitempty"`
547 unknownFields protoimpl.UnknownFields
548 sizeCache protoimpl.SizeCache
549 }
550
551 func (x *ListOrganizationResponse) Reset() {
552 *x = ListOrganizationResponse{}
553 mi := &file_svc_user_v1_service_proto_msgTypes[11]
554 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
555 ms.StoreMessageInfo(mi)
556 }
557
558 func (x *ListOrganizationResponse) String() string {
559 return protoimpl.X.MessageStringOf(x)
560 }
561
562 func (*ListOrganizationResponse) ProtoMessage() {}
563
564 func (x *ListOrganizationResponse) ProtoReflect() protoreflect.Message {
565 mi := &file_svc_user_v1_service_proto_msgTypes[11]
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
576 // Deprecated: Use ListOrganizationResponse.ProtoReflect.Descriptor instead.
577 func (*ListOrganizationResponse) Descriptor() ([]byte, []int) {
578 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{11}
579 }
580
581 func (x *ListOrganizationResponse) GetNext() *v1.Cursor {
582 if x != nil {
583 return x.Next
584 }
585 return nil
586 }
587
588 func (x *ListOrganizationResponse) GetItems() []*ListOrganizationResponse_ListItem {
589 if x != nil {
590 return x.Items
591 }
592 return nil
593 }
594
595 func (x *ListOrganizationResponse) GetDefaultOrganization() *v1.Organization {
596 if x != nil {
597 return x.DefaultOrganization
598 }
599 return nil
600 }
601
602 type ListOrganizationResponse_ListItem struct {
603 state protoimpl.MessageState `protogen:"open.v1"`
604 Organization *v1.Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
605 unknownFields protoimpl.UnknownFields
606 sizeCache protoimpl.SizeCache
607 }
608
609 func (x *ListOrganizationResponse_ListItem) Reset() {
610 *x = ListOrganizationResponse_ListItem{}
611 mi := &file_svc_user_v1_service_proto_msgTypes[12]
612 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
613 ms.StoreMessageInfo(mi)
614 }
615
616 func (x *ListOrganizationResponse_ListItem) String() string {
617 return protoimpl.X.MessageStringOf(x)
618 }
619
620 func (*ListOrganizationResponse_ListItem) ProtoMessage() {}
621
622 func (x *ListOrganizationResponse_ListItem) ProtoReflect() protoreflect.Message {
623 mi := &file_svc_user_v1_service_proto_msgTypes[12]
624 if x != nil {
625 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
626 if ms.LoadMessageInfo() == nil {
627 ms.StoreMessageInfo(mi)
628 }
629 return ms
630 }
631 return mi.MessageOf(x)
632 }
633
634 // Deprecated: Use ListOrganizationResponse_ListItem.ProtoReflect.Descriptor instead.
635 func (*ListOrganizationResponse_ListItem) Descriptor() ([]byte, []int) {
636 return file_svc_user_v1_service_proto_rawDescGZIP(), []int{11, 0}
637 }
638
639 func (x *ListOrganizationResponse_ListItem) GetOrganization() *v1.Organization {
640 if x != nil {
641 return x.Organization
642 }
643 return nil
644 }
645
646 var File_svc_user_v1_service_proto protoreflect.FileDescriptor
647
648 var file_svc_user_v1_service_proto_rawDesc = string([]byte{
649 0x0a, 0x19, 0x73, 0x76, 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x2f, 0x73, 0x65,
650 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0b, 0x73, 0x76, 0x63,
651 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
652 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74,
653 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x74, 0x79, 0x70, 0x65, 0x73,
654 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
655 0x1a, 0x1b, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6f, 0x72, 0x67, 0x61, 0x6e,
656 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x74,
657 0x79, 0x70, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x70, 0x72, 0x6f,
658 0x74, 0x6f, 0x22, 0x0f, 0x0a, 0x0d, 0x57, 0x68, 0x6f, 0x61, 0x6d, 0x69, 0x52, 0x65, 0x71, 0x75,
659 0x65, 0x73, 0x74, 0x22, 0xca, 0x01, 0x0a, 0x0e, 0x57, 0x68, 0x6f, 0x61, 0x6d, 0x69, 0x52, 0x65,
660 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01,
661 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
662 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x49, 0x0a, 0x14, 0x63, 0x75,
663 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
664 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73,
665 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
666 0x52, 0x13, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a,
667 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x49, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74,
668 0x5f, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20,
669 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f,
670 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x64, 0x65, 0x66,
671 0x61, 0x75, 0x6c, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
672 0x22, 0x32, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x55, 0x52, 0x4c,
673 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x74, 0x75, 0x72,
674 0x6e, 0x5f, 0x74, 0x6f, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x74, 0x75,
675 0x72, 0x6e, 0x54, 0x6f, 0x22, 0x35, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x6f, 0x75,
676 0x74, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1d, 0x0a, 0x0a,
677 0x6c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x5f, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
678 0x52, 0x09, 0x6c, 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x55, 0x72, 0x6c, 0x22, 0x19, 0x0a, 0x17, 0x52,
679 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52,
680 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0xa6, 0x01, 0x0a, 0x18, 0x52, 0x65, 0x66, 0x72, 0x65,
681 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f,
682 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01,
683 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x39, 0x0a, 0x0a, 0x72, 0x65, 0x66,
684 0x72, 0x65, 0x73, 0x68, 0x5f, 0x61, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e,
685 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e,
686 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x72, 0x65, 0x66, 0x72, 0x65,
687 0x73, 0x68, 0x41, 0x74, 0x12, 0x39, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x5f,
688 0x61, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
689 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73,
690 0x74, 0x61, 0x6d, 0x70, 0x52, 0x09, 0x65, 0x78, 0x70, 0x69, 0x72, 0x65, 0x73, 0x41, 0x74, 0x22,
691 0x76, 0x0a, 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71,
692 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a, 0x0a, 0x66, 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6e, 0x61,
693 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x09, 0x66, 0x69, 0x72, 0x73,
694 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x12, 0x20, 0x0a, 0x09, 0x6c, 0x61, 0x73, 0x74,
695 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x01, 0x52, 0x08, 0x6c,
696 0x61, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x66,
697 0x69, 0x72, 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x0c, 0x0a, 0x0a, 0x5f, 0x6c, 0x61,
698 0x73, 0x74, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x38, 0x0a, 0x12, 0x55, 0x70, 0x64, 0x61, 0x74,
699 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x22, 0x0a,
700 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x74, 0x79,
701 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x04, 0x75, 0x73, 0x65,
702 0x72, 0x22, 0x2f, 0x0a, 0x19, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e,
703 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12,
704 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
705 0x6d, 0x65, 0x22, 0x58, 0x0a, 0x1a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61,
706 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
707 0x12, 0x3a, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
708 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76,
709 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c,
710 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x59, 0x0a, 0x17,
711 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
712 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f,
713 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e,
714 0x76, 0x31, 0x2e, 0x43, 0x75, 0x72, 0x73, 0x6f, 0x72, 0x52, 0x06, 0x63, 0x75, 0x72, 0x73, 0x6f,
715 0x72, 0x12, 0x14, 0x0a, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05,
716 0x52, 0x05, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x22, 0x99, 0x02, 0x0a, 0x18, 0x4c, 0x69, 0x73, 0x74,
717 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70,
718 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01,
719 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x75,
720 0x72, 0x73, 0x6f, 0x72, 0x52, 0x04, 0x6e, 0x65, 0x78, 0x74, 0x12, 0x44, 0x0a, 0x05, 0x69, 0x74,
721 0x65, 0x6d, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x76, 0x63, 0x2e,
722 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61,
723 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
724 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73,
725 0x12, 0x49, 0x0a, 0x14, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x5f, 0x6f, 0x72, 0x67, 0x61,
726 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16,
727 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69,
728 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x4f,
729 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x46, 0x0a, 0x08, 0x4c,
730 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x3a, 0x0a, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e,
731 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e,
732 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a,
733 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0c, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74,
734 0x69, 0x6f, 0x6e, 0x32, 0xa9, 0x04, 0x0a, 0x0b, 0x55, 0x73, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76,
735 0x69, 0x63, 0x65, 0x12, 0x43, 0x0a, 0x06, 0x57, 0x68, 0x6f, 0x61, 0x6d, 0x69, 0x12, 0x1a, 0x2e,
736 0x73, 0x76, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x68, 0x6f, 0x61,
737 0x6d, 0x69, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x73, 0x76, 0x63, 0x2e,
738 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x57, 0x68, 0x6f, 0x61, 0x6d, 0x69, 0x52, 0x65,
739 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x4c,
740 0x6f, 0x67, 0x6f, 0x75, 0x74, 0x55, 0x52, 0x4c, 0x12, 0x20, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x75,
741 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x6f, 0x75, 0x74,
742 0x55, 0x52, 0x4c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x73, 0x76, 0x63,
743 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x4c, 0x6f, 0x67, 0x6f,
744 0x75, 0x74, 0x55, 0x52, 0x4c, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12,
745 0x61, 0x0a, 0x10, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f,
746 0x6b, 0x65, 0x6e, 0x12, 0x24, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76,
747 0x31, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55, 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b,
748 0x65, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x76, 0x63, 0x2e,
749 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x66, 0x72, 0x65, 0x73, 0x68, 0x55,
750 0x73, 0x65, 0x72, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
751 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72,
752 0x12, 0x1e, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55,
753 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
754 0x1a, 0x1f, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x55,
755 0x70, 0x64, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73,
756 0x65, 0x22, 0x00, 0x12, 0x67, 0x0a, 0x12, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67,
757 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x26, 0x2e, 0x73, 0x76, 0x63, 0x2e,
758 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72,
759 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
760 0x74, 0x1a, 0x27, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e,
761 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69,
762 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x61, 0x0a, 0x10,
763 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e,
764 0x12, 0x24, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c,
765 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
766 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x25, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x75, 0x73, 0x65,
767 0x72, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x7a,
768 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42,
769 0x9e, 0x01, 0x0a, 0x0f, 0x63, 0x6f, 0x6d, 0x2e, 0x73, 0x76, 0x63, 0x2e, 0x75, 0x73, 0x65, 0x72,
770 0x2e, 0x76, 0x31, 0x42, 0x0c, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74,
771 0x6f, 0x50, 0x01, 0x5a, 0x2f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
772 0x68, 0x75, 0x6d, 0x61, 0x6e, 0x6c, 0x6f, 0x67, 0x69, 0x6f, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x67,
773 0x6f, 0x2f, 0x73, 0x76, 0x63, 0x2f, 0x75, 0x73, 0x65, 0x72, 0x2f, 0x76, 0x31, 0x3b, 0x75, 0x73,
774 0x65, 0x72, 0x76, 0x31, 0xa2, 0x02, 0x03, 0x53, 0x55, 0x58, 0xaa, 0x02, 0x0b, 0x53, 0x76, 0x63,
775 0x2e, 0x55, 0x73, 0x65, 0x72, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x0b, 0x53, 0x76, 0x63, 0x5c, 0x55,
776 0x73, 0x65, 0x72, 0x5c, 0x56, 0x31, 0xe2, 0x02, 0x17, 0x53, 0x76, 0x63, 0x5c, 0x55, 0x73, 0x65,
777 0x72, 0x5c, 0x56, 0x31, 0x5c, 0x47, 0x50, 0x42, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
778 0xea, 0x02, 0x0d, 0x53, 0x76, 0x63, 0x3a, 0x3a, 0x55, 0x73, 0x65, 0x72, 0x3a, 0x3a, 0x56, 0x31,
779 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
780 })
781
782 var (
783 file_svc_user_v1_service_proto_rawDescOnce sync.Once
784 file_svc_user_v1_service_proto_rawDescData []byte
785 )
786
787 func file_svc_user_v1_service_proto_rawDescGZIP() []byte {
788 file_svc_user_v1_service_proto_rawDescOnce.Do(func() {
789 file_svc_user_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_svc_user_v1_service_proto_rawDesc), len(file_svc_user_v1_service_proto_rawDesc)))
790 })
791 return file_svc_user_v1_service_proto_rawDescData
792 }
793
794 var file_svc_user_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 13)
795 var file_svc_user_v1_service_proto_goTypes = []any{
796 (*WhoamiRequest)(nil), // 0: svc.user.v1.WhoamiRequest
797 (*WhoamiResponse)(nil), // 1: svc.user.v1.WhoamiResponse
798 (*GetLogoutURLRequest)(nil), // 2: svc.user.v1.GetLogoutURLRequest
799 (*GetLogoutURLResponse)(nil), // 3: svc.user.v1.GetLogoutURLResponse
800 (*RefreshUserTokenRequest)(nil), // 4: svc.user.v1.RefreshUserTokenRequest
801 (*RefreshUserTokenResponse)(nil), // 5: svc.user.v1.RefreshUserTokenResponse
802 (*UpdateUserRequest)(nil), // 6: svc.user.v1.UpdateUserRequest
803 (*UpdateUserResponse)(nil), // 7: svc.user.v1.UpdateUserResponse
804 (*CreateOrganizationRequest)(nil), // 8: svc.user.v1.CreateOrganizationRequest
805 (*CreateOrganizationResponse)(nil), // 9: svc.user.v1.CreateOrganizationResponse
806 (*ListOrganizationRequest)(nil), // 10: svc.user.v1.ListOrganizationRequest
807 (*ListOrganizationResponse)(nil), // 11: svc.user.v1.ListOrganizationResponse
808 (*ListOrganizationResponse_ListItem)(nil), // 12: svc.user.v1.ListOrganizationResponse.ListItem
809 (*v1.User)(nil), // 13: types.v1.User
810 (*v1.Organization)(nil), // 14: types.v1.Organization
811 (*timestamppb.Timestamp)(nil), // 15: google.protobuf.Timestamp
812 (*v1.Cursor)(nil), // 16: types.v1.Cursor
813 }
814 var file_svc_user_v1_service_proto_depIdxs = []int32{
815 13, // 0: svc.user.v1.WhoamiResponse.user:type_name -> types.v1.User
816 14, // 1: svc.user.v1.WhoamiResponse.current_organization:type_name -> types.v1.Organization
817 14, // 2: svc.user.v1.WhoamiResponse.default_organization:type_name -> types.v1.Organization
818 15, // 3: svc.user.v1.RefreshUserTokenResponse.refresh_at:type_name -> google.protobuf.Timestamp
819 15, // 4: svc.user.v1.RefreshUserTokenResponse.expires_at:type_name -> google.protobuf.Timestamp
820 13, // 5: svc.user.v1.UpdateUserResponse.user:type_name -> types.v1.User
821 14, // 6: svc.user.v1.CreateOrganizationResponse.organization:type_name -> types.v1.Organization
822 16, // 7: svc.user.v1.ListOrganizationRequest.cursor:type_name -> types.v1.Cursor
823 16, // 8: svc.user.v1.ListOrganizationResponse.next:type_name -> types.v1.Cursor
824 12, // 9: svc.user.v1.ListOrganizationResponse.items:type_name -> svc.user.v1.ListOrganizationResponse.ListItem
825 14, // 10: svc.user.v1.ListOrganizationResponse.default_organization:type_name -> types.v1.Organization
826 14, // 11: svc.user.v1.ListOrganizationResponse.ListItem.organization:type_name -> types.v1.Organization
827 0, // 12: svc.user.v1.UserService.Whoami:input_type -> svc.user.v1.WhoamiRequest
828 2, // 13: svc.user.v1.UserService.GetLogoutURL:input_type -> svc.user.v1.GetLogoutURLRequest
829 4, // 14: svc.user.v1.UserService.RefreshUserToken:input_type -> svc.user.v1.RefreshUserTokenRequest
830 6, // 15: svc.user.v1.UserService.UpdateUser:input_type -> svc.user.v1.UpdateUserRequest
831 8, // 16: svc.user.v1.UserService.CreateOrganization:input_type -> svc.user.v1.CreateOrganizationRequest
832 10, // 17: svc.user.v1.UserService.ListOrganization:input_type -> svc.user.v1.ListOrganizationRequest
833 1, // 18: svc.user.v1.UserService.Whoami:output_type -> svc.user.v1.WhoamiResponse
834 3, // 19: svc.user.v1.UserService.GetLogoutURL:output_type -> svc.user.v1.GetLogoutURLResponse
835 5, // 20: svc.user.v1.UserService.RefreshUserToken:output_type -> svc.user.v1.RefreshUserTokenResponse
836 7, // 21: svc.user.v1.UserService.UpdateUser:output_type -> svc.user.v1.UpdateUserResponse
837 9, // 22: svc.user.v1.UserService.CreateOrganization:output_type -> svc.user.v1.CreateOrganizationResponse
838 11, // 23: svc.user.v1.UserService.ListOrganization:output_type -> svc.user.v1.ListOrganizationResponse
839 18, // [18:24] is the sub-list for method output_type
840 12, // [12:18] is the sub-list for method input_type
841 12, // [12:12] is the sub-list for extension type_name
842 12, // [12:12] is the sub-list for extension extendee
843 0, // [0:12] is the sub-list for field type_name
844 }
845
846 func init() { file_svc_user_v1_service_proto_init() }
847 func file_svc_user_v1_service_proto_init() {
848 if File_svc_user_v1_service_proto != nil {
849 return
850 }
851 file_svc_user_v1_service_proto_msgTypes[6].OneofWrappers = []any{}
852 type x struct{}
853 out := protoimpl.TypeBuilder{
854 File: protoimpl.DescBuilder{
855 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
856 RawDescriptor: unsafe.Slice(unsafe.StringData(file_svc_user_v1_service_proto_rawDesc), len(file_svc_user_v1_service_proto_rawDesc)),
857 NumEnums: 0,
858 NumMessages: 13,
859 NumExtensions: 0,
860 NumServices: 1,
861 },
862 GoTypes: file_svc_user_v1_service_proto_goTypes,
863 DependencyIndexes: file_svc_user_v1_service_proto_depIdxs,
864 MessageInfos: file_svc_user_v1_service_proto_msgTypes,
865 }.Build()
866 File_svc_user_v1_service_proto = out.File
867 file_svc_user_v1_service_proto_goTypes = nil
868 file_svc_user_v1_service_proto_depIdxs = nil
869 }