profilev1

package
v0.0.0-...-bfae352 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_profile_v1_profile_proto protoreflect.FileDescriptor

Functions

This section is empty.

Types

type PatchUserRequest

type PatchUserRequest struct {
	Body *UserForm `protobuf:"bytes,1,opt,name=body,proto3" json:"body,omitempty"`
	// contains filtered or unexported fields
}

func (*PatchUserRequest) Descriptor deprecated

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

Deprecated: Use PatchUserRequest.ProtoReflect.Descriptor instead.

func (*PatchUserRequest) GetBody

func (x *PatchUserRequest) GetBody() *UserForm

func (*PatchUserRequest) ProtoMessage

func (*PatchUserRequest) ProtoMessage()

func (*PatchUserRequest) ProtoReflect

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

func (*PatchUserRequest) Reset

func (x *PatchUserRequest) Reset()

func (*PatchUserRequest) String

func (x *PatchUserRequest) String() string

type PatchUserResponse

type PatchUserResponse struct {

	// Types that are valid to be assigned to Response:
	//
	//	*PatchUserResponse_User
	//	*PatchUserResponse_Error
	Response isPatchUserResponse_Response `protobuf_oneof:"response"`
	// contains filtered or unexported fields
}

func (*PatchUserResponse) Descriptor deprecated

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

Deprecated: Use PatchUserResponse.ProtoReflect.Descriptor instead.

func (*PatchUserResponse) GetError

func (x *PatchUserResponse) GetError() *emptypb.Empty

func (*PatchUserResponse) GetResponse

func (x *PatchUserResponse) GetResponse() isPatchUserResponse_Response

func (*PatchUserResponse) GetUser

func (x *PatchUserResponse) GetUser() *v1.PublicUser

func (*PatchUserResponse) ProtoMessage

func (*PatchUserResponse) ProtoMessage()

func (*PatchUserResponse) ProtoReflect

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

func (*PatchUserResponse) Reset

func (x *PatchUserResponse) Reset()

func (*PatchUserResponse) String

func (x *PatchUserResponse) String() string

type PatchUserResponse_Error

type PatchUserResponse_Error struct {
	Error *emptypb.Empty `protobuf:"bytes,2,opt,name=error,proto3,oneof"`
}

type PatchUserResponse_User

type PatchUserResponse_User struct {
	User *v1.PublicUser `protobuf:"bytes,1,opt,name=user,proto3,oneof"`
}

type UserForm

type UserForm struct {
	Csrf        string `protobuf:"bytes,1,opt,name=csrf,proto3" json:"csrf,omitempty"`
	Id          int64  `protobuf:"varint,2,opt,name=id,proto3" json:"id,omitempty"`
	Username    string `protobuf:"bytes,3,opt,name=username,proto3" json:"username,omitempty"`
	Address     string `protobuf:"bytes,4,opt,name=address,proto3" json:"address,omitempty"`
	Email       string `protobuf:"bytes,5,opt,name=email,proto3" json:"email,omitempty"`
	Gravatar    string `protobuf:"bytes,6,opt,name=gravatar,proto3" json:"gravatar,omitempty"`
	WallpaperId int64  `protobuf:"varint,7,opt,name=wallpaperId,proto3" json:"wallpaperId,omitempty"`
	// contains filtered or unexported fields
}

func (*UserForm) Descriptor deprecated

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

Deprecated: Use UserForm.ProtoReflect.Descriptor instead.

func (*UserForm) GetAddress

func (x *UserForm) GetAddress() string

func (*UserForm) GetCsrf

func (x *UserForm) GetCsrf() string

func (*UserForm) GetEmail

func (x *UserForm) GetEmail() string

func (*UserForm) GetGravatar

func (x *UserForm) GetGravatar() string

func (*UserForm) GetId

func (x *UserForm) GetId() int64

func (*UserForm) GetUsername

func (x *UserForm) GetUsername() string

func (*UserForm) GetWallpaperId

func (x *UserForm) GetWallpaperId() int64

func (*UserForm) ProtoMessage

func (*UserForm) ProtoMessage()

func (*UserForm) ProtoReflect

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

func (*UserForm) Reset

func (x *UserForm) Reset()

func (*UserForm) String

func (x *UserForm) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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