profile

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: 9 Imported by: 0

Documentation

Overview

Package profile プロフィール作成リクエスト

Package profile プロフィール作成レスポンス

Package profile プロフィール取得リクエスト

Package profile プロフィール作成レスポンス

Package profile プロフィール更新リクエスト

Package profile プロフィール更新レスポンス

Index

Constants

View Source
const (
	Profile_Get_FullMethodName    = "/api.game.Profile/Get"
	Profile_Create_FullMethodName = "/api.game.Profile/Create"
	Profile_Update_FullMethodName = "/api.game.Profile/Update"
)

Variables

View Source
var File_profile_profile_create_request_proto protoreflect.FileDescriptor
View Source
var File_profile_profile_create_response_proto protoreflect.FileDescriptor
View Source
var File_profile_profile_get_request_proto protoreflect.FileDescriptor
View Source
var File_profile_profile_get_response_proto protoreflect.FileDescriptor
View Source
var File_profile_profile_handler_proto protoreflect.FileDescriptor
View Source
var File_profile_profile_update_request_proto protoreflect.FileDescriptor
View Source
var File_profile_profile_update_response_proto protoreflect.FileDescriptor
View Source
var Profile_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.game.Profile",
	HandlerType: (*ProfileServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Get",
			Handler:    _Profile_Get_Handler,
		},
		{
			MethodName: "Create",
			Handler:    _Profile_Create_Handler,
		},
		{
			MethodName: "Update",
			Handler:    _Profile_Update_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "profile/profile_handler.proto",
}

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

Functions

func RegisterProfileServer

func RegisterProfileServer(s grpc.ServiceRegistrar, srv ProfileServer)

Types

type ProfileClient

ProfileClient is the client API for Profile 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 NewProfileClient

func NewProfileClient(cc grpc.ClientConnInterface) ProfileClient

type ProfileCreateRequest

type ProfileCreateRequest 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 NewProfileCreateRequest

func NewProfileCreateRequest() *ProfileCreateRequest

func SetProfileCreateRequest

func SetProfileCreateRequest(userId string, name string, content string) *ProfileCreateRequest

func (*ProfileCreateRequest) Descriptor deprecated

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

Deprecated: Use ProfileCreateRequest.ProtoReflect.Descriptor instead.

func (*ProfileCreateRequest) GetContent

func (x *ProfileCreateRequest) GetContent() string

func (*ProfileCreateRequest) GetName

func (x *ProfileCreateRequest) GetName() string

func (*ProfileCreateRequest) GetUserId

func (x *ProfileCreateRequest) GetUserId() string

func (*ProfileCreateRequest) ProtoMessage

func (*ProfileCreateRequest) ProtoMessage()

func (*ProfileCreateRequest) ProtoReflect

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

func (*ProfileCreateRequest) Reset

func (x *ProfileCreateRequest) Reset()

func (*ProfileCreateRequest) String

func (x *ProfileCreateRequest) String() string

type ProfileCreateRequests

type ProfileCreateRequests []*ProfileCreateRequest

func NewProfileCreateRequests

func NewProfileCreateRequests() ProfileCreateRequests

type ProfileCreateResponse

type ProfileCreateResponse struct {
	UserProfile *userProfile.UserProfile `protobuf:"bytes,1,opt,name=user_profile,json=userProfile,proto3,oneof" json:"user_profile,omitempty"`
	// contains filtered or unexported fields
}

func NewProfileCreateResponse

func NewProfileCreateResponse() *ProfileCreateResponse

func SetProfileCreateResponse

func SetProfileCreateResponse(userProfile *userProfile.UserProfile) *ProfileCreateResponse

func (*ProfileCreateResponse) Descriptor deprecated

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

Deprecated: Use ProfileCreateResponse.ProtoReflect.Descriptor instead.

func (*ProfileCreateResponse) GetUserProfile

func (x *ProfileCreateResponse) GetUserProfile() *userProfile.UserProfile

func (*ProfileCreateResponse) ProtoMessage

func (*ProfileCreateResponse) ProtoMessage()

func (*ProfileCreateResponse) ProtoReflect

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

func (*ProfileCreateResponse) Reset

func (x *ProfileCreateResponse) Reset()

func (*ProfileCreateResponse) String

func (x *ProfileCreateResponse) String() string

type ProfileCreateResponses

type ProfileCreateResponses []*ProfileCreateResponse

func NewProfileCreateResponses

func NewProfileCreateResponses() ProfileCreateResponses

type ProfileGetRequest

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

func NewProfileGetRequest

func NewProfileGetRequest() *ProfileGetRequest

func SetProfileGetRequest

func SetProfileGetRequest(userId string) *ProfileGetRequest

func (*ProfileGetRequest) Descriptor deprecated

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

Deprecated: Use ProfileGetRequest.ProtoReflect.Descriptor instead.

func (*ProfileGetRequest) GetUserId

func (x *ProfileGetRequest) GetUserId() string

func (*ProfileGetRequest) ProtoMessage

