user

package module
v0.0.0-...-ec37036 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2022 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_protos_user_user_proto protoreflect.FileDescriptor
View Source
var User_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "user.User",
	HandlerType: (*UserServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetBungieNetUserByID",
			Handler:    _User_GetBungieNetUserByID_Handler,
		},
		{
			MethodName: "GetCredentialTypesForTargetAccount",
			Handler:    _User_GetCredentialTypesForTargetAccount_Handler,
		},
		{
			MethodName: "GetAvailableThemes",
			Handler:    _User_GetAvailableThemes_Handler,
		},
		{
			MethodName: "GetMembershipDataByID",
			Handler:    _User_GetMembershipDataByID_Handler,
		},
		{
			MethodName: "GetMembershipDataForCurrentUser",
			Handler:    _User_GetMembershipDataForCurrentUser_Handler,
		},
		{
			MethodName: "GetMembershipFromHardLinkedCredential",
			Handler:    _User_GetMembershipFromHardLinkedCredential_Handler,
		},
		{
			MethodName: "SearchByGlobalName",
			Handler:    _User_SearchByGlobalName_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "protos/user/user.proto",
}

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

Functions

func RegisterUserServer

func RegisterUserServer(s grpc.ServiceRegistrar, srv UserServer)

Types

type AvailableThemesResponse

type AvailableThemesResponse struct {
	Themes []*UserTheme `protobuf:"bytes,1,rep,name=themes,proto3" json:"themes,omitempty"`
	// contains filtered or unexported fields
}

func (*AvailableThemesResponse) Descriptor deprecated

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

Deprecated: Use AvailableThemesResponse.ProtoReflect.Descriptor instead.

func (*AvailableThemesResponse) GetThemes

func (x *AvailableThemesResponse) GetThemes() []*UserTheme

func (*AvailableThemesResponse) ProtoMessage

func (*AvailableThemesResponse) ProtoMessage()

func (*AvailableThemesResponse) ProtoReflect

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

func (*AvailableThemesResponse) Reset

func (x *AvailableThemesResponse) Reset()

func (*AvailableThemesResponse) String

func (x *AvailableThemesResponse) String() string

type CredentialTypesForAccountResponse

type CredentialTypesForAccountResponse struct {
	Credentials []*CredentialTypesForAccountResponse_CredentialTypeForAccount `protobuf:"bytes,1,rep,name=credentials,proto3" json:"credentials,omitempty"`
	// contains filtered or unexported fields
}

func (*CredentialTypesForAccountResponse) Descriptor deprecated

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

Deprecated: Use CredentialTypesForAccountResponse.ProtoReflect.Descriptor instead.

func (*CredentialTypesForAccountResponse) GetCredentials

func (*CredentialTypesForAccountResponse) ProtoMessage

func (*CredentialTypesForAccountResponse) ProtoMessage()

func (*CredentialTypesForAccountResponse) ProtoReflect

func (*CredentialTypesForAccountResponse) Reset

func (*CredentialTypesForAccountResponse) String

type CredentialTypesForAccountResponse_CredentialTypeForAccount

type CredentialTypesForAccountResponse_CredentialTypeForAccount struct {
	CredentialType        enums.BungieCredentialType `` /* 136-byte string literal not displayed */
	CredentialDisplayName string                     `` /* 126-byte string literal not displayed */
	IsPublic              bool                       `protobuf:"varint,3,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"`
	CredentialAsString    string                     `protobuf:"bytes,4,opt,name=credential_as_string,json=credentialAsString,proto3" json:"credential_as_string,omitempty"`
	// contains filtered or unexported fields
}

func (*CredentialTypesForAccountResponse_CredentialTypeForAccount) Descriptor deprecated

Deprecated: Use CredentialTypesForAccountResponse_CredentialTypeForAccount.ProtoReflect.Descriptor instead.

func (*CredentialTypesForAccountResponse_CredentialTypeForAccount) GetCredentialAsString

func (*CredentialTypesForAccountResponse_CredentialTypeForAccount) GetCredentialDisplayName

func (*CredentialTypesForAccountResponse_CredentialTypeForAccount) GetCredentialType

func (*CredentialTypesForAccountResponse_CredentialTypeForAccount) GetIsPublic

func (*CredentialTypesForAccountResponse_CredentialTypeForAccount) ProtoMessage

func (*CredentialTypesForAccountResponse_CredentialTypeForAccount) ProtoReflect

func (*CredentialTypesForAccountResponse_CredentialTypeForAccount) Reset

func (*CredentialTypesForAccountResponse_CredentialTypeForAccount) String

type CrossSaveUserMembership

