Documentation ¶
Overview ¶
Package userProfile ユーザープロフィール
Index ¶
- Variables
- type UserProfile
- func (*UserProfile) Descriptor() ([]byte, []int)deprecated
- func (x *UserProfile) GetContent() string
- func (x *UserProfile) GetName() string
- func (x *UserProfile) GetUserId() string
- func (*UserProfile) ProtoMessage()
- func (x *UserProfile) ProtoReflect() protoreflect.Message
- func (x *UserProfile) Reset()
- func (x *UserProfile) String() string
- type UserProfiles
Constants ¶
This section is empty.
Variables ¶
View Source
var File_profile_userProfile_user_profile_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type UserProfile ¶
type UserProfile struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Content string `protobuf:"bytes,3,opt,name=content,proto3" json:"content,omitempty"` // contains filtered or unexported fields }
func NewUserProfile ¶
func NewUserProfile() *UserProfile
func SetUserProfile ¶
func SetUserProfile(userId string, name string, content string) *UserProfile
func (*UserProfile) Descriptor
deprecated
func (*UserProfile) Descriptor() ([]byte, []int)
Deprecated: Use UserProfile.ProtoReflect.Descriptor instead.
func (*UserProfile) GetContent ¶
func (x *UserProfile) GetContent() string
func (*UserProfile) GetName ¶
func (x *UserProfile) GetName() string
func (*UserProfile) GetUserId ¶
func (x *UserProfile) GetUserId() string
func (*UserProfile) ProtoMessage ¶
func (*UserProfile) ProtoMessage()
func (*UserProfile) ProtoReflect ¶
func (x *UserProfile) ProtoReflect() protoreflect.Message
func (*UserProfile) Reset ¶
func (x *UserProfile) Reset()
func (*UserProfile) String ¶
func (x *UserProfile) String() string
type UserProfiles ¶
type UserProfiles []*UserProfile
func NewUserProfiles ¶
func NewUserProfiles() UserProfiles
Click to show internal directories.
Click to hide internal directories.