user

package
v0.6.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2024 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	User_SignUp_FullMethodName                      = "/pixel_plaza.User/SignUp"
	User_UsernameExists_FullMethodName              = "/pixel_plaza.User/UsernameExists"
	User_GetUsernameByUserId_FullMethodName         = "/pixel_plaza.User/GetUsernameByUserId"
	User_GetUserIdByUsername_FullMethodName         = "/pixel_plaza.User/GetUserIdByUsername"
	User_IsPasswordCorrectByUsername_FullMethodName = "/pixel_plaza.User/IsPasswordCorrectByUsername"
	User_IsPasswordCorrectByUserId_FullMethodName   = "/pixel_plaza.User/IsPasswordCorrectByUserId"
	User_UpdateUser_FullMethodName                  = "/pixel_plaza.User/UpdateUser"
	User_SetProfilePicture_FullMethodName           = "/pixel_plaza.User/SetProfilePicture"
	User_GetProfile_FullMethodName                  = "/pixel_plaza.User/GetProfile"
	User_GetMyProfile_FullMethodName                = "/pixel_plaza.User/GetMyProfile"
	User_ChangeUsername_FullMethodName              = "/pixel_plaza.User/ChangeUsername"
	User_ChangePassword_FullMethodName              = "/pixel_plaza.User/ChangePassword"
	User_AddEmail_FullMethodName                    = "/pixel_plaza.User/AddEmail"
	User_DeleteEmail_FullMethodName                 = "/pixel_plaza.User/DeleteEmail"
	User_SendVerificationEmail_FullMethodName       = "/pixel_plaza.User/SendVerificationEmail"
	User_VerifyEmail_FullMethodName                 = "/pixel_plaza.User/VerifyEmail"
	User_GetPrimaryEmail_FullMethodName             = "/pixel_plaza.User/GetPrimaryEmail"
	User_GetActiveEmails_FullMethodName             = "/pixel_plaza.User/GetActiveEmails"
	User_ChangePrimaryEmail_FullMethodName          = "/pixel_plaza.User/ChangePrimaryEmail"
	User_GetPhoneNumber_FullMethodName              = "/pixel_plaza.User/GetPhoneNumber"
	User_ChangePhoneNumber_FullMethodName           = "/pixel_plaza.User/ChangePhoneNumber"
	User_SendVerificationSMS_FullMethodName         = "/pixel_plaza.User/SendVerificationSMS"
	User_VerifyPhoneNumber_FullMethodName           = "/pixel_plaza.User/VerifyPhoneNumber"
	User_ForgotPassword_FullMethodName              = "/pixel_plaza.User/ForgotPassword"
	User_ResetPassword_FullMethodName               = "/pixel_plaza.User/ResetPassword"
	User_DeleteUser_FullMethodName                  = "/pixel_plaza.User/DeleteUser"
)

Variables

View Source
var File_proto_pixel_plaza_user_proto protoreflect.FileDescriptor
View Source
var User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "pixel_plaza.User",
	HandlerType: (*UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SignUp",
			Handler:    _User_SignUp_Handler,
		},
		{
			MethodName: "UsernameExists",
			Handler:    _User_UsernameExists_Handler,
		},
		{
			MethodName: "GetUsernameByUserId",
			Handler:    _User_GetUsernameByUserId_Handler,
		},
		{
			MethodName: "GetUserIdByUsername",
			Handler:    _User_GetUserIdByUsername_Handler,
		},
		{
			MethodName: "IsPasswordCorrectByUsername",
			Handler:    _User_IsPasswordCorrectByUsername_Handler,
		},
		{
			MethodName: "IsPasswordCorrectByUserId",
			Handler:    _User_IsPasswordCorrectByUserId_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _User_UpdateUser_Handler,
		},
		{
			MethodName: "SetProfilePicture",
			Handler:    _User_SetProfilePicture_Handler,
		},
		{
			MethodName: "GetProfile",
			Handler:    _User_GetProfile_Handler,
		},
		{
			MethodName: "GetMyProfile",
			Handler:    _User_GetMyProfile_Handler,
		},
		{
			MethodName: "ChangeUsername",
			Handler:    _User_ChangeUsername_Handler,
		},
		{
			MethodName: "ChangePassword",
			Handler:    _User_ChangePassword_Handler,
		},
		{
			MethodName: "AddEmail",
			Handler:    _User_AddEmail_Handler,
		},
		{
			MethodName: "DeleteEmail",
			Handler:    _User_DeleteEmail_Handler,
		},
		{
			MethodName: "SendVerificationEmail",
			Handler:    _User_SendVerificationEmail_Handler,
		},
		{
			MethodName: "VerifyEmail",
			Handler:    _User_VerifyEmail_Handler,
		},
		{
			MethodName: "GetPrimaryEmail",
			Handler:    _User_GetPrimaryEmail_Handler,
		},
		{
			MethodName: "GetActiveEmails",
			Handler:    _User_GetActiveEmails_Handler,
		},
		{
			MethodName: "ChangePrimaryEmail",
			Handler:    _User_ChangePrimaryEmail_Handler,
		},
		{
			MethodName: "GetPhoneNumber",
			Handler:    _User_GetPhoneNumber_Handler,
		},
		{
			MethodName: "ChangePhoneNumber",
			Handler:    _User_ChangePhoneNumber_Handler,
		},
		{
			MethodName: "SendVerificationSMS",
			Handler:    _User_SendVerificationSMS_Handler,
		},
		{
			MethodName: "VerifyPhoneNumber",
			Handler:    _User_VerifyPhoneNumber_Handler,
		},
		{
			MethodName: "ForgotPassword",
			Handler:    _User_ForgotPassword_Handler,
		},
		{
			MethodName: "ResetPassword",
			Handler:    _User_ResetPassword_Handler,
		},
		{
			MethodName: "DeleteUser",
			Handler:    _User_DeleteUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "proto/pixel_plaza/user.proto",
}

User_ServiceDesc is the grpc.ServiceDesc for User service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterUserServer

func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)

Types

type AddEmailRequest

type AddEmailRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*AddEmailRequest) Descriptor deprecated

func (*AddEmailRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddEmailRequest.ProtoReflect.Descriptor instead.

func (*AddEmailRequest) GetEmail

func (x *AddEmailRequest) GetEmail() string

func (*AddEmailRequest) ProtoMessage

func (*AddEmailRequest) ProtoMessage()

func (*AddEmailRequest) ProtoReflect

func (x *AddEmailRequest) ProtoReflect() protoreflect.Message

func (*AddEmailRequest) Reset

func (x *AddEmailRequest) Reset()

func (*AddEmailRequest) String

func (x *AddEmailRequest) String() string

type AddEmailResponse

type AddEmailResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*AddEmailResponse) Descriptor deprecated

func (*AddEmailResponse) Descriptor() ([]byte, []int)

Deprecated: Use AddEmailResponse.ProtoReflect.Descriptor instead.

func (*AddEmailResponse) GetMessage

func (x *AddEmailResponse) GetMessage() string

func (*AddEmailResponse) ProtoMessage

func (*AddEmailResponse) ProtoMessage()

func (*AddEmailResponse) ProtoReflect

func (x *AddEmailResponse) ProtoReflect() protoreflect.Message

