userProfile

package
v0.0.0-...-4834045 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package userProfile ユーザープロフィール

Index

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

Jump to

Keyboard shortcuts

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