func (*ProfileGetRequest) ProtoMessage()

func (*ProfileGetRequest) ProtoReflect

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

func (*ProfileGetRequest) Reset

func (x *ProfileGetRequest) Reset()

func (*ProfileGetRequest) String

func (x *ProfileGetRequest) String() string

type ProfileGetRequests

type ProfileGetRequests []*ProfileGetRequest

func NewProfileGetRequests

func NewProfileGetRequests() ProfileGetRequests

type ProfileGetResponse

type ProfileGetResponse struct {
	UserProfile *userProfile.UserProfile `protobuf:"bytes,1,opt,name=user_profile,json=userProfile,proto3,oneof" json:"user_profile,omitempty"`
	// contains filtered or unexported fields
}

func NewProfileGetResponse

func NewProfileGetResponse() *ProfileGetResponse

func SetProfileGetResponse

func SetProfileGetResponse(userProfile *userProfile.UserProfile) *ProfileGetResponse

func (*ProfileGetResponse) Descriptor deprecated

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

Deprecated: Use ProfileGetResponse.ProtoReflect.Descriptor instead.

func (*ProfileGetResponse) GetUserProfile

func (x *ProfileGetResponse) GetUserProfile() *userProfile.UserProfile

func (*ProfileGetResponse) ProtoMessage

func (*ProfileGetResponse) ProtoMessage()

func (*ProfileGetResponse) ProtoReflect

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

func (*ProfileGetResponse) Reset

func (x *ProfileGetResponse) Reset()

func (*ProfileGetResponse) String

func (x *ProfileGetResponse) String() string

type ProfileGetResponses

type ProfileGetResponses []*ProfileGetResponse

func NewProfileGetResponses

func NewProfileGetResponses() ProfileGetResponses

type ProfileServer

ProfileServer is the server API for Profile service. All implementations should embed UnimplementedProfileServer for forward compatibility

type ProfileUpdateRequest

type ProfileUpdateRequest 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 NewProfileUpdateRequest

func NewProfileUpdateRequest() *ProfileUpdateRequest

func SetProfileUpdateRequest

func SetProfileUpdateRequest(userId string, name string, content string) *ProfileUpdateRequest

func (*ProfileUpdateRequest) Descriptor deprecated

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

Deprecated: Use ProfileUpdateRequest.ProtoReflect.Descriptor instead.

func (*ProfileUpdateRequest) GetContent

func (x *ProfileUpdateRequest) GetContent() string

func (*ProfileUpdateRequest) GetName

func (x *ProfileUpdateRequest) GetName() string

func (*ProfileUpdateRequest) GetUserId

func (x *ProfileUpdateRequest) GetUserId() string

func (*ProfileUpdateRequest) ProtoMessage

func (*ProfileUpdateRequest) ProtoMessage()

func (*ProfileUpdateRequest) ProtoReflect

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

func (*ProfileUpdateRequest) Reset

func (x *ProfileUpdateRequest) Reset()

func (*ProfileUpdateRequest) String

func (x *ProfileUpdateRequest) String() string

type ProfileUpdateRequests

type ProfileUpdateRequests []*ProfileUpdateRequest

func NewProfileUpdateRequests

func NewProfileUpdateRequests() ProfileUpdateRequests

type ProfileUpdateResponse

type ProfileUpdateResponse struct {
	UserProfile *userProfile.UserProfile `protobuf:"bytes,1,opt,name=user_profile,json=userProfile,proto3,oneof" json:"user_profile,omitempty"`
	// contains filtered or unexported fields
}

func NewProfileUpdateResponse

func NewProfileUpdateResponse() *ProfileUpdateResponse

func SetProfileUpdateResponse

func SetProfileUpdateResponse(userProfile *userProfile.UserProfile) *ProfileUpdateResponse

func (*ProfileUpdateResponse) Descriptor deprecated

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

Deprecated: Use ProfileUpdateResponse.ProtoReflect.Descriptor instead.

func (*ProfileUpdateResponse) GetUserProfile

func (x *ProfileUpdateResponse) GetUserProfile() *userProfile.UserProfile

func (*ProfileUpdateResponse) ProtoMessage

func (*ProfileUpdateResponse) ProtoMessage()

func (*ProfileUpdateResponse) ProtoReflect

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

func (*ProfileUpdateResponse) Reset

func (x *ProfileUpdateResponse) Reset()

func (*ProfileUpdateResponse) String

func (x *ProfileUpdateResponse) String() string

type ProfileUpdateResponses

type ProfileUpdateResponses []*ProfileUpdateResponse

func NewProfileUpdateResponses

func NewProfileUpdateResponses() ProfileUpdateResponses

type UnimplementedProfileServer

type UnimplementedProfileServer struct {
}

UnimplementedProfileServer should be embedded to have forward compatible implementations.

func (UnimplementedProfileServer) Create

func (UnimplementedProfileServer) Get

func (UnimplementedProfileServer) Update

type UnsafeProfileServer

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

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

Directories

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

Jump to

Keyboard shortcuts

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