chore: auto-generate protobuf files [skip ci]
This commit is contained in:
@@ -470,6 +470,94 @@ func (x *CreateProfileResponse) GetSuccess() bool {
|
||||
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 = "" +
|
||||
@@ -537,12 +625,17 @@ const file_users_users_proto_rawDesc = "" +
|
||||
"\x06_phoneB\r\n" +
|
||||
"\v_avatar_url\"1\n" +
|
||||
"\x15CreateProfileResponse\x12\x18\n" +
|
||||
"\asuccess\x18\x01 \x01(\bR\asuccess2\xfb\x01\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.CreateProfileResponseB*Z(git.lendry.ru/lendry-erp/proto.git/go;pbb\x06proto3"
|
||||
"\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
|
||||
@@ -556,24 +649,28 @@ func file_users_users_proto_rawDescGZIP() []byte {
|
||||
return file_users_users_proto_rawDescData
|
||||
}
|
||||
|
||||
var file_users_users_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
|
||||
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
|
||||
(*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
|
||||
1, // 3: users.v1.UsersService.GetProfile:output_type -> users.v1.GetProfileResponse
|
||||
3, // 4: users.v1.UsersService.UpdateProfile:output_type -> users.v1.UpdateProfileResponse
|
||||
5, // 5: users.v1.UsersService.CreateProfile:output_type -> users.v1.CreateProfileResponse
|
||||
3, // [3:6] is the sub-list for method output_type
|
||||
0, // [0:3] is the sub-list for method input_type
|
||||
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
|
||||
@@ -593,7 +690,7 @@ func file_users_users_proto_init() {
|
||||
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
||||
RawDescriptor: unsafe.Slice(unsafe.StringData(file_users_users_proto_rawDesc), len(file_users_users_proto_rawDesc)),
|
||||
NumEnums: 0,
|
||||
NumMessages: 6,
|
||||
NumMessages: 8,
|
||||
NumExtensions: 0,
|
||||
NumServices: 1,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user