Documentation ¶
Index ¶
- Variables
- func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
- type AcceptFriendRequestRequest
- func (*AcceptFriendRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *AcceptFriendRequestRequest) GetRequestId() string
- func (*AcceptFriendRequestRequest) ProtoMessage()
- func (x *AcceptFriendRequestRequest) ProtoReflect() protoreflect.Message
- func (x *AcceptFriendRequestRequest) Reset()
- func (x *AcceptFriendRequestRequest) String() string
- type AcceptFriendRequestResponse
- type AppleCredentials
- type Avatar
- func (*Avatar) Descriptor() ([]byte, []int)deprecated
- func (x *Avatar) GetBottom() *AvatarAsset
- func (x *Avatar) GetFace() *AvatarAsset
- func (x *Avatar) GetHair() *AvatarAsset
- func (x *Avatar) GetHat() *AvatarAsset
- func (x *Avatar) GetHead() *AvatarAsset
- func (x *Avatar) GetLeftArm() *AvatarAsset
- func (x *Avatar) GetLeftLeg() *AvatarAsset
- func (x *Avatar) GetPelvis() *AvatarAsset
- func (x *Avatar) GetRightArm() *AvatarAsset
- func (x *Avatar) GetRightLeg() *AvatarAsset
- func (x *Avatar) GetShoes() *AvatarAsset
- func (x *Avatar) GetSkinTone() AvatarSkinTone
- func (x *Avatar) GetTop() *AvatarAsset
- func (x *Avatar) GetTorso() *AvatarAsset
- func (*Avatar) ProtoMessage()
- func (x *Avatar) ProtoReflect() protoreflect.Message
- func (x *Avatar) Reset()
- func (x *Avatar) String() string
- type AvatarAsset
- func (*AvatarAsset) Descriptor() ([]byte, []int)deprecated
- func (x *AvatarAsset) GetId() string
- func (x *AvatarAsset) GetImageUrl() string
- func (x *AvatarAsset) GetKind() string
- func (x *AvatarAsset) GetModelUrl() string
- func (x *AvatarAsset) GetName() string
- func (x *AvatarAsset) GetSkinTone() AvatarSkinTone
- func (*AvatarAsset) ProtoMessage()
- func (x *AvatarAsset) ProtoReflect() protoreflect.Message
- func (x *AvatarAsset) Reset()
- func (x *AvatarAsset) String() string
- type AvatarSkinTone
- func (AvatarSkinTone) Descriptor() protoreflect.EnumDescriptor
- func (x AvatarSkinTone) Enum() *AvatarSkinTone
- func (AvatarSkinTone) EnumDescriptor() ([]byte, []int)deprecated
- func (x AvatarSkinTone) Number() protoreflect.EnumNumber
- func (x AvatarSkinTone) String() string
- func (AvatarSkinTone) Type() protoreflect.EnumType
- type CancelFriendRequestRequest
- func (*CancelFriendRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CancelFriendRequestRequest) GetRequestId() string
- func (*CancelFriendRequestRequest) ProtoMessage()
- func (x *CancelFriendRequestRequest) ProtoReflect() protoreflect.Message
- func (x *CancelFriendRequestRequest) Reset()
- func (x *CancelFriendRequestRequest) String() string
- type CancelFriendRequestResponse
- type CreateProfileImageRequest
- type CreateProfileImageResponse
- func (*CreateProfileImageResponse) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProfileImageResponse) GetFileId() string
- func (x *CreateProfileImageResponse) GetUploadUrl() string
- func (*CreateProfileImageResponse) ProtoMessage()
- func (x *CreateProfileImageResponse) ProtoReflect() protoreflect.Message
- func (x *CreateProfileImageResponse) Reset()
- func (x *CreateProfileImageResponse) String() string
- type DeclineFriendRequestRequest
- func (*DeclineFriendRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeclineFriendRequestRequest) GetRequestId() string
- func (*DeclineFriendRequestRequest) ProtoMessage()
- func (x *DeclineFriendRequestRequest) ProtoReflect() protoreflect.Message
- func (x *DeclineFriendRequestRequest) Reset()
- func (x *DeclineFriendRequestRequest) String() string
- type DeclineFriendRequestResponse
- func (*DeclineFriendRequestResponse) Descriptor() ([]byte, []int)deprecated
- func (*DeclineFriendRequestResponse) ProtoMessage()
- func (x *DeclineFriendRequestResponse) ProtoReflect() protoreflect.Message
- func (x *DeclineFriendRequestResponse) Reset()
- func (x *DeclineFriendRequestResponse) String() string
- type FriendRequest
- func (*FriendRequest) Descriptor() ([]byte, []int)deprecated
- func (x *FriendRequest) GetFromUserId() string
- func (x *FriendRequest) GetId() string
- func (x *FriendRequest) GetMessage() string
- func (x *FriendRequest) GetStatus() FriendRequestStatus
- func (x *FriendRequest) GetToUserId() string
- func (*FriendRequest) ProtoMessage()
- func (x *FriendRequest) ProtoReflect() protoreflect.Message
- func (x *FriendRequest) Reset()
- func (x *FriendRequest) String() string
- type FriendRequestDirection
- func (FriendRequestDirection) Descriptor() protoreflect.EnumDescriptor
- func (x FriendRequestDirection) Enum() *FriendRequestDirection
- func (FriendRequestDirection) EnumDescriptor() ([]byte, []int)deprecated
- func (x FriendRequestDirection) Number() protoreflect.EnumNumber
- func (x FriendRequestDirection) String() string
- func (FriendRequestDirection) Type() protoreflect.EnumType
- type FriendRequestStatus
- func (FriendRequestStatus) Descriptor() protoreflect.EnumDescriptor
- func (x FriendRequestStatus) Enum() *FriendRequestStatus
- func (FriendRequestStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x FriendRequestStatus) Number() protoreflect.EnumNumber
- func (x FriendRequestStatus) String() string
- func (FriendRequestStatus) Type() protoreflect.EnumType
- type FriendshipStatus
- func (FriendshipStatus) Descriptor() protoreflect.EnumDescriptor
- func (x FriendshipStatus) Enum() *FriendshipStatus
- func (FriendshipStatus) EnumDescriptor() ([]byte, []int)deprecated
- func (x FriendshipStatus) Number() protoreflect.EnumNumber
- func (x FriendshipStatus) String() string
- func (FriendshipStatus) Type() protoreflect.EnumType
- type GetAvatarAssetsRequest
- func (*GetAvatarAssetsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetAvatarAssetsRequest) GetKind() string
- func (x *GetAvatarAssetsRequest) GetSkinTone() AvatarSkinTone
- func (*GetAvatarAssetsRequest) ProtoMessage()
- func (x *GetAvatarAssetsRequest) ProtoReflect() protoreflect.Message
- func (x *GetAvatarAssetsRequest) Reset()
- func (x *GetAvatarAssetsRequest) String() string
- type GetAvatarAssetsResponse
- func (*GetAvatarAssetsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetAvatarAssetsResponse) GetAvatarAssets() []*AvatarAsset
- func (*GetAvatarAssetsResponse) ProtoMessage()
- func (x *GetAvatarAssetsResponse) ProtoReflect() protoreflect.Message
- func (x *GetAvatarAssetsResponse) Reset()
- func (x *GetAvatarAssetsResponse) String() string
- type GetAvatarRequest
- type GetAvatarResponse
- type GetFriendRequestsRequest
- func (*GetFriendRequestsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFriendRequestsRequest) GetDirection() FriendRequestDirection
- func (x *GetFriendRequestsRequest) GetPage() *protobuf.PageInput
- func (x *GetFriendRequestsRequest) GetStatus() FriendRequestStatus
- func (*GetFriendRequestsRequest) ProtoMessage()
- func (x *GetFriendRequestsRequest) ProtoReflect() protoreflect.Message
- func (x *GetFriendRequestsRequest) Reset()
- func (x *GetFriendRequestsRequest) String() string
- type GetFriendRequestsResponse
- func (*GetFriendRequestsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFriendRequestsResponse) GetNextPage() *protobuf.PageToken
- func (x *GetFriendRequestsResponse) GetRequests() []*FriendRequest
- func (*GetFriendRequestsResponse) ProtoMessage()
- func (x *GetFriendRequestsResponse) ProtoReflect() protoreflect.Message
- func (x *GetFriendRequestsResponse) Reset()
- func (x *GetFriendRequestsResponse) String() string
- type GetFriendsRequest
- func (*GetFriendsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetFriendsRequest) GetPage() *protobuf.PageInput
- func (x *GetFriendsRequest) GetSearch() string
- func (*GetFriendsRequest) ProtoMessage()
- func (x *GetFriendsRequest) ProtoReflect() protoreflect.Message
- func (x *GetFriendsRequest) Reset()
- func (x *GetFriendsRequest) String() string
- type GetFriendsResponse
- func (*GetFriendsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetFriendsResponse) GetNextPage() *protobuf.PageToken
- func (x *GetFriendsResponse) GetUsers() []*User
- func (*GetFriendsResponse) ProtoMessage()
- func (x *GetFriendsResponse) ProtoReflect() protoreflect.Message
- func (x *GetFriendsResponse) Reset()
- func (x *GetFriendsResponse) String() string
- type GetRefreshTokenRequest
- func (*GetRefreshTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetRefreshTokenRequest) GetAccessToken() string
- func (*GetRefreshTokenRequest) ProtoMessage()
- func (x *GetRefreshTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetRefreshTokenRequest) Reset()
- func (x *GetRefreshTokenRequest) String() string
- type GetRefreshTokenResponse
- func (*GetRefreshTokenResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetRefreshTokenResponse) GetRefreshToken() string
- func (*GetRefreshTokenResponse) ProtoMessage()
- func (x *GetRefreshTokenResponse) ProtoReflect() protoreflect.Message
- func (x *GetRefreshTokenResponse) Reset()
- func (x *GetRefreshTokenResponse) String() string
- type GetSetupStepsRequest
- func (*GetSetupStepsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSetupStepsRequest) GetUserId() string
- func (*GetSetupStepsRequest) ProtoMessage()
- func (x *GetSetupStepsRequest) ProtoReflect() protoreflect.Message
- func (x *GetSetupStepsRequest) Reset()
- func (x *GetSetupStepsRequest) String() string
- type GetSetupStepsResponse
- func (*GetSetupStepsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSetupStepsResponse) GetSteps() []*SetupStep
- func (*GetSetupStepsResponse) ProtoMessage()
- func (x *GetSetupStepsResponse) ProtoReflect() protoreflect.Message
- func (x *GetSetupStepsResponse) Reset()
- func (x *GetSetupStepsResponse) String() string
- type GetSkinTonesRequest
- type GetSkinTonesResponse
- func (*GetSkinTonesResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetSkinTonesResponse) GetSkinTones() []*GetSkinTonesResponse_SkinTone
- func (*GetSkinTonesResponse) ProtoMessage()
- func (x *GetSkinTonesResponse) ProtoReflect() protoreflect.Message
- func (x *GetSkinTonesResponse) Reset()
- func (x *GetSkinTonesResponse) String() string
- type GetSkinTonesResponse_SkinTone
- func (*GetSkinTonesResponse_SkinTone) Descriptor() ([]byte, []int)deprecated
- func (x *GetSkinTonesResponse_SkinTone) GetImageUrl() string
- func (x *GetSkinTonesResponse_SkinTone) GetSkinTone() AvatarSkinTone
- func (*GetSkinTonesResponse_SkinTone) ProtoMessage()
- func (x *GetSkinTonesResponse_SkinTone) ProtoReflect() protoreflect.Message
- func (x *GetSkinTonesResponse_SkinTone) Reset()
- func (x *GetSkinTonesResponse_SkinTone) String() string
- type GetUserEdgeRequest
- func (*GetUserEdgeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserEdgeRequest) GetUserId() string
- func (*GetUserEdgeRequest) ProtoMessage()
- func (x *GetUserEdgeRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserEdgeRequest) Reset()
- func (x *GetUserEdgeRequest) String() string
- type GetUserEdgeResponse
- func (*GetUserEdgeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserEdgeResponse) GetFriendshipStatus() FriendshipStatus
- func (*GetUserEdgeResponse) ProtoMessage()
- func (x *GetUserEdgeResponse) ProtoReflect() protoreflect.Message
- func (x *GetUserEdgeResponse) Reset()
- func (x *GetUserEdgeResponse) String() string
- type GetUserRequest
- func (*GetUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserRequest) GetId() string
- func (x *GetUserRequest) GetUsername() string
- func (*GetUserRequest) ProtoMessage()
- func (x *GetUserRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserRequest) Reset()
- func (x *GetUserRequest) String() string
- type GetUserResponse
- type GetUsersRequest
- func (*GetUsersRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersRequest) GetPage() *protobuf.PageInput
- func (x *GetUsersRequest) GetSearch() string
- func (*GetUsersRequest) ProtoMessage()
- func (x *GetUsersRequest) ProtoReflect() protoreflect.Message
- func (x *GetUsersRequest) Reset()
- func (x *GetUsersRequest) String() string
- type GetUsersResponse
- func (*GetUsersResponse) Descriptor() ([]byte, []int)deprecated
- func (x *GetUsersResponse) GetNextPage() *protobuf.PageToken
- func (x *GetUsersResponse) GetUsers() []*User
- func (*GetUsersResponse) ProtoMessage()
- func (x *GetUsersResponse) ProtoReflect() protoreflect.Message
- func (x *GetUsersResponse) Reset()
- func (x *GetUsersResponse) String() string
- type PurgeUserRequest
- type PurgeUserResponse
- type SendFriendRequestRequest
- func (*SendFriendRequestRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SendFriendRequestRequest) GetMessage() string
- func (x *SendFriendRequestRequest) GetUserId() string
- func (*SendFriendRequestRequest) ProtoMessage()
- func (x *SendFriendRequestRequest) ProtoReflect() protoreflect.Message
- func (x *SendFriendRequestRequest) Reset()
- func (x *SendFriendRequestRequest) String() string
- type SendFriendRequestResponse
- type SetupStep
- type SetupStepKind
- func (SetupStepKind) Descriptor() protoreflect.EnumDescriptor
- func (x SetupStepKind) Enum() *SetupStepKind
- func (SetupStepKind) EnumDescriptor() ([]byte, []int)deprecated
- func (x SetupStepKind) Number() protoreflect.EnumNumber
- func (x SetupStepKind) String() string
- func (SetupStepKind) Type() protoreflect.EnumType
- type SignInRequest
- func (*SignInRequest) Descriptor() ([]byte, []int)deprecated
- func (x *SignInRequest) GetAppleCredentials() *AppleCredentials
- func (x *SignInRequest) GetRefreshToken() string
- func (*SignInRequest) ProtoMessage()
- func (x *SignInRequest) ProtoReflect() protoreflect.Message
- func (x *SignInRequest) Reset()
- func (x *SignInRequest) String() string
- type SignInResponse
- func (*SignInResponse) Descriptor() ([]byte, []int)deprecated
- func (x *SignInResponse) GetAccessToken() string
- func (x *SignInResponse) GetUserId() string
- func (*SignInResponse) ProtoMessage()
- func (x *SignInResponse) ProtoReflect() protoreflect.Message
- func (x *SignInResponse) Reset()
- func (x *SignInResponse) String() string
- type SignOutRequest
- type SignOutResponse
- type UnfriendRequest
- type UnfriendResponse
- type UnimplementedUserServiceServer
- func (UnimplementedUserServiceServer) AcceptFriendRequest(context.Context, *AcceptFriendRequestRequest) (*AcceptFriendRequestResponse, error)
- func (UnimplementedUserServiceServer) CancelFriendRequest(context.Context, *CancelFriendRequestRequest) (*CancelFriendRequestResponse, error)
- func (UnimplementedUserServiceServer) CreateProfileImage(context.Context, *CreateProfileImageRequest) (*CreateProfileImageResponse, error)
- func (UnimplementedUserServiceServer) DeclineFriendRequest(context.Context, *DeclineFriendRequestRequest) (*DeclineFriendRequestResponse, error)
- func (UnimplementedUserServiceServer) GetAvatar(context.Context, *GetAvatarRequest) (*GetAvatarResponse, error)
- func (UnimplementedUserServiceServer) GetAvatarAssets(context.Context, *GetAvatarAssetsRequest) (*GetAvatarAssetsResponse, error)
- func (UnimplementedUserServiceServer) GetFriendRequests(context.Context, *GetFriendRequestsRequest) (*GetFriendRequestsResponse, error)
- func (UnimplementedUserServiceServer) GetFriends(context.Context, *GetFriendsRequest) (*GetFriendsResponse, error)
- func (UnimplementedUserServiceServer) GetRefreshToken(context.Context, *GetRefreshTokenRequest) (*GetRefreshTokenResponse, error)
- func (UnimplementedUserServiceServer) GetSetupSteps(context.Context, *GetSetupStepsRequest) (*GetSetupStepsResponse, error)
- func (UnimplementedUserServiceServer) GetSkinTones(context.Context, *GetSkinTonesRequest) (*GetSkinTonesResponse, error)
- func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
- func (UnimplementedUserServiceServer) GetUserEdge(context.Context, *GetUserEdgeRequest) (*GetUserEdgeResponse, error)
- func (UnimplementedUserServiceServer) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
- func (UnimplementedUserServiceServer) PurgeUser(context.Context, *PurgeUserRequest) (*PurgeUserResponse, error)
- func (UnimplementedUserServiceServer) SendFriendRequest(context.Context, *SendFriendRequestRequest) (*SendFriendRequestResponse, error)
- func (UnimplementedUserServiceServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
- func (UnimplementedUserServiceServer) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error)
- func (UnimplementedUserServiceServer) Unfriend(context.Context, *UnfriendRequest) (*UnfriendResponse, error)
- func (UnimplementedUserServiceServer) UpdateAvatar(context.Context, *UpdateAvatarRequest) (*UpdateAvatarResponse, error)
- func (UnimplementedUserServiceServer) UpdateAvatarSkinTone(context.Context, *UpdateAvatarSkinToneRequest) (*UpdateAvatarSkinToneResponse, error)
- func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
- type UnsafeUserServiceServer
- type UpdateAvatarRequest
- func (*UpdateAvatarRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAvatarRequest) GetBottomAssetId() string
- func (x *UpdateAvatarRequest) GetHairAssetId() string
- func (x *UpdateAvatarRequest) GetHatAssetId() string
- func (x *UpdateAvatarRequest) GetHeadAssetId() string
- func (x *UpdateAvatarRequest) GetShoesAssetId() string
- func (x *UpdateAvatarRequest) GetTopAssetId() string
- func (*UpdateAvatarRequest) ProtoMessage()
- func (x *UpdateAvatarRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAvatarRequest) Reset()
- func (x *UpdateAvatarRequest) String() string
- type UpdateAvatarResponse
- type UpdateAvatarSkinToneRequest
- func (*UpdateAvatarSkinToneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateAvatarSkinToneRequest) GetSkinTone() AvatarSkinTone
- func (*UpdateAvatarSkinToneRequest) ProtoMessage()
- func (x *UpdateAvatarSkinToneRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateAvatarSkinToneRequest) Reset()
- func (x *UpdateAvatarSkinToneRequest) String() string
- type UpdateAvatarSkinToneResponse
- func (*UpdateAvatarSkinToneResponse) Descriptor() ([]byte, []int)deprecated
- func (*UpdateAvatarSkinToneResponse) ProtoMessage()
- func (x *UpdateAvatarSkinToneResponse) ProtoReflect() protoreflect.Message
- func (x *UpdateAvatarSkinToneResponse) Reset()
- func (x *UpdateAvatarSkinToneResponse) String() string
- type UpdateUserRequest
- func (*UpdateUserRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateUserRequest) GetDisplayName() string
- func (x *UpdateUserRequest) GetId() string
- func (x *UpdateUserRequest) GetProfileImageId() string
- func (x *UpdateUserRequest) GetUsername() string
- func (*UpdateUserRequest) ProtoMessage()
- func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateUserRequest) Reset()
- func (x *UpdateUserRequest) String() string
- type UpdateUserResponse
- type User
- func (*User) Descriptor() ([]byte, []int)deprecated
- func (x *User) GetDisplayName() string
- func (x *User) GetId() string
- func (x *User) GetProfileImage() *protobuf.Image
- func (x *User) GetUsername() string
- func (*User) ProtoMessage()
- func (x *User) ProtoReflect() protoreflect.Message
- func (x *User) Reset()
- func (x *User) String() string
- type UserServiceClient
- type UserServiceServer
Constants ¶
This section is empty.
Variables ¶
var ( SetupStepKind_name = map[int32]string{ 0: "SETUP_STEP_KIND_UNSPECIFIED", 1: "SETUP_STEP_KIND_USERNAME", 2: "SETUP_STEP_KIND_PROFILE_IMAGE", 3: "SETUP_STEP_KIND_DISPLAY_NAME", } SetupStepKind_value = map[string]int32{ "SETUP_STEP_KIND_UNSPECIFIED": 0, "SETUP_STEP_KIND_USERNAME": 1, "SETUP_STEP_KIND_PROFILE_IMAGE": 2, "SETUP_STEP_KIND_DISPLAY_NAME": 3, } )
Enum value maps for SetupStepKind.
var ( AvatarSkinTone_name = map[int32]string{ 0: "AVATAR_SKIN_TONE_UNSPECIFIED", 1: "AVATAR_SKIN_TONE_BROWN_LIGHT", 2: "AVATAR_SKIN_TONE_BROWN_MID", 3: "AVATAR_SKIN_TONE_BROWN", 4: "AVATAR_SKIN_TONE_YELLOW", 5: "AVATAR_SKIN_TONE_WHITE", } AvatarSkinTone_value = map[string]int32{ "AVATAR_SKIN_TONE_UNSPECIFIED": 0, "AVATAR_SKIN_TONE_BROWN_LIGHT": 1, "AVATAR_SKIN_TONE_BROWN_MID": 2, "AVATAR_SKIN_TONE_BROWN": 3, "AVATAR_SKIN_TONE_YELLOW": 4, "AVATAR_SKIN_TONE_WHITE": 5, } )
Enum value maps for AvatarSkinTone.
var ( FriendRequestStatus_name = map[int32]string{ 0: "FRIEND_REQUEST_STATUS_UNSPECIFIED", 1: "FRIEND_REQUEST_STATUS_PENDING", 2: "FRIEND_REQUEST_STATUS_DECLINED", 3: "FRIEND_REQUEST_STATUS_CANCELLED", 4: "FRIEND_REQUEST_STATUS_ACCEPTED", } FriendRequestStatus_value = map[string]int32{ "FRIEND_REQUEST_STATUS_UNSPECIFIED": 0, "FRIEND_REQUEST_STATUS_PENDING": 1, "FRIEND_REQUEST_STATUS_DECLINED": 2, "FRIEND_REQUEST_STATUS_CANCELLED": 3, "FRIEND_REQUEST_STATUS_ACCEPTED": 4, } )
Enum value maps for FriendRequestStatus.
var ( FriendRequestDirection_name = map[int32]string{ 0: "FRIEND_REQUEST_DIRECTION_UNSPECIFIED", 1: "FRIEND_REQUEST_DIRECTION_SENT", 2: "FRIEND_REQUEST_DIRECTION_RECEIVED", } FriendRequestDirection_value = map[string]int32{ "FRIEND_REQUEST_DIRECTION_UNSPECIFIED": 0, "FRIEND_REQUEST_DIRECTION_SENT": 1, "FRIEND_REQUEST_DIRECTION_RECEIVED": 2, } )
Enum value maps for FriendRequestDirection.
var ( FriendshipStatus_name = map[int32]string{ 0: "FRIENDSHIP_STATUS_UNSPECIFIED", 1: "FRIENDSHIP_STATUS_REQUEST_SENT", 2: "FRIENDSHIP_STATUS_REQUEST_RECEIVED", 3: "FRIENDSHIP_STATUS_FRIENDS", 4: "FRIENDSHIP_STATUS_SELF", } FriendshipStatus_value = map[string]int32{ "FRIENDSHIP_STATUS_UNSPECIFIED": 0, "FRIENDSHIP_STATUS_REQUEST_SENT": 1, "FRIENDSHIP_STATUS_REQUEST_RECEIVED": 2, "FRIENDSHIP_STATUS_FRIENDS": 3, "FRIENDSHIP_STATUS_SELF": 4, } )
Enum value maps for FriendshipStatus.
var File_basket_user_service_v1_user_proto protoreflect.FileDescriptor
var UserService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "basket.user_service.v1.UserService", HandlerType: (*UserServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "SignIn", Handler: _UserService_SignIn_Handler, }, { MethodName: "GetSetupSteps", Handler: _UserService_GetSetupSteps_Handler, }, { MethodName: "GetUsers", Handler: _UserService_GetUsers_Handler, }, { MethodName: "GetUser", Handler: _UserService_GetUser_Handler, }, { MethodName: "UpdateUser", Handler: _UserService_UpdateUser_Handler, }, { MethodName: "CreateProfileImage", Handler: _UserService_CreateProfileImage_Handler, }, { MethodName: "GetRefreshToken", Handler: _UserService_GetRefreshToken_Handler, }, { MethodName: "SignOut", Handler: _UserService_SignOut_Handler, }, { MethodName: "PurgeUser", Handler: _UserService_PurgeUser_Handler, }, { MethodName: "GetFriends", Handler: _UserService_GetFriends_Handler, }, { MethodName: "GetFriendRequests", Handler: _UserService_GetFriendRequests_Handler, }, { MethodName: "SendFriendRequest", Handler: _UserService_SendFriendRequest_Handler, }, { MethodName: "CancelFriendRequest", Handler: _UserService_CancelFriendRequest_Handler, }, { MethodName: "AcceptFriendRequest", Handler: _UserService_AcceptFriendRequest_Handler, }, { MethodName: "DeclineFriendRequest", Handler: _UserService_DeclineFriendRequest_Handler, }, { MethodName: "Unfriend", Handler: _UserService_Unfriend_Handler, }, { MethodName: "GetUserEdge", Handler: _UserService_GetUserEdge_Handler, }, { MethodName: "UpdateAvatar", Handler: _UserService_UpdateAvatar_Handler, }, { MethodName: "UpdateAvatarSkinTone", Handler: _UserService_UpdateAvatarSkinTone_Handler, }, { MethodName: "GetAvatar", Handler: _UserService_GetAvatar_Handler, }, { MethodName: "GetAvatarAssets", Handler: _UserService_GetAvatarAssets_Handler, }, { MethodName: "GetSkinTones", Handler: _UserService_GetSkinTones_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "basket/user-service/v1/user.proto", }
UserService_ServiceDesc is the grpc.ServiceDesc for UserService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterUserServiceServer ¶
func RegisterUserServiceServer(s grpc.ServiceRegistrar, srv UserServiceServer)
Types ¶
type AcceptFriendRequestRequest ¶ added in v0.3.26
type AcceptFriendRequestRequest struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*AcceptFriendRequestRequest) Descriptor
deprecated
added in
v0.3.26
func (*AcceptFriendRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use AcceptFriendRequestRequest.ProtoReflect.Descriptor instead.
func (*AcceptFriendRequestRequest) GetRequestId ¶ added in v0.3.26
func (x *AcceptFriendRequestRequest) GetRequestId() string
func (*AcceptFriendRequestRequest) ProtoMessage ¶ added in v0.3.26
func (*AcceptFriendRequestRequest) ProtoMessage()
func (*AcceptFriendRequestRequest) ProtoReflect ¶ added in v0.3.26
func (x *AcceptFriendRequestRequest) ProtoReflect() protoreflect.Message
func (*AcceptFriendRequestRequest) Reset ¶ added in v0.3.26
func (x *AcceptFriendRequestRequest) Reset()
func (*AcceptFriendRequestRequest) String ¶ added in v0.3.26
func (x *AcceptFriendRequestRequest) String() string
type AcceptFriendRequestResponse ¶ added in v0.3.26
type AcceptFriendRequestResponse struct {
// contains filtered or unexported fields
}
func (*AcceptFriendRequestResponse) Descriptor
deprecated
added in
v0.3.26
func (*AcceptFriendRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use AcceptFriendRequestResponse.ProtoReflect.Descriptor instead.
func (*AcceptFriendRequestResponse) ProtoMessage ¶ added in v0.3.26
func (*AcceptFriendRequestResponse) ProtoMessage()
func (*AcceptFriendRequestResponse) ProtoReflect ¶ added in v0.3.26
func (x *AcceptFriendRequestResponse) ProtoReflect() protoreflect.Message
func (*AcceptFriendRequestResponse) Reset ¶ added in v0.3.26
func (x *AcceptFriendRequestResponse) Reset()
func (*AcceptFriendRequestResponse) String ¶ added in v0.3.26
func (x *AcceptFriendRequestResponse) String() string
type AppleCredentials ¶
type AppleCredentials struct { Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"` // contains filtered or unexported fields }
func (*AppleCredentials) Descriptor
deprecated
func (*AppleCredentials) Descriptor() ([]byte, []int)
Deprecated: Use AppleCredentials.ProtoReflect.Descriptor instead.
func (*AppleCredentials) GetToken ¶
func (x *AppleCredentials) GetToken() string
func (*AppleCredentials) ProtoMessage ¶
func (*AppleCredentials) ProtoMessage()
func (*AppleCredentials) ProtoReflect ¶
func (x *AppleCredentials) ProtoReflect() protoreflect.Message
func (*AppleCredentials) Reset ¶
func (x *AppleCredentials) Reset()
func (*AppleCredentials) String ¶
func (x *AppleCredentials) String() string
type Avatar ¶ added in v0.3.1
type Avatar struct { Hair *AvatarAsset `protobuf:"bytes,1,opt,name=hair,proto3" json:"hair,omitempty"` Hat *AvatarAsset `protobuf:"bytes,2,opt,name=hat,proto3" json:"hat,omitempty"` Top *AvatarAsset `protobuf:"bytes,3,opt,name=top,proto3" json:"top,omitempty"` Bottom *AvatarAsset `protobuf:"bytes,4,opt,name=bottom,proto3" json:"bottom,omitempty"` Shoes *AvatarAsset `protobuf:"bytes,5,opt,name=shoes,proto3" json:"shoes,omitempty"` LeftArm *AvatarAsset `protobuf:"bytes,6,opt,name=left_arm,json=leftArm,proto3" json:"left_arm,omitempty"` RightArm *AvatarAsset `protobuf:"bytes,7,opt,name=right_arm,json=rightArm,proto3" json:"right_arm,omitempty"` LeftLeg *AvatarAsset `protobuf:"bytes,8,opt,name=left_leg,json=leftLeg,proto3" json:"left_leg,omitempty"` RightLeg *AvatarAsset `protobuf:"bytes,9,opt,name=right_leg,json=rightLeg,proto3" json:"right_leg,omitempty"` Head *AvatarAsset `protobuf:"bytes,10,opt,name=head,proto3" json:"head,omitempty"` Face *AvatarAsset `protobuf:"bytes,11,opt,name=face,proto3" json:"face,omitempty"` Torso *AvatarAsset `protobuf:"bytes,12,opt,name=torso,proto3" json:"torso,omitempty"` Pelvis *AvatarAsset `protobuf:"bytes,13,opt,name=pelvis,proto3" json:"pelvis,omitempty"` SkinTone AvatarSkinTone `` /* 130-byte string literal not displayed */ // contains filtered or unexported fields }
func (*Avatar) Descriptor
deprecated
added in
v0.3.1
func (*Avatar) GetBottom ¶ added in v0.3.1
func (x *Avatar) GetBottom() *AvatarAsset
func (*Avatar) GetFace ¶ added in v0.3.1
func (x *Avatar) GetFace() *AvatarAsset
func (*Avatar) GetHair ¶ added in v0.3.1
func (x *Avatar) GetHair() *AvatarAsset
func (*Avatar) GetHat ¶ added in v0.3.1
func (x *Avatar) GetHat() *AvatarAsset
func (*Avatar) GetHead ¶ added in v0.3.1
func (x *Avatar) GetHead() *AvatarAsset
func (*Avatar) GetLeftArm ¶ added in v0.3.1
func (x *Avatar) GetLeftArm() *AvatarAsset
func (*Avatar) GetLeftLeg ¶ added in v0.3.1
func (x *Avatar) GetLeftLeg() *AvatarAsset
func (*Avatar) GetPelvis ¶ added in v0.3.1
func (x *Avatar) GetPelvis() *AvatarAsset
func (*Avatar) GetRightArm ¶ added in v0.3.1
func (x *Avatar) GetRightArm() *AvatarAsset
func (*Avatar) GetRightLeg ¶ added in v0.3.1
func (x *Avatar) GetRightLeg() *AvatarAsset
func (*Avatar) GetShoes ¶ added in v0.3.1
func (x *Avatar) GetShoes() *AvatarAsset
func (*Avatar) GetSkinTone ¶ added in v0.3.7
func (x *Avatar) GetSkinTone() AvatarSkinTone
func (*Avatar) GetTop ¶ added in v0.3.1
func (x *Avatar) GetTop() *AvatarAsset
func (*Avatar) GetTorso ¶ added in v0.3.1
func (x *Avatar) GetTorso() *AvatarAsset
func (*Avatar) ProtoMessage ¶ added in v0.3.1
func (*Avatar) ProtoMessage()
func (*Avatar) ProtoReflect ¶ added in v0.3.1
func (x *Avatar) ProtoReflect() protoreflect.Message
type AvatarAsset ¶ added in v0.3.1
type AvatarAsset struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` Kind string `protobuf:"bytes,3,opt,name=kind,proto3" json:"kind,omitempty"` ImageUrl *string `protobuf:"bytes,4,opt,name=image_url,json=imageUrl,proto3,oneof" json:"image_url,omitempty"` ModelUrl string `protobuf:"bytes,5,opt,name=model_url,json=modelUrl,proto3" json:"model_url,omitempty"` SkinTone AvatarSkinTone `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*AvatarAsset) Descriptor
deprecated
added in
v0.3.1
func (*AvatarAsset) Descriptor() ([]byte, []int)
Deprecated: Use AvatarAsset.ProtoReflect.Descriptor instead.
func (*AvatarAsset) GetId ¶ added in v0.3.1
func (x *AvatarAsset) GetId() string
func (*AvatarAsset) GetImageUrl ¶ added in v0.3.1
func (x *AvatarAsset) GetImageUrl() string
func (*AvatarAsset) GetKind ¶ added in v0.3.1
func (x *AvatarAsset) GetKind() string
func (*AvatarAsset) GetModelUrl ¶ added in v0.3.1
func (x *AvatarAsset) GetModelUrl() string
func (*AvatarAsset) GetName ¶ added in v0.3.1
func (x *AvatarAsset) GetName() string
func (*AvatarAsset) GetSkinTone ¶ added in v0.3.7
func (x *AvatarAsset) GetSkinTone() AvatarSkinTone
func (*AvatarAsset) ProtoMessage ¶ added in v0.3.1
func (*AvatarAsset) ProtoMessage()
func (*AvatarAsset) ProtoReflect ¶ added in v0.3.1
func (x *AvatarAsset) ProtoReflect() protoreflect.Message
func (*AvatarAsset) Reset ¶ added in v0.3.1
func (x *AvatarAsset) Reset()
func (*AvatarAsset) String ¶ added in v0.3.1
func (x *AvatarAsset) String() string
type AvatarSkinTone ¶ added in v0.3.7
type AvatarSkinTone int32
const ( AvatarSkinTone_AVATAR_SKIN_TONE_UNSPECIFIED AvatarSkinTone = 0 AvatarSkinTone_AVATAR_SKIN_TONE_BROWN_LIGHT AvatarSkinTone = 1 AvatarSkinTone_AVATAR_SKIN_TONE_BROWN_MID AvatarSkinTone = 2 AvatarSkinTone_AVATAR_SKIN_TONE_BROWN AvatarSkinTone = 3 AvatarSkinTone_AVATAR_SKIN_TONE_YELLOW AvatarSkinTone = 4 AvatarSkinTone_AVATAR_SKIN_TONE_WHITE AvatarSkinTone = 5 )
func (AvatarSkinTone) Descriptor ¶ added in v0.3.7
func (AvatarSkinTone) Descriptor() protoreflect.EnumDescriptor
func (AvatarSkinTone) Enum ¶ added in v0.3.7
func (x AvatarSkinTone) Enum() *AvatarSkinTone
func (AvatarSkinTone) EnumDescriptor
deprecated
added in
v0.3.7
func (AvatarSkinTone) EnumDescriptor() ([]byte, []int)
Deprecated: Use AvatarSkinTone.Descriptor instead.
func (AvatarSkinTone) Number ¶ added in v0.3.7
func (x AvatarSkinTone) Number() protoreflect.EnumNumber
func (AvatarSkinTone) String ¶ added in v0.3.7
func (x AvatarSkinTone) String() string
func (AvatarSkinTone) Type ¶ added in v0.3.7
func (AvatarSkinTone) Type() protoreflect.EnumType
type CancelFriendRequestRequest ¶ added in v0.3.26
type CancelFriendRequestRequest struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*CancelFriendRequestRequest) Descriptor
deprecated
added in
v0.3.26
func (*CancelFriendRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use CancelFriendRequestRequest.ProtoReflect.Descriptor instead.
func (*CancelFriendRequestRequest) GetRequestId ¶ added in v0.3.26
func (x *CancelFriendRequestRequest) GetRequestId() string
func (*CancelFriendRequestRequest) ProtoMessage ¶ added in v0.3.26
func (*CancelFriendRequestRequest) ProtoMessage()
func (*CancelFriendRequestRequest) ProtoReflect ¶ added in v0.3.26
func (x *CancelFriendRequestRequest) ProtoReflect() protoreflect.Message
func (*CancelFriendRequestRequest) Reset ¶ added in v0.3.26
func (x *CancelFriendRequestRequest) Reset()
func (*CancelFriendRequestRequest) String ¶ added in v0.3.26
func (x *CancelFriendRequestRequest) String() string
type CancelFriendRequestResponse ¶ added in v0.3.26
type CancelFriendRequestResponse struct {
// contains filtered or unexported fields
}
func (*CancelFriendRequestResponse) Descriptor
deprecated
added in
v0.3.26
func (*CancelFriendRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use CancelFriendRequestResponse.ProtoReflect.Descriptor instead.
func (*CancelFriendRequestResponse) ProtoMessage ¶ added in v0.3.26
func (*CancelFriendRequestResponse) ProtoMessage()
func (*CancelFriendRequestResponse) ProtoReflect ¶ added in v0.3.26
func (x *CancelFriendRequestResponse) ProtoReflect() protoreflect.Message
func (*CancelFriendRequestResponse) Reset ¶ added in v0.3.26
func (x *CancelFriendRequestResponse) Reset()
func (*CancelFriendRequestResponse) String ¶ added in v0.3.26
func (x *CancelFriendRequestResponse) String() string
type CreateProfileImageRequest ¶
type CreateProfileImageRequest struct {
// contains filtered or unexported fields
}
func (*CreateProfileImageRequest) Descriptor
deprecated
func (*CreateProfileImageRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateProfileImageRequest.ProtoReflect.Descriptor instead.
func (*CreateProfileImageRequest) ProtoMessage ¶
func (*CreateProfileImageRequest) ProtoMessage()
func (*CreateProfileImageRequest) ProtoReflect ¶
func (x *CreateProfileImageRequest) ProtoReflect() protoreflect.Message
func (*CreateProfileImageRequest) Reset ¶
func (x *CreateProfileImageRequest) Reset()
func (*CreateProfileImageRequest) String ¶
func (x *CreateProfileImageRequest) String() string
type CreateProfileImageResponse ¶
type CreateProfileImageResponse struct { FileId string `protobuf:"bytes,1,opt,name=file_id,json=fileId,proto3" json:"file_id,omitempty"` UploadUrl string `protobuf:"bytes,2,opt,name=upload_url,json=uploadUrl,proto3" json:"upload_url,omitempty"` // contains filtered or unexported fields }
func (*CreateProfileImageResponse) Descriptor
deprecated
func (*CreateProfileImageResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateProfileImageResponse.ProtoReflect.Descriptor instead.
func (*CreateProfileImageResponse) GetFileId ¶
func (x *CreateProfileImageResponse) GetFileId() string
func (*CreateProfileImageResponse) GetUploadUrl ¶
func (x *CreateProfileImageResponse) GetUploadUrl() string
func (*CreateProfileImageResponse) ProtoMessage ¶
func (*CreateProfileImageResponse) ProtoMessage()
func (*CreateProfileImageResponse) ProtoReflect ¶
func (x *CreateProfileImageResponse) ProtoReflect() protoreflect.Message
func (*CreateProfileImageResponse) Reset ¶
func (x *CreateProfileImageResponse) Reset()
func (*CreateProfileImageResponse) String ¶
func (x *CreateProfileImageResponse) String() string
type DeclineFriendRequestRequest ¶ added in v0.3.26
type DeclineFriendRequestRequest struct { RequestId string `protobuf:"bytes,1,opt,name=request_id,json=requestId,proto3" json:"request_id,omitempty"` // contains filtered or unexported fields }
func (*DeclineFriendRequestRequest) Descriptor
deprecated
added in
v0.3.26
func (*DeclineFriendRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeclineFriendRequestRequest.ProtoReflect.Descriptor instead.
func (*DeclineFriendRequestRequest) GetRequestId ¶ added in v0.3.26
func (x *DeclineFriendRequestRequest) GetRequestId() string
func (*DeclineFriendRequestRequest) ProtoMessage ¶ added in v0.3.26
func (*DeclineFriendRequestRequest) ProtoMessage()
func (*DeclineFriendRequestRequest) ProtoReflect ¶ added in v0.3.26
func (x *DeclineFriendRequestRequest) ProtoReflect() protoreflect.Message
func (*DeclineFriendRequestRequest) Reset ¶ added in v0.3.26
func (x *DeclineFriendRequestRequest) Reset()
func (*DeclineFriendRequestRequest) String ¶ added in v0.3.26
func (x *DeclineFriendRequestRequest) String() string
type DeclineFriendRequestResponse ¶ added in v0.3.26
type DeclineFriendRequestResponse struct {
// contains filtered or unexported fields
}
func (*DeclineFriendRequestResponse) Descriptor
deprecated
added in
v0.3.26
func (*DeclineFriendRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeclineFriendRequestResponse.ProtoReflect.Descriptor instead.
func (*DeclineFriendRequestResponse) ProtoMessage ¶ added in v0.3.26
func (*DeclineFriendRequestResponse) ProtoMessage()
func (*DeclineFriendRequestResponse) ProtoReflect ¶ added in v0.3.26
func (x *DeclineFriendRequestResponse) ProtoReflect() protoreflect.Message
func (*DeclineFriendRequestResponse) Reset ¶ added in v0.3.26
func (x *DeclineFriendRequestResponse) Reset()
func (*DeclineFriendRequestResponse) String ¶ added in v0.3.26
func (x *DeclineFriendRequestResponse) String() string
type FriendRequest ¶ added in v0.3.26
type FriendRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` FromUserId string `protobuf:"bytes,2,opt,name=from_user_id,json=fromUserId,proto3" json:"from_user_id,omitempty"` ToUserId string `protobuf:"bytes,3,opt,name=to_user_id,json=toUserId,proto3" json:"to_user_id,omitempty"` Message *string `protobuf:"bytes,4,opt,name=message,proto3,oneof" json:"message,omitempty"` Status FriendRequestStatus `protobuf:"varint,5,opt,name=status,proto3,enum=basket.user_service.v1.FriendRequestStatus" json:"status,omitempty"` // contains filtered or unexported fields }
func (*FriendRequest) Descriptor
deprecated
added in
v0.3.26
func (*FriendRequest) Descriptor() ([]byte, []int)
Deprecated: Use FriendRequest.ProtoReflect.Descriptor instead.
func (*FriendRequest) GetFromUserId ¶ added in v0.3.26
func (x *FriendRequest) GetFromUserId() string
func (*FriendRequest) GetId ¶ added in v0.3.26
func (x *FriendRequest) GetId() string
func (*FriendRequest) GetMessage ¶ added in v0.3.26
func (x *FriendRequest) GetMessage() string
func (*FriendRequest) GetStatus ¶ added in v0.3.26
func (x *FriendRequest) GetStatus() FriendRequestStatus
func (*FriendRequest) GetToUserId ¶ added in v0.3.26
func (x *FriendRequest) GetToUserId() string
func (*FriendRequest) ProtoMessage ¶ added in v0.3.26
func (*FriendRequest) ProtoMessage()
func (*FriendRequest) ProtoReflect ¶ added in v0.3.26
func (x *FriendRequest) ProtoReflect() protoreflect.Message
func (*FriendRequest) Reset ¶ added in v0.3.26
func (x *FriendRequest) Reset()
func (*FriendRequest) String ¶ added in v0.3.26
func (x *FriendRequest) String() string
type FriendRequestDirection ¶ added in v0.3.26
type FriendRequestDirection int32
const ( FriendRequestDirection_FRIEND_REQUEST_DIRECTION_UNSPECIFIED FriendRequestDirection = 0 FriendRequestDirection_FRIEND_REQUEST_DIRECTION_SENT FriendRequestDirection = 1 FriendRequestDirection_FRIEND_REQUEST_DIRECTION_RECEIVED FriendRequestDirection = 2 )
func (FriendRequestDirection) Descriptor ¶ added in v0.3.26
func (FriendRequestDirection) Descriptor() protoreflect.EnumDescriptor
func (FriendRequestDirection) Enum ¶ added in v0.3.26
func (x FriendRequestDirection) Enum() *FriendRequestDirection
func (FriendRequestDirection) EnumDescriptor
deprecated
added in
v0.3.26
func (FriendRequestDirection) EnumDescriptor() ([]byte, []int)
Deprecated: Use FriendRequestDirection.Descriptor instead.
func (FriendRequestDirection) Number ¶ added in v0.3.26
func (x FriendRequestDirection) Number() protoreflect.EnumNumber
func (FriendRequestDirection) String ¶ added in v0.3.26
func (x FriendRequestDirection) String() string
func (FriendRequestDirection) Type ¶ added in v0.3.26
func (FriendRequestDirection) Type() protoreflect.EnumType
type FriendRequestStatus ¶ added in v0.3.26
type FriendRequestStatus int32
const ( FriendRequestStatus_FRIEND_REQUEST_STATUS_UNSPECIFIED FriendRequestStatus = 0 FriendRequestStatus_FRIEND_REQUEST_STATUS_PENDING FriendRequestStatus = 1 FriendRequestStatus_FRIEND_REQUEST_STATUS_DECLINED FriendRequestStatus = 2 FriendRequestStatus_FRIEND_REQUEST_STATUS_CANCELLED FriendRequestStatus = 3 FriendRequestStatus_FRIEND_REQUEST_STATUS_ACCEPTED FriendRequestStatus = 4 )
func (FriendRequestStatus) Descriptor ¶ added in v0.3.26
func (FriendRequestStatus) Descriptor() protoreflect.EnumDescriptor
func (FriendRequestStatus) Enum ¶ added in v0.3.26
func (x FriendRequestStatus) Enum() *FriendRequestStatus
func (FriendRequestStatus) EnumDescriptor
deprecated
added in
v0.3.26
func (FriendRequestStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use FriendRequestStatus.Descriptor instead.
func (FriendRequestStatus) Number ¶ added in v0.3.26
func (x FriendRequestStatus) Number() protoreflect.EnumNumber
func (FriendRequestStatus) String ¶ added in v0.3.26
func (x FriendRequestStatus) String() string
func (FriendRequestStatus) Type ¶ added in v0.3.26
func (FriendRequestStatus) Type() protoreflect.EnumType
type FriendshipStatus ¶ added in v0.3.26
type FriendshipStatus int32
const ( FriendshipStatus_FRIENDSHIP_STATUS_UNSPECIFIED FriendshipStatus = 0 FriendshipStatus_FRIENDSHIP_STATUS_REQUEST_SENT FriendshipStatus = 1 FriendshipStatus_FRIENDSHIP_STATUS_REQUEST_RECEIVED FriendshipStatus = 2 FriendshipStatus_FRIENDSHIP_STATUS_FRIENDS FriendshipStatus = 3 FriendshipStatus_FRIENDSHIP_STATUS_SELF FriendshipStatus = 4 )
func (FriendshipStatus) Descriptor ¶ added in v0.3.26
func (FriendshipStatus) Descriptor() protoreflect.EnumDescriptor
func (FriendshipStatus) Enum ¶ added in v0.3.26
func (x FriendshipStatus) Enum() *FriendshipStatus
func (FriendshipStatus) EnumDescriptor
deprecated
added in
v0.3.26
func (FriendshipStatus) EnumDescriptor() ([]byte, []int)
Deprecated: Use FriendshipStatus.Descriptor instead.
func (FriendshipStatus) Number ¶ added in v0.3.26
func (x FriendshipStatus) Number() protoreflect.EnumNumber
func (FriendshipStatus) String ¶ added in v0.3.26
func (x FriendshipStatus) String() string
func (FriendshipStatus) Type ¶ added in v0.3.26
func (FriendshipStatus) Type() protoreflect.EnumType
type GetAvatarAssetsRequest ¶ added in v0.3.1
type GetAvatarAssetsRequest struct { Kind *string `protobuf:"bytes,1,opt,name=kind,proto3,oneof" json:"kind,omitempty"` SkinTone *AvatarSkinTone `` /* 135-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetAvatarAssetsRequest) Descriptor
deprecated
added in
v0.3.1
func (*GetAvatarAssetsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAvatarAssetsRequest.ProtoReflect.Descriptor instead.
func (*GetAvatarAssetsRequest) GetKind ¶ added in v0.3.1
func (x *GetAvatarAssetsRequest) GetKind() string
func (*GetAvatarAssetsRequest) GetSkinTone ¶ added in v0.3.7
func (x *GetAvatarAssetsRequest) GetSkinTone() AvatarSkinTone
func (*GetAvatarAssetsRequest) ProtoMessage ¶ added in v0.3.1
func (*GetAvatarAssetsRequest) ProtoMessage()
func (*GetAvatarAssetsRequest) ProtoReflect ¶ added in v0.3.1
func (x *GetAvatarAssetsRequest) ProtoReflect() protoreflect.Message
func (*GetAvatarAssetsRequest) Reset ¶ added in v0.3.1
func (x *GetAvatarAssetsRequest) Reset()
func (*GetAvatarAssetsRequest) String ¶ added in v0.3.1
func (x *GetAvatarAssetsRequest) String() string
type GetAvatarAssetsResponse ¶ added in v0.3.1
type GetAvatarAssetsResponse struct { AvatarAssets []*AvatarAsset `protobuf:"bytes,1,rep,name=avatar_assets,json=avatarAssets,proto3" json:"avatar_assets,omitempty"` // contains filtered or unexported fields }
func (*GetAvatarAssetsResponse) Descriptor
deprecated
added in
v0.3.1
func (*GetAvatarAssetsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAvatarAssetsResponse.ProtoReflect.Descriptor instead.
func (*GetAvatarAssetsResponse) GetAvatarAssets ¶ added in v0.3.1
func (x *GetAvatarAssetsResponse) GetAvatarAssets() []*AvatarAsset
func (*GetAvatarAssetsResponse) ProtoMessage ¶ added in v0.3.1
func (*GetAvatarAssetsResponse) ProtoMessage()
func (*GetAvatarAssetsResponse) ProtoReflect ¶ added in v0.3.1
func (x *GetAvatarAssetsResponse) ProtoReflect() protoreflect.Message
func (*GetAvatarAssetsResponse) Reset ¶ added in v0.3.1
func (x *GetAvatarAssetsResponse) Reset()
func (*GetAvatarAssetsResponse) String ¶ added in v0.3.1
func (x *GetAvatarAssetsResponse) String() string
type GetAvatarRequest ¶ added in v0.3.1
type GetAvatarRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetAvatarRequest) Descriptor
deprecated
added in
v0.3.1
func (*GetAvatarRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetAvatarRequest.ProtoReflect.Descriptor instead.
func (*GetAvatarRequest) GetUserId ¶ added in v0.3.1
func (x *GetAvatarRequest) GetUserId() string
func (*GetAvatarRequest) ProtoMessage ¶ added in v0.3.1
func (*GetAvatarRequest) ProtoMessage()
func (*GetAvatarRequest) ProtoReflect ¶ added in v0.3.1
func (x *GetAvatarRequest) ProtoReflect() protoreflect.Message
func (*GetAvatarRequest) Reset ¶ added in v0.3.1
func (x *GetAvatarRequest) Reset()
func (*GetAvatarRequest) String ¶ added in v0.3.1
func (x *GetAvatarRequest) String() string
type GetAvatarResponse ¶ added in v0.3.1
type GetAvatarResponse struct { Avatar *Avatar `protobuf:"bytes,1,opt,name=avatar,proto3" json:"avatar,omitempty"` // contains filtered or unexported fields }
func (*GetAvatarResponse) Descriptor
deprecated
added in
v0.3.1
func (*GetAvatarResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetAvatarResponse.ProtoReflect.Descriptor instead.
func (*GetAvatarResponse) GetAvatar ¶ added in v0.3.1
func (x *GetAvatarResponse) GetAvatar() *Avatar
func (*GetAvatarResponse) ProtoMessage ¶ added in v0.3.1
func (*GetAvatarResponse) ProtoMessage()
func (*GetAvatarResponse) ProtoReflect ¶ added in v0.3.1
func (x *GetAvatarResponse) ProtoReflect() protoreflect.Message
func (*GetAvatarResponse) Reset ¶ added in v0.3.1
func (x *GetAvatarResponse) Reset()
func (*GetAvatarResponse) String ¶ added in v0.3.1
func (x *GetAvatarResponse) String() string
type GetFriendRequestsRequest ¶ added in v0.3.26
type GetFriendRequestsRequest struct { Status FriendRequestStatus `protobuf:"varint,1,opt,name=status,proto3,enum=basket.user_service.v1.FriendRequestStatus" json:"status,omitempty"` Direction FriendRequestDirection `protobuf:"varint,2,opt,name=direction,proto3,enum=basket.user_service.v1.FriendRequestDirection" json:"direction,omitempty"` Page *protobuf.PageInput `protobuf:"bytes,3,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*GetFriendRequestsRequest) Descriptor
deprecated
added in
v0.3.26
func (*GetFriendRequestsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendRequestsRequest.ProtoReflect.Descriptor instead.
func (*GetFriendRequestsRequest) GetDirection ¶ added in v0.3.26
func (x *GetFriendRequestsRequest) GetDirection() FriendRequestDirection
func (*GetFriendRequestsRequest) GetPage ¶ added in v0.3.26
func (x *GetFriendRequestsRequest) GetPage() *protobuf.PageInput
func (*GetFriendRequestsRequest) GetStatus ¶ added in v0.3.26
func (x *GetFriendRequestsRequest) GetStatus() FriendRequestStatus
func (*GetFriendRequestsRequest) ProtoMessage ¶ added in v0.3.26
func (*GetFriendRequestsRequest) ProtoMessage()
func (*GetFriendRequestsRequest) ProtoReflect ¶ added in v0.3.26
func (x *GetFriendRequestsRequest) ProtoReflect() protoreflect.Message
func (*GetFriendRequestsRequest) Reset ¶ added in v0.3.26
func (x *GetFriendRequestsRequest) Reset()
func (*GetFriendRequestsRequest) String ¶ added in v0.3.26
func (x *GetFriendRequestsRequest) String() string
type GetFriendRequestsResponse ¶ added in v0.3.26
type GetFriendRequestsResponse struct { Requests []*FriendRequest `protobuf:"bytes,1,rep,name=requests,proto3" json:"requests,omitempty"` NextPage *protobuf.PageToken `protobuf:"bytes,2,opt,name=next_page,json=nextPage,proto3" json:"next_page,omitempty"` // contains filtered or unexported fields }
func (*GetFriendRequestsResponse) Descriptor
deprecated
added in
v0.3.26
func (*GetFriendRequestsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendRequestsResponse.ProtoReflect.Descriptor instead.
func (*GetFriendRequestsResponse) GetNextPage ¶ added in v0.3.26
func (x *GetFriendRequestsResponse) GetNextPage() *protobuf.PageToken
func (*GetFriendRequestsResponse) GetRequests ¶ added in v0.3.26
func (x *GetFriendRequestsResponse) GetRequests() []*FriendRequest
func (*GetFriendRequestsResponse) ProtoMessage ¶ added in v0.3.26
func (*GetFriendRequestsResponse) ProtoMessage()
func (*GetFriendRequestsResponse) ProtoReflect ¶ added in v0.3.26
func (x *GetFriendRequestsResponse) ProtoReflect() protoreflect.Message
func (*GetFriendRequestsResponse) Reset ¶ added in v0.3.26
func (x *GetFriendRequestsResponse) Reset()
func (*GetFriendRequestsResponse) String ¶ added in v0.3.26
func (x *GetFriendRequestsResponse) String() string
type GetFriendsRequest ¶ added in v0.3.26
type GetFriendsRequest struct { Search *string `protobuf:"bytes,1,opt,name=search,proto3,oneof" json:"search,omitempty"` Page *protobuf.PageInput `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*GetFriendsRequest) Descriptor
deprecated
added in
v0.3.26
func (*GetFriendsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendsRequest.ProtoReflect.Descriptor instead.
func (*GetFriendsRequest) GetPage ¶ added in v0.3.26
func (x *GetFriendsRequest) GetPage() *protobuf.PageInput
func (*GetFriendsRequest) GetSearch ¶ added in v0.3.26
func (x *GetFriendsRequest) GetSearch() string
func (*GetFriendsRequest) ProtoMessage ¶ added in v0.3.26
func (*GetFriendsRequest) ProtoMessage()
func (*GetFriendsRequest) ProtoReflect ¶ added in v0.3.26
func (x *GetFriendsRequest) ProtoReflect() protoreflect.Message
func (*GetFriendsRequest) Reset ¶ added in v0.3.26
func (x *GetFriendsRequest) Reset()
func (*GetFriendsRequest) String ¶ added in v0.3.26
func (x *GetFriendsRequest) String() string
type GetFriendsResponse ¶ added in v0.3.26
type GetFriendsResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` NextPage *protobuf.PageToken `protobuf:"bytes,2,opt,name=next_page,json=nextPage,proto3" json:"next_page,omitempty"` // contains filtered or unexported fields }
func (*GetFriendsResponse) Descriptor
deprecated
added in
v0.3.26
func (*GetFriendsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetFriendsResponse.ProtoReflect.Descriptor instead.
func (*GetFriendsResponse) GetNextPage ¶ added in v0.3.26
func (x *GetFriendsResponse) GetNextPage() *protobuf.PageToken
func (*GetFriendsResponse) GetUsers ¶ added in v0.3.26
func (x *GetFriendsResponse) GetUsers() []*User
func (*GetFriendsResponse) ProtoMessage ¶ added in v0.3.26
func (*GetFriendsResponse) ProtoMessage()
func (*GetFriendsResponse) ProtoReflect ¶ added in v0.3.26
func (x *GetFriendsResponse) ProtoReflect() protoreflect.Message
func (*GetFriendsResponse) Reset ¶ added in v0.3.26
func (x *GetFriendsResponse) Reset()
func (*GetFriendsResponse) String ¶ added in v0.3.26
func (x *GetFriendsResponse) String() string
type GetRefreshTokenRequest ¶
type GetRefreshTokenRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*GetRefreshTokenRequest) Descriptor
deprecated
func (*GetRefreshTokenRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetRefreshTokenRequest.ProtoReflect.Descriptor instead.
func (*GetRefreshTokenRequest) GetAccessToken ¶
func (x *GetRefreshTokenRequest) GetAccessToken() string
func (*GetRefreshTokenRequest) ProtoMessage ¶
func (*GetRefreshTokenRequest) ProtoMessage()
func (*GetRefreshTokenRequest) ProtoReflect ¶
func (x *GetRefreshTokenRequest) ProtoReflect() protoreflect.Message
func (*GetRefreshTokenRequest) Reset ¶
func (x *GetRefreshTokenRequest) Reset()
func (*GetRefreshTokenRequest) String ¶
func (x *GetRefreshTokenRequest) String() string
type GetRefreshTokenResponse ¶
type GetRefreshTokenResponse struct { RefreshToken string `protobuf:"bytes,1,opt,name=refresh_token,json=refreshToken,proto3" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*GetRefreshTokenResponse) Descriptor
deprecated
func (*GetRefreshTokenResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetRefreshTokenResponse.ProtoReflect.Descriptor instead.
func (*GetRefreshTokenResponse) GetRefreshToken ¶
func (x *GetRefreshTokenResponse) GetRefreshToken() string
func (*GetRefreshTokenResponse) ProtoMessage ¶
func (*GetRefreshTokenResponse) ProtoMessage()
func (*GetRefreshTokenResponse) ProtoReflect ¶
func (x *GetRefreshTokenResponse) ProtoReflect() protoreflect.Message
func (*GetRefreshTokenResponse) Reset ¶
func (x *GetRefreshTokenResponse) Reset()
func (*GetRefreshTokenResponse) String ¶
func (x *GetRefreshTokenResponse) String() string
type GetSetupStepsRequest ¶
type GetSetupStepsRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetSetupStepsRequest) Descriptor
deprecated
func (*GetSetupStepsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSetupStepsRequest.ProtoReflect.Descriptor instead.
func (*GetSetupStepsRequest) GetUserId ¶
func (x *GetSetupStepsRequest) GetUserId() string
func (*GetSetupStepsRequest) ProtoMessage ¶
func (*GetSetupStepsRequest) ProtoMessage()
func (*GetSetupStepsRequest) ProtoReflect ¶
func (x *GetSetupStepsRequest) ProtoReflect() protoreflect.Message
func (*GetSetupStepsRequest) Reset ¶
func (x *GetSetupStepsRequest) Reset()
func (*GetSetupStepsRequest) String ¶
func (x *GetSetupStepsRequest) String() string
type GetSetupStepsResponse ¶
type GetSetupStepsResponse struct { Steps []*SetupStep `protobuf:"bytes,1,rep,name=steps,proto3" json:"steps,omitempty"` // contains filtered or unexported fields }
func (*GetSetupStepsResponse) Descriptor
deprecated
func (*GetSetupStepsResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSetupStepsResponse.ProtoReflect.Descriptor instead.
func (*GetSetupStepsResponse) GetSteps ¶
func (x *GetSetupStepsResponse) GetSteps() []*SetupStep
func (*GetSetupStepsResponse) ProtoMessage ¶
func (*GetSetupStepsResponse) ProtoMessage()
func (*GetSetupStepsResponse) ProtoReflect ¶
func (x *GetSetupStepsResponse) ProtoReflect() protoreflect.Message
func (*GetSetupStepsResponse) Reset ¶
func (x *GetSetupStepsResponse) Reset()
func (*GetSetupStepsResponse) String ¶
func (x *GetSetupStepsResponse) String() string
type GetSkinTonesRequest ¶ added in v0.3.7
type GetSkinTonesRequest struct {
// contains filtered or unexported fields
}
func (*GetSkinTonesRequest) Descriptor
deprecated
added in
v0.3.7
func (*GetSkinTonesRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetSkinTonesRequest.ProtoReflect.Descriptor instead.
func (*GetSkinTonesRequest) ProtoMessage ¶ added in v0.3.7
func (*GetSkinTonesRequest) ProtoMessage()
func (*GetSkinTonesRequest) ProtoReflect ¶ added in v0.3.7
func (x *GetSkinTonesRequest) ProtoReflect() protoreflect.Message
func (*GetSkinTonesRequest) Reset ¶ added in v0.3.7
func (x *GetSkinTonesRequest) Reset()
func (*GetSkinTonesRequest) String ¶ added in v0.3.7
func (x *GetSkinTonesRequest) String() string
type GetSkinTonesResponse ¶ added in v0.3.7
type GetSkinTonesResponse struct { SkinTones []*GetSkinTonesResponse_SkinTone `protobuf:"bytes,1,rep,name=skin_tones,json=skinTones,proto3" json:"skin_tones,omitempty"` // contains filtered or unexported fields }
func (*GetSkinTonesResponse) Descriptor
deprecated
added in
v0.3.7
func (*GetSkinTonesResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetSkinTonesResponse.ProtoReflect.Descriptor instead.
func (*GetSkinTonesResponse) GetSkinTones ¶ added in v0.3.7
func (x *GetSkinTonesResponse) GetSkinTones() []*GetSkinTonesResponse_SkinTone
func (*GetSkinTonesResponse) ProtoMessage ¶ added in v0.3.7
func (*GetSkinTonesResponse) ProtoMessage()
func (*GetSkinTonesResponse) ProtoReflect ¶ added in v0.3.7
func (x *GetSkinTonesResponse) ProtoReflect() protoreflect.Message
func (*GetSkinTonesResponse) Reset ¶ added in v0.3.7
func (x *GetSkinTonesResponse) Reset()
func (*GetSkinTonesResponse) String ¶ added in v0.3.7
func (x *GetSkinTonesResponse) String() string
type GetSkinTonesResponse_SkinTone ¶ added in v0.3.7
type GetSkinTonesResponse_SkinTone struct { SkinTone AvatarSkinTone `` /* 129-byte string literal not displayed */ ImageUrl string `protobuf:"bytes,2,opt,name=image_url,json=imageUrl,proto3" json:"image_url,omitempty"` // contains filtered or unexported fields }
func (*GetSkinTonesResponse_SkinTone) Descriptor
deprecated
added in
v0.3.7
func (*GetSkinTonesResponse_SkinTone) Descriptor() ([]byte, []int)
Deprecated: Use GetSkinTonesResponse_SkinTone.ProtoReflect.Descriptor instead.
func (*GetSkinTonesResponse_SkinTone) GetImageUrl ¶ added in v0.3.7
func (x *GetSkinTonesResponse_SkinTone) GetImageUrl() string
func (*GetSkinTonesResponse_SkinTone) GetSkinTone ¶ added in v0.3.7
func (x *GetSkinTonesResponse_SkinTone) GetSkinTone() AvatarSkinTone
func (*GetSkinTonesResponse_SkinTone) ProtoMessage ¶ added in v0.3.7
func (*GetSkinTonesResponse_SkinTone) ProtoMessage()
func (*GetSkinTonesResponse_SkinTone) ProtoReflect ¶ added in v0.3.7
func (x *GetSkinTonesResponse_SkinTone) ProtoReflect() protoreflect.Message
func (*GetSkinTonesResponse_SkinTone) Reset ¶ added in v0.3.7
func (x *GetSkinTonesResponse_SkinTone) Reset()
func (*GetSkinTonesResponse_SkinTone) String ¶ added in v0.3.7
func (x *GetSkinTonesResponse_SkinTone) String() string
type GetUserEdgeRequest ¶ added in v0.3.26
type GetUserEdgeRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*GetUserEdgeRequest) Descriptor
deprecated
added in
v0.3.26
func (*GetUserEdgeRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserEdgeRequest.ProtoReflect.Descriptor instead.
func (*GetUserEdgeRequest) GetUserId ¶ added in v0.3.26
func (x *GetUserEdgeRequest) GetUserId() string
func (*GetUserEdgeRequest) ProtoMessage ¶ added in v0.3.26
func (*GetUserEdgeRequest) ProtoMessage()
func (*GetUserEdgeRequest) ProtoReflect ¶ added in v0.3.26
func (x *GetUserEdgeRequest) ProtoReflect() protoreflect.Message
func (*GetUserEdgeRequest) Reset ¶ added in v0.3.26
func (x *GetUserEdgeRequest) Reset()
func (*GetUserEdgeRequest) String ¶ added in v0.3.26
func (x *GetUserEdgeRequest) String() string
type GetUserEdgeResponse ¶ added in v0.3.26
type GetUserEdgeResponse struct { FriendshipStatus FriendshipStatus `` /* 155-byte string literal not displayed */ // contains filtered or unexported fields }
func (*GetUserEdgeResponse) Descriptor
deprecated
added in
v0.3.26
func (*GetUserEdgeResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserEdgeResponse.ProtoReflect.Descriptor instead.
func (*GetUserEdgeResponse) GetFriendshipStatus ¶ added in v0.3.26
func (x *GetUserEdgeResponse) GetFriendshipStatus() FriendshipStatus
func (*GetUserEdgeResponse) ProtoMessage ¶ added in v0.3.26
func (*GetUserEdgeResponse) ProtoMessage()
func (*GetUserEdgeResponse) ProtoReflect ¶ added in v0.3.26
func (x *GetUserEdgeResponse) ProtoReflect() protoreflect.Message
func (*GetUserEdgeResponse) Reset ¶ added in v0.3.26
func (x *GetUserEdgeResponse) Reset()
func (*GetUserEdgeResponse) String ¶ added in v0.3.26
func (x *GetUserEdgeResponse) String() string
type GetUserRequest ¶
type GetUserRequest struct { Id *string `protobuf:"bytes,1,opt,name=id,proto3,oneof" json:"id,omitempty"` Username *string `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"` // contains filtered or unexported fields }
func (*GetUserRequest) Descriptor
deprecated
func (*GetUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead.
func (*GetUserRequest) GetId ¶
func (x *GetUserRequest) GetId() string
func (*GetUserRequest) GetUsername ¶ added in v0.2.184
func (x *GetUserRequest) GetUsername() string
func (*GetUserRequest) ProtoMessage ¶
func (*GetUserRequest) ProtoMessage()
func (*GetUserRequest) ProtoReflect ¶
func (x *GetUserRequest) ProtoReflect() protoreflect.Message
func (*GetUserRequest) Reset ¶
func (x *GetUserRequest) Reset()
func (*GetUserRequest) String ¶
func (x *GetUserRequest) String() string
type GetUserResponse ¶
type GetUserResponse struct { User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // contains filtered or unexported fields }
func (*GetUserResponse) Descriptor
deprecated
func (*GetUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUserResponse.ProtoReflect.Descriptor instead.
func (*GetUserResponse) GetUser ¶
func (x *GetUserResponse) GetUser() *User
func (*GetUserResponse) ProtoMessage ¶
func (*GetUserResponse) ProtoMessage()
func (*GetUserResponse) ProtoReflect ¶
func (x *GetUserResponse) ProtoReflect() protoreflect.Message
func (*GetUserResponse) Reset ¶
func (x *GetUserResponse) Reset()
func (*GetUserResponse) String ¶
func (x *GetUserResponse) String() string
type GetUsersRequest ¶ added in v0.3.26
type GetUsersRequest struct { Search *string `protobuf:"bytes,1,opt,name=search,proto3,oneof" json:"search,omitempty"` Page *protobuf.PageInput `protobuf:"bytes,2,opt,name=page,proto3" json:"page,omitempty"` // contains filtered or unexported fields }
func (*GetUsersRequest) Descriptor
deprecated
added in
v0.3.26
func (*GetUsersRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersRequest.ProtoReflect.Descriptor instead.
func (*GetUsersRequest) GetPage ¶ added in v0.3.26
func (x *GetUsersRequest) GetPage() *protobuf.PageInput
func (*GetUsersRequest) GetSearch ¶ added in v0.3.26
func (x *GetUsersRequest) GetSearch() string
func (*GetUsersRequest) ProtoMessage ¶ added in v0.3.26
func (*GetUsersRequest) ProtoMessage()
func (*GetUsersRequest) ProtoReflect ¶ added in v0.3.26
func (x *GetUsersRequest) ProtoReflect() protoreflect.Message
func (*GetUsersRequest) Reset ¶ added in v0.3.26
func (x *GetUsersRequest) Reset()
func (*GetUsersRequest) String ¶ added in v0.3.26
func (x *GetUsersRequest) String() string
type GetUsersResponse ¶ added in v0.3.26
type GetUsersResponse struct { Users []*User `protobuf:"bytes,1,rep,name=users,proto3" json:"users,omitempty"` NextPage *protobuf.PageToken `protobuf:"bytes,2,opt,name=next_page,json=nextPage,proto3" json:"next_page,omitempty"` // contains filtered or unexported fields }
func (*GetUsersResponse) Descriptor
deprecated
added in
v0.3.26
func (*GetUsersResponse) Descriptor() ([]byte, []int)
Deprecated: Use GetUsersResponse.ProtoReflect.Descriptor instead.
func (*GetUsersResponse) GetNextPage ¶ added in v0.3.26
func (x *GetUsersResponse) GetNextPage() *protobuf.PageToken
func (*GetUsersResponse) GetUsers ¶ added in v0.3.26
func (x *GetUsersResponse) GetUsers() []*User
func (*GetUsersResponse) ProtoMessage ¶ added in v0.3.26
func (*GetUsersResponse) ProtoMessage()
func (*GetUsersResponse) ProtoReflect ¶ added in v0.3.26
func (x *GetUsersResponse) ProtoReflect() protoreflect.Message
func (*GetUsersResponse) Reset ¶ added in v0.3.26
func (x *GetUsersResponse) Reset()
func (*GetUsersResponse) String ¶ added in v0.3.26
func (x *GetUsersResponse) String() string
type PurgeUserRequest ¶ added in v0.2.189
type PurgeUserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*PurgeUserRequest) Descriptor
deprecated
added in
v0.2.189
func (*PurgeUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use PurgeUserRequest.ProtoReflect.Descriptor instead.
func (*PurgeUserRequest) GetId ¶ added in v0.2.189
func (x *PurgeUserRequest) GetId() string
func (*PurgeUserRequest) ProtoMessage ¶ added in v0.2.189
func (*PurgeUserRequest) ProtoMessage()
func (*PurgeUserRequest) ProtoReflect ¶ added in v0.2.189
func (x *PurgeUserRequest) ProtoReflect() protoreflect.Message
func (*PurgeUserRequest) Reset ¶ added in v0.2.189
func (x *PurgeUserRequest) Reset()
func (*PurgeUserRequest) String ¶ added in v0.2.189
func (x *PurgeUserRequest) String() string
type PurgeUserResponse ¶ added in v0.2.189
type PurgeUserResponse struct {
// contains filtered or unexported fields
}
func (*PurgeUserResponse) Descriptor
deprecated
added in
v0.2.189
func (*PurgeUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use PurgeUserResponse.ProtoReflect.Descriptor instead.
func (*PurgeUserResponse) ProtoMessage ¶ added in v0.2.189
func (*PurgeUserResponse) ProtoMessage()
func (*PurgeUserResponse) ProtoReflect ¶ added in v0.2.189
func (x *PurgeUserResponse) ProtoReflect() protoreflect.Message
func (*PurgeUserResponse) Reset ¶ added in v0.2.189
func (x *PurgeUserResponse) Reset()
func (*PurgeUserResponse) String ¶ added in v0.2.189
func (x *PurgeUserResponse) String() string
type SendFriendRequestRequest ¶ added in v0.3.26
type SendFriendRequestRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` Message *string `protobuf:"bytes,2,opt,name=message,proto3,oneof" json:"message,omitempty"` // contains filtered or unexported fields }
func (*SendFriendRequestRequest) Descriptor
deprecated
added in
v0.3.26
func (*SendFriendRequestRequest) Descriptor() ([]byte, []int)
Deprecated: Use SendFriendRequestRequest.ProtoReflect.Descriptor instead.
func (*SendFriendRequestRequest) GetMessage ¶ added in v0.3.26
func (x *SendFriendRequestRequest) GetMessage() string
func (*SendFriendRequestRequest) GetUserId ¶ added in v0.3.26
func (x *SendFriendRequestRequest) GetUserId() string
func (*SendFriendRequestRequest) ProtoMessage ¶ added in v0.3.26
func (*SendFriendRequestRequest) ProtoMessage()
func (*SendFriendRequestRequest) ProtoReflect ¶ added in v0.3.26
func (x *SendFriendRequestRequest) ProtoReflect() protoreflect.Message
func (*SendFriendRequestRequest) Reset ¶ added in v0.3.26
func (x *SendFriendRequestRequest) Reset()
func (*SendFriendRequestRequest) String ¶ added in v0.3.26
func (x *SendFriendRequestRequest) String() string
type SendFriendRequestResponse ¶ added in v0.3.26
type SendFriendRequestResponse struct {
// contains filtered or unexported fields
}
func (*SendFriendRequestResponse) Descriptor
deprecated
added in
v0.3.26
func (*SendFriendRequestResponse) Descriptor() ([]byte, []int)
Deprecated: Use SendFriendRequestResponse.ProtoReflect.Descriptor instead.
func (*SendFriendRequestResponse) ProtoMessage ¶ added in v0.3.26
func (*SendFriendRequestResponse) ProtoMessage()
func (*SendFriendRequestResponse) ProtoReflect ¶ added in v0.3.26
func (x *SendFriendRequestResponse) ProtoReflect() protoreflect.Message
func (*SendFriendRequestResponse) Reset ¶ added in v0.3.26
func (x *SendFriendRequestResponse) Reset()
func (*SendFriendRequestResponse) String ¶ added in v0.3.26
func (x *SendFriendRequestResponse) String() string
type SetupStep ¶
type SetupStep struct { Kind SetupStepKind `protobuf:"varint,1,opt,name=kind,proto3,enum=basket.user_service.v1.SetupStepKind" json:"kind,omitempty"` Optional bool `protobuf:"varint,2,opt,name=optional,proto3" json:"optional,omitempty"` // contains filtered or unexported fields }
func (*SetupStep) Descriptor
deprecated
func (*SetupStep) GetKind ¶
func (x *SetupStep) GetKind() SetupStepKind
func (*SetupStep) GetOptional ¶
func (*SetupStep) ProtoMessage ¶
func (*SetupStep) ProtoMessage()
func (*SetupStep) ProtoReflect ¶
func (x *SetupStep) ProtoReflect() protoreflect.Message
type SetupStepKind ¶
type SetupStepKind int32
const ( SetupStepKind_SETUP_STEP_KIND_UNSPECIFIED SetupStepKind = 0 SetupStepKind_SETUP_STEP_KIND_USERNAME SetupStepKind = 1 SetupStepKind_SETUP_STEP_KIND_PROFILE_IMAGE SetupStepKind = 2 SetupStepKind_SETUP_STEP_KIND_DISPLAY_NAME SetupStepKind = 3 )
func (SetupStepKind) Descriptor ¶
func (SetupStepKind) Descriptor() protoreflect.EnumDescriptor
func (SetupStepKind) Enum ¶
func (x SetupStepKind) Enum() *SetupStepKind
func (SetupStepKind) EnumDescriptor
deprecated
func (SetupStepKind) EnumDescriptor() ([]byte, []int)
Deprecated: Use SetupStepKind.Descriptor instead.
func (SetupStepKind) Number ¶
func (x SetupStepKind) Number() protoreflect.EnumNumber
func (SetupStepKind) String ¶
func (x SetupStepKind) String() string
func (SetupStepKind) Type ¶
func (SetupStepKind) Type() protoreflect.EnumType
type SignInRequest ¶
type SignInRequest struct { AppleCredentials *AppleCredentials `protobuf:"bytes,1,opt,name=apple_credentials,json=appleCredentials,proto3" json:"apple_credentials,omitempty"` RefreshToken *string `protobuf:"bytes,2,opt,name=refresh_token,json=refreshToken,proto3,oneof" json:"refresh_token,omitempty"` // contains filtered or unexported fields }
func (*SignInRequest) Descriptor
deprecated
func (*SignInRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignInRequest.ProtoReflect.Descriptor instead.
func (*SignInRequest) GetAppleCredentials ¶
func (x *SignInRequest) GetAppleCredentials() *AppleCredentials
func (*SignInRequest) GetRefreshToken ¶
func (x *SignInRequest) GetRefreshToken() string
func (*SignInRequest) ProtoMessage ¶
func (*SignInRequest) ProtoMessage()
func (*SignInRequest) ProtoReflect ¶
func (x *SignInRequest) ProtoReflect() protoreflect.Message
func (*SignInRequest) Reset ¶
func (x *SignInRequest) Reset()
func (*SignInRequest) String ¶
func (x *SignInRequest) String() string
type SignInResponse ¶
type SignInResponse struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` UserId string `protobuf:"bytes,2,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*SignInResponse) Descriptor
deprecated
func (*SignInResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignInResponse.ProtoReflect.Descriptor instead.
func (*SignInResponse) GetAccessToken ¶
func (x *SignInResponse) GetAccessToken() string
func (*SignInResponse) GetUserId ¶ added in v0.2.184
func (x *SignInResponse) GetUserId() string
func (*SignInResponse) ProtoMessage ¶
func (*SignInResponse) ProtoMessage()
func (*SignInResponse) ProtoReflect ¶
func (x *SignInResponse) ProtoReflect() protoreflect.Message
func (*SignInResponse) Reset ¶
func (x *SignInResponse) Reset()
func (*SignInResponse) String ¶
func (x *SignInResponse) String() string
type SignOutRequest ¶
type SignOutRequest struct { AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // contains filtered or unexported fields }
func (*SignOutRequest) Descriptor
deprecated
func (*SignOutRequest) Descriptor() ([]byte, []int)
Deprecated: Use SignOutRequest.ProtoReflect.Descriptor instead.
func (*SignOutRequest) GetAccessToken ¶
func (x *SignOutRequest) GetAccessToken() string
func (*SignOutRequest) ProtoMessage ¶
func (*SignOutRequest) ProtoMessage()
func (*SignOutRequest) ProtoReflect ¶
func (x *SignOutRequest) ProtoReflect() protoreflect.Message
func (*SignOutRequest) Reset ¶
func (x *SignOutRequest) Reset()
func (*SignOutRequest) String ¶
func (x *SignOutRequest) String() string
type SignOutResponse ¶
type SignOutResponse struct {
// contains filtered or unexported fields
}
func (*SignOutResponse) Descriptor
deprecated
func (*SignOutResponse) Descriptor() ([]byte, []int)
Deprecated: Use SignOutResponse.ProtoReflect.Descriptor instead.
func (*SignOutResponse) ProtoMessage ¶
func (*SignOutResponse) ProtoMessage()
func (*SignOutResponse) ProtoReflect ¶
func (x *SignOutResponse) ProtoReflect() protoreflect.Message
func (*SignOutResponse) Reset ¶
func (x *SignOutResponse) Reset()
func (*SignOutResponse) String ¶
func (x *SignOutResponse) String() string
type UnfriendRequest ¶ added in v0.3.26
type UnfriendRequest struct { UserId string `protobuf:"bytes,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // contains filtered or unexported fields }
func (*UnfriendRequest) Descriptor
deprecated
added in
v0.3.26
func (*UnfriendRequest) Descriptor() ([]byte, []int)
Deprecated: Use UnfriendRequest.ProtoReflect.Descriptor instead.
func (*UnfriendRequest) GetUserId ¶ added in v0.3.26
func (x *UnfriendRequest) GetUserId() string
func (*UnfriendRequest) ProtoMessage ¶ added in v0.3.26
func (*UnfriendRequest) ProtoMessage()
func (*UnfriendRequest) ProtoReflect ¶ added in v0.3.26
func (x *UnfriendRequest) ProtoReflect() protoreflect.Message
func (*UnfriendRequest) Reset ¶ added in v0.3.26
func (x *UnfriendRequest) Reset()
func (*UnfriendRequest) String ¶ added in v0.3.26
func (x *UnfriendRequest) String() string
type UnfriendResponse ¶ added in v0.3.26
type UnfriendResponse struct {
// contains filtered or unexported fields
}
func (*UnfriendResponse) Descriptor
deprecated
added in
v0.3.26
func (*UnfriendResponse) Descriptor() ([]byte, []int)
Deprecated: Use UnfriendResponse.ProtoReflect.Descriptor instead.
func (*UnfriendResponse) ProtoMessage ¶ added in v0.3.26
func (*UnfriendResponse) ProtoMessage()
func (*UnfriendResponse) ProtoReflect ¶ added in v0.3.26
func (x *UnfriendResponse) ProtoReflect() protoreflect.Message
func (*UnfriendResponse) Reset ¶ added in v0.3.26
func (x *UnfriendResponse) Reset()
func (*UnfriendResponse) String ¶ added in v0.3.26
func (x *UnfriendResponse) String() string
type UnimplementedUserServiceServer ¶
type UnimplementedUserServiceServer struct { }
UnimplementedUserServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedUserServiceServer) AcceptFriendRequest ¶ added in v0.3.26
func (UnimplementedUserServiceServer) AcceptFriendRequest(context.Context, *AcceptFriendRequestRequest) (*AcceptFriendRequestResponse, error)
func (UnimplementedUserServiceServer) CancelFriendRequest ¶ added in v0.3.26
func (UnimplementedUserServiceServer) CancelFriendRequest(context.Context, *CancelFriendRequestRequest) (*CancelFriendRequestResponse, error)
func (UnimplementedUserServiceServer) CreateProfileImage ¶
func (UnimplementedUserServiceServer) CreateProfileImage(context.Context, *CreateProfileImageRequest) (*CreateProfileImageResponse, error)
func (UnimplementedUserServiceServer) DeclineFriendRequest ¶ added in v0.3.26
func (UnimplementedUserServiceServer) DeclineFriendRequest(context.Context, *DeclineFriendRequestRequest) (*DeclineFriendRequestResponse, error)
func (UnimplementedUserServiceServer) GetAvatar ¶ added in v0.3.1
func (UnimplementedUserServiceServer) GetAvatar(context.Context, *GetAvatarRequest) (*GetAvatarResponse, error)
func (UnimplementedUserServiceServer) GetAvatarAssets ¶ added in v0.3.1
func (UnimplementedUserServiceServer) GetAvatarAssets(context.Context, *GetAvatarAssetsRequest) (*GetAvatarAssetsResponse, error)
func (UnimplementedUserServiceServer) GetFriendRequests ¶ added in v0.3.26
func (UnimplementedUserServiceServer) GetFriendRequests(context.Context, *GetFriendRequestsRequest) (*GetFriendRequestsResponse, error)
func (UnimplementedUserServiceServer) GetFriends ¶ added in v0.3.26
func (UnimplementedUserServiceServer) GetFriends(context.Context, *GetFriendsRequest) (*GetFriendsResponse, error)
func (UnimplementedUserServiceServer) GetRefreshToken ¶
func (UnimplementedUserServiceServer) GetRefreshToken(context.Context, *GetRefreshTokenRequest) (*GetRefreshTokenResponse, error)
func (UnimplementedUserServiceServer) GetSetupSteps ¶
func (UnimplementedUserServiceServer) GetSetupSteps(context.Context, *GetSetupStepsRequest) (*GetSetupStepsResponse, error)
func (UnimplementedUserServiceServer) GetSkinTones ¶ added in v0.3.7
func (UnimplementedUserServiceServer) GetSkinTones(context.Context, *GetSkinTonesRequest) (*GetSkinTonesResponse, error)
func (UnimplementedUserServiceServer) GetUser ¶
func (UnimplementedUserServiceServer) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error)
func (UnimplementedUserServiceServer) GetUserEdge ¶ added in v0.3.26
func (UnimplementedUserServiceServer) GetUserEdge(context.Context, *GetUserEdgeRequest) (*GetUserEdgeResponse, error)
func (UnimplementedUserServiceServer) GetUsers ¶ added in v0.3.26
func (UnimplementedUserServiceServer) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error)
func (UnimplementedUserServiceServer) PurgeUser ¶ added in v0.2.189
func (UnimplementedUserServiceServer) PurgeUser(context.Context, *PurgeUserRequest) (*PurgeUserResponse, error)
func (UnimplementedUserServiceServer) SendFriendRequest ¶ added in v0.3.26
func (UnimplementedUserServiceServer) SendFriendRequest(context.Context, *SendFriendRequestRequest) (*SendFriendRequestResponse, error)
func (UnimplementedUserServiceServer) SignIn ¶
func (UnimplementedUserServiceServer) SignIn(context.Context, *SignInRequest) (*SignInResponse, error)
func (UnimplementedUserServiceServer) SignOut ¶
func (UnimplementedUserServiceServer) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error)
func (UnimplementedUserServiceServer) Unfriend ¶ added in v0.3.26
func (UnimplementedUserServiceServer) Unfriend(context.Context, *UnfriendRequest) (*UnfriendResponse, error)
func (UnimplementedUserServiceServer) UpdateAvatar ¶ added in v0.3.1
func (UnimplementedUserServiceServer) UpdateAvatar(context.Context, *UpdateAvatarRequest) (*UpdateAvatarResponse, error)
func (UnimplementedUserServiceServer) UpdateAvatarSkinTone ¶ added in v0.3.7
func (UnimplementedUserServiceServer) UpdateAvatarSkinTone(context.Context, *UpdateAvatarSkinToneRequest) (*UpdateAvatarSkinToneResponse, error)
func (UnimplementedUserServiceServer) UpdateUser ¶
func (UnimplementedUserServiceServer) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error)
type UnsafeUserServiceServer ¶
type UnsafeUserServiceServer interface {
// contains filtered or unexported methods
}
UnsafeUserServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserServiceServer will result in compilation errors.
type UpdateAvatarRequest ¶ added in v0.3.1
type UpdateAvatarRequest struct { HairAssetId *string `protobuf:"bytes,1,opt,name=hair_asset_id,json=hairAssetId,proto3,oneof" json:"hair_asset_id,omitempty"` HatAssetId *string `protobuf:"bytes,2,opt,name=hat_asset_id,json=hatAssetId,proto3,oneof" json:"hat_asset_id,omitempty"` TopAssetId *string `protobuf:"bytes,3,opt,name=top_asset_id,json=topAssetId,proto3,oneof" json:"top_asset_id,omitempty"` BottomAssetId *string `protobuf:"bytes,4,opt,name=bottom_asset_id,json=bottomAssetId,proto3,oneof" json:"bottom_asset_id,omitempty"` ShoesAssetId *string `protobuf:"bytes,5,opt,name=shoes_asset_id,json=shoesAssetId,proto3,oneof" json:"shoes_asset_id,omitempty"` HeadAssetId *string `protobuf:"bytes,6,opt,name=head_asset_id,json=headAssetId,proto3,oneof" json:"head_asset_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateAvatarRequest) Descriptor
deprecated
added in
v0.3.1
func (*UpdateAvatarRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAvatarRequest.ProtoReflect.Descriptor instead.
func (*UpdateAvatarRequest) GetBottomAssetId ¶ added in v0.3.1
func (x *UpdateAvatarRequest) GetBottomAssetId() string
func (*UpdateAvatarRequest) GetHairAssetId ¶ added in v0.3.1
func (x *UpdateAvatarRequest) GetHairAssetId() string
func (*UpdateAvatarRequest) GetHatAssetId ¶ added in v0.3.1
func (x *UpdateAvatarRequest) GetHatAssetId() string
func (*UpdateAvatarRequest) GetHeadAssetId ¶ added in v0.3.7
func (x *UpdateAvatarRequest) GetHeadAssetId() string
func (*UpdateAvatarRequest) GetShoesAssetId ¶ added in v0.3.1
func (x *UpdateAvatarRequest) GetShoesAssetId() string
func (*UpdateAvatarRequest) GetTopAssetId ¶ added in v0.3.1
func (x *UpdateAvatarRequest) GetTopAssetId() string
func (*UpdateAvatarRequest) ProtoMessage ¶ added in v0.3.1
func (*UpdateAvatarRequest) ProtoMessage()
func (*UpdateAvatarRequest) ProtoReflect ¶ added in v0.3.1
func (x *UpdateAvatarRequest) ProtoReflect() protoreflect.Message
func (*UpdateAvatarRequest) Reset ¶ added in v0.3.1
func (x *UpdateAvatarRequest) Reset()
func (*UpdateAvatarRequest) String ¶ added in v0.3.1
func (x *UpdateAvatarRequest) String() string
type UpdateAvatarResponse ¶ added in v0.3.1
type UpdateAvatarResponse struct {
// contains filtered or unexported fields
}
func (*UpdateAvatarResponse) Descriptor
deprecated
added in
v0.3.1
func (*UpdateAvatarResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAvatarResponse.ProtoReflect.Descriptor instead.
func (*UpdateAvatarResponse) ProtoMessage ¶ added in v0.3.1
func (*UpdateAvatarResponse) ProtoMessage()
func (*UpdateAvatarResponse) ProtoReflect ¶ added in v0.3.1
func (x *UpdateAvatarResponse) ProtoReflect() protoreflect.Message
func (*UpdateAvatarResponse) Reset ¶ added in v0.3.1
func (x *UpdateAvatarResponse) Reset()
func (*UpdateAvatarResponse) String ¶ added in v0.3.1
func (x *UpdateAvatarResponse) String() string
type UpdateAvatarSkinToneRequest ¶ added in v0.3.7
type UpdateAvatarSkinToneRequest struct { SkinTone AvatarSkinTone `` /* 129-byte string literal not displayed */ // contains filtered or unexported fields }
func (*UpdateAvatarSkinToneRequest) Descriptor
deprecated
added in
v0.3.7
func (*UpdateAvatarSkinToneRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAvatarSkinToneRequest.ProtoReflect.Descriptor instead.
func (*UpdateAvatarSkinToneRequest) GetSkinTone ¶ added in v0.3.7
func (x *UpdateAvatarSkinToneRequest) GetSkinTone() AvatarSkinTone
func (*UpdateAvatarSkinToneRequest) ProtoMessage ¶ added in v0.3.7
func (*UpdateAvatarSkinToneRequest) ProtoMessage()
func (*UpdateAvatarSkinToneRequest) ProtoReflect ¶ added in v0.3.7
func (x *UpdateAvatarSkinToneRequest) ProtoReflect() protoreflect.Message
func (*UpdateAvatarSkinToneRequest) Reset ¶ added in v0.3.7
func (x *UpdateAvatarSkinToneRequest) Reset()
func (*UpdateAvatarSkinToneRequest) String ¶ added in v0.3.7
func (x *UpdateAvatarSkinToneRequest) String() string
type UpdateAvatarSkinToneResponse ¶ added in v0.3.7
type UpdateAvatarSkinToneResponse struct {
// contains filtered or unexported fields
}
func (*UpdateAvatarSkinToneResponse) Descriptor
deprecated
added in
v0.3.7
func (*UpdateAvatarSkinToneResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateAvatarSkinToneResponse.ProtoReflect.Descriptor instead.
func (*UpdateAvatarSkinToneResponse) ProtoMessage ¶ added in v0.3.7
func (*UpdateAvatarSkinToneResponse) ProtoMessage()
func (*UpdateAvatarSkinToneResponse) ProtoReflect ¶ added in v0.3.7
func (x *UpdateAvatarSkinToneResponse) ProtoReflect() protoreflect.Message
func (*UpdateAvatarSkinToneResponse) Reset ¶ added in v0.3.7
func (x *UpdateAvatarSkinToneResponse) Reset()
func (*UpdateAvatarSkinToneResponse) String ¶ added in v0.3.7
func (x *UpdateAvatarSkinToneResponse) String() string
type UpdateUserRequest ¶
type UpdateUserRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Username *string `protobuf:"bytes,2,opt,name=username,proto3,oneof" json:"username,omitempty"` DisplayName *string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3,oneof" json:"display_name,omitempty"` ProfileImageId *string `protobuf:"bytes,4,opt,name=profile_image_id,json=profileImageId,proto3,oneof" json:"profile_image_id,omitempty"` // contains filtered or unexported fields }
func (*UpdateUserRequest) Descriptor
deprecated
func (*UpdateUserRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.
func (*UpdateUserRequest) GetDisplayName ¶
func (x *UpdateUserRequest) GetDisplayName() string
func (*UpdateUserRequest) GetId ¶
func (x *UpdateUserRequest) GetId() string
func (*UpdateUserRequest) GetProfileImageId ¶
func (x *UpdateUserRequest) GetProfileImageId() string
func (*UpdateUserRequest) GetUsername ¶
func (x *UpdateUserRequest) GetUsername() string
func (*UpdateUserRequest) ProtoMessage ¶
func (*UpdateUserRequest) ProtoMessage()
func (*UpdateUserRequest) ProtoReflect ¶
func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message
func (*UpdateUserRequest) Reset ¶
func (x *UpdateUserRequest) Reset()
func (*UpdateUserRequest) String ¶
func (x *UpdateUserRequest) String() string
type UpdateUserResponse ¶
type UpdateUserResponse struct {
// contains filtered or unexported fields
}
func (*UpdateUserResponse) Descriptor
deprecated
func (*UpdateUserResponse) Descriptor() ([]byte, []int)
Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.
func (*UpdateUserResponse) ProtoMessage ¶
func (*UpdateUserResponse) ProtoMessage()
func (*UpdateUserResponse) ProtoReflect ¶
func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message
func (*UpdateUserResponse) Reset ¶
func (x *UpdateUserResponse) Reset()
func (*UpdateUserResponse) String ¶
func (x *UpdateUserResponse) String() string
type User ¶
type User struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Username string `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"` DisplayName string `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"` ProfileImage *protobuf.Image `protobuf:"bytes,4,opt,name=profile_image,json=profileImage,proto3" json:"profile_image,omitempty"` // contains filtered or unexported fields }
func (*User) Descriptor
deprecated
func (*User) GetDisplayName ¶
func (*User) GetProfileImage ¶
func (*User) GetUsername ¶
func (*User) ProtoMessage ¶
func (*User) ProtoMessage()
func (*User) ProtoReflect ¶
func (x *User) ProtoReflect() protoreflect.Message
type UserServiceClient ¶
type UserServiceClient interface { SignIn(ctx context.Context, in *SignInRequest, opts ...grpc.CallOption) (*SignInResponse, error) GetSetupSteps(ctx context.Context, in *GetSetupStepsRequest, opts ...grpc.CallOption) (*GetSetupStepsResponse, error) GetUsers(ctx context.Context, in *GetUsersRequest, opts ...grpc.CallOption) (*GetUsersResponse, error) GetUser(ctx context.Context, in *GetUserRequest, opts ...grpc.CallOption) (*GetUserResponse, error) UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error) CreateProfileImage(ctx context.Context, in *CreateProfileImageRequest, opts ...grpc.CallOption) (*CreateProfileImageResponse, error) GetRefreshToken(ctx context.Context, in *GetRefreshTokenRequest, opts ...grpc.CallOption) (*GetRefreshTokenResponse, error) SignOut(ctx context.Context, in *SignOutRequest, opts ...grpc.CallOption) (*SignOutResponse, error) PurgeUser(ctx context.Context, in *PurgeUserRequest, opts ...grpc.CallOption) (*PurgeUserResponse, error) GetFriends(ctx context.Context, in *GetFriendsRequest, opts ...grpc.CallOption) (*GetFriendsResponse, error) GetFriendRequests(ctx context.Context, in *GetFriendRequestsRequest, opts ...grpc.CallOption) (*GetFriendRequestsResponse, error) SendFriendRequest(ctx context.Context, in *SendFriendRequestRequest, opts ...grpc.CallOption) (*SendFriendRequestResponse, error) CancelFriendRequest(ctx context.Context, in *CancelFriendRequestRequest, opts ...grpc.CallOption) (*CancelFriendRequestResponse, error) AcceptFriendRequest(ctx context.Context, in *AcceptFriendRequestRequest, opts ...grpc.CallOption) (*AcceptFriendRequestResponse, error) DeclineFriendRequest(ctx context.Context, in *DeclineFriendRequestRequest, opts ...grpc.CallOption) (*DeclineFriendRequestResponse, error) Unfriend(ctx context.Context, in *UnfriendRequest, opts ...grpc.CallOption) (*UnfriendResponse, error) // Returns user user edge from current user (the caller) to the given user GetUserEdge(ctx context.Context, in *GetUserEdgeRequest, opts ...grpc.CallOption) (*GetUserEdgeResponse, error) // Returns error when hair_asset_id and hat_asset_id are set at the same time UpdateAvatar(ctx context.Context, in *UpdateAvatarRequest, opts ...grpc.CallOption) (*UpdateAvatarResponse, error) UpdateAvatarSkinTone(ctx context.Context, in *UpdateAvatarSkinToneRequest, opts ...grpc.CallOption) (*UpdateAvatarSkinToneResponse, error) GetAvatar(ctx context.Context, in *GetAvatarRequest, opts ...grpc.CallOption) (*GetAvatarResponse, error) // Returns assets for the given kind, or all assets if no kind is specified. Ordered by kind, then name. GetAvatarAssets(ctx context.Context, in *GetAvatarAssetsRequest, opts ...grpc.CallOption) (*GetAvatarAssetsResponse, error) GetSkinTones(ctx context.Context, in *GetSkinTonesRequest, opts ...grpc.CallOption) (*GetSkinTonesResponse, error) }
UserServiceClient is the client API for UserService 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 NewUserServiceClient ¶
func NewUserServiceClient(cc grpc.ClientConnInterface) UserServiceClient
type UserServiceServer ¶
type UserServiceServer interface { SignIn(context.Context, *SignInRequest) (*SignInResponse, error) GetSetupSteps(context.Context, *GetSetupStepsRequest) (*GetSetupStepsResponse, error) GetUsers(context.Context, *GetUsersRequest) (*GetUsersResponse, error) GetUser(context.Context, *GetUserRequest) (*GetUserResponse, error) UpdateUser(context.Context, *UpdateUserRequest) (*UpdateUserResponse, error) CreateProfileImage(context.Context, *CreateProfileImageRequest) (*CreateProfileImageResponse, error) GetRefreshToken(context.Context, *GetRefreshTokenRequest) (*GetRefreshTokenResponse, error) SignOut(context.Context, *SignOutRequest) (*SignOutResponse, error) PurgeUser(context.Context, *PurgeUserRequest) (*PurgeUserResponse, error) GetFriends(context.Context, *GetFriendsRequest) (*GetFriendsResponse, error) GetFriendRequests(context.Context, *GetFriendRequestsRequest) (*GetFriendRequestsResponse, error) SendFriendRequest(context.Context, *SendFriendRequestRequest) (*SendFriendRequestResponse, error) CancelFriendRequest(context.Context, *CancelFriendRequestRequest) (*CancelFriendRequestResponse, error) AcceptFriendRequest(context.Context, *AcceptFriendRequestRequest) (*AcceptFriendRequestResponse, error) DeclineFriendRequest(context.Context, *DeclineFriendRequestRequest) (*DeclineFriendRequestResponse, error) Unfriend(context.Context, *UnfriendRequest) (*UnfriendResponse, error) // Returns user user edge from current user (the caller) to the given user GetUserEdge(context.Context, *GetUserEdgeRequest) (*GetUserEdgeResponse, error) // Returns error when hair_asset_id and hat_asset_id are set at the same time UpdateAvatar(context.Context, *UpdateAvatarRequest) (*UpdateAvatarResponse, error) UpdateAvatarSkinTone(context.Context, *UpdateAvatarSkinToneRequest) (*UpdateAvatarSkinToneResponse, error) GetAvatar(context.Context, *GetAvatarRequest) (*GetAvatarResponse, error) // Returns assets for the given kind, or all assets if no kind is specified. Ordered by kind, then name. GetAvatarAssets(context.Context, *GetAvatarAssetsRequest) (*GetAvatarAssetsResponse, error) GetSkinTones(context.Context, *GetSkinTonesRequest) (*GetSkinTonesResponse, error) // contains filtered or unexported methods }
UserServiceServer is the server API for UserService service. All implementations must embed UnimplementedUserServiceServer for forward compatibility