type CrossSaveUserMembership struct {
	CrossSaveOverride           int32                        `protobuf:"varint,1,opt,name=cross_save_override,json=crossSaveOverride,proto3" json:"cross_save_override,omitempty"`
	ApplicableMembershipTypes   []enums.BungieMembershipType `` /* 178-byte string literal not displayed */
	IsPublic                    bool                         `protobuf:"varint,3,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"`
	MembershipType              enums.BungieMembershipType   `` /* 136-byte string literal not displayed */
	MembershipId                int64                        `protobuf:"varint,5,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"`
	DisplayName                 string                       `protobuf:"bytes,6,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	BungieGlobalDisplayName     string                       `` /* 134-byte string literal not displayed */
	BungieGlobalDisplayNameCode int32                        `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*CrossSaveUserMembership) Descriptor deprecated

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

Deprecated: Use CrossSaveUserMembership.ProtoReflect.Descriptor instead.

func (*CrossSaveUserMembership) GetApplicableMembershipTypes

func (x *CrossSaveUserMembership) GetApplicableMembershipTypes() []enums.BungieMembershipType

func (*CrossSaveUserMembership) GetBungieGlobalDisplayName

func (x *CrossSaveUserMembership) GetBungieGlobalDisplayName() string

func (*CrossSaveUserMembership) GetBungieGlobalDisplayNameCode

func (x *CrossSaveUserMembership) GetBungieGlobalDisplayNameCode() int32

func (*CrossSaveUserMembership) GetCrossSaveOverride

func (x *CrossSaveUserMembership) GetCrossSaveOverride() int32

func (*CrossSaveUserMembership) GetDisplayName

func (x *CrossSaveUserMembership) GetDisplayName() string

func (*CrossSaveUserMembership) GetIsPublic

func (x *CrossSaveUserMembership) GetIsPublic() bool

func (*CrossSaveUserMembership) GetMembershipId

func (x *CrossSaveUserMembership) GetMembershipId() int64

func (*CrossSaveUserMembership) GetMembershipType

func (x *CrossSaveUserMembership) GetMembershipType() enums.BungieMembershipType

func (*CrossSaveUserMembership) ProtoMessage

func (*CrossSaveUserMembership) ProtoMessage()

func (*CrossSaveUserMembership) ProtoReflect

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

func (*CrossSaveUserMembership) Reset

func (x *CrossSaveUserMembership) Reset()

func (*CrossSaveUserMembership) String

func (x *CrossSaveUserMembership) String() string

type GeneralUser

