Files
contracts/gen/go/users/users.pb.go
2026-04-11 17:05:04 +00:00

705 lines
22 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 GetProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Берется из access токена на API шлюзе
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetProfileRequest) Reset() {
*x = GetProfileRequest{}
mi := &file_users_users_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetProfileRequest) ProtoMessage() {}
func (x *GetProfileRequest) 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 GetProfileRequest.ProtoReflect.Descriptor instead.
func (*GetProfileRequest) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{0}
}
func (x *GetProfileRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
type GetProfileResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
Phone *string `protobuf:"bytes,3,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
FullName *string `protobuf:"bytes,4,opt,name=full_name,json=fullName,proto3,oneof" json:"full_name,omitempty"`
AvatarUrl *string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
IsPublic bool `protobuf:"varint,6,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"`
Timezone string `protobuf:"bytes,7,opt,name=timezone,proto3" json:"timezone,omitempty"`
Language string `protobuf:"bytes,8,opt,name=language,proto3" json:"language,omitempty"`
CustomStatusText *string `protobuf:"bytes,9,opt,name=custom_status_text,json=customStatusText,proto3,oneof" json:"custom_status_text,omitempty"`
CustomStatusEmoji *string `protobuf:"bytes,10,opt,name=custom_status_emoji,json=customStatusEmoji,proto3,oneof" json:"custom_status_emoji,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *GetProfileResponse) Reset() {
*x = GetProfileResponse{}
mi := &file_users_users_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *GetProfileResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetProfileResponse) ProtoMessage() {}
func (x *GetProfileResponse) 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 GetProfileResponse.ProtoReflect.Descriptor instead.
func (*GetProfileResponse) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{1}
}
func (x *GetProfileResponse) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *GetProfileResponse) GetEmail() string {
if x != nil && x.Email != nil {
return *x.Email
}
return ""
}
func (x *GetProfileResponse) GetPhone() string {
if x != nil && x.Phone != nil {
return *x.Phone
}
return ""
}
func (x *GetProfileResponse) GetFullName() string {
if x != nil && x.FullName != nil {
return *x.FullName
}
return ""
}
func (x *GetProfileResponse) GetAvatarUrl() string {
if x != nil && x.AvatarUrl != nil {
return *x.AvatarUrl
}
return ""
}
func (x *GetProfileResponse) GetIsPublic() bool {
if x != nil {
return x.IsPublic
}
return false
}
func (x *GetProfileResponse) GetTimezone() string {
if x != nil {
return x.Timezone
}
return ""
}
func (x *GetProfileResponse) GetLanguage() string {
if x != nil {
return x.Language
}
return ""
}
func (x *GetProfileResponse) GetCustomStatusText() string {
if x != nil && x.CustomStatusText != nil {
return *x.CustomStatusText
}
return ""
}
func (x *GetProfileResponse) GetCustomStatusEmoji() string {
if x != nil && x.CustomStatusEmoji != nil {
return *x.CustomStatusEmoji
}
return ""
}
type UpdateProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
Phone *string `protobuf:"bytes,3,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
FullName *string `protobuf:"bytes,4,opt,name=full_name,json=fullName,proto3,oneof" json:"full_name,omitempty"`
AvatarUrl *string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
CustomStatusText *string `protobuf:"bytes,6,opt,name=custom_status_text,json=customStatusText,proto3,oneof" json:"custom_status_text,omitempty"`
CustomStatusEmoji *string `protobuf:"bytes,7,opt,name=custom_status_emoji,json=customStatusEmoji,proto3,oneof" json:"custom_status_emoji,omitempty"`
Timezone *string `protobuf:"bytes,8,opt,name=timezone,proto3,oneof" json:"timezone,omitempty"`
Language *string `protobuf:"bytes,9,opt,name=language,proto3,oneof" json:"language,omitempty"`
IsPublic *bool `protobuf:"varint,10,opt,name=is_public,json=isPublic,proto3,oneof" json:"is_public,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *UpdateProfileRequest) Reset() {
*x = UpdateProfileRequest{}
mi := &file_users_users_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateProfileRequest) ProtoMessage() {}
func (x *UpdateProfileRequest) 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 UpdateProfileRequest.ProtoReflect.Descriptor instead.
func (*UpdateProfileRequest) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{2}
}
func (x *UpdateProfileRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *UpdateProfileRequest) GetEmail() string {
if x != nil && x.Email != nil {
return *x.Email
}
return ""
}
func (x *UpdateProfileRequest) GetPhone() string {
if x != nil && x.Phone != nil {
return *x.Phone
}
return ""
}
func (x *UpdateProfileRequest) GetFullName() string {
if x != nil && x.FullName != nil {
return *x.FullName
}
return ""
}
func (x *UpdateProfileRequest) GetAvatarUrl() string {
if x != nil && x.AvatarUrl != nil {
return *x.AvatarUrl
}
return ""
}
func (x *UpdateProfileRequest) GetCustomStatusText() string {
if x != nil && x.CustomStatusText != nil {
return *x.CustomStatusText
}
return ""
}
func (x *UpdateProfileRequest) GetCustomStatusEmoji() string {
if x != nil && x.CustomStatusEmoji != nil {
return *x.CustomStatusEmoji
}
return ""
}
func (x *UpdateProfileRequest) GetTimezone() string {
if x != nil && x.Timezone != nil {
return *x.Timezone
}
return ""
}
func (x *UpdateProfileRequest) GetLanguage() string {
if x != nil && x.Language != nil {
return *x.Language
}
return ""
}
func (x *UpdateProfileRequest) GetIsPublic() bool {
if x != nil && x.IsPublic != nil {
return *x.IsPublic
}
return false
}
type UpdateProfileResponse 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 *UpdateProfileResponse) Reset() {
*x = UpdateProfileResponse{}
mi := &file_users_users_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *UpdateProfileResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateProfileResponse) ProtoMessage() {}
func (x *UpdateProfileResponse) 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 UpdateProfileResponse.ProtoReflect.Descriptor instead.
func (*UpdateProfileResponse) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{3}
}
func (x *UpdateProfileResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *UpdateProfileResponse) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
// Вызывается другими сервисами при создании аккаунта
type CreateProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // Обязательно передаем ID созданного аккаунта!
Email *string `protobuf:"bytes,2,opt,name=email,proto3,oneof" json:"email,omitempty"`
FullName *string `protobuf:"bytes,3,opt,name=full_name,json=fullName,proto3,oneof" json:"full_name,omitempty"`
Phone *string `protobuf:"bytes,4,opt,name=phone,proto3,oneof" json:"phone,omitempty"`
AvatarUrl *string `protobuf:"bytes,5,opt,name=avatar_url,json=avatarUrl,proto3,oneof" json:"avatar_url,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateProfileRequest) Reset() {
*x = CreateProfileRequest{}
mi := &file_users_users_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateProfileRequest) ProtoMessage() {}
func (x *CreateProfileRequest) 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 CreateProfileRequest.ProtoReflect.Descriptor instead.
func (*CreateProfileRequest) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{4}
}
func (x *CreateProfileRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
func (x *CreateProfileRequest) GetEmail() string {
if x != nil && x.Email != nil {
return *x.Email
}
return ""
}
func (x *CreateProfileRequest) GetFullName() string {
if x != nil && x.FullName != nil {
return *x.FullName
}
return ""
}
func (x *CreateProfileRequest) GetPhone() string {
if x != nil && x.Phone != nil {
return *x.Phone
}
return ""
}
func (x *CreateProfileRequest) GetAvatarUrl() string {
if x != nil && x.AvatarUrl != nil {
return *x.AvatarUrl
}
return ""
}
type CreateProfileResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *CreateProfileResponse) Reset() {
*x = CreateProfileResponse{}
mi := &file_users_users_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *CreateProfileResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CreateProfileResponse) ProtoMessage() {}
func (x *CreateProfileResponse) 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 CreateProfileResponse.ProtoReflect.Descriptor instead.
func (*CreateProfileResponse) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{5}
}
func (x *CreateProfileResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
type SoftDeleteProfileRequest struct {
state protoimpl.MessageState `protogen:"open.v1"`
UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SoftDeleteProfileRequest) Reset() {
*x = SoftDeleteProfileRequest{}
mi := &file_users_users_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SoftDeleteProfileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SoftDeleteProfileRequest) ProtoMessage() {}
func (x *SoftDeleteProfileRequest) 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 SoftDeleteProfileRequest.ProtoReflect.Descriptor instead.
func (*SoftDeleteProfileRequest) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{6}
}
func (x *SoftDeleteProfileRequest) GetUserId() string {
if x != nil {
return x.UserId
}
return ""
}
type SoftDeleteProfileResponse struct {
state protoimpl.MessageState `protogen:"open.v1"`
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
unknownFields protoimpl.UnknownFields
sizeCache protoimpl.SizeCache
}
func (x *SoftDeleteProfileResponse) Reset() {
*x = SoftDeleteProfileResponse{}
mi := &file_users_users_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
func (x *SoftDeleteProfileResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SoftDeleteProfileResponse) ProtoMessage() {}
func (x *SoftDeleteProfileResponse) ProtoReflect() protoreflect.Message {
mi := &file_users_users_proto_msgTypes[7]
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 SoftDeleteProfileResponse.ProtoReflect.Descriptor instead.
func (*SoftDeleteProfileResponse) Descriptor() ([]byte, []int) {
return file_users_users_proto_rawDescGZIP(), []int{7}
}
func (x *SoftDeleteProfileResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
var File_users_users_proto protoreflect.FileDescriptor
const file_users_users_proto_rawDesc = "" +
"\n" +
"\x11users/users.proto\x12\busers.v1\",\n" +
"\x11GetProfileRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\"\xbd\x03\n" +
"\x12GetProfileResponse\x12\x0e\n" +
"\x02id\x18\x01 \x01(\tR\x02id\x12\x19\n" +
"\x05email\x18\x02 \x01(\tH\x00R\x05email\x88\x01\x01\x12\x19\n" +
"\x05phone\x18\x03 \x01(\tH\x01R\x05phone\x88\x01\x01\x12 \n" +
"\tfull_name\x18\x04 \x01(\tH\x02R\bfullName\x88\x01\x01\x12\"\n" +
"\n" +
"avatar_url\x18\x05 \x01(\tH\x03R\tavatarUrl\x88\x01\x01\x12\x1b\n" +
"\tis_public\x18\x06 \x01(\bR\bisPublic\x12\x1a\n" +
"\btimezone\x18\a \x01(\tR\btimezone\x12\x1a\n" +
"\blanguage\x18\b \x01(\tR\blanguage\x121\n" +
"\x12custom_status_text\x18\t \x01(\tH\x04R\x10customStatusText\x88\x01\x01\x123\n" +
"\x13custom_status_emoji\x18\n" +
" \x01(\tH\x05R\x11customStatusEmoji\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_emoji\"\xff\x03\n" +
"\x14UpdateProfileRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x19\n" +
"\x05email\x18\x02 \x01(\tH\x00R\x05email\x88\x01\x01\x12\x19\n" +
"\x05phone\x18\x03 \x01(\tH\x01R\x05phone\x88\x01\x01\x12 \n" +
"\tfull_name\x18\x04 \x01(\tH\x02R\bfullName\x88\x01\x01\x12\"\n" +
"\n" +
"avatar_url\x18\x05 \x01(\tH\x03R\tavatarUrl\x88\x01\x01\x121\n" +
"\x12custom_status_text\x18\x06 \x01(\tH\x04R\x10customStatusText\x88\x01\x01\x123\n" +
"\x13custom_status_emoji\x18\a \x01(\tH\x05R\x11customStatusEmoji\x88\x01\x01\x12\x1f\n" +
"\btimezone\x18\b \x01(\tH\x06R\btimezone\x88\x01\x01\x12\x1f\n" +
"\blanguage\x18\t \x01(\tH\aR\blanguage\x88\x01\x01\x12 \n" +
"\tis_public\x18\n" +
" \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\"K\n" +
"\x15UpdateProfileResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\x12\x18\n" +
"\amessage\x18\x02 \x01(\tR\amessage\"\xdc\x01\n" +
"\x14CreateProfileRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\x12\x19\n" +
"\x05email\x18\x02 \x01(\tH\x00R\x05email\x88\x01\x01\x12 \n" +
"\tfull_name\x18\x03 \x01(\tH\x01R\bfullName\x88\x01\x01\x12\x19\n" +
"\x05phone\x18\x04 \x01(\tH\x02R\x05phone\x88\x01\x01\x12\"\n" +
"\n" +
"avatar_url\x18\x05 \x01(\tH\x03R\tavatarUrl\x88\x01\x01B\b\n" +
"\x06_emailB\f\n" +
"\n" +
"_full_nameB\b\n" +
"\x06_phoneB\r\n" +
"\v_avatar_url\"1\n" +
"\x15CreateProfileResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess\"3\n" +
"\x18SoftDeleteProfileRequest\x12\x17\n" +
"\auser_id\x18\x01 \x01(\tR\x06userId\"5\n" +
"\x19SoftDeleteProfileResponse\x12\x18\n" +
"\asuccess\x18\x01 \x01(\bR\asuccess2\xd9\x02\n" +
"\fUsersService\x12G\n" +
"\n" +
"GetProfile\x12\x1b.users.v1.GetProfileRequest\x1a\x1c.users.v1.GetProfileResponse\x12P\n" +
"\rUpdateProfile\x12\x1e.users.v1.UpdateProfileRequest\x1a\x1f.users.v1.UpdateProfileResponse\x12P\n" +
"\rCreateProfile\x12\x1e.users.v1.CreateProfileRequest\x1a\x1f.users.v1.CreateProfileResponse\x12\\\n" +
"\x11SoftDeleteProfile\x12\".users.v1.SoftDeleteProfileRequest\x1a#.users.v1.SoftDeleteProfileResponseB*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, 8)
var file_users_users_proto_goTypes = []any{
(*GetProfileRequest)(nil), // 0: users.v1.GetProfileRequest
(*GetProfileResponse)(nil), // 1: users.v1.GetProfileResponse
(*UpdateProfileRequest)(nil), // 2: users.v1.UpdateProfileRequest
(*UpdateProfileResponse)(nil), // 3: users.v1.UpdateProfileResponse
(*CreateProfileRequest)(nil), // 4: users.v1.CreateProfileRequest
(*CreateProfileResponse)(nil), // 5: users.v1.CreateProfileResponse
(*SoftDeleteProfileRequest)(nil), // 6: users.v1.SoftDeleteProfileRequest
(*SoftDeleteProfileResponse)(nil), // 7: users.v1.SoftDeleteProfileResponse
}
var file_users_users_proto_depIdxs = []int32{
0, // 0: users.v1.UsersService.GetProfile:input_type -> users.v1.GetProfileRequest
2, // 1: users.v1.UsersService.UpdateProfile:input_type -> users.v1.UpdateProfileRequest
4, // 2: users.v1.UsersService.CreateProfile:input_type -> users.v1.CreateProfileRequest
6, // 3: users.v1.UsersService.SoftDeleteProfile:input_type -> users.v1.SoftDeleteProfileRequest
1, // 4: users.v1.UsersService.GetProfile:output_type -> users.v1.GetProfileResponse
3, // 5: users.v1.UsersService.UpdateProfile:output_type -> users.v1.UpdateProfileResponse
5, // 6: users.v1.UsersService.CreateProfile:output_type -> users.v1.CreateProfileResponse
7, // 7: users.v1.UsersService.SoftDeleteProfile:output_type -> users.v1.SoftDeleteProfileResponse
4, // [4:8] is the sub-list for method output_type
0, // [0:4] is the sub-list for method input_type
0, // [0:0] is the sub-list for extension type_name
0, // [0:0] is the sub-list for extension extendee
0, // [0:0] 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[1].OneofWrappers = []any{}
file_users_users_proto_msgTypes[2].OneofWrappers = []any{}
file_users_users_proto_msgTypes[4].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: 8,
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
}