func (*AddEmailResponse) Reset

func (x *AddEmailResponse) Reset()

func (*AddEmailResponse) String

func (x *AddEmailResponse) String() string

type ChangePasswordRequest

type ChangePasswordRequest struct {
	OldPassword string `protobuf:"bytes,1,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`
	NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePasswordRequest) Descriptor deprecated

func (*ChangePasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChangePasswordRequest.ProtoReflect.Descriptor instead.

func (*ChangePasswordRequest) GetNewPassword

func (x *ChangePasswordRequest) GetNewPassword() string

func (*ChangePasswordRequest) GetOldPassword

func (x *ChangePasswordRequest) GetOldPassword() string

func (*ChangePasswordRequest) ProtoMessage

func (*ChangePasswordRequest) ProtoMessage()

func (*ChangePasswordRequest) ProtoReflect

func (x *ChangePasswordRequest) ProtoReflect() protoreflect.Message

func (*ChangePasswordRequest) Reset

func (x *ChangePasswordRequest) Reset()

func (*ChangePasswordRequest) String

func (x *ChangePasswordRequest) String() string

type ChangePasswordResponse

type ChangePasswordResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePasswordResponse) Descriptor deprecated

func (*ChangePasswordResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChangePasswordResponse.ProtoReflect.Descriptor instead.

func (*ChangePasswordResponse) GetMessage

func (x *ChangePasswordResponse) GetMessage() string

func (*ChangePasswordResponse) ProtoMessage

func (*ChangePasswordResponse) ProtoMessage()

func (*ChangePasswordResponse) ProtoReflect

func (x *ChangePasswordResponse) ProtoReflect() protoreflect.Message

func (*ChangePasswordResponse) Reset

func (x *ChangePasswordResponse) Reset()

func (*ChangePasswordResponse) String

func (x *ChangePasswordResponse) String() string

type ChangePhoneNumberRequest

type ChangePhoneNumberRequest struct {
	PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePhoneNumberRequest) Descriptor deprecated

func (*ChangePhoneNumberRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChangePhoneNumberRequest.ProtoReflect.Descriptor instead.

func (*ChangePhoneNumberRequest) GetPhoneNumber

func (x *ChangePhoneNumberRequest) GetPhoneNumber() string

func (*ChangePhoneNumberRequest) ProtoMessage

func (*ChangePhoneNumberRequest) ProtoMessage()

func (*ChangePhoneNumberRequest) ProtoReflect

func (x *ChangePhoneNumberRequest) ProtoReflect() protoreflect.Message

func (*ChangePhoneNumberRequest) Reset

func (x *ChangePhoneNumberRequest) Reset()

func (*ChangePhoneNumberRequest) String

func (x *ChangePhoneNumberRequest) String() string

type ChangePhoneNumberResponse

type ChangePhoneNumberResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePhoneNumberResponse) Descriptor deprecated

func (*ChangePhoneNumberResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChangePhoneNumberResponse.ProtoReflect.Descriptor instead.

func (*ChangePhoneNumberResponse) GetMessage

func (x *ChangePhoneNumberResponse) GetMessage() string

func (*ChangePhoneNumberResponse) ProtoMessage

func (*ChangePhoneNumberResponse) ProtoMessage()

func (*ChangePhoneNumberResponse) ProtoReflect

func (*ChangePhoneNumberResponse) Reset

func (x *ChangePhoneNumberResponse) Reset()

func (*ChangePhoneNumberResponse) String

func (x *ChangePhoneNumberResponse) String() string

type ChangePrimaryEmailRequest

type ChangePrimaryEmailRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePrimaryEmailRequest) Descriptor deprecated

func (*ChangePrimaryEmailRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChangePrimaryEmailRequest.ProtoReflect.Descriptor instead.

func (*ChangePrimaryEmailRequest) GetEmail

func (x *ChangePrimaryEmailRequest) GetEmail() string

func (*ChangePrimaryEmailRequest) ProtoMessage

func (*ChangePrimaryEmailRequest) ProtoMessage()

func (*ChangePrimaryEmailRequest) ProtoReflect

func (*ChangePrimaryEmailRequest) Reset

func (x *ChangePrimaryEmailRequest) Reset()

func (*ChangePrimaryEmailRequest) String

func (x *ChangePrimaryEmailRequest) String() string

type ChangePrimaryEmailResponse

type ChangePrimaryEmailResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangePrimaryEmailResponse) Descriptor deprecated

func (*ChangePrimaryEmailResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChangePrimaryEmailResponse.ProtoReflect.Descriptor instead.

func (*ChangePrimaryEmailResponse) GetMessage

func (x *ChangePrimaryEmailResponse) GetMessage() string

func (*ChangePrimaryEmailResponse) ProtoMessage

func (*ChangePrimaryEmailResponse) ProtoMessage()

func (*ChangePrimaryEmailResponse) ProtoReflect

func (*ChangePrimaryEmailResponse) Reset

func (x *ChangePrimaryEmailResponse) Reset()

func (*ChangePrimaryEmailResponse) String

func (x *ChangePrimaryEmailResponse) String() string

type ChangeUsernameRequest

type ChangeUsernameRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeUsernameRequest) Descriptor deprecated

func (*ChangeUsernameRequest) Descriptor() ([]byte, []int)

Deprecated: Use ChangeUsernameRequest.ProtoReflect.Descriptor instead.

func (*ChangeUsernameRequest) GetUsername

func (x *ChangeUsernameRequest) GetUsername() string

func (*ChangeUsernameRequest) ProtoMessage

func (*ChangeUsernameRequest) ProtoMessage()

func (*ChangeUsernameRequest) ProtoReflect

func (x *ChangeUsernameRequest) ProtoReflect() protoreflect.Message

func (*ChangeUsernameRequest) Reset

func (x *ChangeUsernameRequest) Reset()

func (*ChangeUsernameRequest) String

func (x *ChangeUsernameRequest) String() string

type ChangeUsernameResponse

type ChangeUsernameResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ChangeUsernameResponse) Descriptor deprecated

func (*ChangeUsernameResponse) Descriptor() ([]byte, []int)

Deprecated: Use ChangeUsernameResponse.ProtoReflect.Descriptor instead.

func (*ChangeUsernameResponse) GetMessage

func (x *ChangeUsernameResponse) GetMessage() string

func (*ChangeUsernameResponse) ProtoMessage

func (*ChangeUsernameResponse) ProtoMessage()

func (*ChangeUsernameResponse) ProtoReflect

func (x *ChangeUsernameResponse) ProtoReflect() protoreflect.Message

func (*ChangeUsernameResponse) Reset

func (x *ChangeUsernameResponse) Reset()

func (*ChangeUsernameResponse) String

func (x *ChangeUsernameResponse) String() string

type DeleteEmailRequest

type DeleteEmailRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEmailRequest) Descriptor deprecated