type GeneralUser struct {
	MembershipId                      int64                  `protobuf:"varint,1,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"`
	UniqueName                        string                 `protobuf:"bytes,2,opt,name=unique_name,json=uniqueName,proto3" json:"unique_name,omitempty"`
	NormalizedName                    string                 `protobuf:"bytes,3,opt,name=normalized_name,json=normalizedName,proto3" json:"normalized_name,omitempty"`
	DisplayName                       string                 `protobuf:"bytes,4,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	ProfilePicture                    int32                  `protobuf:"varint,5,opt,name=profile_picture,json=profilePicture,proto3" json:"profile_picture,omitempty"`
	ProfileTheme                      int32                  `protobuf:"varint,6,opt,name=profile_theme,json=profileTheme,proto3" json:"profile_theme,omitempty"`
	UserTitle                         int32                  `protobuf:"varint,7,opt,name=user_title,json=userTitle,proto3" json:"user_title,omitempty"`
	SuccessMessageFlags               int64                  `protobuf:"varint,8,opt,name=success_message_flags,json=successMessageFlags,proto3" json:"success_message_flags,omitempty"`
	IsDeleted                         bool                   `protobuf:"varint,9,opt,name=is_deleted,json=isDeleted,proto3" json:"is_deleted,omitempty"`
	About                             string                 `protobuf:"bytes,10,opt,name=about,proto3" json:"about,omitempty"`
	FirstAccess                       *timestamppb.Timestamp `protobuf:"bytes,11,opt,name=first_access,json=firstAccess,proto3" json:"first_access,omitempty"`
	LastUpdate                        *timestamppb.Timestamp `protobuf:"bytes,12,opt,name=last_update,json=lastUpdate,proto3" json:"last_update,omitempty"`
	LegacyPortalUid                   int64                  `protobuf:"varint,13,opt,name=legacy_portal_uid,json=legacyPortalUid,proto3" json:"legacy_portal_uid,omitempty"`
	Context                           *UserToUserContext     `protobuf:"bytes,14,opt,name=context,proto3" json:"context,omitempty"`
	PsnDisplayName                    string                 `protobuf:"bytes,15,opt,name=psn_display_name,json=psnDisplayName,proto3" json:"psn_display_name,omitempty"`
	XboxDisplayName                   string                 `protobuf:"bytes,16,opt,name=xbox_display_name,json=xboxDisplayName,proto3" json:"xbox_display_name,omitempty"`
	FbDisplayName                     string                 `protobuf:"bytes,17,opt,name=fb_display_name,json=fbDisplayName,proto3" json:"fb_display_name,omitempty"`
	ShowActivity                      bool                   `protobuf:"varint,18,opt,name=show_activity,json=showActivity,proto3" json:"show_activity,omitempty"`
	Locale                            string                 `protobuf:"bytes,19,opt,name=locale,proto3" json:"locale,omitempty"`
	LocaleInheritDefault              bool                   `protobuf:"varint,20,opt,name=locale_inherit_default,json=localeInheritDefault,proto3" json:"locale_inherit_default,omitempty"`
	LastBanReportId                   int64                  `protobuf:"varint,21,opt,name=last_ban_report_id,json=lastBanReportId,proto3" json:"last_ban_report_id,omitempty"`
	ShowGroupMessaging                bool                   `protobuf:"varint,22,opt,name=show_group_messaging,json=showGroupMessaging,proto3" json:"show_group_messaging,omitempty"`
	ProfilePicturePath                string                 `protobuf:"bytes,23,opt,name=profile_picture_path,json=profilePicturePath,proto3" json:"profile_picture_path,omitempty"`
	ProfilePictureWidePath            string                 `` /* 132-byte string literal not displayed */
	ProfileThemeName                  string                 `protobuf:"bytes,25,opt,name=profile_theme_name,json=profileThemeName,proto3" json:"profile_theme_name,omitempty"`
	UserTitleDisplay                  string                 `protobuf:"bytes,26,opt,name=user_title_display,json=userTitleDisplay,proto3" json:"user_title_display,omitempty"`
	StatusText                        string                 `protobuf:"bytes,27,opt,name=status_text,json=statusText,proto3" json:"status_text,omitempty"`
	StatusDate                        *timestamppb.Timestamp `protobuf:"bytes,28,opt,name=status_date,json=statusDate,proto3" json:"status_date,omitempty"`
	ProfileBanExpire                  *timestamppb.Timestamp `protobuf:"bytes,29,opt,name=profile_ban_expire,json=profileBanExpire,proto3" json:"profile_ban_expire,omitempty"`
	BlizzardDisplayName               string                 `protobuf:"bytes,30,opt,name=blizzard_display_name,json=blizzardDisplayName,proto3" json:"blizzard_display_name,omitempty"`
	SteamDisplayName                  string                 `protobuf:"bytes,31,opt,name=steam_display_name,json=steamDisplayName,proto3" json:"steam_display_name,omitempty"`
	StadiaDisplayName                 string                 `protobuf:"bytes,32,opt,name=stadia_display_name,json=stadiaDisplayName,proto3" json:"stadia_display_name,omitempty"`
	TwitchDisplayName                 string                 `protobuf:"bytes,33,opt,name=twitch_display_name,json=twitchDisplayName,proto3" json:"twitch_display_name,omitempty"`
	CachedBungieGlobalDisplayName     string                 `` /* 155-byte string literal not displayed */
	CachedBungieGlobalDisplayNameCode int32                  `` /* 170-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*GeneralUser) Descriptor deprecated

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

Deprecated: Use GeneralUser.ProtoReflect.Descriptor instead.

func (*GeneralUser) GetAbout

func (x *GeneralUser) GetAbout() string

func (*GeneralUser) GetBlizzardDisplayName

func (x *GeneralUser) GetBlizzardDisplayName() string

func (*GeneralUser) GetCachedBungieGlobalDisplayName

func (x *GeneralUser) GetCachedBungieGlobalDisplayName() string

func (*GeneralUser) GetCachedBungieGlobalDisplayNameCode

func (x *GeneralUser) GetCachedBungieGlobalDisplayNameCode() int32

func (*GeneralUser) GetContext

func (x *GeneralUser) GetContext() *UserToUserContext

func (*GeneralUser) GetDisplayName

func (x *GeneralUser) GetDisplayName() string

func (*GeneralUser) GetFbDisplayName

func (x *GeneralUser) GetFbDisplayName() string

func (*GeneralUser) GetFirstAccess

func (x *GeneralUser) GetFirstAccess() *timestamppb.Timestamp

func (*GeneralUser) GetIsDeleted

func (x *GeneralUser) GetIsDeleted() bool

func (*GeneralUser) GetLastBanReportId

func (x *GeneralUser) GetLastBanReportId() int64

func (*GeneralUser) GetLastUpdate

func (x *GeneralUser) GetLastUpdate() *timestamppb.Timestamp

func (*GeneralUser) GetLegacyPortalUid

func (x *GeneralUser) GetLegacyPortalUid() int64

func (*GeneralUser) GetLocale

func (x *GeneralUser) GetLocale() string

func (*GeneralUser) GetLocaleInheritDefault

func (x *GeneralUser) GetLocaleInheritDefault() bool

func (*GeneralUser) GetMembershipId

func (x *GeneralUser) GetMembershipId() int64

func (*GeneralUser) GetNormalizedName

func (x *GeneralUser) GetNormalizedName() string

func (*GeneralUser) GetProfileBanExpire

func (x *GeneralUser) GetProfileBanExpire() *timestamppb.Timestamp

func (*GeneralUser) GetProfilePicture

func (x *GeneralUser) GetProfilePicture() int32

func (*GeneralUser) GetProfilePicturePath

func (x *GeneralUser) GetProfilePicturePath() string

func (*GeneralUser) GetProfilePictureWidePath

func (x *GeneralUser) GetProfilePictureWidePath() string

func (*GeneralUser) GetProfileTheme

func (x *GeneralUser) GetProfileTheme() int32

func (*GeneralUser) GetProfileThemeName

func (x *GeneralUser) GetProfileThemeName() string

func (*GeneralUser) GetPsnDisplayName

func (x *GeneralUser) GetPsnDisplayName() string

func (*GeneralUser) GetShowActivity

func (x *GeneralUser) GetShowActivity() bool

func (*GeneralUser) GetShowGroupMessaging

func (x *GeneralUser) GetShowGroupMessaging() bool

func (*GeneralUser) GetStadiaDisplayName

func (x *GeneralUser) GetStadiaDisplayName() string

func (*GeneralUser) GetStatusDate

func (x *GeneralUser) GetStatusDate() *timestamppb.Timestamp

func (*GeneralUser) GetStatusText

func (x *GeneralUser) GetStatusText() string

func (*GeneralUser) GetSteamDisplayName

func (x *GeneralUser) GetSteamDisplayName() string

func (*GeneralUser) GetSuccessMessageFlags

func (x *GeneralUser) GetSuccessMessageFlags() int64

func (*GeneralUser) GetTwitchDisplayName

func (x *GeneralUser) GetTwitchDisplayName() string

func (*GeneralUser) GetUniqueName

func (x *GeneralUser) GetUniqueName() string

func (*GeneralUser) GetUserTitle

func (x *GeneralUser) GetUserTitle() int32

func (*GeneralUser) GetUserTitleDisplay

func (x *GeneralUser) GetUserTitleDisplay() string

func (*GeneralUser) GetXboxDisplayName

func (x *GeneralUser) GetXboxDisplayName() string

func (*GeneralUser) ProtoMessage

func (*GeneralUser) ProtoMessage()

func (*GeneralUser) ProtoReflect

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

func (*GeneralUser) Reset

func (x *GeneralUser) Reset()

func (*GeneralUser) String

func (x *GeneralUser) String() string

type HardLinkedCredentialRequest

type HardLinkedCredentialRequest struct {
	Credential string                     `protobuf:"bytes,1,opt,name=credential,proto3" json:"credential,omitempty"`
	CrType     enums.BungieCredentialType `protobuf:"varint,2,opt,name=cr_type,json=crType,proto3,enum=enums.BungieCredentialType" json:"cr_type,omitempty"`
	// contains filtered or unexported fields
}

func (*HardLinkedCredentialRequest) Descriptor deprecated

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

Deprecated: Use HardLinkedCredentialRequest.ProtoReflect.Descriptor instead.

func (*HardLinkedCredentialRequest) GetCrType

func (*HardLinkedCredentialRequest) GetCredential

func (x *HardLinkedCredentialRequest) GetCredential() string

func (*HardLinkedCredentialRequest) ProtoMessage

func (*HardLinkedCredentialRequest) ProtoMessage()

func (*HardLinkedCredentialRequest) ProtoReflect

func (*HardLinkedCredentialRequest) Reset

func (x *HardLinkedCredentialRequest) Reset()

func (*HardLinkedCredentialRequest) String

func (x *HardLinkedCredentialRequest) String() string

type HardLinkedUserMembership

type HardLinkedUserMembership struct {
	MembershipType                 enums.BungieMembershipType `` /* 136-byte string literal not displayed */
	MembershipId                   int64                      `protobuf:"varint,2,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"`
	CrossSaveOverridenType         int32                      `` /* 132-byte string literal not displayed */
	CrossSaveOverridenMembershipId int64                      `` /* 158-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*HardLinkedUserMembership) Descriptor deprecated

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

Deprecated: Use HardLinkedUserMembership.ProtoReflect.Descriptor instead.

func (*HardLinkedUserMembership) GetCrossSaveOverridenMembershipId

func (x *HardLinkedUserMembership) GetCrossSaveOverridenMembershipId() int64

func (*HardLinkedUserMembership) GetCrossSaveOverridenType

func (x *HardLinkedUserMembership) GetCrossSaveOverridenType() int32

func (*HardLinkedUserMembership) GetMembershipId

func (x *HardLinkedUserMembership) GetMembershipId() int64

func (*HardLinkedUserMembership) GetMembershipType

func (x *HardLinkedUserMembership) GetMembershipType() enums.BungieMembershipType

func (*HardLinkedUserMembership) ProtoMessage

func (*HardLinkedUserMembership) ProtoMessage()

func (*HardLinkedUserMembership) ProtoReflect

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

func (*HardLinkedUserMembership) Reset

func (x *HardLinkedUserMembership) Reset()

func (*HardLinkedUserMembership) String

func (x *HardLinkedUserMembership) String() string

type MembershipDataRequest

type MembershipDataRequest struct {
	MembershipId   int64                      `protobuf:"varint,1,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"`
	MembershipType enums.BungieMembershipType `` /* 136-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*MembershipDataRequest) Descriptor deprecated

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

Deprecated: Use MembershipDataRequest.ProtoReflect.Descriptor instead.

func (*MembershipDataRequest) GetMembershipId

func (x *MembershipDataRequest) GetMembershipId() int64

func (*MembershipDataRequest) GetMembershipType

func (x *MembershipDataRequest) GetMembershipType() enums.BungieMembershipType

func (*MembershipDataRequest) ProtoMessage

func (*MembershipDataRequest) ProtoMessage()

func (*MembershipDataRequest) ProtoReflect

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

func (*MembershipDataRequest) Reset

func (x *MembershipDataRequest) Reset()

func (*MembershipDataRequest) String

func (x *MembershipDataRequest) String() string

type MembershipRequest

type MembershipRequest struct {
	MembershipId int64 `protobuf:"varint,1,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"`
	// contains filtered or unexported fields
}

func (*MembershipRequest) Descriptor deprecated

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

Deprecated: Use MembershipRequest.ProtoReflect.Descriptor instead.

func (*MembershipRequest) GetMembershipId

func (x *MembershipRequest) GetMembershipId() int64

func (*MembershipRequest) ProtoMessage

func (*MembershipRequest) ProtoMessage()

func (*MembershipRequest) ProtoReflect

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

func (*MembershipRequest) Reset

func (x *MembershipRequest) Reset()

func (*MembershipRequest) String

func (x *MembershipRequest) String() string

type UnimplementedUserServer

type UnimplementedUserServer struct {
}

UnimplementedUserServer must be embedded to have forward compatible implementations.

func (UnimplementedUserServer) GetAvailableThemes

func (UnimplementedUserServer) GetBungieNetUserByID

func (UnimplementedUserServer) GetCredentialTypesForTargetAccount

func (UnimplementedUserServer) GetMembershipDataByID

func (UnimplementedUserServer) GetMembershipDataForCurrentUser

func (UnimplementedUserServer) GetMembershipDataForCurrentUser(context.Context, *emptypb.Empty) (*UserMembershipData, error)

func (UnimplementedUserServer) GetMembershipFromHardLinkedCredential

func (UnimplementedUserServer) SearchByGlobalName

type UnsafeUserServer

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

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

type UserClient

type UserClient interface {
	GetBungieNetUserByID(ctx context.Context, in *MembershipRequest, opts ...grpc.CallOption) (*GeneralUser, error)
	GetCredentialTypesForTargetAccount(ctx context.Context, in *MembershipRequest, opts ...grpc.CallOption) (*CredentialTypesForAccountResponse, error)
	GetAvailableThemes(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*AvailableThemesResponse, error)
	GetMembershipDataByID(ctx context.Context, in *MembershipDataRequest, opts ...grpc.CallOption) (*UserMembershipData, error)
	GetMembershipDataForCurrentUser(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*UserMembershipData, error)
	GetMembershipFromHardLinkedCredential(ctx context.Context, in *HardLinkedCredentialRequest, opts ...grpc.CallOption) (*HardLinkedUserMembership, error)
	SearchByGlobalName(ctx context.Context, in *UserSearchRequest, opts ...grpc.CallOption) (*UserSearchResponse, error)
}

UserClient is the client API for User 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 NewUserClient

func NewUserClient(cc grpc.ClientConnInterface) UserClient

type UserInfoCard

type UserInfoCard struct {
	SupplementalDisplayName     string                       `` /* 132-byte string literal not displayed */
	IconPath                    string                       `protobuf:"bytes,2,opt,name=icon_path,json=iconPath,proto3" json:"icon_path,omitempty"`
	CrossSaveOverride           int32                        `protobuf:"varint,3,opt,name=cross_save_override,json=crossSaveOverride,proto3" json:"cross_save_override,omitempty"`
	ApplicableMembershipTypes   []enums.BungieMembershipType `` /* 178-byte string literal not displayed */
	IsPublic                    bool                         `protobuf:"varint,5,opt,name=is_public,json=isPublic,proto3" json:"is_public,omitempty"`
	MembershipType              enums.BungieMembershipType   `` /* 136-byte string literal not displayed */
	MembershipId                int64                        `protobuf:"varint,7,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"`
	DisplayName                 string                       `protobuf:"bytes,8,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	BungieGlobalDisplayName     string                       `` /* 134-byte string literal not displayed */
	BungieGlobalDisplayNameCode int32                        `` /* 150-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UserInfoCard) Descriptor deprecated

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

Deprecated: Use UserInfoCard.ProtoReflect.Descriptor instead.

func (*UserInfoCard) GetApplicableMembershipTypes

func (x *UserInfoCard) GetApplicableMembershipTypes() []enums.BungieMembershipType

func (*UserInfoCard) GetBungieGlobalDisplayName

func (x *UserInfoCard) GetBungieGlobalDisplayName() string

func (*UserInfoCard) GetBungieGlobalDisplayNameCode

func (x *UserInfoCard) GetBungieGlobalDisplayNameCode() int32

func (*UserInfoCard) GetCrossSaveOverride

func (x *UserInfoCard) GetCrossSaveOverride() int32

func (*UserInfoCard) GetDisplayName

func (x *UserInfoCard) GetDisplayName() string

func (*UserInfoCard) GetIconPath

func (x *UserInfoCard) GetIconPath() string

func (*UserInfoCard) GetIsPublic

func (x *UserInfoCard) GetIsPublic() bool

func (*UserInfoCard) GetMembershipId

func (x *UserInfoCard) GetMembershipId() int64

func (*UserInfoCard) GetMembershipType

func (x *UserInfoCard) GetMembershipType() enums.BungieMembershipType

func (*UserInfoCard) GetSupplementalDisplayName

func (x *UserInfoCard) GetSupplementalDisplayName() string

func (*UserInfoCard) ProtoMessage

func (*UserInfoCard) ProtoMessage()

func (*UserInfoCard) ProtoReflect

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

func (*UserInfoCard) Reset

func (x *UserInfoCard) Reset()

func (*UserInfoCard) String

func (x *UserInfoCard) String() string

type UserMembership

type UserMembership struct {
	MembershipType              enums.BungieMembershipType `` /* 136-byte string literal not displayed */
	MembershipId                int64                      `protobuf:"varint,2,opt,name=membership_id,json=membershipId,proto3" json:"membership_id,omitempty"`
	DisplayName                 string                     `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
	BungieGlobalDisplayName     string                     `` /* 134-byte string literal not displayed */
	BungieGlobalDisplayNameCode int32                      `` /* 149-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*UserMembership) Descriptor deprecated

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

Deprecated: Use UserMembership.ProtoReflect.Descriptor instead.

func (*UserMembership) GetBungieGlobalDisplayName

func (x *UserMembership) GetBungieGlobalDisplayName() string

func (*UserMembership) GetBungieGlobalDisplayNameCode

func (x *UserMembership) GetBungieGlobalDisplayNameCode() int32

func (*UserMembership) GetDisplayName

func (x *UserMembership) GetDisplayName() string

func (*UserMembership) GetMembershipId

func (x *UserMembership) GetMembershipId() int64

func (*UserMembership) GetMembershipType

func (x *UserMembership) GetMembershipType() enums.BungieMembershipType

func (*UserMembership) ProtoMessage

func (*UserMembership) ProtoMessage()

func (*UserMembership) ProtoReflect

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

func (*UserMembership) Reset

func (x *UserMembership) Reset()

func (*UserMembership) String

func (x *UserMembership) String() string

type UserMembershipData

type UserMembershipData struct {
	DestinyMemberships  []*groups.GroupUserInfoCard `protobuf:"bytes,1,rep,name=destiny_memberships,json=destinyMemberships,proto3" json:"destiny_memberships,omitempty"`
	PrimaryMembershipId int64                       `protobuf:"varint,2,opt,name=primary_membership_id,json=primaryMembershipId,proto3" json:"primary_membership_id,omitempty"`
	BungieNetUser       *GeneralUser                `protobuf:"bytes,3,opt,name=bungie_net_user,json=bungieNetUser,proto3" json:"bungie_net_user,omitempty"`
	// contains filtered or unexported fields
}

func (*UserMembershipData) Descriptor deprecated

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

Deprecated: Use UserMembershipData.ProtoReflect.Descriptor instead.

func (*UserMembershipData) GetBungieNetUser

func (x *UserMembershipData) GetBungieNetUser() *GeneralUser

func (*UserMembershipData) GetDestinyMemberships

func (x *UserMembershipData) GetDestinyMemberships() []*groups.GroupUserInfoCard

func (*UserMembershipData) GetPrimaryMembershipId

func (x *UserMembershipData) GetPrimaryMembershipId() int64

func (*UserMembershipData) ProtoMessage

func (*UserMembershipData) ProtoMessage()

func (*UserMembershipData) ProtoReflect

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

func (*UserMembershipData) Reset

func (x *UserMembershipData) Reset()

func (*UserMembershipData) String

func (x *UserMembershipData) String() string

type UserSearchPrefixRequest

type UserSearchPrefixRequest struct {
	DisplayNamePrefix string `protobuf:"bytes,1,opt,name=display_name_prefix,json=displayNamePrefix,proto3" json:"display_name_prefix,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSearchPrefixRequest) Descriptor deprecated

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

Deprecated: Use UserSearchPrefixRequest.ProtoReflect.Descriptor instead.

func (*UserSearchPrefixRequest) GetDisplayNamePrefix

func (x *UserSearchPrefixRequest) GetDisplayNamePrefix() string

func (*UserSearchPrefixRequest) ProtoMessage

func (*UserSearchPrefixRequest) ProtoMessage()

func (*UserSearchPrefixRequest) ProtoReflect

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

func (*UserSearchPrefixRequest) Reset

func (x *UserSearchPrefixRequest) Reset()

func (*UserSearchPrefixRequest) String

func (x *UserSearchPrefixRequest) String() string

type UserSearchRequest

type UserSearchRequest struct {
	Prefix *UserSearchPrefixRequest `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"`
	Page   int32                    `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSearchRequest) Descriptor deprecated

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

Deprecated: Use UserSearchRequest.ProtoReflect.Descriptor instead.

func (*UserSearchRequest) GetPage

func (x *UserSearchRequest) GetPage() int32

func (*UserSearchRequest) GetPrefix

func (*UserSearchRequest) ProtoMessage

func (*UserSearchRequest) ProtoMessage()

func (*UserSearchRequest) ProtoReflect

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

func (*UserSearchRequest) Reset

func (x *UserSearchRequest) Reset()

func (*UserSearchRequest) String

func (x *UserSearchRequest) String() string

type UserSearchResponse

type UserSearchResponse struct {
	SearchResults []*UserSearchResponse_UserSearchResponseDetail `protobuf:"bytes,1,rep,name=search_results,json=searchResults,proto3" json:"search_results,omitempty"`
	Page          int32                                          `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	HasMore       bool                                           `protobuf:"varint,3,opt,name=has_more,json=hasMore,proto3" json:"has_more,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSearchResponse) Descriptor deprecated

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

Deprecated: Use UserSearchResponse.ProtoReflect.Descriptor instead.

func (*UserSearchResponse) GetHasMore

func (x *UserSearchResponse) GetHasMore() bool

func (*UserSearchResponse) GetPage

func (x *UserSearchResponse) GetPage() int32

func (*UserSearchResponse) GetSearchResults

func (*UserSearchResponse) ProtoMessage

func (*UserSearchResponse) ProtoMessage()

func (*UserSearchResponse) ProtoReflect

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

func (*UserSearchResponse) Reset

func (x *UserSearchResponse) Reset()

func (*UserSearchResponse) String

func (x *UserSearchResponse) String() string

type UserSearchResponse_UserSearchResponseDetail

type UserSearchResponse_UserSearchResponseDetail struct {
	BungieGlobalDisplayName     string          `` /* 134-byte string literal not displayed */
	BungieGlobalDisplayNameCode int32           `` /* 149-byte string literal not displayed */
	BungieNetMembershipId       int64           `` /* 129-byte string literal not displayed */
	DestinyMemberships          []*UserInfoCard `protobuf:"bytes,4,rep,name=destiny_memberships,json=destinyMemberships,proto3" json:"destiny_memberships,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSearchResponse_UserSearchResponseDetail) Descriptor deprecated

Deprecated: Use UserSearchResponse_UserSearchResponseDetail.ProtoReflect.Descriptor instead.

func (*UserSearchResponse_UserSearchResponseDetail) GetBungieGlobalDisplayName

func (x *UserSearchResponse_UserSearchResponseDetail) GetBungieGlobalDisplayName() string

func (*UserSearchResponse_UserSearchResponseDetail) GetBungieGlobalDisplayNameCode

func (x *UserSearchResponse_UserSearchResponseDetail) GetBungieGlobalDisplayNameCode() int32

func (*UserSearchResponse_UserSearchResponseDetail) GetBungieNetMembershipId

func (x *UserSearchResponse_UserSearchResponseDetail) GetBungieNetMembershipId() int64

func (*UserSearchResponse_UserSearchResponseDetail) GetDestinyMemberships

func (x *UserSearchResponse_UserSearchResponseDetail) GetDestinyMemberships() []*UserInfoCard

func (*UserSearchResponse_UserSearchResponseDetail) ProtoMessage

func (*UserSearchResponse_UserSearchResponseDetail) ProtoReflect

func (*UserSearchResponse_UserSearchResponseDetail) Reset

func (*UserSearchResponse_UserSearchResponseDetail) String

type UserServer

type UserServer interface {
	GetBungieNetUserByID(context.Context, *MembershipRequest) (*GeneralUser, error)
	GetCredentialTypesForTargetAccount(context.Context, *MembershipRequest) (*CredentialTypesForAccountResponse, error)
	GetAvailableThemes(context.Context, *emptypb.Empty) (*AvailableThemesResponse, error)
	GetMembershipDataByID(context.Context, *MembershipDataRequest) (*UserMembershipData, error)
	GetMembershipDataForCurrentUser(context.Context, *emptypb.Empty) (*UserMembershipData, error)
	GetMembershipFromHardLinkedCredential(context.Context, *HardLinkedCredentialRequest) (*HardLinkedUserMembership, error)
	SearchByGlobalName(context.Context, *UserSearchRequest) (*UserSearchResponse, error)
	// contains filtered or unexported methods
}

UserServer is the server API for User service. All implementations must embed UnimplementedUserServer for forward compatibility

type UserTheme

type UserTheme struct {
	UserThemeId          int32  `protobuf:"varint,1,opt,name=user_theme_id,json=userThemeId,proto3" json:"user_theme_id,omitempty"`
	UserThemeName        string `protobuf:"bytes,2,opt,name=user_theme_name,json=userThemeName,proto3" json:"user_theme_name,omitempty"`
	UserThemeDescription string `protobuf:"bytes,3,opt,name=user_theme_description,json=userThemeDescription,proto3" json:"user_theme_description,omitempty"`
	// contains filtered or unexported fields
}

func (*UserTheme) Descriptor deprecated

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

Deprecated: Use UserTheme.ProtoReflect.Descriptor instead.

func (*UserTheme) GetUserThemeDescription

func (x *UserTheme) GetUserThemeDescription() string

func (*UserTheme) GetUserThemeId

func (x *UserTheme) GetUserThemeId() int32

func (*UserTheme) GetUserThemeName

func (x *UserTheme) GetUserThemeName() string

func (*UserTheme) ProtoMessage

func (*UserTheme) ProtoMessage()

func (*UserTheme) ProtoReflect

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

func (*UserTheme) Reset

func (x *UserTheme) Reset()

func (*UserTheme) String

func (x *UserTheme) String() string

type UserToUserContext

type UserToUserContext struct {
	IsFollowing         bool                    `protobuf:"varint,1,opt,name=is_following,json=isFollowing,proto3" json:"is_following,omitempty"`
	IgnoreStatus        *ignores.IgnoreResponse `protobuf:"bytes,2,opt,name=ignore_status,json=ignoreStatus,proto3" json:"ignore_status,omitempty"`
	GlobalIgnoreEndDate *timestamppb.Timestamp  `protobuf:"bytes,3,opt,name=global_ignore_end_date,json=globalIgnoreEndDate,proto3" json:"global_ignore_end_date,omitempty"`
	// contains filtered or unexported fields
}

func (*UserToUserContext) Descriptor deprecated

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

Deprecated: Use UserToUserContext.ProtoReflect.Descriptor instead.

func (*UserToUserContext) GetGlobalIgnoreEndDate

func (x *UserToUserContext) GetGlobalIgnoreEndDate() *timestamppb.Timestamp

func (*UserToUserContext) GetIgnoreStatus

func (x *UserToUserContext) GetIgnoreStatus() *ignores.IgnoreResponse

func (*UserToUserContext) GetIsFollowing

func (x *UserToUserContext) GetIsFollowing() bool

func (*UserToUserContext) ProtoMessage

func (*UserToUserContext) ProtoMessage()

func (*UserToUserContext) ProtoReflect

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

func (*UserToUserContext) Reset

func (x *UserToUserContext) Reset()

func (*UserToUserContext) String

func (x *UserToUserContext) String() string

Jump to

Keyboard shortcuts

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