Documentation
¶
Index ¶
- Variables
- type PatchUserRequest
- type PatchUserResponse
- func (*PatchUserResponse) Descriptor() ([]byte, []int)deprecated
- func (x *PatchUserResponse) GetError() *emptypb.Empty
- func (x *PatchUserResponse) GetResponse() isPatchUserResponse_Response
- func (x *PatchUserResponse) GetUser() *v1.PublicUser
- func (*PatchUserResponse) ProtoMessage()
- func (x *PatchUserResponse) ProtoReflect() protoreflect.Message
- func (x *PatchUserResponse) Reset()
- func (x *PatchUserResponse) String() string
- type PatchUserResponse_Error
- type PatchUserResponse_User
- type UserForm
- func (*UserForm) Descriptor() ([]byte, []int)deprecated
- func (x *UserForm) GetAddress() string
- func (x *UserForm) GetCsrf() string
- func (x *UserForm) GetEmail() string
- func (x *UserForm) GetGravatar() string
- func (x *UserForm) GetId() int64
- func (x *UserForm) GetUsername() string
- func (x *UserForm) GetWallpaperId() int64
- func (*UserForm) ProtoMessage()
- func (x *UserForm) ProtoReflect() protoreflect.Message
- func (x *UserForm) Reset()
- func (x *UserForm) String() string
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_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) GetAddress ¶
func (*UserForm) GetGravatar ¶
func (*UserForm) GetUsername ¶
func (*UserForm) GetWallpaperId ¶
func (*UserForm) ProtoMessage ¶
func (*UserForm) ProtoMessage()
func (*UserForm) ProtoReflect ¶
func (x *UserForm) ProtoReflect() protoreflect.Message
Click to show internal directories.
Click to hide internal directories.