func (*DeleteEmailRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteEmailRequest.ProtoReflect.Descriptor instead.

func (*DeleteEmailRequest) GetEmail

func (x *DeleteEmailRequest) GetEmail() string

func (*DeleteEmailRequest) ProtoMessage

func (*DeleteEmailRequest) ProtoMessage()

func (*DeleteEmailRequest) ProtoReflect

func (x *DeleteEmailRequest) ProtoReflect() protoreflect.Message

func (*DeleteEmailRequest) Reset

func (x *DeleteEmailRequest) Reset()

func (*DeleteEmailRequest) String

func (x *DeleteEmailRequest) String() string

type DeleteEmailResponse

type DeleteEmailResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteEmailResponse) Descriptor deprecated

func (*DeleteEmailResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteEmailResponse.ProtoReflect.Descriptor instead.

func (*DeleteEmailResponse) GetMessage

func (x *DeleteEmailResponse) GetMessage() string

func (*DeleteEmailResponse) ProtoMessage

func (*DeleteEmailResponse) ProtoMessage()

func (*DeleteEmailResponse) ProtoReflect

func (x *DeleteEmailResponse) ProtoReflect() protoreflect.Message

func (*DeleteEmailResponse) Reset

func (x *DeleteEmailResponse) Reset()

func (*DeleteEmailResponse) String

func (x *DeleteEmailResponse) String() string

type DeleteUserRequest

type DeleteUserRequest struct {
	Password string `protobuf:"bytes,1,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserRequest) Descriptor deprecated

func (*DeleteUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserRequest) GetPassword

func (x *DeleteUserRequest) GetPassword() string

func (*DeleteUserRequest) ProtoMessage

func (*DeleteUserRequest) ProtoMessage()

func (*DeleteUserRequest) ProtoReflect

func (x *DeleteUserRequest) ProtoReflect() protoreflect.Message

func (*DeleteUserRequest) Reset

func (x *DeleteUserRequest) Reset()

func (*DeleteUserRequest) String

func (x *DeleteUserRequest) String() string

type DeleteUserResponse

type DeleteUserResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUserResponse) Descriptor deprecated

func (*DeleteUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserResponse.ProtoReflect.Descriptor instead.

func (*DeleteUserResponse) GetMessage

func (x *DeleteUserResponse) GetMessage() string

func (*DeleteUserResponse) ProtoMessage

func (*DeleteUserResponse) ProtoMessage()

func (*DeleteUserResponse) ProtoReflect

func (x *DeleteUserResponse) ProtoReflect() protoreflect.Message

func (*DeleteUserResponse) Reset

func (x *DeleteUserResponse) Reset()

func (*DeleteUserResponse) String

func (x *DeleteUserResponse) String() string

type ForgotPasswordRequest

type ForgotPasswordRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*ForgotPasswordRequest) Descriptor deprecated

func (*ForgotPasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use ForgotPasswordRequest.ProtoReflect.Descriptor instead.

func (*ForgotPasswordRequest) GetUsername

func (x *ForgotPasswordRequest) GetUsername() string

func (*ForgotPasswordRequest) ProtoMessage

func (*ForgotPasswordRequest) ProtoMessage()

func (*ForgotPasswordRequest) ProtoReflect

func (x *ForgotPasswordRequest) ProtoReflect() protoreflect.Message

func (*ForgotPasswordRequest) Reset

func (x *ForgotPasswordRequest) Reset()

func (*ForgotPasswordRequest) String

func (x *ForgotPasswordRequest) String() string

type ForgotPasswordResponse

type ForgotPasswordResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ForgotPasswordResponse) Descriptor deprecated

func (*ForgotPasswordResponse) Descriptor() ([]byte, []int)

Deprecated: Use ForgotPasswordResponse.ProtoReflect.Descriptor instead.

func (*ForgotPasswordResponse) GetMessage

func (x *ForgotPasswordResponse) GetMessage() string

func (*ForgotPasswordResponse) ProtoMessage

func (*ForgotPasswordResponse) ProtoMessage()

func (*ForgotPasswordResponse) ProtoReflect

func (x *ForgotPasswordResponse) ProtoReflect() protoreflect.Message

func (*ForgotPasswordResponse) Reset

func (x *ForgotPasswordResponse) Reset()

func (*ForgotPasswordResponse) String

func (x *ForgotPasswordResponse) String() string

type GetActiveEmailsResponse

type GetActiveEmailsResponse struct {
	Message string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Emails  []string `protobuf:"bytes,2,rep,name=emails,proto3" json:"emails,omitempty"`
	// contains filtered or unexported fields
}

func (*GetActiveEmailsResponse) Descriptor deprecated

func (*GetActiveEmailsResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetActiveEmailsResponse.ProtoReflect.Descriptor instead.

func (*GetActiveEmailsResponse) GetEmails

func (x *GetActiveEmailsResponse) GetEmails() []string

func (*GetActiveEmailsResponse) GetMessage

func (x *GetActiveEmailsResponse) GetMessage() string

func (*GetActiveEmailsResponse) ProtoMessage

func (*GetActiveEmailsResponse) ProtoMessage()

func (*GetActiveEmailsResponse) ProtoReflect

func (x *GetActiveEmailsResponse) ProtoReflect() protoreflect.Message

func (*GetActiveEmailsResponse) Reset

func (x *GetActiveEmailsResponse) Reset()

func (*GetActiveEmailsResponse) String

func (x *GetActiveEmailsResponse) String() string

type GetMyProfileResponse

type GetMyProfileResponse struct {
	Message        string                 `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Username       string                 `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	FirstName      string                 `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName       string                 `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Emails         []string               `protobuf:"bytes,5,rep,name=emails,proto3" json:"emails,omitempty"`
	PhoneNumber    string                 `protobuf:"bytes,6,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	Birthdate      *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=birthdate,proto3" json:"birthdate,omitempty"`
	JoinedAt       *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
	ProfilePicture *string                `protobuf:"bytes,9,opt,name=profile_picture,json=profilePicture,proto3,oneof" json:"profile_picture,omitempty"`
	// contains filtered or unexported fields
}

func (*GetMyProfileResponse) Descriptor deprecated

func (*GetMyProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetMyProfileResponse.ProtoReflect.Descriptor instead.

func (*GetMyProfileResponse) GetBirthdate

func (x *GetMyProfileResponse) GetBirthdate() *timestamppb.Timestamp

func (*GetMyProfileResponse) GetEmails

func (x *GetMyProfileResponse) GetEmails() []string

func (*GetMyProfileResponse) GetFirstName

func (x *GetMyProfileResponse) GetFirstName() string

func (*GetMyProfileResponse) GetJoinedAt

func (x *GetMyProfileResponse) GetJoinedAt() *timestamppb.Timestamp

func (*GetMyProfileResponse) GetLastName

func (x *GetMyProfileResponse) GetLastName() string

func (*GetMyProfileResponse) GetMessage

func (x *GetMyProfileResponse) GetMessage() string

func (*GetMyProfileResponse) GetPhoneNumber

func (x *GetMyProfileResponse) GetPhoneNumber() string

func (*GetMyProfileResponse) GetProfilePicture added in v0.5.0

func (x *GetMyProfileResponse) GetProfilePicture() string

func (*GetMyProfileResponse) GetUsername

func (x *GetMyProfileResponse) GetUsername() string

func (*GetMyProfileResponse) ProtoMessage

func (*GetMyProfileResponse) ProtoMessage()

func (*GetMyProfileResponse) ProtoReflect

func (x *GetMyProfileResponse) ProtoReflect() protoreflect.Message

func (*GetMyProfileResponse) Reset

func (x *GetMyProfileResponse) Reset()

func (*GetMyProfileResponse) String

func (x *GetMyProfileResponse) String() string

type GetPhoneNumberResponse

type GetPhoneNumberResponse struct {
	Message     string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	PhoneNumber string `protobuf:"bytes,2,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPhoneNumberResponse) Descriptor deprecated

func (*GetPhoneNumberResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPhoneNumberResponse.ProtoReflect.Descriptor instead.

func (*GetPhoneNumberResponse) GetMessage

func (x *GetPhoneNumberResponse) GetMessage() string

func (*GetPhoneNumberResponse) GetPhoneNumber

func (x *GetPhoneNumberResponse) GetPhoneNumber() string

func (*GetPhoneNumberResponse) ProtoMessage

func (*GetPhoneNumberResponse) ProtoMessage()

func (*GetPhoneNumberResponse) ProtoReflect

func (x *GetPhoneNumberResponse) ProtoReflect() protoreflect.Message

func (*GetPhoneNumberResponse) Reset

func (x *GetPhoneNumberResponse) Reset()

func (*GetPhoneNumberResponse) String

func (x *GetPhoneNumberResponse) String() string

type GetPrimaryEmailResponse

type GetPrimaryEmailResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Email   string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*GetPrimaryEmailResponse) Descriptor deprecated

func (*GetPrimaryEmailResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetPrimaryEmailResponse.ProtoReflect.Descriptor instead.

func (*GetPrimaryEmailResponse) GetEmail

func (x *GetPrimaryEmailResponse) GetEmail() string

func (*GetPrimaryEmailResponse) GetMessage

func (x *GetPrimaryEmailResponse) GetMessage() string

func (*GetPrimaryEmailResponse) ProtoMessage

func (*GetPrimaryEmailResponse) ProtoMessage()

func (*GetPrimaryEmailResponse) ProtoReflect

func (x *GetPrimaryEmailResponse) ProtoReflect() protoreflect.Message

func (*GetPrimaryEmailResponse) Reset

func (x *GetPrimaryEmailResponse) Reset()

func (*GetPrimaryEmailResponse) String

func (x *GetPrimaryEmailResponse) String() string

type GetProfileRequest

type GetProfileRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfileRequest) Descriptor deprecated

func (*GetProfileRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileRequest.ProtoReflect.Descriptor instead.

func (*GetProfileRequest) GetUsername

func (x *GetProfileRequest) GetUsername() string

func (*GetProfileRequest) ProtoMessage

func (*GetProfileRequest) ProtoMessage()

func (*GetProfileRequest) ProtoReflect

func (x *GetProfileRequest) ProtoReflect() protoreflect.Message

func (*GetProfileRequest) Reset

func (x *GetProfileRequest) Reset()

func (*GetProfileRequest) String

func (x *GetProfileRequest) String() string

type GetProfileResponse

type GetProfileResponse struct {
	Message        string                 `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	FirstName      string                 `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName       string                 `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	JoinedAt       *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=joined_at,json=joinedAt,proto3" json:"joined_at,omitempty"`
	ProfilePicture *string                `protobuf:"bytes,6,opt,name=profile_picture,json=profilePicture,proto3,oneof" json:"profile_picture,omitempty"`
	// contains filtered or unexported fields
}

func (*GetProfileResponse) Descriptor deprecated

func (*GetProfileResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetProfileResponse.ProtoReflect.Descriptor instead.

func (*GetProfileResponse) GetFirstName

func (x *GetProfileResponse) GetFirstName() string

func (*GetProfileResponse) GetJoinedAt

func (x *GetProfileResponse) GetJoinedAt() *timestamppb.Timestamp

func (*GetProfileResponse) GetLastName

func (x *GetProfileResponse) GetLastName() string

func (*GetProfileResponse) GetMessage

func (x *GetProfileResponse) GetMessage() string

func (*GetProfileResponse) GetProfilePicture added in v0.5.0

func (x *GetProfileResponse) GetProfilePicture() string

func (*GetProfileResponse) ProtoMessage

func (*GetProfileResponse) ProtoMessage()

func (*GetProfileResponse) ProtoReflect

func (x *GetProfileResponse) ProtoReflect() protoreflect.Message

func (*GetProfileResponse) Reset

func (x *GetProfileResponse) Reset()

func (*GetProfileResponse) String

func (x *GetProfileResponse) String() string

type GetUserIdByUsernameRequest

type GetUserIdByUsernameRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserIdByUsernameRequest) Descriptor deprecated

func (*GetUserIdByUsernameRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserIdByUsernameRequest.ProtoReflect.Descriptor instead.

func (*GetUserIdByUsernameRequest) GetUsername

func (x *GetUserIdByUsernameRequest) GetUsername() string

func (*GetUserIdByUsernameRequest) ProtoMessage

func (*GetUserIdByUsernameRequest) ProtoMessage()

func (*GetUserIdByUsernameRequest) ProtoReflect

func (*GetUserIdByUsernameRequest) Reset

func (x *GetUserIdByUsernameRequest) Reset()

func (*GetUserIdByUsernameRequest) String

func (x *GetUserIdByUsernameRequest) String() string

type GetUserIdByUsernameResponse

type GetUserIdByUsernameResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	UserId  string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserIdByUsernameResponse) Descriptor deprecated

func (*GetUserIdByUsernameResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserIdByUsernameResponse.ProtoReflect.Descriptor instead.

func (*GetUserIdByUsernameResponse) GetMessage

func (x *GetUserIdByUsernameResponse) GetMessage() string

func (*GetUserIdByUsernameResponse) GetUserId

func (x *GetUserIdByUsernameResponse) GetUserId() string

func (*GetUserIdByUsernameResponse) ProtoMessage

func (*GetUserIdByUsernameResponse) ProtoMessage()

func (*GetUserIdByUsernameResponse) ProtoReflect

func (*GetUserIdByUsernameResponse) Reset

func (x *GetUserIdByUsernameResponse) Reset()

func (*GetUserIdByUsernameResponse) String

func (x *GetUserIdByUsernameResponse) String() string

type GetUsernameByUserIdRequest

type GetUsernameByUserIdRequest struct {
	UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUsernameByUserIdRequest) Descriptor deprecated

func (*GetUsernameByUserIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUsernameByUserIdRequest.ProtoReflect.Descriptor instead.

func (*GetUsernameByUserIdRequest) GetUserId

func (x *GetUsernameByUserIdRequest) GetUserId() string

func (*GetUsernameByUserIdRequest) ProtoMessage

func (*GetUsernameByUserIdRequest) ProtoMessage()

func (*GetUsernameByUserIdRequest) ProtoReflect

func (*GetUsernameByUserIdRequest) Reset

func (x *GetUsernameByUserIdRequest) Reset()

func (*GetUsernameByUserIdRequest) String

func (x *GetUsernameByUserIdRequest) String() string

type GetUsernameByUserIdResponse

type GetUsernameByUserIdResponse struct {
	Message  string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUsernameByUserIdResponse) Descriptor deprecated

func (*GetUsernameByUserIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUsernameByUserIdResponse.ProtoReflect.Descriptor instead.

func (*GetUsernameByUserIdResponse) GetMessage

func (x *GetUsernameByUserIdResponse) GetMessage() string

func (*GetUsernameByUserIdResponse) GetUsername

func (x *GetUsernameByUserIdResponse) GetUsername() string

func (*GetUsernameByUserIdResponse) ProtoMessage

func (*GetUsernameByUserIdResponse) ProtoMessage()

func (*GetUsernameByUserIdResponse) ProtoReflect

func (*GetUsernameByUserIdResponse) Reset

func (x *GetUsernameByUserIdResponse) Reset()

func (*GetUsernameByUserIdResponse) String

func (x *GetUsernameByUserIdResponse) String() string

type IsPasswordCorrectByUserIdRequest added in v0.6.1

type IsPasswordCorrectByUserIdRequest struct {
	UserId   string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*IsPasswordCorrectByUserIdRequest) Descriptor deprecated added in v0.6.1

func (*IsPasswordCorrectByUserIdRequest) Descriptor() ([]byte, []int)

Deprecated: Use IsPasswordCorrectByUserIdRequest.ProtoReflect.Descriptor instead.

func (*IsPasswordCorrectByUserIdRequest) GetPassword added in v0.6.1

func (x *IsPasswordCorrectByUserIdRequest) GetPassword() string

func (*IsPasswordCorrectByUserIdRequest) GetUserId added in v0.6.1

func (*IsPasswordCorrectByUserIdRequest) ProtoMessage added in v0.6.1

func (*IsPasswordCorrectByUserIdRequest) ProtoMessage()

func (*IsPasswordCorrectByUserIdRequest) ProtoReflect added in v0.6.1

func (*IsPasswordCorrectByUserIdRequest) Reset added in v0.6.1

func (*IsPasswordCorrectByUserIdRequest) String added in v0.6.1

type IsPasswordCorrectByUserIdResponse added in v0.6.1

type IsPasswordCorrectByUserIdResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*IsPasswordCorrectByUserIdResponse) Descriptor deprecated added in v0.6.1

func (*IsPasswordCorrectByUserIdResponse) Descriptor() ([]byte, []int)

Deprecated: Use IsPasswordCorrectByUserIdResponse.ProtoReflect.Descriptor instead.

func (*IsPasswordCorrectByUserIdResponse) GetMessage added in v0.6.1

func (x *IsPasswordCorrectByUserIdResponse) GetMessage() string

func (*IsPasswordCorrectByUserIdResponse) ProtoMessage added in v0.6.1

func (*IsPasswordCorrectByUserIdResponse) ProtoMessage()

func (*IsPasswordCorrectByUserIdResponse) ProtoReflect added in v0.6.1

func (*IsPasswordCorrectByUserIdResponse) Reset added in v0.6.1

func (*IsPasswordCorrectByUserIdResponse) String added in v0.6.1

type IsPasswordCorrectByUsernameRequest added in v0.6.1

type IsPasswordCorrectByUsernameRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,2,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

func (*IsPasswordCorrectByUsernameRequest) Descriptor deprecated added in v0.6.1

func (*IsPasswordCorrectByUsernameRequest) Descriptor() ([]byte, []int)

Deprecated: Use IsPasswordCorrectByUsernameRequest.ProtoReflect.Descriptor instead.

func (*IsPasswordCorrectByUsernameRequest) GetPassword added in v0.6.1

func (x *IsPasswordCorrectByUsernameRequest) GetPassword() string

func (*IsPasswordCorrectByUsernameRequest) GetUsername added in v0.6.1

func (x *IsPasswordCorrectByUsernameRequest) GetUsername() string

func (*IsPasswordCorrectByUsernameRequest) ProtoMessage added in v0.6.1

func (*IsPasswordCorrectByUsernameRequest) ProtoMessage()

func (*IsPasswordCorrectByUsernameRequest) ProtoReflect added in v0.6.1

func (*IsPasswordCorrectByUsernameRequest) Reset added in v0.6.1

func (*IsPasswordCorrectByUsernameRequest) String added in v0.6.1

type IsPasswordCorrectByUsernameResponse added in v0.6.1

type IsPasswordCorrectByUsernameResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	UserId  string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*IsPasswordCorrectByUsernameResponse) Descriptor deprecated added in v0.6.1

func (*IsPasswordCorrectByUsernameResponse) Descriptor() ([]byte, []int)

Deprecated: Use IsPasswordCorrectByUsernameResponse.ProtoReflect.Descriptor instead.

func (*IsPasswordCorrectByUsernameResponse) GetMessage added in v0.6.1

func (*IsPasswordCorrectByUsernameResponse) GetUserId added in v0.6.1

func (*IsPasswordCorrectByUsernameResponse) ProtoMessage added in v0.6.1

func (*IsPasswordCorrectByUsernameResponse) ProtoMessage()

func (*IsPasswordCorrectByUsernameResponse) ProtoReflect added in v0.6.1

func (*IsPasswordCorrectByUsernameResponse) Reset added in v0.6.1

func (*IsPasswordCorrectByUsernameResponse) String added in v0.6.1

type ResetPasswordRequest

type ResetPasswordRequest struct {
	Token       string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	NewPassword string `protobuf:"bytes,2,opt,name=new_password,json=newPassword,proto3" json:"new_password,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPasswordRequest) Descriptor deprecated

func (*ResetPasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResetPasswordRequest.ProtoReflect.Descriptor instead.

func (*ResetPasswordRequest) GetNewPassword

func (x *ResetPasswordRequest) GetNewPassword() string

func (*ResetPasswordRequest) GetToken

func (x *ResetPasswordRequest) GetToken() string

func (*ResetPasswordRequest) ProtoMessage

func (*ResetPasswordRequest) ProtoMessage()

func (*ResetPasswordRequest) ProtoReflect

func (x *ResetPasswordRequest) ProtoReflect() protoreflect.Message

func (*ResetPasswordRequest) Reset

func (x *ResetPasswordRequest) Reset()

func (*ResetPasswordRequest) String

func (x *ResetPasswordRequest) String() string

type ResetPasswordResponse

type ResetPasswordResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*ResetPasswordResponse) Descriptor deprecated

func (*ResetPasswordResponse) Descriptor() ([]byte, []int)

Deprecated: Use ResetPasswordResponse.ProtoReflect.Descriptor instead.

func (*ResetPasswordResponse) GetMessage

func (x *ResetPasswordResponse) GetMessage() string

func (*ResetPasswordResponse) ProtoMessage

func (*ResetPasswordResponse) ProtoMessage()

func (*ResetPasswordResponse) ProtoReflect

func (x *ResetPasswordResponse) ProtoReflect() protoreflect.Message

func (*ResetPasswordResponse) Reset

func (x *ResetPasswordResponse) Reset()

func (*ResetPasswordResponse) String

func (x *ResetPasswordResponse) String() string

type SendVerificationEmailRequest

type SendVerificationEmailRequest struct {
	Email string `protobuf:"bytes,1,opt,name=email,proto3" json:"email,omitempty"`
	// contains filtered or unexported fields
}

func (*SendVerificationEmailRequest) Descriptor deprecated

func (*SendVerificationEmailRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendVerificationEmailRequest.ProtoReflect.Descriptor instead.

func (*SendVerificationEmailRequest) GetEmail

func (x *SendVerificationEmailRequest) GetEmail() string

func (*SendVerificationEmailRequest) ProtoMessage

func (*SendVerificationEmailRequest) ProtoMessage()

func (*SendVerificationEmailRequest) ProtoReflect

func (*SendVerificationEmailRequest) Reset

func (x *SendVerificationEmailRequest) Reset()

func (*SendVerificationEmailRequest) String

type SendVerificationEmailResponse

type SendVerificationEmailResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SendVerificationEmailResponse) Descriptor deprecated

func (*SendVerificationEmailResponse) Descriptor() ([]byte, []int)

Deprecated: Use SendVerificationEmailResponse.ProtoReflect.Descriptor instead.

func (*SendVerificationEmailResponse) GetMessage

func (x *SendVerificationEmailResponse) GetMessage() string

func (*SendVerificationEmailResponse) ProtoMessage

func (*SendVerificationEmailResponse) ProtoMessage()

func (*SendVerificationEmailResponse) ProtoReflect

func (*SendVerificationEmailResponse) Reset

func (x *SendVerificationEmailResponse) Reset()

func (*SendVerificationEmailResponse) String

type SendVerificationSMSRequest

type SendVerificationSMSRequest struct {
	PhoneNumber string `protobuf:"bytes,1,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	// contains filtered or unexported fields
}

func (*SendVerificationSMSRequest) Descriptor deprecated

func (*SendVerificationSMSRequest) Descriptor() ([]byte, []int)

Deprecated: Use SendVerificationSMSRequest.ProtoReflect.Descriptor instead.

func (*SendVerificationSMSRequest) GetPhoneNumber

func (x *SendVerificationSMSRequest) GetPhoneNumber() string

func (*SendVerificationSMSRequest) ProtoMessage

func (*SendVerificationSMSRequest) ProtoMessage()

func (*SendVerificationSMSRequest) ProtoReflect

func (*SendVerificationSMSRequest) Reset

func (x *SendVerificationSMSRequest) Reset()

func (*SendVerificationSMSRequest) String

func (x *SendVerificationSMSRequest) String() string

type SendVerificationSMSResponse

type SendVerificationSMSResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SendVerificationSMSResponse) Descriptor deprecated

func (*SendVerificationSMSResponse) Descriptor() ([]byte, []int)

Deprecated: Use SendVerificationSMSResponse.ProtoReflect.Descriptor instead.

func (*SendVerificationSMSResponse) GetMessage

func (x *SendVerificationSMSResponse) GetMessage() string

func (*SendVerificationSMSResponse) ProtoMessage

func (*SendVerificationSMSResponse) ProtoMessage()

func (*SendVerificationSMSResponse) ProtoReflect

func (*SendVerificationSMSResponse) Reset

func (x *SendVerificationSMSResponse) Reset()

func (*SendVerificationSMSResponse) String

func (x *SendVerificationSMSResponse) String() string

type SetProfilePictureRequest added in v0.5.0

type SetProfilePictureRequest struct {
	ImageId string `protobuf:"bytes,1,opt,name=image_id,json=imageId,proto3" json:"image_id,omitempty"`
	// contains filtered or unexported fields
}

func (*SetProfilePictureRequest) Descriptor deprecated added in v0.5.0

func (*SetProfilePictureRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetProfilePictureRequest.ProtoReflect.Descriptor instead.

func (*SetProfilePictureRequest) GetImageId added in v0.5.0

func (x *SetProfilePictureRequest) GetImageId() string

func (*SetProfilePictureRequest) ProtoMessage added in v0.5.0

func (*SetProfilePictureRequest) ProtoMessage()

func (*SetProfilePictureRequest) ProtoReflect added in v0.5.0

func (x *SetProfilePictureRequest) ProtoReflect() protoreflect.Message

func (*SetProfilePictureRequest) Reset added in v0.5.0

func (x *SetProfilePictureRequest) Reset()

func (*SetProfilePictureRequest) String added in v0.5.0

func (x *SetProfilePictureRequest) String() string

type SetProfilePictureResponse added in v0.5.0

type SetProfilePictureResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SetProfilePictureResponse) Descriptor deprecated added in v0.5.0

func (*SetProfilePictureResponse) Descriptor() ([]byte, []int)

Deprecated: Use SetProfilePictureResponse.ProtoReflect.Descriptor instead.

func (*SetProfilePictureResponse) GetMessage added in v0.5.0

func (x *SetProfilePictureResponse) GetMessage() string

func (*SetProfilePictureResponse) ProtoMessage added in v0.5.0

func (*SetProfilePictureResponse) ProtoMessage()

func (*SetProfilePictureResponse) ProtoReflect added in v0.5.0

func (*SetProfilePictureResponse) Reset added in v0.5.0

func (x *SetProfilePictureResponse) Reset()

func (*SetProfilePictureResponse) String added in v0.5.0

func (x *SetProfilePictureResponse) String() string

type SignUpRequest

type SignUpRequest struct {
	Username    string                 `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	FirstName   string                 `protobuf:"bytes,2,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty"`
	LastName    string                 `protobuf:"bytes,3,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty"`
	Password    string                 `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"`
	Email       string                 `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	PhoneNumber string                 `protobuf:"bytes,6,opt,name=phone_number,json=phoneNumber,proto3" json:"phone_number,omitempty"`
	Birthdate   *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=birthdate,proto3,oneof" json:"birthdate,omitempty"`
	// contains filtered or unexported fields
}

func (*SignUpRequest) Descriptor deprecated

func (*SignUpRequest) Descriptor() ([]byte, []int)

Deprecated: Use SignUpRequest.ProtoReflect.Descriptor instead.

func (*SignUpRequest) GetBirthdate

func (x *SignUpRequest) GetBirthdate() *timestamppb.Timestamp

func (*SignUpRequest) GetEmail

func (x *SignUpRequest) GetEmail() string

func (*SignUpRequest) GetFirstName

func (x *SignUpRequest) GetFirstName() string

func (*SignUpRequest) GetLastName

func (x *SignUpRequest) GetLastName() string

func (*SignUpRequest) GetPassword

func (x *SignUpRequest) GetPassword() string

func (*SignUpRequest) GetPhoneNumber

func (x *SignUpRequest) GetPhoneNumber() string

func (*SignUpRequest) GetUsername

func (x *SignUpRequest) GetUsername() string

func (*SignUpRequest) ProtoMessage

func (*SignUpRequest) ProtoMessage()

func (*SignUpRequest) ProtoReflect

func (x *SignUpRequest) ProtoReflect() protoreflect.Message

func (*SignUpRequest) Reset

func (x *SignUpRequest) Reset()

func (*SignUpRequest) String

func (x *SignUpRequest) String() string

type SignUpResponse

type SignUpResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*SignUpResponse) Descriptor deprecated

func (*SignUpResponse) Descriptor() ([]byte, []int)

Deprecated: Use SignUpResponse.ProtoReflect.Descriptor instead.

func (*SignUpResponse) GetMessage

func (x *SignUpResponse) GetMessage() string

func (*SignUpResponse) ProtoMessage

func (*SignUpResponse) ProtoMessage()

func (*SignUpResponse) ProtoReflect

func (x *SignUpResponse) ProtoReflect() protoreflect.Message

func (*SignUpResponse) Reset

func (x *SignUpResponse) Reset()

func (*SignUpResponse) String

func (x *SignUpResponse) String() string

type UnimplementedUserServer

type UnimplementedUserServer struct{}

UnimplementedUserServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUserServer) AddEmail

func (UnimplementedUserServer) ChangePassword

func (UnimplementedUserServer) ChangeUsername

func (UnimplementedUserServer) DeleteEmail

func (UnimplementedUserServer) DeleteUser

func (UnimplementedUserServer) ForgotPassword

func (UnimplementedUserServer) GetActiveEmails

func (UnimplementedUserServer) GetMyProfile

func (UnimplementedUserServer) GetPhoneNumber

func (UnimplementedUserServer) GetPrimaryEmail

func (UnimplementedUserServer) GetProfile

func (UnimplementedUserServer) IsPasswordCorrectByUserId added in v0.6.1

func (UnimplementedUserServer) IsPasswordCorrectByUsername added in v0.6.1

func (UnimplementedUserServer) ResetPassword

func (UnimplementedUserServer) SetProfilePicture added in v0.5.0

func (UnimplementedUserServer) SignUp

func (UnimplementedUserServer) UpdateUser

func (UnimplementedUserServer) UsernameExists

func (UnimplementedUserServer) VerifyEmail

type UnsafeUserServer

type UnsafeUserServer interface {
	// contains filtered or unexported methods
}

UnsafeUserServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServer will result in compilation errors.

type UpdateUserRequest

type UpdateUserRequest struct {
	FirstName *string                `protobuf:"bytes,1,opt,name=first_name,json=firstName,proto3,oneof" json:"first_name,omitempty"`
	LastName  *string                `protobuf:"bytes,2,opt,name=last_name,json=lastName,proto3,oneof" json:"last_name,omitempty"`
	Birthdate *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=birthdate,proto3,oneof" json:"birthdate,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

func (*UpdateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetBirthdate

func (x *UpdateUserRequest) GetBirthdate() *timestamppb.Timestamp

func (*UpdateUserRequest) GetFirstName

func (x *UpdateUserRequest) GetFirstName() string

func (*UpdateUserRequest) GetLastName

func (x *UpdateUserRequest) GetLastName() string

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

type UpdateUserResponse

type UpdateUserResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserResponse) Descriptor deprecated

func (*UpdateUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserResponse) GetMessage

func (x *UpdateUserResponse) GetMessage() string

func (*UpdateUserResponse) ProtoMessage

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) ProtoReflect

func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message

func (*UpdateUserResponse) Reset

func (x *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String

func (x *UpdateUserResponse) String() string

type UserClient

type UserClient interface {
	SignUp(ctx context.Context, in *SignUpRequest, opts ...grpc.CallOption) (*SignUpResponse, error)
	UsernameExists(ctx context.Context, in *UsernameExistsRequest, opts ...grpc.CallOption) (*UsernameExistsResponse, error)
	GetUsernameByUserId(ctx context.Context, in *GetUsernameByUserIdRequest, opts ...grpc.CallOption) (*GetUsernameByUserIdResponse, error)
	GetUserIdByUsername(ctx context.Context, in *GetUserIdByUsernameRequest, opts ...grpc.CallOption) (*GetUserIdByUsernameResponse, error)
	IsPasswordCorrectByUsername(ctx context.Context, in *IsPasswordCorrectByUsernameRequest, opts ...grpc.CallOption) (*IsPasswordCorrectByUsernameResponse, error)
	IsPasswordCorrectByUserId(ctx context.Context, in *IsPasswordCorrectByUserIdRequest, opts ...grpc.CallOption) (*IsPasswordCorrectByUserIdResponse, error)
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
	SetProfilePicture(ctx context.Context, in *SetProfilePictureRequest, opts ...grpc.CallOption) (*SetProfilePictureResponse, error)
	GetProfile(ctx context.Context, in *GetProfileRequest, opts ...grpc.CallOption) (*GetProfileResponse, error)
	GetMyProfile(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetMyProfileResponse, error)
	ChangeUsername(ctx context.Context, in *ChangeUsernameRequest, opts ...grpc.CallOption) (*ChangeUsernameResponse, error)
	ChangePassword(ctx context.Context, in *ChangePasswordRequest, opts ...grpc.CallOption) (*ChangePasswordResponse, error)
	AddEmail(ctx context.Context, in *AddEmailRequest, opts ...grpc.CallOption) (*AddEmailResponse, error)
	DeleteEmail(ctx context.Context, in *DeleteEmailRequest, opts ...grpc.CallOption) (*DeleteEmailResponse, error)
	SendVerificationEmail(ctx context.Context, in *SendVerificationEmailRequest, opts ...grpc.CallOption) (*SendVerificationEmailResponse, error)
	VerifyEmail(ctx context.Context, in *VerifyEmailRequest, opts ...grpc.CallOption) (*VerifyEmailResponse, error)
	GetPrimaryEmail(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetPrimaryEmailResponse, error)
	GetActiveEmails(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetActiveEmailsResponse, error)
	ChangePrimaryEmail(ctx context.Context, in *ChangePrimaryEmailRequest, opts ...grpc.CallOption) (*ChangePrimaryEmailResponse, error)
	GetPhoneNumber(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*GetPhoneNumberResponse, error)
	ChangePhoneNumber(ctx context.Context, in *ChangePhoneNumberRequest, opts ...grpc.CallOption) (*ChangePhoneNumberResponse, error)
	SendVerificationSMS(ctx context.Context, in *SendVerificationSMSRequest, opts ...grpc.CallOption) (*SendVerificationSMSResponse, error)
	VerifyPhoneNumber(ctx context.Context, in *VerifyPhoneNumberRequest, opts ...grpc.CallOption) (*VerifyPhoneNumberResponse, error)
	ForgotPassword(ctx context.Context, in *ForgotPasswordRequest, opts ...grpc.CallOption) (*ForgotPasswordResponse, error)
	ResetPassword(ctx context.Context, in *ResetPasswordRequest, opts ...grpc.CallOption) (*ResetPasswordResponse, error)
	DeleteUser(ctx context.Context, in *DeleteUserRequest, opts ...grpc.CallOption) (*DeleteUserResponse, error)
}

UserClient is the client API for User service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewUserClient

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserServer

type UserServer interface {
	SignUp(context.Context, *SignUpRequest) (*SignUpResponse, error)
	UsernameExists(context.Context, *UsernameExistsRequest) (*UsernameExistsResponse, error)
	GetUsernameByUserId(context.Context, *GetUsernameByUserIdRequest) (*GetUsernameByUserIdResponse, error)
	GetUserIdByUsername(context.Context, *GetUserIdByUsernameRequest) (*GetUserIdByUsernameResponse, error)
	IsPasswordCorrectByUsername(context.Context, *IsPasswordCorrectByUsernameRequest) (*IsPasswordCorrectByUsernameResponse, error)
	IsPasswordCorrectByUserId(context.Context, *IsPasswordCorrectByUserIdRequest) (*IsPasswordCorrectByUserIdResponse, error)
	UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
	SetProfilePicture(context.Context, *SetProfilePictureRequest) (*SetProfilePictureResponse, error)
	GetProfile(context.Context, *GetProfileRequest) (*GetProfileResponse, error)
	GetMyProfile(context.Context, *emptypb.Empty) (*GetMyProfileResponse, error)
	ChangeUsername(context.Context, *ChangeUsernameRequest) (*ChangeUsernameResponse, error)
	ChangePassword(context.Context, *ChangePasswordRequest) (*ChangePasswordResponse, error)
	AddEmail(context.Context, *AddEmailRequest) (*AddEmailResponse, error)
	DeleteEmail(context.Context, *DeleteEmailRequest) (*DeleteEmailResponse, error)
	SendVerificationEmail(context.Context, *SendVerificationEmailRequest) (*SendVerificationEmailResponse, error)
	VerifyEmail(context.Context, *VerifyEmailRequest) (*VerifyEmailResponse, error)
	GetPrimaryEmail(context.Context, *emptypb.Empty) (*GetPrimaryEmailResponse, error)
	GetActiveEmails(context.Context, *emptypb.Empty) (*GetActiveEmailsResponse, error)
	ChangePrimaryEmail(context.Context, *ChangePrimaryEmailRequest) (*ChangePrimaryEmailResponse, error)
	GetPhoneNumber(context.Context, *emptypb.Empty) (*GetPhoneNumberResponse, error)
	ChangePhoneNumber(context.Context, *ChangePhoneNumberRequest) (*ChangePhoneNumberResponse, error)
	SendVerificationSMS(context.Context, *SendVerificationSMSRequest) (*SendVerificationSMSResponse, error)
	VerifyPhoneNumber(context.Context, *VerifyPhoneNumberRequest) (*VerifyPhoneNumberResponse, error)
	ForgotPassword(context.Context, *ForgotPasswordRequest) (*ForgotPasswordResponse, error)
	ResetPassword(context.Context, *ResetPasswordRequest) (*ResetPasswordResponse, error)
	DeleteUser(context.Context, *DeleteUserRequest) (*DeleteUserResponse, error)
	// contains filtered or unexported methods
}

UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility.

type UsernameExistsRequest

type UsernameExistsRequest struct {
	Username string `protobuf:"bytes,1,opt,name=username,proto3" json:"username,omitempty"`
	// contains filtered or unexported fields
}

func (*UsernameExistsRequest) Descriptor deprecated

func (*UsernameExistsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UsernameExistsRequest.ProtoReflect.Descriptor instead.

func (*UsernameExistsRequest) GetUsername

func (x *UsernameExistsRequest) GetUsername() string

func (*UsernameExistsRequest) ProtoMessage

func (*UsernameExistsRequest) ProtoMessage()

func (*UsernameExistsRequest) ProtoReflect

func (x *UsernameExistsRequest) ProtoReflect() protoreflect.Message

func (*UsernameExistsRequest) Reset

func (x *UsernameExistsRequest) Reset()

func (*UsernameExistsRequest) String

func (x *UsernameExistsRequest) String() string

type UsernameExistsResponse

type UsernameExistsResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*UsernameExistsResponse) Descriptor deprecated

func (*UsernameExistsResponse) Descriptor() ([]byte, []int)

Deprecated: Use UsernameExistsResponse.ProtoReflect.Descriptor instead.

func (*UsernameExistsResponse) GetMessage

func (x *UsernameExistsResponse) GetMessage() string

func (*UsernameExistsResponse) ProtoMessage

func (*UsernameExistsResponse) ProtoMessage()

func (*UsernameExistsResponse) ProtoReflect

func (x *UsernameExistsResponse) ProtoReflect() protoreflect.Message

func (*UsernameExistsResponse) Reset

func (x *UsernameExistsResponse) Reset()

func (*UsernameExistsResponse) String

func (x *UsernameExistsResponse) String() string

type VerifyEmailRequest

type VerifyEmailRequest struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyEmailRequest) Descriptor deprecated

func (*VerifyEmailRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyEmailRequest.ProtoReflect.Descriptor instead.

func (*VerifyEmailRequest) GetToken

func (x *VerifyEmailRequest) GetToken() string

func (*VerifyEmailRequest) ProtoMessage

func (*VerifyEmailRequest) ProtoMessage()

func (*VerifyEmailRequest) ProtoReflect

func (x *VerifyEmailRequest) ProtoReflect() protoreflect.Message

func (*VerifyEmailRequest) Reset

func (x *VerifyEmailRequest) Reset()

func (*VerifyEmailRequest) String

func (x *VerifyEmailRequest) String() string

type VerifyEmailResponse

type VerifyEmailResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyEmailResponse) Descriptor deprecated

func (*VerifyEmailResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyEmailResponse.ProtoReflect.Descriptor instead.

func (*VerifyEmailResponse) GetMessage

func (x *VerifyEmailResponse) GetMessage() string

func (*VerifyEmailResponse) ProtoMessage

func (*VerifyEmailResponse) ProtoMessage()

func (*VerifyEmailResponse) ProtoReflect

func (x *VerifyEmailResponse) ProtoReflect() protoreflect.Message

func (*VerifyEmailResponse) Reset

func (x *VerifyEmailResponse) Reset()

func (*VerifyEmailResponse) String

func (x *VerifyEmailResponse) String() string

type VerifyPhoneNumberRequest

type VerifyPhoneNumberRequest struct {
	Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyPhoneNumberRequest) Descriptor deprecated

func (*VerifyPhoneNumberRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyPhoneNumberRequest.ProtoReflect.Descriptor instead.

func (*VerifyPhoneNumberRequest) GetToken

func (x *VerifyPhoneNumberRequest) GetToken() string

func (*VerifyPhoneNumberRequest) ProtoMessage

func (*VerifyPhoneNumberRequest) ProtoMessage()

func (*VerifyPhoneNumberRequest) ProtoReflect

func (x *VerifyPhoneNumberRequest) ProtoReflect() protoreflect.Message

func (*VerifyPhoneNumberRequest) Reset

func (x *VerifyPhoneNumberRequest) Reset()

func (*VerifyPhoneNumberRequest) String

func (x *VerifyPhoneNumberRequest) String() string

type VerifyPhoneNumberResponse

type VerifyPhoneNumberResponse struct {
	Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyPhoneNumberResponse) Descriptor deprecated

func (*VerifyPhoneNumberResponse) Descriptor() ([]byte, []int)

Deprecated: Use VerifyPhoneNumberResponse.ProtoReflect.Descriptor instead.

func (*VerifyPhoneNumberResponse) GetMessage

func (x *VerifyPhoneNumberResponse) GetMessage() string

func (*VerifyPhoneNumberResponse) ProtoMessage

func (*VerifyPhoneNumberResponse) ProtoMessage()

func (*VerifyPhoneNumberResponse) ProtoReflect

func (*VerifyPhoneNumberResponse) Reset

func (x *VerifyPhoneNumberResponse) Reset()

func (*VerifyPhoneNumberResponse) String

func (x *VerifyPhoneNumberResponse) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL