// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.31.0 // protoc v4.25.0 // source: proto/common.proto package authorization_client import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) // ------------ 公共 ------------ type Base struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } func (x *Base) Reset() { *x = Base{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Base) String() string { return protoimpl.X.MessageStringOf(x) } func (*Base) ProtoMessage() {} func (x *Base) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Base.ProtoReflect.Descriptor instead. func (*Base) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{0} } func (x *Base) GetKey() string { if x != nil { return x.Key } return "" } func (x *Base) GetValue() string { if x != nil { return x.Value } return "" } type Profile struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Roles []*Base `protobuf:"bytes,3,rep,name=roles,proto3" json:"roles,omitempty"` PhoneNumber string `protobuf:"bytes,4,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` Email string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"` Avatar string `protobuf:"bytes,6,opt,name=avatar,proto3" json:"avatar,omitempty"` Birthdate int64 `protobuf:"varint,7,opt,name=birthdate,proto3" json:"birthdate,omitempty"` Bio string `protobuf:"bytes,8,opt,name=bio,proto3" json:"bio,omitempty"` Gender int32 `protobuf:"varint,9,opt,name=gender,proto3" json:"gender,omitempty"` } func (x *Profile) Reset() { *x = Profile{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Profile) String() string { return protoimpl.X.MessageStringOf(x) } func (*Profile) ProtoMessage() {} func (x *Profile) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Profile.ProtoReflect.Descriptor instead. func (*Profile) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{1} } func (x *Profile) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *Profile) GetUsername() string { if x != nil { return x.Username } return "" } func (x *Profile) GetRoles() []*Base { if x != nil { return x.Roles } return nil } func (x *Profile) GetPhoneNumber() string { if x != nil { return x.PhoneNumber } return "" } func (x *Profile) GetEmail() string { if x != nil { return x.Email } return "" } func (x *Profile) GetAvatar() string { if x != nil { return x.Avatar } return "" } func (x *Profile) GetBirthdate() int64 { if x != nil { return x.Birthdate } return 0 } func (x *Profile) GetBio() string { if x != nil { return x.Bio } return "" } func (x *Profile) GetGender() int32 { if x != nil { return x.Gender } return 0 } type LoginResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields User *Profile `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` Token string `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"` } func (x *LoginResponse) Reset() { *x = LoginResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *LoginResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*LoginResponse) ProtoMessage() {} func (x *LoginResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead. func (*LoginResponse) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{2} } func (x *LoginResponse) GetUser() *Profile { if x != nil { return x.User } return nil } func (x *LoginResponse) GetToken() string { if x != nil { return x.Token } return "" } // ------------ 角色列表 ------------ type ListAdminRolesItems struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` CreatedBy string `protobuf:"bytes,4,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` CreatedAt int64 `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"` IsReserved bool `protobuf:"varint,7,opt,name=is_reserved,json=isReserved,proto3" json:"is_reserved,omitempty"` } func (x *ListAdminRolesItems) Reset() { *x = ListAdminRolesItems{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListAdminRolesItems) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListAdminRolesItems) ProtoMessage() {} func (x *ListAdminRolesItems) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListAdminRolesItems.ProtoReflect.Descriptor instead. func (*ListAdminRolesItems) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{3} } func (x *ListAdminRolesItems) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *ListAdminRolesItems) GetName() string { if x != nil { return x.Name } return "" } func (x *ListAdminRolesItems) GetDescription() string { if x != nil { return x.Description } return "" } func (x *ListAdminRolesItems) GetCreatedBy() string { if x != nil { return x.CreatedBy } return "" } func (x *ListAdminRolesItems) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *ListAdminRolesItems) GetStatus() string { if x != nil { return x.Status } return "" } func (x *ListAdminRolesItems) GetIsReserved() bool { if x != nil { return x.IsReserved } return false } type ListAdminRolesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Items []*ListAdminRolesItems `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` TotalCount int64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` } func (x *ListAdminRolesResponse) Reset() { *x = ListAdminRolesResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListAdminRolesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListAdminRolesResponse) ProtoMessage() {} func (x *ListAdminRolesResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListAdminRolesResponse.ProtoReflect.Descriptor instead. func (*ListAdminRolesResponse) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{4} } func (x *ListAdminRolesResponse) GetItems() []*ListAdminRolesItems { if x != nil { return x.Items } return nil } func (x *ListAdminRolesResponse) GetTotalCount() int64 { if x != nil { return x.TotalCount } return 0 } // ------------ 角色详情 ------------ type GetAdminRoleBase struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } func (x *GetAdminRoleBase) Reset() { *x = GetAdminRoleBase{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetAdminRoleBase) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAdminRoleBase) ProtoMessage() {} func (x *GetAdminRoleBase) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetAdminRoleBase.ProtoReflect.Descriptor instead. func (*GetAdminRoleBase) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{5} } func (x *GetAdminRoleBase) GetKey() string { if x != nil { return x.Key } return "" } func (x *GetAdminRoleBase) GetValue() string { if x != nil { return x.Value } return "" } type GetAdminRoleResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` CreatedAt int64 `protobuf:"varint,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` Status string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"` IsReserved bool `protobuf:"varint,6,opt,name=is_reserved,json=isReserved,proto3" json:"is_reserved,omitempty"` Users []*GetAdminRoleBase `protobuf:"bytes,7,rep,name=users,proto3" json:"users,omitempty"` Permissions []*GetAdminRoleBase `protobuf:"bytes,8,rep,name=permissions,proto3" json:"permissions,omitempty"` } func (x *GetAdminRoleResponse) Reset() { *x = GetAdminRoleResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetAdminRoleResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAdminRoleResponse) ProtoMessage() {} func (x *GetAdminRoleResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetAdminRoleResponse.ProtoReflect.Descriptor instead. func (*GetAdminRoleResponse) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{6} } func (x *GetAdminRoleResponse) GetId() int64 { if x != nil { return x.Id } return 0 } func (x *GetAdminRoleResponse) GetName() string { if x != nil { return x.Name } return "" } func (x *GetAdminRoleResponse) GetDescription() string { if x != nil { return x.Description } return "" } func (x *GetAdminRoleResponse) GetCreatedAt() int64 { if x != nil { return x.CreatedAt } return 0 } func (x *GetAdminRoleResponse) GetStatus() string { if x != nil { return x.Status } return "" } func (x *GetAdminRoleResponse) GetIsReserved() bool { if x != nil { return x.IsReserved } return false } func (x *GetAdminRoleResponse) GetUsers() []*GetAdminRoleBase { if x != nil { return x.Users } return nil } func (x *GetAdminRoleResponse) GetPermissions() []*GetAdminRoleBase { if x != nil { return x.Permissions } return nil } type GetUnassignedAdminRolesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` } func (x *GetUnassignedAdminRolesRequest) Reset() { *x = GetUnassignedAdminRolesRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetUnassignedAdminRolesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetUnassignedAdminRolesRequest) ProtoMessage() {} func (x *GetUnassignedAdminRolesRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetUnassignedAdminRolesRequest.ProtoReflect.Descriptor instead. func (*GetUnassignedAdminRolesRequest) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{7} } func (x *GetUnassignedAdminRolesRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } type ListAdminUsersResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Items []*GetAdminUser `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` TotalCount int64 `protobuf:"varint,2,opt,name=total_count,json=totalCount,proto3" json:"total_count,omitempty"` } func (x *ListAdminUsersResponse) Reset() { *x = ListAdminUsersResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListAdminUsersResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListAdminUsersResponse) ProtoMessage() {} func (x *ListAdminUsersResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListAdminUsersResponse.ProtoReflect.Descriptor instead. func (*ListAdminUsersResponse) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{8} } func (x *ListAdminUsersResponse) GetItems() []*GetAdminUser { if x != nil { return x.Items } return nil } func (x *ListAdminUsersResponse) GetTotalCount() int64 { if x != nil { return x.TotalCount } return 0 } // ------------ 用户详情 ------------ type AdminUserProfile struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Avatar string `protobuf:"bytes,1,opt,name=avatar,proto3" json:"avatar,omitempty"` PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"` Email string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"` Bio string `protobuf:"bytes,4,opt,name=bio,proto3" json:"bio,omitempty"` Birthdate int64 `protobuf:"varint,5,opt,name=birthdate,proto3" json:"birthdate,omitempty"` Gender int32 `protobuf:"varint,6,opt,name=gender,proto3" json:"gender,omitempty"` Address string `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty"` Website string `protobuf:"bytes,8,opt,name=website,proto3" json:"website,omitempty"` SocialLinks []*AdminUserProfileSocialLink `protobuf:"bytes,9,rep,name=social_links,json=socialLinks,proto3" json:"social_links,omitempty"` Educations []*AdminUserProfileEducation `protobuf:"bytes,10,rep,name=educations,proto3" json:"educations,omitempty"` WorkHistories []*AdminUserProfileWorkHistory `protobuf:"bytes,11,rep,name=work_histories,json=workHistories,proto3" json:"work_histories,omitempty"` } func (x *AdminUserProfile) Reset() { *x = AdminUserProfile{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AdminUserProfile) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminUserProfile) ProtoMessage() {} func (x *AdminUserProfile) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminUserProfile.ProtoReflect.Descriptor instead. func (*AdminUserProfile) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{9} } func (x *AdminUserProfile) GetAvatar() string { if x != nil { return x.Avatar } return "" } func (x *AdminUserProfile) GetPhoneNumber() string { if x != nil { return x.PhoneNumber } return "" } func (x *AdminUserProfile) GetEmail() string { if x != nil { return x.Email } return "" } func (x *AdminUserProfile) GetBio() string { if x != nil { return x.Bio } return "" } func (x *AdminUserProfile) GetBirthdate() int64 { if x != nil { return x.Birthdate } return 0 } func (x *AdminUserProfile) GetGender() int32 { if x != nil { return x.Gender } return 0 } func (x *AdminUserProfile) GetAddress() string { if x != nil { return x.Address } return "" } func (x *AdminUserProfile) GetWebsite() string { if x != nil { return x.Website } return "" } func (x *AdminUserProfile) GetSocialLinks() []*AdminUserProfileSocialLink { if x != nil { return x.SocialLinks } return nil } func (x *AdminUserProfile) GetEducations() []*AdminUserProfileEducation { if x != nil { return x.Educations } return nil } func (x *AdminUserProfile) GetWorkHistories() []*AdminUserProfileWorkHistory { if x != nil { return x.WorkHistories } return nil } type AdminUserProfileSocialLink struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` Platform string `protobuf:"bytes,2,opt,name=platform,proto3" json:"platform,omitempty"` } func (x *AdminUserProfileSocialLink) Reset() { *x = AdminUserProfileSocialLink{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AdminUserProfileSocialLink) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminUserProfileSocialLink) ProtoMessage() {} func (x *AdminUserProfileSocialLink) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminUserProfileSocialLink.ProtoReflect.Descriptor instead. func (*AdminUserProfileSocialLink) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{10} } func (x *AdminUserProfileSocialLink) GetUrl() string { if x != nil { return x.Url } return "" } func (x *AdminUserProfileSocialLink) GetPlatform() string { if x != nil { return x.Platform } return "" } type AdminUserProfileEducation struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields School string `protobuf:"bytes,1,opt,name=school,proto3" json:"school,omitempty"` Degree string `protobuf:"bytes,2,opt,name=degree,proto3" json:"degree,omitempty"` Graduated int64 `protobuf:"varint,3,opt,name=graduated,proto3" json:"graduated,omitempty"` } func (x *AdminUserProfileEducation) Reset() { *x = AdminUserProfileEducation{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AdminUserProfileEducation) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminUserProfileEducation) ProtoMessage() {} func (x *AdminUserProfileEducation) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminUserProfileEducation.ProtoReflect.Descriptor instead. func (*AdminUserProfileEducation) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{11} } func (x *AdminUserProfileEducation) GetSchool() string { if x != nil { return x.School } return "" } func (x *AdminUserProfileEducation) GetDegree() string { if x != nil { return x.Degree } return "" } func (x *AdminUserProfileEducation) GetGraduated() int64 { if x != nil { return x.Graduated } return 0 } type AdminUserProfileWorkHistory struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Company string `protobuf:"bytes,1,opt,name=company,proto3" json:"company,omitempty"` Position string `protobuf:"bytes,2,opt,name=position,proto3" json:"position,omitempty"` StartDate int64 `protobuf:"varint,3,opt,name=start_date,json=startDate,proto3" json:"start_date,omitempty"` EndDate int64 `protobuf:"varint,4,opt,name=end_date,json=endDate,proto3" json:"end_date,omitempty"` Responsibilities string `protobuf:"bytes,5,opt,name=responsibilities,proto3" json:"responsibilities,omitempty"` } func (x *AdminUserProfileWorkHistory) Reset() { *x = AdminUserProfileWorkHistory{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AdminUserProfileWorkHistory) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminUserProfileWorkHistory) ProtoMessage() {} func (x *AdminUserProfileWorkHistory) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminUserProfileWorkHistory.ProtoReflect.Descriptor instead. func (*AdminUserProfileWorkHistory) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{12} } func (x *AdminUserProfileWorkHistory) GetCompany() string { if x != nil { return x.Company } return "" } func (x *AdminUserProfileWorkHistory) GetPosition() string { if x != nil { return x.Position } return "" } func (x *AdminUserProfileWorkHistory) GetStartDate() int64 { if x != nil { return x.StartDate } return 0 } func (x *AdminUserProfileWorkHistory) GetEndDate() int64 { if x != nil { return x.EndDate } return 0 } func (x *AdminUserProfileWorkHistory) GetResponsibilities() string { if x != nil { return x.Responsibilities } return "" } type AdminUserBase struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` } func (x *AdminUserBase) Reset() { *x = AdminUserBase{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *AdminUserBase) String() string { return protoimpl.X.MessageStringOf(x) } func (*AdminUserBase) ProtoMessage() {} func (x *AdminUserBase) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use AdminUserBase.ProtoReflect.Descriptor instead. func (*AdminUserBase) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{13} } func (x *AdminUserBase) GetKey() string { if x != nil { return x.Key } return "" } func (x *AdminUserBase) GetValue() string { if x != nil { return x.Value } return "" } type GetAdminUserRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` } func (x *GetAdminUserRequest) Reset() { *x = GetAdminUserRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetAdminUserRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAdminUserRequest) ProtoMessage() {} func (x *GetAdminUserRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetAdminUserRequest.ProtoReflect.Descriptor instead. func (*GetAdminUserRequest) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{14} } func (x *GetAdminUserRequest) GetId() int64 { if x != nil { return x.Id } return 0 } type GetAdminUser struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Roles []*AdminUserBase `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` Teams []*AdminUserBase `protobuf:"bytes,5,rep,name=teams,proto3" json:"teams,omitempty"` Profile *AdminUserProfile `protobuf:"bytes,6,opt,name=profile,proto3" json:"profile,omitempty"` } func (x *GetAdminUser) Reset() { *x = GetAdminUser{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetAdminUser) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAdminUser) ProtoMessage() {} func (x *GetAdminUser) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetAdminUser.ProtoReflect.Descriptor instead. func (*GetAdminUser) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{15} } func (x *GetAdminUser) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *GetAdminUser) GetUsername() string { if x != nil { return x.Username } return "" } func (x *GetAdminUser) GetStatus() string { if x != nil { return x.Status } return "" } func (x *GetAdminUser) GetRoles() []*AdminUserBase { if x != nil { return x.Roles } return nil } func (x *GetAdminUser) GetTeams() []*AdminUserBase { if x != nil { return x.Teams } return nil } func (x *GetAdminUser) GetProfile() *AdminUserProfile { if x != nil { return x.Profile } return nil } // ------------ admin user 更新 ------------ type UpdateAdminUserRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Status string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"` Roles []*AdminUserBase `protobuf:"bytes,4,rep,name=roles,proto3" json:"roles,omitempty"` Teams []*AdminUserBase `protobuf:"bytes,5,rep,name=teams,proto3" json:"teams,omitempty"` Profile *AdminUserProfile `protobuf:"bytes,6,opt,name=profile,proto3" json:"profile,omitempty"` } func (x *UpdateAdminUserRequest) Reset() { *x = UpdateAdminUserRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UpdateAdminUserRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UpdateAdminUserRequest) ProtoMessage() {} func (x *UpdateAdminUserRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UpdateAdminUserRequest.ProtoReflect.Descriptor instead. func (*UpdateAdminUserRequest) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{16} } func (x *UpdateAdminUserRequest) GetUserId() int64 { if x != nil { return x.UserId } return 0 } func (x *UpdateAdminUserRequest) GetStatus() string { if x != nil { return x.Status } return "" } func (x *UpdateAdminUserRequest) GetRoles() []*AdminUserBase { if x != nil { return x.Roles } return nil } func (x *UpdateAdminUserRequest) GetTeams() []*AdminUserBase { if x != nil { return x.Teams } return nil } func (x *UpdateAdminUserRequest) GetProfile() *AdminUserProfile { if x != nil { return x.Profile } return nil } // ------------ 查询关联的角色 ------------ type GetAdminUserAssociatedRolesRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"` } func (x *GetAdminUserAssociatedRolesRequest) Reset() { *x = GetAdminUserAssociatedRolesRequest{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetAdminUserAssociatedRolesRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAdminUserAssociatedRolesRequest) ProtoMessage() {} func (x *GetAdminUserAssociatedRolesRequest) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetAdminUserAssociatedRolesRequest.ProtoReflect.Descriptor instead. func (*GetAdminUserAssociatedRolesRequest) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{17} } func (x *GetAdminUserAssociatedRolesRequest) GetUsername() string { if x != nil { return x.Username } return "" } type GetAdminUserAssociatedRolesResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Items []*AdminUserBase `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` } func (x *GetAdminUserAssociatedRolesResponse) Reset() { *x = GetAdminUserAssociatedRolesResponse{} if protoimpl.UnsafeEnabled { mi := &file_proto_common_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *GetAdminUserAssociatedRolesResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*GetAdminUserAssociatedRolesResponse) ProtoMessage() {} func (x *GetAdminUserAssociatedRolesResponse) ProtoReflect() protoreflect.Message { mi := &file_proto_common_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use GetAdminUserAssociatedRolesResponse.ProtoReflect.Descriptor instead. func (*GetAdminUserAssociatedRolesResponse) Descriptor() ([]byte, []int) { return file_proto_common_proto_rawDescGZIP(), []int{18} } func (x *GetAdminUserAssociatedRolesResponse) GetItems() []*AdminUserBase { if x != nil { return x.Items } return nil } var File_proto_common_proto protoreflect.FileDescriptor var file_proto_common_proto_rawDesc = []byte{ 0x0a, 0x12, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x22, 0x2e, 0x0a, 0x04, 0x42, 0x61, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xf2, 0x01, 0x0a, 0x07, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x74, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x69, 0x6f, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x62, 0x69, 0x6f, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x0d, 0x4c, 0x6f, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x23, 0x0a, 0x04, 0x75, 0x73, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x75, 0x73, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0xd2, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x42, 0x79, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x22, 0x6c, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x31, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x49, 0x74, 0x65, 0x6d, 0x73, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x3a, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x61, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xa0, 0x02, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x61, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x41, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x73, 0x5f, 0x72, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x73, 0x52, 0x65, 0x73, 0x65, 0x72, 0x76, 0x65, 0x64, 0x12, 0x2e, 0x0a, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x05, 0x75, 0x73, 0x65, 0x72, 0x73, 0x12, 0x3a, 0x0a, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x42, 0x61, 0x73, 0x65, 0x52, 0x0b, 0x70, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x73, 0x22, 0x39, 0x0a, 0x1e, 0x47, 0x65, 0x74, 0x55, 0x6e, 0x61, 0x73, 0x73, 0x69, 0x67, 0x6e, 0x65, 0x64, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x22, 0x65, 0x0a, 0x16, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2a, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0xb5, 0x03, 0x0a, 0x10, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x76, 0x61, 0x74, 0x61, 0x72, 0x12, 0x21, 0x0a, 0x0c, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x5f, 0x6e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x70, 0x68, 0x6f, 0x6e, 0x65, 0x4e, 0x75, 0x6d, 0x62, 0x65, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x10, 0x0a, 0x03, 0x62, 0x69, 0x6f, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x62, 0x69, 0x6f, 0x12, 0x1c, 0x0a, 0x09, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x74, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x74, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x67, 0x65, 0x6e, 0x64, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x12, 0x45, 0x0a, 0x0c, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x5f, 0x6c, 0x69, 0x6e, 0x6b, 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x52, 0x0b, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x73, 0x12, 0x41, 0x0a, 0x0a, 0x65, 0x64, 0x75, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x64, 0x75, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x64, 0x75, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x4a, 0x0a, 0x0e, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x68, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x52, 0x0d, 0x77, 0x6f, 0x72, 0x6b, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x69, 0x65, 0x73, 0x22, 0x4a, 0x0a, 0x1a, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x53, 0x6f, 0x63, 0x69, 0x61, 0x6c, 0x4c, 0x69, 0x6e, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x22, 0x69, 0x0a, 0x19, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x45, 0x64, 0x75, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x63, 0x68, 0x6f, 0x6f, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x64, 0x65, 0x67, 0x72, 0x65, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x64, 0x65, 0x67, 0x72, 0x65, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x67, 0x72, 0x61, 0x64, 0x75, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x67, 0x72, 0x61, 0x64, 0x75, 0x61, 0x74, 0x65, 0x64, 0x22, 0xb9, 0x01, 0x0a, 0x1b, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x57, 0x6f, 0x72, 0x6b, 0x48, 0x69, 0x73, 0x74, 0x6f, 0x72, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6d, 0x70, 0x61, 0x6e, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x6f, 0x73, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x73, 0x74, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x65, 0x6e, 0x64, 0x5f, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x65, 0x6e, 0x64, 0x44, 0x61, 0x74, 0x65, 0x12, 0x2a, 0x0a, 0x10, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x69, 0x62, 0x69, 0x6c, 0x69, 0x74, 0x69, 0x65, 0x73, 0x22, 0x37, 0x0a, 0x0d, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x61, 0x73, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x25, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x69, 0x64, 0x22, 0xe9, 0x01, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2b, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x61, 0x73, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x05, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x61, 0x73, 0x65, 0x52, 0x05, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0xd7, 0x01, 0x0a, 0x16, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x07, 0x75, 0x73, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x75, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x2b, 0x0a, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x61, 0x73, 0x65, 0x52, 0x05, 0x72, 0x6f, 0x6c, 0x65, 0x73, 0x12, 0x2b, 0x0a, 0x05, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x61, 0x73, 0x65, 0x52, 0x05, 0x74, 0x65, 0x61, 0x6d, 0x73, 0x12, 0x32, 0x0a, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x50, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x52, 0x07, 0x70, 0x72, 0x6f, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x40, 0x0a, 0x22, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x75, 0x73, 0x65, 0x72, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x52, 0x0a, 0x23, 0x47, 0x65, 0x74, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x41, 0x73, 0x73, 0x6f, 0x63, 0x69, 0x61, 0x74, 0x65, 0x64, 0x52, 0x6f, 0x6c, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2b, 0x0a, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x64, 0x6d, 0x69, 0x6e, 0x55, 0x73, 0x65, 0x72, 0x42, 0x61, 0x73, 0x65, 0x52, 0x05, 0x69, 0x74, 0x65, 0x6d, 0x73, 0x42, 0x1e, 0x5a, 0x1c, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x3b, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_proto_common_proto_rawDescOnce sync.Once file_proto_common_proto_rawDescData = file_proto_common_proto_rawDesc ) func file_proto_common_proto_rawDescGZIP() []byte { file_proto_common_proto_rawDescOnce.Do(func() { file_proto_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_proto_common_proto_rawDescData) }) return file_proto_common_proto_rawDescData } var file_proto_common_proto_msgTypes = make([]protoimpl.MessageInfo, 19) var file_proto_common_proto_goTypes = []interface{}{ (*Base)(nil), // 0: common.Base (*Profile)(nil), // 1: common.Profile (*LoginResponse)(nil), // 2: common.LoginResponse (*ListAdminRolesItems)(nil), // 3: common.ListAdminRolesItems (*ListAdminRolesResponse)(nil), // 4: common.ListAdminRolesResponse (*GetAdminRoleBase)(nil), // 5: common.GetAdminRoleBase (*GetAdminRoleResponse)(nil), // 6: common.GetAdminRoleResponse (*GetUnassignedAdminRolesRequest)(nil), // 7: common.GetUnassignedAdminRolesRequest (*ListAdminUsersResponse)(nil), // 8: common.ListAdminUsersResponse (*AdminUserProfile)(nil), // 9: common.AdminUserProfile (*AdminUserProfileSocialLink)(nil), // 10: common.AdminUserProfileSocialLink (*AdminUserProfileEducation)(nil), // 11: common.AdminUserProfileEducation (*AdminUserProfileWorkHistory)(nil), // 12: common.AdminUserProfileWorkHistory (*AdminUserBase)(nil), // 13: common.AdminUserBase (*GetAdminUserRequest)(nil), // 14: common.GetAdminUserRequest (*GetAdminUser)(nil), // 15: common.GetAdminUser (*UpdateAdminUserRequest)(nil), // 16: common.UpdateAdminUserRequest (*GetAdminUserAssociatedRolesRequest)(nil), // 17: common.GetAdminUserAssociatedRolesRequest (*GetAdminUserAssociatedRolesResponse)(nil), // 18: common.GetAdminUserAssociatedRolesResponse } var file_proto_common_proto_depIdxs = []int32{ 0, // 0: common.Profile.roles:type_name -> common.Base 1, // 1: common.LoginResponse.user:type_name -> common.Profile 3, // 2: common.ListAdminRolesResponse.items:type_name -> common.ListAdminRolesItems 5, // 3: common.GetAdminRoleResponse.users:type_name -> common.GetAdminRoleBase 5, // 4: common.GetAdminRoleResponse.permissions:type_name -> common.GetAdminRoleBase 15, // 5: common.ListAdminUsersResponse.items:type_name -> common.GetAdminUser 10, // 6: common.AdminUserProfile.social_links:type_name -> common.AdminUserProfileSocialLink 11, // 7: common.AdminUserProfile.educations:type_name -> common.AdminUserProfileEducation 12, // 8: common.AdminUserProfile.work_histories:type_name -> common.AdminUserProfileWorkHistory 13, // 9: common.GetAdminUser.roles:type_name -> common.AdminUserBase 13, // 10: common.GetAdminUser.teams:type_name -> common.AdminUserBase 9, // 11: common.GetAdminUser.profile:type_name -> common.AdminUserProfile 13, // 12: common.UpdateAdminUserRequest.roles:type_name -> common.AdminUserBase 13, // 13: common.UpdateAdminUserRequest.teams:type_name -> common.AdminUserBase 9, // 14: common.UpdateAdminUserRequest.profile:type_name -> common.AdminUserProfile 13, // 15: common.GetAdminUserAssociatedRolesResponse.items:type_name -> common.AdminUserBase 16, // [16:16] is the sub-list for method output_type 16, // [16:16] is the sub-list for method input_type 16, // [16:16] is the sub-list for extension type_name 16, // [16:16] is the sub-list for extension extendee 0, // [0:16] is the sub-list for field type_name } func init() { file_proto_common_proto_init() } func file_proto_common_proto_init() { if File_proto_common_proto != nil { return } if !protoimpl.UnsafeEnabled { file_proto_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Base); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Profile); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*LoginResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListAdminRolesItems); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListAdminRolesResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAdminRoleBase); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAdminRoleResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetUnassignedAdminRolesRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListAdminUsersResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AdminUserProfile); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AdminUserProfileSocialLink); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AdminUserProfileEducation); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AdminUserProfileWorkHistory); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*AdminUserBase); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAdminUserRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAdminUser); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateAdminUserRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAdminUserAssociatedRolesRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_proto_common_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetAdminUserAssociatedRolesResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_proto_common_proto_rawDesc, NumEnums: 0, NumMessages: 19, NumExtensions: 0, NumServices: 0, }, GoTypes: file_proto_common_proto_goTypes, DependencyIndexes: file_proto_common_proto_depIdxs, MessageInfos: file_proto_common_proto_msgTypes, }.Build() File_proto_common_proto = out.File file_proto_common_proto_rawDesc = nil file_proto_common_proto_goTypes = nil file_proto_common_proto_depIdxs = nil }