Files
contracts/gen/go/users/users.pb.go
2026-04-11 11:33:08 +00:00

704 lines
21 KiB
Go

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.36.11
// protoc v4.25.9
// source: users/users.proto
package pb
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
unsafe "unsafe"
)
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 GetMeRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMeRequest) Reset() {
*x = GetMeRequest{}
mi := &file_users_users_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMeRequest) ProtoMessage() {}
func (x *GetMeRequest) ProtoReflect() protoreflect.Message {
mi := &file_users_users_proto_msgTypes[0]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetMeRequest.ProtoReflect.Descriptor instead.
func (*GetMeRequest) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{0}
}
func (x *GetMeRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type GetMeResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetMeResponse) Reset() {
*x = GetMeResponse{}
mi := &file_users_users_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetMeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMeResponse) ProtoMessage() {}
func (x *GetMeResponse) ProtoReflect() protoreflect.Message {
mi := &file_users_users_proto_msgTypes[1]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use GetMeResponse.ProtoReflect.Descriptor instead.
func (*GetMeResponse) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{1}
}
func (x *GetMeResponse) GetUser() *User {
if x != nil {
return x.User
}
return nil
}
type CreateUserRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateUserRequest) Reset() {
*x = CreateUserRequest{}
mi := &file_users_users_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateUserRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateUserRequest) ProtoMessage() {}
func (x *CreateUserRequest) ProtoReflect() protoreflect.Message {
mi := &file_users_users_proto_msgTypes[2]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.
func (*CreateUserRequest) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{2}
}
func (x *CreateUserRequest) GetId() string {
if x != nil {
return x.Id
}
return ""
}
type CreateUserResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Success string `protobuf:"bytes,1,opt,name=success,proto3" json:"success,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateUserResponse) Reset() {
*x = CreateUserResponse{}
mi := &file_users_users_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateUserResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateUserResponse) ProtoMessage() {}
func (x *CreateUserResponse) ProtoReflect() protoreflect.Message {
mi := &file_users_users_proto_msgTypes[3]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.
func (*CreateUserResponse) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{3}
}
func (x *CreateUserResponse) GetSuccess() string {
if x != nil {
return x.Success
}
return ""
}
type ChangeMeRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty"`
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
Phone *string `protobuf:"bytes,4,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
FullName *string `protobuf:"bytes,5,opt,name=full_name,json=fullName,proto3,oneof" json:"full_name,omitempty"`
AvatarUrl *string `protobuf:"bytes,6,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
CustomStatusText *string `protobuf:"bytes,7,opt,name=custom_status_text,json=customStatusText,proto3,oneof" json:"custom_status_text,omitempty"`
CustomStatusEmoji *string `protobuf:"bytes,8,opt,name=custom_status_emoji,json=customStatusEmoji,proto3,oneof" json:"custom_status_emoji,omitempty"`
Timezone *string `protobuf:"bytes,9,opt,name=timezone,proto3,oneof" json:"timezone,omitempty"`
Language *string `protobuf:"bytes,10,opt,name=language,proto3,oneof" json:"language,omitempty"`
IsPublic *bool `protobuf:"varint,11,opt,name=is_public,json=isPublic,proto3,oneof" json:"is_public,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ChangeMeRequest) Reset() {
*x = ChangeMeRequest{}
mi := &file_users_users_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ChangeMeRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChangeMeRequest) ProtoMessage() {}
func (x *ChangeMeRequest) ProtoReflect() protoreflect.Message {
mi := &file_users_users_proto_msgTypes[4]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ChangeMeRequest.ProtoReflect.Descriptor instead.
func (*ChangeMeRequest) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{4}
}
func (x *ChangeMeRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *ChangeMeRequest) GetSessionId() string {
if x != nil {
return x.SessionId
}
return ""
}
func (x *ChangeMeRequest) GetEmail() string {
if x != nil && x.Email != nil {
return *x.Email
}
return ""
}
func (x *ChangeMeRequest) GetPhone() string {
if x != nil && x.Phone != nil {
return *x.Phone
}
return ""
}
func (x *ChangeMeRequest) GetFullName() string {
if x != nil && x.FullName != nil {
return *x.FullName
}
return ""
}
func (x *ChangeMeRequest) GetAvatarUrl() string {
if x != nil && x.AvatarUrl != nil {
return *x.AvatarUrl
}
return ""
}
func (x *ChangeMeRequest) GetCustomStatusText() string {
if x != nil && x.CustomStatusText != nil {
return *x.CustomStatusText
}
return ""
}
func (x *ChangeMeRequest) GetCustomStatusEmoji() string {
if x != nil && x.CustomStatusEmoji != nil {
return *x.CustomStatusEmoji
}
return ""
}
func (x *ChangeMeRequest) GetTimezone() string {
if x != nil && x.Timezone != nil {
return *x.Timezone
}
return ""
}
func (x *ChangeMeRequest) GetLanguage() string {
if x != nil && x.Language != nil {
return *x.Language
}
return ""
}
func (x *ChangeMeRequest) GetIsPublic() bool {
if x != nil && x.IsPublic != nil {
return *x.IsPublic
}
return false
}
type ChangeMeResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *ChangeMeResponse) Reset() {
*x = ChangeMeResponse{}
mi := &file_users_users_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *ChangeMeResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ChangeMeResponse) ProtoMessage() {}
func (x *ChangeMeResponse) ProtoReflect() protoreflect.Message {
mi := &file_users_users_proto_msgTypes[5]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use ChangeMeResponse.ProtoReflect.Descriptor instead.
func (*ChangeMeResponse) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{5}
}
func (x *ChangeMeResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *ChangeMeResponse) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
type User struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Username *string `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"`
Email *string `protobuf:"bytes,3,opt,name=email,proto3,oneof" json:"email,omitempty"`
Phone *string `protobuf:"bytes,4,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
FullName *string `protobuf:"bytes,5,opt,name=full_name,json=fullName,proto3,oneof" json:"full_name,omitempty"`
IsLdap bool `protobuf:"varint,6,opt,name=is_ldap,json=isLdap,proto3" json:"is_ldap,omitempty"`
Status *string `protobuf:"bytes,7,opt,name=status,proto3,oneof" json:"status,omitempty"`
Roles []string `protobuf:"bytes,8,rep,name=roles,proto3" json:"roles,omitempty"`
AvatarUrl *string `protobuf:"bytes,9,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
EmployeeId *string `protobuf:"bytes,10,opt,name=employee_id,json=employeeId,proto3,oneof" json:"employee_id,omitempty"`
Presence *string `protobuf:"bytes,11,opt,name=presence,proto3,oneof" json:"presence,omitempty"`
LastActive *string `protobuf:"bytes,12,opt,name=last_active,json=lastActive,proto3,oneof" json:"last_active,omitempty"`
CustomStatusText *string `protobuf:"bytes,13,opt,name=custom_status_text,json=customStatusText,proto3,oneof" json:"custom_status_text,omitempty"`
CustomStatusEmoji *string `protobuf:"bytes,14,opt,name=custom_status_emoji,json=customStatusEmoji,proto3,oneof" json:"custom_status_emoji,omitempty"`
Timezone *string `protobuf:"bytes,15,opt,name=timezone,proto3,oneof" json:"timezone,omitempty"`
Language *string `protobuf:"bytes,16,opt,name=language,proto3,oneof" json:"language,omitempty"`
TwoFaEnabled bool `protobuf:"varint,17,opt,name=two_fa_enabled,json=twoFaEnabled,proto3" json:"two_fa_enabled,omitempty"`
HasPin bool `protobuf:"varint,18,opt,name=has_pin,json=hasPin,proto3" json:"has_pin,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *User) Reset() {
*x = User{}
mi := &file_users_users_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *User) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*User) ProtoMessage() {}
func (x *User) ProtoReflect() protoreflect.Message {
mi := &file_users_users_proto_msgTypes[6]
if x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use User.ProtoReflect.Descriptor instead.
func (*User) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{6}
}
func (x *User) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *User) GetUsername() string {
if x != nil && x.Username != nil {
return *x.Username
}
return ""
}
func (x *User) GetEmail() string {
if x != nil && x.Email != nil {
return *x.Email
}
return ""
}
func (x *User) GetPhone() string {
if x != nil && x.Phone != nil {
return *x.Phone
}
return ""
}
func (x *User) GetFullName() string {
if x != nil && x.FullName != nil {
return *x.FullName
}
return ""
}
func (x *User) GetIsLdap() bool {
if x != nil {
return x.IsLdap
}
return false
}
func (x *User) GetStatus() string {
if x != nil && x.Status != nil {
return *x.Status
}
return ""
}
func (x *User) GetRoles() []string {
if x != nil {
return x.Roles
}
return nil
}
func (x *User) GetAvatarUrl() string {
if x != nil && x.AvatarUrl != nil {
return *x.AvatarUrl
}
return ""
}
func (x *User) GetEmployeeId() string {
if x != nil && x.EmployeeId != nil {
return *x.EmployeeId
}
return ""
}
func (x *User) GetPresence() string {
if x != nil && x.Presence != nil {
return *x.Presence
}
return ""
}
func (x *User) GetLastActive() string {
if x != nil && x.LastActive != nil {
return *x.LastActive
}
return ""
}
func (x *User) GetCustomStatusText() string {
if x != nil && x.CustomStatusText != nil {
return *x.CustomStatusText
}
return ""
}
func (x *User) GetCustomStatusEmoji() string {
if x != nil && x.CustomStatusEmoji != nil {
return *x.CustomStatusEmoji
}
return ""
}
func (x *User) GetTimezone() string {
if x != nil && x.Timezone != nil {
return *x.Timezone
}
return ""
}
func (x *User) GetLanguage() string {
if x != nil && x.Language != nil {
return *x.Language
}
return ""
}
func (x *User) GetTwoFaEnabled() bool {
if x != nil {
return x.TwoFaEnabled
}
return false
}
func (x *User) GetHasPin() bool {
if x != nil {
return x.HasPin
}
return false
}
var File_users_users_proto protoreflect.FileDescriptor
const file_users_users_proto_rawDesc = "" +
"\n" +
"\x11users/users.proto\x12\busers.v1\"\x1e\n" +
"\fGetMeRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\"3\n" +
"\rGetMeResponse\x12\"\n" +
"\x04user\x18\x01 \x01(\v2\x0e.users.v1.UserR\x04user\"#\n" +
"\x11CreateUserRequest\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\".\n" +
"\x12CreateUserResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\tR\asuccess\"\x99\x04\n" +
"\x0fChangeMeRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x1d\n" +
"\n" +
"session_id\x18\x02 \x01(\tR\tsessionId\x12\x19\n" +
"\x05email\x18\x03 \x01(\tH\x00R\x05email\x88\x01\x01\x12\x19\n" +
"\x05phone\x18\x04 \x01(\tH\x01R\x05phone\x88\x01\x01\x12 \n" +
"\tfull_name\x18\x05 \x01(\tH\x02R\bfullName\x88\x01\x01\x12\"\n" +
"\n" +
"avatar_url\x18\x06 \x01(\tH\x03R\tavatarUrl\x88\x01\x01\x121\n" +
"\x12custom_status_text\x18\a \x01(\tH\x04R\x10customStatusText\x88\x01\x01\x123\n" +
"\x13custom_status_emoji\x18\b \x01(\tH\x05R\x11customStatusEmoji\x88\x01\x01\x12\x1f\n" +
"\btimezone\x18\t \x01(\tH\x06R\btimezone\x88\x01\x01\x12\x1f\n" +
"\blanguage\x18\n" +
" \x01(\tH\aR\blanguage\x88\x01\x01\x12 \n" +
"\tis_public\x18\v \x01(\bH\bR\bisPublic\x88\x01\x01B\b\n" +
"\x06_emailB\b\n" +
"\x06_phoneB\f\n" +
"\n" +
"_full_nameB\r\n" +
"\v_avatar_urlB\x15\n" +
"\x13_custom_status_textB\x16\n" +
"\x14_custom_status_emojiB\v\n" +
"\t_timezoneB\v\n" +
"\t_languageB\f\n" +
"\n" +
"_is_public\"F\n" +
"\x10ChangeMeResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\"\x94\x06\n" +
"\x04User\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x1f\n" +
"\busername\x18\x02 \x01(\tH\x00R\busername\x88\x01\x01\x12\x19\n" +
"\x05email\x18\x03 \x01(\tH\x01R\x05email\x88\x01\x01\x12\x19\n" +
"\x05phone\x18\x04 \x01(\tH\x02R\x05phone\x88\x01\x01\x12 \n" +
"\tfull_name\x18\x05 \x01(\tH\x03R\bfullName\x88\x01\x01\x12\x17\n" +
"\ais_ldap\x18\x06 \x01(\bR\x06isLdap\x12\x1b\n" +
"\x06status\x18\a \x01(\tH\x04R\x06status\x88\x01\x01\x12\x14\n" +
"\x05roles\x18\b \x03(\tR\x05roles\x12\"\n" +
"\n" +
"avatar_url\x18\t \x01(\tH\x05R\tavatarUrl\x88\x01\x01\x12$\n" +
"\vemployee_id\x18\n" +
" \x01(\tH\x06R\n" +
"employeeId\x88\x01\x01\x12\x1f\n" +
"\bpresence\x18\v \x01(\tH\aR\bpresence\x88\x01\x01\x12$\n" +
"\vlast_active\x18\f \x01(\tH\bR\n" +
"lastActive\x88\x01\x01\x121\n" +
"\x12custom_status_text\x18\r \x01(\tH\tR\x10customStatusText\x88\x01\x01\x123\n" +
"\x13custom_status_emoji\x18\x0e \x01(\tH\n" +
"R\x11customStatusEmoji\x88\x01\x01\x12\x1f\n" +
"\btimezone\x18\x0f \x01(\tH\vR\btimezone\x88\x01\x01\x12\x1f\n" +
"\blanguage\x18\x10 \x01(\tH\fR\blanguage\x88\x01\x01\x12$\n" +
"\x0etwo_fa_enabled\x18\x11 \x01(\bR\ftwoFaEnabled\x12\x17\n" +
"\ahas_pin\x18\x12 \x01(\bR\x06hasPinB\v\n" +
"\t_usernameB\b\n" +
"\x06_emailB\b\n" +
"\x06_phoneB\f\n" +
"\n" +
"_full_nameB\t\n" +
"\a_statusB\r\n" +
"\v_avatar_urlB\x0e\n" +
"\f_employee_idB\v\n" +
"\t_presenceB\x0e\n" +
"\f_last_activeB\x15\n" +
"\x13_custom_status_textB\x16\n" +
"\x14_custom_status_emojiB\v\n" +
"\t_timezoneB\v\n" +
"\t_language2\xd4\x01\n" +
"\fUsersService\x128\n" +
"\x05GetMe\x12\x16.users.v1.GetMeRequest\x1a\x17.users.v1.GetMeResponse\x12A\n" +
"\bChangeMe\x12\x19.users.v1.ChangeMeRequest\x1a\x1a.users.v1.ChangeMeResponse\x12G\n" +
"\n" +
"CreateUser\x12\x1b.users.v1.CreateUserRequest\x1a\x1c.users.v1.CreateUserResponseB*Z(git.lendry.ru/lendry-erp/proto.git/go;pbb\x06proto3"
var (
file_users_users_proto_rawDescOnce sync.Once
file_users_users_proto_rawDescData []byte
)
func file_users_users_proto_rawDescGZIP() []byte {
file_users_users_proto_rawDescOnce.Do(func() {
file_users_users_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_users_users_proto_rawDesc), len(file_users_users_proto_rawDesc)))
})
return file_users_users_proto_rawDescData
}
var file_users_users_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_users_users_proto_goTypes = []any{
(*GetMeRequest)(nil), // 0: users.v1.GetMeRequest
(*GetMeResponse)(nil), // 1: users.v1.GetMeResponse
(*CreateUserRequest)(nil), // 2: users.v1.CreateUserRequest
(*CreateUserResponse)(nil), // 3: users.v1.CreateUserResponse
(*ChangeMeRequest)(nil), // 4: users.v1.ChangeMeRequest
(*ChangeMeResponse)(nil), // 5: users.v1.ChangeMeResponse
(*User)(nil), // 6: users.v1.User
}
var file_users_users_proto_depIdxs = []int32{
6, // 0: users.v1.GetMeResponse.user:type_name -> users.v1.User
0, // 1: users.v1.UsersService.GetMe:input_type -> users.v1.GetMeRequest
4, // 2: users.v1.UsersService.ChangeMe:input_type -> users.v1.ChangeMeRequest
2, // 3: users.v1.UsersService.CreateUser:input_type -> users.v1.CreateUserRequest
1, // 4: users.v1.UsersService.GetMe:output_type -> users.v1.GetMeResponse
5, // 5: users.v1.UsersService.ChangeMe:output_type -> users.v1.ChangeMeResponse
3, // 6: users.v1.UsersService.CreateUser:output_type -> users.v1.CreateUserResponse
4, // [4:7] is the sub-list for method output_type
1, // [1:4] is the sub-list for method input_type
1, // [1:1] is the sub-list for extension type_name
1, // [1:1] is the sub-list for extension extendee
0, // [0:1] is the sub-list for field type_name
}
func init() { file_users_users_proto_init() }
func file_users_users_proto_init() {
if File_users_users_proto != nil {
return
}
file_users_users_proto_msgTypes[4].OneofWrappers = []any{}
file_users_users_proto_msgTypes[6].OneofWrappers = []any{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: unsafe.Slice(unsafe.StringData(file_users_users_proto_rawDesc), len(file_users_users_proto_rawDesc)),
NumEnums: 0,
NumMessages: 7,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_users_users_proto_goTypes,
DependencyIndexes: file_users_users_proto_depIdxs,
MessageInfos: file_users_users_proto_msgTypes,
}.Build()
File_users_users_proto = out.File
file_users_users_proto_goTypes = nil
file_users_users_proto_depIdxs = nil
}